/* ============================
    共通パーツ
============================ */
h2{
    font-size: 2.8rem;
}
.grecaptcha-badge {
    bottom: 314px !important;
    opacity: 0.6;
}
/* ファーストビュー */
.top_fv{
    width: 100%;
    position: relative;
}
.swiper{
    width: 100%;
    height: 100vh;
}
.fv_slider img {
    height: 100%;
    object-fit: cover;
}
.swiper-pagination {
    max-width: 102px;
}
/* 丸い印の色を調整 */
.swiper .swiper-pagination-bullet {
    background: #d3d3d9;
    opacity: 1;
    margin: 0 14px;
    width: 10px;
    height: 10px;
}
/* アクティブな丸い印（現在のスライド）の色を調整 */
.swiper .swiper-pagination-bullet-active {
    background: var(--green) ;
    opacity: 1;
}
.catchcopy{
    position: absolute;
    top: 46%;
    left: 120px;
    align-items: flex-start;
    z-index: 50;
}
.catchcopy_text{
    font-size: 4.4rem;
    font-weight: 500;
    background-color: var(--white);
    padding: 0 0 0 .4em;
    margin: 0 0 16px;
}
.scrollbar_text {
    bottom: 30%;
    left: 46px;
    transform: translateX(-50%);
}


/* 見積もり無料ボタン */
.fixed_banner {
    position: fixed; /* 画面に追従 */
    bottom: 20px; /* 下からの距離 */
    right: 20px; /* 右からの距離 */
    z-index: 1000; /* 他の要素より前面に表示 */
}
.fixed_banner .banner_link{
    display: block;
    background-color: var(--white);
    transition: .7s;
    border-radius: 10px;
}
.fixed_banner .banner_link img {
    display: block;
    max-width: 262px;
    width: 100%;
    filter: drop-shadow(4px 4px 4px var(--gray));
    border-radius: 10px;
}
.fixed_banner .banner_link img:hover{
    opacity: .7;
}
.fixed_banner .close_btn {
    position: absolute; /* 親要素に対して絶対位置指定 */
    top: -10px; /* 上からの距離 */
    right: -10px; /* 右からの距離 */
    border: none;
    border-radius: 50%; /* 丸い形に */
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex; /* バツ印を中央に配置 */
    justify-content: center;
    align-items: center;
}
.close_btn {
    position: relative; /* 擬似要素の基準 */
    background: transparent;
    border: none;
    cursor: pointer;
    width: 20px;
    height: 20px;
    padding: 0;
    /* その他のスタイル */
    transition: .6s;
}
/* .close_btn:hover {
    opacity: .7;
} */
.close_btn span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px; /* 棒の長さ */
    height: 2px; /* 棒の太さ */
    background-color: white; /* 棒の色 */
    transform: translate(-50%, -50%) rotate(45deg);
}
.close_btn span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: inherit; /* 親と同じ色 */
    transform: rotate(-90deg);
}

