@charset "utf-8";

/* break point */
/* ---------------------
  (max-width) 1500, 991, 767, 575
  (min-width) 1501, 992, 768, 576
--------------------- */

/*========================================
  *top
========================================*/
/*メイン画像*/
.top_heroimage {
    overflow: hidden;
}
.heroimage_main {
    max-width: 1160px;
    margin: auto;
}
.heroimage_main .slick-list {
    overflow: visible;
}
.heroimage_main .slick-slide {
    padding: 0 10px;
    text-align: center;
}
.heroimage_main .slick-slide .img_wrap {
    border-radius: 30px;
    overflow: hidden;
}
.heroimage_main .slick-slide .img_wrap img {
    transition: all .2s;
}
.heroimage_thumb {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.heroimage_thumb button {
    width: 120px;
    background: #eee;
    cursor: pointer;
}
.heroimage_thumb button img {
    opacity: .3;
}
.heroimage_thumb button.is-active img {
    opacity: 1;
}
.heroimage_main .slick-slide .img_wrap, .heroimage_thumb button {
    aspect-ratio: 12 / 8;
}
.heroimage_main .slick-slide img, .heroimage_thumb button img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
@media (hover: hover) and (min-width: 992px) {
    .heroimage_main .slick-slide .img_wrap a:hover img {
        opacity: .6;
    }
    .heroimage_thumb button:hover {
        background: #999;
    }
}
@media screen and (max-width: 991px) {
    .heroimage_thumb {
        display: none;
    }
    .heroimage_main .slick-slide {
        padding: 0 5px;
    }
    .heroimage_main .slick-dots {
        margin-top: 10px;
        position: static;
    }
    .heroimage_main .slick-dots li {
        width: 50px;
        height: 8px;
        margin: 0 3px;
    }
    .heroimage_main .slick-dots li button {
        width: 50px;
        height: 8px;
        background: #b2b2b2;  
    }
    .heroimage_main .slick-dots li.slick-active button {
        background: #a88628;  
    }
    .heroimage_main .slick-dots li button::before {
        content: none;
    }
}

/*News*/
.top_news {
    max-width: 1020px;
    display: flex;
    margin: 40px auto 20px;
}
.news_heading {
    width: 200px;
}
.news_heading_title {
    font-size: 4.2em;
    font-weight: 900;
}
a.news_heading_button {
    font-size: 1.6em;
    width: max-content;
    margin: 5px 0 0 -1em;
    padding: .5em 1em;
}
.news_body {
    flex: 1;
    padding-top: 20px;
}
@media screen and (max-width: 991px) {
    .top_news {
        display: block;
    }
    .news_heading {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .news_body {
        flex: auto;
        padding-top: 10px;
    }
}
@media screen and (max-width: 575px) {
    .news_heading_title {
        font-size: 3.5em;
    }
    a.news_heading_button {
        font-size: 1.5em;
        margin-top: 8px;
    }
}

/*おばまって*/
.top_about {
    background: url(images/bg_top_obama.jpg) no-repeat center top / cover;
    padding: 9% 0 4%;
}
.about_body {
    display: flex;
    justify-content: space-between;
}
.about_clm {
    width: 48%;
}
.about_label {
    display: inline-block;
    background: var(--color-blue);
    color: #fff;
    font-size: 1.8em;
    padding: 0 .4em;
}
.about_title {
    font-size: 3.5em;
    margin: 20px 0;
}
.about_content {
    font-size: 1.8em;
    line-height: 2;
}
.about_content p {
    margin-bottom: 1.2em;
}
.about_map {
    position: relative;
    padding-bottom: 4.8em;
}
.about_button {
    font-size: 1.7em;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.about_button a {
    width: max-content;
    position: relative;
    padding-right: 40px;
}
.about_button a::after {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}
@media screen and (max-width: 1200px) {
    .about_body {
        align-items: center;
    }
    .about_clm:nth-child(1) {
        width: 54%;
    }
    .about_clm:nth-child(2) {
        width: 42%;
    }
}
@media screen and (max-width: 991px) {
    .top_about {
        padding: 15% 0 0;
    }
    .about_body {
        flex-direction: column;
    }
    .about_clm {
        width: 100% !important;
    }
    .about_content br {
        display: none;
    }
    .about_button {
        position: static;
        transform: translateX(0);
        margin: 20px auto 0;
    }
}
@media screen and (max-width: 575px) {
    .about_label {
        font-size: 1.5em;
    }
    .about_title {
        font-size: 2.6em;
    }
    .about_content {
        font-size: 1.7em;
        line-height: inherit;
    }
}

/*カードエリア*/
.top_card_wrapper {
    overflow: hidden;
}
.top_card {
    width: 90%;
    margin: 60px auto;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}
.top_card.is-even {
    flex-direction: row-reverse;
}
.card_img {
    width: 50%;
    background: #ccc;
}
.card_img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.card_content {
    width: 50%;
    background: #efefef;
    padding: 4% 3%;
}
.card_heading {
    background: #fff;
    border-radius: 9999px;
    padding: 15px 40px;
}
.card_english {
    font-size: 1.8em;
    font-weight: bold;
}
.card_title {
    font-size: 4.0em;
    line-height: 1.3;
}
.card_body {
    font-size: 1.7em;
    padding: 30px 5%;
}
.card_button {
    text-align: right;
    font-size: 1.7em;
}
.card--discover .card_content {
    background: url(images/bg_texture_pink.jpg) no-repeat center center / cover;
}
.card--discover .card_english, .card--discover .card_title span {
    color: #dd4565;
}
.card--live .card_content {
    background: url(images/bg_texture_orange.jpg) no-repeat center center / cover;
}
.card--live .card_english, .card--live .card_title span {
    color: #ea6f33;
}
.card--work .card_content {
    background: url(images/bg_texture_green.jpg) no-repeat center center / cover;
}
.card--work .card_english, .card--work .card_title span {
    color: #3aa818;
}
@media (hover: hover) and (min-width: 992px) {
    .card_button a:hover {
        transform: scale(1.1,1.1) !important;
    }
}
@media screen and (max-width: 1500px) {
    .card_title {
        font-size: 3.5em;
    }
}
@media screen and (max-width: 991px) {
    .top_card {
        flex-direction: column !important;
        align-items: center;
        border-radius: 0;
        width: 100%;
    }
    .top_card.card--discover {
        margin-top: 0;
    }
    .card_img {
        width: 100%;
        aspect-ratio: 1.4 / 1;
        margin-bottom: 15px;
    }
    .card_img img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    .card_content {
        width: 92%;
        border-radius: 20px;
        padding: 20px;
    }
    .card_heading {
        border-radius: 15px;
        padding: 10px 20px;
    }
    .card_body {
        padding: 20px 15px;
    }
}
@media screen and (max-width: 575px) {
    .card_english {
        font-size: 1.4em;
    }
    .card_title {
        font-size: 2.5em;
    }
}

/*空き家情報*/
.top_akiya {
    width: calc(100% - 100px);
}
.akiya_slider .slick-slide {
    margin: 0 10px;
}
.akiya_slider .slick-prev::before, .akiya_slider .slick-next::before {
    content: "";
    width: 20px;
    height: 20px;
    border-top: 5px solid #ccc;
    border-left: 5px solid #ccc;
    transform: rotate(-45deg);
    display: block;
    opacity: 1;
}
.akiya_slider .slick-prev {
    left: -30px;
}
.akiya_slider .slick-prev::before {
    transform: rotate(-45deg);
}
.akiya_slider .slick-next {
    right: -30px;
}
.akiya_slider .slick-next::before {
    transform: rotate(135deg);
}
a.akiya_button {
    display: block;
    margin: 30px auto;
    width: max-content;
    font-size: 1.7em;
}
@media screen and (max-width: 575px) {
    .top_akiya {
        margin: -20px auto;
    }
}

/*移住者・地域のコト*/
.top_interview {
    margin-top: 120px;
}
.interview_body {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.interview_clm {
    width: calc((100% - 20px) / 2);
}
a.interview_post, a.interview_nestinn {
    min-height: 230px;
}
a.interview_post {
    display: flex;
    align-items: stretch;
    background: url(images/bg_texture_brown.jpg) no-repeat 0 0 / cover;
    transition: all .2s;
}
.interview_post_thumb {
    width: 45%;
    position: relative;
}
.interview_post_thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 8px solid #000;
    opacity: 0.23;
}
.interview_post_thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.interview_post_content {
    width: 55%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4%;
}
.interview_post_content h3 {
    font-size: 2.1em;
    font-weight: bold;
    margin-bottom: 1em;
}
.interview_post_content p {
    font-size: 1.6em;
}
a.interview_nestinn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 8px solid #d9d9d9;
    background: #fff;
    padding: 0 7%;
    transition: all .2s;
}
.interview_nestinn_balloon {
    position: absolute;
    top: -53px;
    right: 13px;
    animation: updown 2s ease-in-out infinite;
}
.interview_foot--sp {
    display: none;
}
.interview_foot--pc {
    text-align: center;
    margin-top: 15px;
}
a.interview_foot_button {
    font-size: 1.7em;
    font-weight: bold;
}
@keyframes updown {
    0%, 100% { transform: translateY(0) scale(1) }
    50% { transform: translateY(-10px) scale(1.05) }
}
@media (hover: hover) and (min-width: 992px) {
    a.interview_post:hover, a.interview_nestinn:hover {
        transform: scale(1.03, 1.03);
        box-shadow: 0 10px 10px rgb(0 0 0 / 10%);
    }
}
@media screen and (max-width: 991px) {
    .top_interview {
        margin-top: 60px;
    }
    .interview_body {
        flex-direction: column;
    }
    .interview_clm {
        width: 100%;
    }
    a.interview_post {
        min-height: auto;
    }
    a.interview_nestinn {
        min-height: auto;
        padding: 20px 5%;
    }
    .interview_foot--sp {
        display: block;
        text-align: center;
        margin: 20px auto 40px;
    }
    .interview_foot--pc {
        display: none;
    }
}
@media screen and (max-width: 575px) {
    .top_interview {
        margin-top: 30px;
    }
    a.interview_post {
        display: block;
    }
    .interview_post_thumb {
        width: 100%;
        aspect-ratio: 2 / 1;
    }
    .interview_post_content {
        width: 100%;
        padding: 20px 8%;
    }
    .interview_post_content h3 {
        font-size: 1.7em;
    }
    .interview_post_content p {
        font-size: 1.4em;
    }
    .interview_nestinn_balloon {
        top: -9vw;
        width: 25vw;
    }
}

/*関連サイト*/
.top_link {
    margin-top: 120px;
}
.link_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.link_list li {
    width: calc((100% - 40px) / 3);
}
@media screen and (max-width: 767px) {
    .link_list li {
        width: calc((100% - 20px) / 2);
    }
}
@media screen and (max-width: 575px) {
    .top_link {
        margin-top: 80px;
    }
    .link_list {
        gap: 10px;
    }
    .link_list li {
        width: 100%;
        text-align: center;
    }
}