/* ============================
    お知らせ
============================ */
.top_news{
    background-color: var(--white);
}
.news_topic{
    max-width: 986px;
    width: 100%;
    margin: 60px auto;
    justify-content: space-between;
}
.news_topic .english{
    color: var(--green);
    font-size: 1.4rem;
    padding: 0 0 0 28px;
    position: relative;
}
.news_topic .english::before{
    display: block;
    content: "";
    position: absolute;
    top: 55%;
    left: 4px;
    transform: translateY(-50%);
    background-color: var(--green);
    width: 20px;
    height: 1px;
}
.news_topic .topic{
    flex-direction: column;
    align-items: flex-start;
}
.news_topic .page_link_btn{
    max-width: 138px;
    width: 100%;
    border-radius: 50px;
    padding: 8px 26px 10px;
    position: relative;
}
.news_topic .page_link_btn p{
    font-size: 1.4rem;
    display: inline-block;
    width: 100%;
    padding: 0 1em 0 0;
}
.news_topic .page_link_btn::after{
    position: absolute;
    display: block;
    content: "";
    background-image: url(../img/next-button.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 10px;
    height: 8px;
    top: 50%;
    right: 20px;
    transform: translateY(-45%);
}
.news_contents{
    max-width: 800px;
    width: 100%;
    align-items: flex-start;
}
.news-item{
    width: 100%;
    padding: 24px 52px 24px 30px;
    border-bottom: 1px solid var(--light_gray);
}
.news-item:last-child{
    border-bottom: none;
}
.news-item .sp_block{
    width: 28%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* padding: 0 0 .5em; */
}
.news-date{
    color: var(--gray);
    font-family: var(--roboto);
    font-weight: 500;
}
.news-category{
    background-color: var(--light_gray);
    border-radius: 20px;
    padding: 4px 14px;
    display: inline-block;
    margin: 0 10px;
}

/* ============================
    コンテンツh背景
============================ */
.wrapper.grandient_color{
    background: linear-gradient(
        to right,
        #FFFFFF 0%,
        #F1FCFB 40%,
        #E4FDFF 89%
    );

    position: relative;
    z-index: 0;
}


/* ============================
    parallax
============================ */
.parallax_container{
    position: relative;
    width: 100%;
    height: 100vh;/* パララックスを表示する領域の高さ */
    height: auto;
}
.parallax_background{
    width: 100%;
    height: 100%;
    height: 120%; /* 少し余分に */
    height: 100vh;
    position: absolute;
    position: sticky;
    top: 0;
    left: 0;
    z-index: -1;
    z-index: 1;

    object-fit: cover;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}
.parallax_foreground{
    position: relative;

    z-index: 2;
}
/* スクロールしたら要素がふわっと出てくる */
.scroll_deray {
    opacity: 0;
    visibility: hidden;
    transition: all 4s;
    transform: translateY(300px);
}
.active {
    /*要素を表示させる*/
    opacity: 1;
    visibility: visible;
    /*元の位置に戻す*/
    transform: translateY(0);
}
/* スクロール画像 */
.scroll_image{
    position: absolute;
    z-index: 50;
}
.scroll_01{
    max-width: 286px;
    width: 100%;
    top: 48px;
    left: 0;
}
.scroll_02{
    max-width: 312px;
    width: 100%;
    top: 76px;
    right: 0;
}
.scroll_03{
    max-width: 390px;
    width: 100%;
    top: 444px;
    left: 0;
}
.scroll_04{
    max-width: 404px;
    width: 100%;
    top: 450px;
    right: 0;
}

/* ============================
    about
============================ */
.about{
    /* padding: 54px 0 218px; */
    padding: 0 0 218px;
    width: 100%;
}
.about .section_ttl img{
    max-width: 320px;
    width: 100%;
    margin: 0 auto 34px;
}
.about_contents{
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}
.about_contents p{
    line-height: 2;
    letter-spacing: 0.08em;
}
.about .page_link_btn{
    max-width: 322px;
    width: 100%;
    padding: 22px 126px;
    border-radius: 50px;
    margin: 40px auto 0;
    position: relative;
}
.about .page_link_btn::after{
    position: absolute;
    display: block;
    content: "";
    background-image: url(../img/next-button.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 20px;
    height: 12px;
    top: 50%;
    right: 60px;
    transform: translateY(-45%);
}


/* ============================
    notes
============================ */

/* すりガラス背景 */
.notes{
    width: 100%;
}
.blur_background {
    max-width: 1286px;
    width: 100%;
    margin: 0 auto;
    padding: 100px 108px 104px;
    background: rgba(203, 242, 242, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
}
.request_ttl{
    font-size: 3.6rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}
.request_container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 68px auto 0;
}
.request_contents{
    display: flex;
    max-width: 472px;
    width: 50%;
    justify-content: space-between;
}
.request_contents.upper{
    margin: 0 0 52px;
}
.request_image{
    max-width: 144px;
    width: 50%;
    margin: 0 10px 0 0;
}
.request_text{
    display: flex;
    flex-direction: column;
    max-width: 300px;
    width: 100%;
}
.request_number{
    max-width: 42px;
    width: 100%;
    margin: 0 14px 0 0;
}
.request_text .opacity80{
    opacity: 80%;
    line-height: 1.8;
    padding: 10px 0 0;
}
.cta_block{
    max-width: 1000px;
    width: 100%;
    margin: 94px auto 0;
}
.contact_header{
    max-width: 1036px;
    width: 100%;
    background-color: var(--dark_green);
    border-radius: 30px 30px 0 0;
    justify-content: center;
    padding: 30px 0 28px;
    /* margin: 0 auto 36px; */
    position: relative;
}
.contact_header p{
    color: var(--white);
    font-size: 2rem;
    margin: 0 10px;
}
.contact_header img{
    position: absolute;
    bottom: 0;
}
.contact_header .worker{
    max-width: 96px;
    width: 100%;
    left: 196px;
    /* left: 16%; */
}
.contact_header .salesman{
    max-width: 104px;
    width: 100%;
    right: 196px;
    /* right: 16%; */
}
/* まずはお気軽にお問い合わせください！ */
.contact_info{
    /* max-width: 1068px; */
    width: 100%;
    border-radius: 20px;
    background-color: var(--white);
    padding: 14px 16px 48px;
    margin: 96px auto 0;
}
.shop_list{
    /* max-width: 958px; */
    width: 100%;
    justify-content: space-between;
    margin: 0 auto;
    background-color: var(--white);
    padding: 24px 74px 28px;
}
.shop{
    max-width: 300px;
    width: 100%;
    align-items: flex-start;
    padding: 0 0 0 2em;
    border-left: 2px solid var(--light_gray);
}
.shop_name{
    font-weight: bold;
    letter-spacing: 0.08em;
}
.tel_number{
    width: 100%;
}
.tel_number img{
    max-width: 27px;
    width: 100%;
}
.tel_number p{
    font-size: 3.6rem;
    font-family: var(--roboto);
    font-weight: bold;
}
.opening_hours{
    font-weight: 300;
    font-size: 1.5rem;
}
.include_banner{
    max-width: 530px;
    width: 100%;
    justify-content: space-between;
    padding: 0 1em 0 0;
}
.include_banner .shop{
    padding: 0;
    border: none;
}
.line_banner{
    max-width: 190px;
    width: 100%;
}
.line_banner.sp{
    display: none;
}
.is_bottom{
    width: 100%;
    background-color: var(--light_gray);
    justify-content: center;
    padding: 24px 0 22px;
    border-radius: 0 0 30px 30px;
}
.is_bottom a{
    display: contents;
}
.page_link_btn.for_contact{
    margin: 0;
}
.for_contact{
    max-width: 485px;
    width: 100%;
    border-radius: 50px;
    padding: 24px;
    justify-content: space-between;
}
.for_contact .mail_icon{
    max-width: 40px;
    width: 100%;
}
.for_contact p{
    padding: 0 .5em 0;
}
.for_contact .arrow_icon{
    max-width: 6px;
    width: 100%;
}


/* ============================
    page_link
============================ */
.page_link{
    padding: 88px 0 120px;
}
.link_contents{
    max-width: 1292px;
    width: 100%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: stretch;
}
.sub_page_contents{
    max-width: 626px;
    width: 100%;
    padding: 68px 0 150px 84px;
    border-radius: 20px;
    position: relative;
}
.sub_page_contents:hover{
    opacity: .7;
}
.sub_page_contents {
  position: relative;
  overflow: hidden;
}
/* グラデーション画像を背景として置く */
.sub_page_contents::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
  z-index: 0;
}
.sub_page_contents.service::before {
  background-image: url("../img/page_link_service.png");
}
.sub_page_contents.recruit::before {
  background-image: url("../img/page_link_recruit.png");
}
.sub_page_contents:hover::before {
  transform: scale(1.1); /* 背景だけ拡大 */
}
.sub_page_contents .text,
.sub_page_contents .arrow_btn {
  position: relative;
  z-index: 1; /* テキストを前に出す */
}
.sub_page_contents .vertical_contents{
    max-width: 338px;
    width: 100%;
    align-items: flex-start;
}
.sub_page_contents h2,
.sub_page_contents p{
    color: var(--white);
}
.sub_page_contents h2{
    padding: 0 0 52px;
    position: relative;
}
.sub_page_contents h2::after{
    position: absolute;
    display: block;
    content: "";
    bottom: 25%;
    transform: translateY(-25%);
    left: 0;
    width: 44px;
    height: 2px;
    background-color: var(--white);
}
.sub_page_contents p{
    line-height: 2;
}
.sub_page_contents .next_btn{
    position: absolute;
    bottom: 16px;
    right: 16px;
    max-width: 40px;
    width: 100%;
    z-index: 55;
}

@media screen and (max-width: 1200px) {
    .sub_page_contents {
        max-width: 526px;
    }

    .contact_header .worker {
        left: 12px;
    }
    .contact_header .salesman {
        right: 12px;
    }
}

@media screen and (max-width: 1024px) {
    .catchcopy.upper {
        top: 40%;
    }
    .news_topic{
        flex-direction: column;
    }
    .swiper {
        overflow: visible;
    }
    .fv_slider img {
        height: 100%;
        object-fit: cover;
    }
    .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
        bottom: var(--swiper-pagination-bottom, -30px);
    }

    .parallax_background .pc_only{
        display: block;
    }
    .parallax_background .sp_only{
        display: none;
    }
    .scroll_01{
        max-width: 278px;
        width: 100%;
        top: 48px;
        left: 0;
    }
    .scroll_02{
        max-width: 276px;
        width: 100%;
        top: 76px;
        right: 0;
    }
    .scroll_03{
        max-width: 355px;
        width: 100%;
        top: 444px;
        left: 0;
    }
    .scroll_04{
        max-width: 208px;
        width: 100%;
        top: 450px;
        right: 0;
    }

    .page_link {
        padding: 48px 30px 60px;
    }
    .link_contents {
        flex-direction: column;
        align-items: center;
    }
    .sub_page_contents:first-child{
        margin: 0 0 20px;
    }
    .contact_info {
        padding: 0 0 48px;
    }
    .contact_header {
        border-radius: 10px;
    }
    .contact_header .sp_flex_box{
        text-align: center;
        font-size: 1.6rem;
    }
    .contact_header .sp_flex_box span{
        display: block;
    }
    .contact_header .worker {
        max-width: 76px;
        left: 12px;
    }
    .contact_header .salesman {
        max-width: 80px;
        right: 12px;
    }
    .contact_header::after{
        /* 擬似要素のスタイル */
        content: '';
        position: absolute;
        /* 親要素の真下に配置 */
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        /* 三角形を作成 */
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 16px 16px 0 16px;
        border-color: var(--dark_green) transparent transparent transparent;
    }
    .shop_list {
        flex-direction: column;
        padding: 24px 34px 28px;
    }
    .shop {
        padding: 1em 0 0;
        border-left: none;
        border-top: 2px solid var(--light_gray);
    }
    .include_banner {
        padding: 0 0 1em;
        flex-direction: column;
    }
    .line_banner{
        display: none;
    }
    .line_banner.sp{
        display: block;
        max-width: 240px;
        width: 100%;
        margin: 1em 0 0;
    }
    .is_bottom {
        padding: 24px 20px 22px;
    }
}

@media screen and (max-width: 768px) {
    .grecaptcha-badge {
        bottom: 14px !important;
    }
    .top_fv{
        height: 100vh;
    }
    .top_fv .fv_image{
        object-fit: cover;
        height: 100vh;
        object-position: 58% center;
    }
    .catchcopy {
        top: 20%;
        left: 10px;
    }
    .catchcopy_text {
        font-size: 2.8rem;
    }
    .fixed_banner .banner_link img {
        max-width: 166px;
    }

    .news_topic{
        flex-direction: column;
    }
    .news_header{
        width: 100%;
        flex-direction: unset;
        justify-content: space-between;
        padding: 0 20px;
    }
    .news-item {
        padding: 20px 52px 20px 30px;
        flex-wrap: wrap;
    }
    .news-item .sp_block{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0 0 .5em;
    }
    .news-date{
        padding: 0 1em 0 0;
    }

    .about_contents{
        padding: 0 34px;
    }
    .parallax_background .pc_only{
        display: none;
    }
    .parallax_background .sp_only{
        display: block;
        object-fit: contain;
    }
    .scroll_01{
        max-width: 140px;
        width: 100%;
        top: 48px;
        top: 24px;
        top: 0;
        left: 0;
    }
    .scroll_02{
        max-width: 138px;
        width: 100%;
        top: 76px;
        top: 38px;
        top: -50px;
        right: 0;
    }
    .scroll_03{
        max-width: 178px;
        width: 100%;
        top: 444px;
        top: 222px;
        top: initial;
        bottom: 0;
        left: -50px;
    }
    .scroll_04{
        max-width: 104px;
        width: 100%;
        top: 450px;
        top: 225px;
        top: initial;
        bottom: 0;
        right: 0;
    }

    .blur_background {
        padding: 40px 30px 50px;
    }
    .request_contents {
        max-width: 100%;
        width: 100%;
        margin: 0 0 52px;
        align-items: flex-start;
    }
    .request_ttl {
        font-size: 2.2rem;
    }
    .contact_info {
        padding: 0 0 48px;
    }
    .contact_header {
        border-radius: 10px;
    }
    .contact_header .sp_flex_box{
        text-align: center;
        font-size: 1.6rem;
    }
    .contact_header .sp_flex_box span{
        display: block;
    }
    .contact_header .worker {
        max-width: 76px;
        left: 12px;
    }
    .contact_header .salesman {
        max-width: 80px;
        right: 12px;
    }
    .shop_list {
        flex-direction: column;
    }

    .page_link {
        padding: 48px 30px 60px;
    }
    .link_contents {
        flex-direction: column;
    }
    .sub_page_contents {
        padding: 40px 32px 44px;
    }
}

@media screen and (max-width: 440px) {
    .blur_background {
        padding: 40px 16px 50px;
    }

    .about .section_ttl img {
        max-width: 230px;
    }

    .request_ttl {
        font-size: 1.8rem;
    }
    .request_image {
        max-width: 88px;
    }
    .contact_header .sp_flex_box{
        font-size: 1.4rem;
    }
    .contact_header .worker {
        max-width: 56px;
        left: 0;
    }
    .contact_header .salesman {
        max-width: 60px;
        right: 8px;
    }

    .page_link {
        padding: 48px 16px 60px;
    }
    .sub_page_contents p {
        font-size: 1.4rem;
    }
    .sub_page_contents .next_btn {
        bottom: 12px;
        right: 12px;
        max-width: 26px;
    }
}