@charset "UTF-8";

:root{
--black: #3c3c3c;
--green: #46645A;
--lightgreen: #94bec0;
--brown: #8f785f;
--lightblue: #e8eef4;
--grey: #eae5da;
--darkgrey :#efefef;
--yellow: #fff791;
--white: #fff;
}

html{
    color: var(--black);
    font-size: 62.5%;
    font-weight: 400;
    line-height: 1.5;
    font-family: "Noto Serif JP", serif;
    /* font-family: "Noto Sans JP", sans-serif; */
    /* font-family: "Shippori Mincho", serif; */
    /* font-family: "Poppins", sans-serif; */
    /* font-family: "din-2014", sans-serif; */
    /* font-family: "adobe-garamond-pro", serif; */
    } 

img{
   width: 100%;
} 

/* =====共通===== */
@media screen and (max-width: 768px){
    .sub_title{
    font-size: 1.8rem;
    font-weight: 500;
    font-family: "din-2014", sans-serif;
    text-align: center;
    letter-spacing: 0.08rem;
    margin-bottom: 10px;
}

h2{
        font-size: 2.4rem;
        font-weight: 500;
        text-align: center;
    }

    h3{
        font-size: 2.4rem;
        font-weight: 400;
        text-align: center;
        font-family: "Noto Sans JP", sans-serif;
    }

    .btn{
        display: block;
        border: 0.5px solid var(--black);
        background-color: var(--white);
        width: 220px;
        height: 45px;
        margin: 30px auto 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 400;
        font-family: "Noto Sans JP", sans-serif;
        position: relative;
    }
     .btn::after{
        content: "";
        width: 1px;
        height: 18px;
        position: absolute;
        top: 13px;
        right: 10px;
        background: url(/images/btn_arrow.svg) no-repeat center;
        width: 15px;
        height: 15px;
    }

    .plan_btn{
        display: block;
        width: 220px;
        height: 30px;
        margin: 0 auto;
        font-size: 1.5rem;
        font-weight: 400;
        font-family: "Noto Sans JP", sans-serif;
        position: relative;
        color: var(--white);
        position: relative;
         display: flex;
        align-items: center;
        justify-content: center;
    }
    .plan_btn::after{
       content: "";
        width: 1px;
        height: 18px;
        position: absolute;
        top: 8px;
        right: 5px;
        color: var(--white);
        background: url(/images/btn_arrow_white.svg) no-repeat center;
        width: 15px;
        height: 15px;
    }

    .marker{
        background-color: var(--yellow);
    }
}


/* =====ヘッダー===== */

@media screen and (max-width: 768px){
    
    .header_inner{
        width: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 5%;
        background-color: var(--white);
        position: fixed;
        z-index: 100;
    }

    
     .header_menu {
        position: fixed;
        top: 0;
        right: -300%;
        width: 100%;
        height: 100svh;
        padding: 100px 35px;
        margin-top: 0;
        border-radius: 0;
        border: 0;
       background-color: var(--white);
        transition: all .5s;
        z-index: 100;
     }
     .header_menu.is-active {
        display: block;
        top: 0;
        right: 0%;
        transition: all .5s;
        }
    .logo{
        width: 170px;
        height: 25px;
    }

    .headerHam {
        position: fixed;
        display: grid;
        place-items: center;
        width: 48px;
        height: 48px;
        position: relative;
        z-index: 150;
       
    }

    .headerHam span {
        grid-area: 1 / 1 / -1 / -1;
        display: block;
        width: 26px;
        height: 2px;
        border-radius: 2px;
        background-color: #3c3c3c;
        position: absolute;
        transition: .2s;
    }

    .headerHam span:nth-child(2) {
        top: 15px;
    }

    .headerHam span:last-child {
        top: 31px;
    }

    .is-active.headerHam span:nth-child(1) {
        display: none;
    }

    .is-active.headerHam span:nth-child(2) {
        top: 24px;
        transform: rotate(135deg);
    }

    .is-active.headerHam span:last-child {
        top: 24px;
        transform: rotate(-135deg);
    }

    .nav_menu li {
        margin-bottom: 55px;
        position: relative;
    }

    .nav_menu a {
        font-size: 1.6rem;
        font-weight: 400;
        letter-spacing: 0.1rem;
        font-family: "Noto Sans JP", sans-serif;
    }

    .nav_menu li::after {
        content: "";
        width: 300px;
        height: 0.5px;
        background-color: var(--black);
        position: absolute;
        top: 45px;
        left: 0;
    }

    .header_menu .catalog{
        color: var(--black);
        display: inline-block;;
        padding: 15px 30px;
        background-color: #94bec0;
    }
}

/* =====メインビジュアル===== */
@media screen and (max-width: 768px){
    .main_visual{
        background-color: var(--brown);
        padding: 120px 0 0;
        position: relative;
    }

     .main_visual h1{
        position: absolute;
        text-align: center;
        top: 105px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        font-size: 2rem;
        font-weight: 600;
        color: var(--white);
         font-family: "Noto Serif JP", serif;
     }

     .main_visual_txtboxflex{
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        text-align: center;
        font-size: 2.6rem;
        font-weight: 500;
        top: 140px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
     }

     .main_visual_txtboxflex .small{
        font-size: 3rem;
        font-family: "Poppins", sans-serif;
        color: #fff;
        font-weight: 500;
        letter-spacing: 0.05rem;
     }
     .main_visual_txtboxflex .big{
        font-size: 7.6rem;
        font-weight: 500;
         font-family: "Poppins", sans-serif;
         color: #fff;
        letter-spacing: 0.05rem;
        line-height: 1;
     }

     .big img{
        width: 80%;
     }

     .main_visual_subtxt{
        font-size: 1.4rem;
        color: var(--white);
        font-weight: 500;
        letter-spacing: 0.08rem;
        position: absolute;
        text-align: center;
        top: 240px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        color: var(--brown);
        font-family: "Noto Sans JP", sans-serif;
        padding: 6px 8px;
        width: 280px;
        background-color: var(--white);
}
     .top_image img{
        height: 450px;
        object-fit: cover;
        object-position:  bottom 0px left -40px;
     }

     .circle{
        position: absolute;
        top: 430px;
        right: 24%;
     }

     .circle_box{
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
     }
     .circle_box img{
        width: 160px;
        height: 160px;
     }

     .circle .price{
       font-size: 4rem;
       font-weight: 600;
       line-height: 1.4;
       color: #000000;
     }
     .circle .yen{
       font-size: 2.2rem;
       font-weight: 500;
       line-height: 1;
       text-align: center;
       margin-bottom: 5px;
       color: #000000;
     }
     .circle .yen .mini {
        font-size: 1rem;
        vertical-align: top;
       
    }
     .circle .plan{
       font-size: 1rem;
       font-weight: 500;
       line-height: 1;
       text-align: center;
       color: #000000;
     }

     .explanation{
        font-size: 0.8rem;
        line-height: 1.6;
        color: var(--white);
        font-weight: 500;
        letter-spacing: 0.08rem;
        position: absolute;
        text-align: center;
        top: 510px;
        left: 5%;
        font-family: "Noto Sans JP", sans-serif;
     }
}

/* =====イントロ===== */
@media screen and (max-width: 768px){

    .intro{
        background-color: var(--grey);
    }
    .intro_bgbr{
        background-color: var(--brown);
        padding: 10px 0;
    }

    .intro p{
        font-size: 1.6rem;
        color: var(--black);
        letter-spacing: 0.1rem;
        line-height: 1.6;
        font-weight: 500;
        text-align: center;
        padding: 30px 6%;
}

    .intro_bgbr p{
        font-size: 1.6rem;
        color: var(--white);
        letter-spacing: 0.1rem;
        line-height: 1.6;
        font-weight: 500;
        text-align: center;
}

    .intro_imgbox{
        position: relative;
        height: 300px;
    }

    .intro .intro_img01{
        height: 230px;
        width: 100%;
        object-fit: cover;
    }

    .intro .intro_img02{
        width: 200px;
        height: 150px;
        object-fit: cover;
        position: absolute;
        top: 100px;
        left: 0;
    }
    .intro .intro_img03{
        width: 160px;
        height: 160px;
        object-fit: cover;
        position: absolute;
        top: 0;
        right: 0;
    }
}

/* =====ABOUT ===== */
@media screen and (max-width: 768px){
    .about_inner{
        width: 85%;
        margin: 0 auto;
        padding: 50px 0;
    }
    .about{
        background-color: var(--darkgrey);
    }

    .about h2{
        margin-bottom: 20px;
    }

    .about .about_img01, .about_img02, .about_img03{
        width: 100%;
        height: 180px;
        object-fit: cover;
        margin-top: 30px;
    }

    .about_feature .number{
        margin-top: 15px;
        font-size: 500;
        text-align: center;
        font-family: "Noto Sans JP", sans-serif;
        color: var(--green);
        position: relative;
    }
    .about_feature .number::after{
        content: "";
        width: 20px;
        height: 2px;
        background-color: var(--green);
        /* 配置場所 */
        position: absolute;
        top: 28px;
        left: 50%; 
        transform: translateX(-50%);
        }

        .about_feature .heading{
            font-size: 1.8rem;
            font-weight: 500;
            margin: 10px 0px 0px;
            text-align: center;
        }

        .about_feature p{
            font-size: 1.4rem;
            color: var(--black);
            letter-spacing: 0.1rem;
            line-height: 1.7;
            font-weight: 500;
            margin-top: 10px;
        }
}

/* =====魅力===== */
@media screen and (max-width: 768px){
    .charm{
        background-color: var(--grey);
    }

    .charm_heading{
        font-size: 1.8rem;
        font-weight: 500;
        text-align: center;
        font-family: "Noto Sans JP", sans-serif;
    }

    .charm h2{
        margin-bottom: 40px;
    }

    .charm_innner{
        width: 85%;
        margin: 0 auto;
        padding: 40px 0;
    }

    .charm_feature_box{
        background-color: var(--white);
        padding: 20px 30px;
    }

    .point_box{
        background-color: var(--green);
        padding: 3px;
        width: 85px;
        margin: 0 auto;
    }

    .point_box .point{
        font-size: 1.6rem;
        font-family: "din-2014", sans-serif;
        color: var(--white);
        letter-spacing: 0.1rem;
        text-align: center;
    }

    .charm_feature_box h3{
        margin-top: 20px;
    }

     .charm_feature_box .txt{
      font-size: 1.4rem;
        color: var(--black);
        letter-spacing: 0.1rem;
        line-height: 1.7;
        font-weight: 500;
        text-align: center;
        margin-top: 10px;
    }

    .charm_imgbox{
        margin: 20px 0 40px;
        padding: 0 10% ;
    }

    .charm_feature img{
        min-width: 190px;
        min-height: 120px;
        width: 100%;
        max-height: 200px;
        object-fit: cover;
    }
}

/* =====plan_style===== */
@media screen and (max-width: 768px){
    .plan_style{
        width: 100%;
        margin: 0 auto;
        padding: 40px 0 0;
    }

    .plan_box{
       background-color: var(--green);
        padding: 3px;
        width: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
    }

    .plan_style .txt{
        font-size: 1.4rem;
        color: var(--black);
        letter-spacing: 0.1rem;
        line-height: 1.7;
        font-weight: 500;
        text-align: center;
        margin-top: 10px;
    }

    .plan_style_box{
        background-color: var(--lightblue);
        padding: 25px 6% 50px;
        position: relative;
        margin-top: 40px;
    }
    .plan_style_box2{
        margin-top: 120px;
        position: relative;
    }

    .plan_style_box2::after{
        content: "";
        position: absolute;
        width: 100%;
        height: 0.5px;
       background-color: var(--black);
        top: -50px;
        left: 0;
    }

    .plan_style_box .plan{
        font-size: 1.6rem;
        font-family: "din-2014", sans-serif;
        color: var(--white);
        letter-spacing: 0.1rem;
    }

    .plan_style_box .txt_large{
        font-size: 1.8rem;
        font-family: "Noto Sans JP", sans-serif;
        text-indent: -1rem;
    }
    .plan_style_box .txt_large2{
        font-size: 2rem;
        font-family: "Noto Sans JP", sans-serif;
    }

    .plan_img01box{
        position: absolute;
        top: 25px;
        right: 20px;
    }
    .plan_img2box {
        position: absolute;
        top: 5px;
        right: 5px;
    }

    .plan_img01{
        max-width: 200px;
        width: 160px;
        min-height: 140px;
        max-height: 160px;
        object-fit: cover;
    }
    .plan_img2{
        max-width: 200px;
        width: 160px;
        min-height: 140px;
        max-height: 160px;
        object-fit: cover;
    }

    .plan_style_box .txt2{
        font-size: 1.4rem;
        color: var(--black);
        letter-spacing: 0.1rem;
        line-height: 1.6;
        font-weight: 500;
        margin-top: 30px;
    }

    .txt_large img{
        width: 160px;
        margin-left: 10px;
    }
    .txt_large2 img {
        width: 160px;
    }

    .plan_img02{
        margin: 20px 0 15px;
    }

    .plan_style_planbox{
        margin-top: 30px;
    }

    .plan_style_box .area{
        font-size: 1.2rem;
        color: #828282;
        letter-spacing: 0.1rem;
        line-height: 1.6;
        font-weight: 600;
        font-family: "Noto Sans JP", sans-serif;
    }

    /* =====スライダー===== */

    .plan_style_box .txt_middle {
        font-size: 1.6rem;
        margin-top: 30px;
        font-weight: 500;
        font-family: "Noto Sans JP", sans-serif;
    }
    .plan_style_box .txt2mini {
        font-size: 1.4rem;
        color: var(--black);
        letter-spacing: 0.1rem;
        line-height: 1.6;
        font-weight: 500;
        margin-top: 10px;
    }

}

/* ===== プラン診断===== */
@media screen and (max-width: 768px){
    .plan_diagnosis{
        background-color: var(--brown);
        padding: 60px 0 30px;
    }

    .plan_diagnosis h2{
        color: var(--white);
        font-weight: 400;
        font-family: "Noto Sans JP", sans-serif;
    }

    .plan_diagnosis img{
        width: 100%;
    }

    .plan_imgbox{
        text-align: center;
        margin: 15px 0;
    }

    .plan_diagnosis{
        position: relative;
    }

    .plan_diagnosis .plan_speechBubble{
        display: block;
        width: 320px;
        height: 75px;
        margin-bottom: 20px;
        padding: 10px;
        background-color: var(--yellow);
        text-align: left;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5;
        position: absolute;
        border-radius: 10px;
        text-align: center;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
    }

   .plan_speechBubble::after {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 50%;
    border-style: solid;
    border-width: 15.5px 7.8px 0 7.8px;
    border-color: var(--yellow) transparent transparent;
    translate: -50% 100%;
   filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, .3));
}
    .plan_speechBubble p{
        font-family: "Noto Sans JP", sans-serif;
        font-size: 1.8rem;
    }

    .palarge{
        padding-bottom: 100px;
    }
}

/* =====TECHNOLOGY===== */
@media screen and (max-width: 768px){
    .technology{
        padding: 40px 0;
    }

    .technology .main_txt{
        font-size: 1.4rem;
        color: var(--black);
        letter-spacing: 0.1rem;
        line-height: 1.6;
        font-weight: 500;
        text-align: center;
        margin-top: 20px;
    }

     .technology .sub_titletxt{
        font-size: 1.6rem;
        color: var(--black);
        letter-spacing: 0.1rem;
        line-height: 1.6;
        font-weight: 500;
        text-align: center;
        margin-top: 20px;
     }

      .technology img{
          width: 340px;
      }

        .technology_imgbox{
        text-align: center;
        margin: 15px 0;
    }
}

/* ===== 平屋実例===== */
@media screen and (max-width: 768px){
    .example{
        background-color: var(--grey);
        padding: 40px 6%;
    }

    .sub_title_ja{
        font-size: 1.6rem;
        font-weight: 500;
        font-family: "Noto Sans JP", sans-serif;
        text-align: center;
        letter-spacing: 0.08rem;
        margin-bottom: 10px;
    }

    .example .main_txt {
        font-size: 1.4rem;
        color: var(--black);
        letter-spacing: 0.1rem;
        line-height: 1.6;
        font-weight: 500;
        text-align: center;
        margin-top: 20px;
    }

    .example_innerbox{
        background-color: var(--white);
        padding: 20px 6%;
        margin-top: 30px;
    }

    .example h4{
        font-size: 1.8rem;
        font-weight: 400;
        font-family: "Noto Sans JP", sans-serif;
        margin-top: 15px;
    }

    .example_innerbox p{
        font-size: 1.4rem;
        color: var(--black);
        letter-spacing: 0.1rem;
        line-height: 1.6;
        font-weight: 500;
        margin-top: 15px;
    }
}

/* ===== 家づくりの進め方===== */
@media screen and (max-width: 768px){
    .proceed{
        width: 85%;
        margin: 0 auto;
        padding: 40px 0;
    }

    .proceed .main_txt{
        font-size: 1.4rem;
        color: var(--black);
        letter-spacing: 0.1rem;
        line-height: 1.6;
        font-weight: 500;
        text-align: center;
        margin-top: 20px;
    }

    .proceed_h2{
        margin-top: 20px;
        font-size: 2.2rem;
    }

    .proceed_imgbox{
        margin-top: 20px;
    }
}

/* ===== column ===== */
@media screen and (max-width: 768px){

    .column{
        background-color: var(--darkgrey);
    }

    .column_inner{
        width: 85%;
        margin: 0 auto;
        padding: 40px 0;
    }

    .column .main_txt{
        font-size: 1.4rem;
        color: var(--black);
        letter-spacing: 0.1rem;
        line-height: 1.6;
        font-weight: 500;
        text-align: center;
        margin-top: 20px;
    }

    .column_box{
        background-color: var(--white);
        padding: 20px 5%;
        margin-top: 20px;
    }

    .column_boxflex{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .column_boxflex img{
        min-height: 100px;
        object-fit: cover;
    }

    .column_boxflex1{
        width: 35%;
    }
    .column_boxflex2{
        width: 60%;
    }

    .column_boxflex2 p{
        font-size: 1.2rem;
        font-family: "Noto Sans JP", sans-serif;
        color: var(--black);
        font-weight: 500;
        line-height: 1.7;
        letter-spacing: 0.05rem;
    }

     .column_boxflex .colum_number{
        font-size: 1rem;
        font-family: "Noto Sans JP", sans-serif;
        color: #807f7f;
        margin-bottom: 5px;
    }
}

/* ===== FAQ ===== */
@media screen and (max-width: 768px){

    .faq{
        background-color: var(--darkgrey);
        height: 750px;
        position: relative;
    }
    .faq_inner{
        width: 85%;
        margin: 0 auto;
        padding: 0px 0 40px;
    }

    .speechBubble1 {
    display: inline-block;
    width: 150px;
    height: 120px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: var(--white);
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    position: absolute;
    top: 120px;
    left: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brown);
    box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.2);
}
    .speechBubble2 {
    display: block;
    width: 150px;
    height: 120px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: var(--white);
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    position: absolute;
    top: 170px;
    right: 10%;
     display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brown);
    box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.2);
}
    .speechBubble3{
    display: block;
    width: 310px;
    height: 90px;
    margin-bottom: 20px;
    padding: 10px;
    background-color: var(--white);
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    position: absolute;
    top: 320px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brown);
    box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.2);
}
.speechBubble_innner{
    position: relative;
    width: 100%;
}

.speechBubble1::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 20px 0 0 20px;
  border-color: var(--brown) transparent transparent;
  translate: -50% 100%;
  transform: skew(-5deg);
  transform-origin: top;
  filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, .2));
}

.speechBubble1::after {
 content: "";
  position: absolute;
  bottom: 0.5px;
  left: 50%;
  border-style: solid;
  border-width: 15.2px 0 0 15.2px;
  border-color: var(--white) transparent transparent;
  translate: calc(-50% + 0.4px) 100%;
  transform: skew(-5deg);
  transform-origin: top;
  filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, .2));
}

.speechBubble3::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 20px 0 0 20px;
  border-color: var(--brown) transparent transparent;
  translate: -50% 100%;
  transform: skew(-5deg);
  transform-origin: top;
  filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, .2));
}
.speechBubble3::after {
   content: "";
  position: absolute;
  bottom: 0.5px;
  left: 50%;
  border-style: solid;
  border-width: 15.2px 0 0 15.2px;
  border-color: var(--white) transparent transparent;
  translate: calc(-50% + 0.4px) 100%;
  transform: skew(-5deg);
  transform-origin: top;
  filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, .2));
}

.speechBubble2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 20px 20px 0 0;
  border-color: var(--brown) transparent transparent;
  translate: -50% 100%;
  transform: skew(-5deg);
  transform-origin: top;
  filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, .2));
}

.speechBubble2::after {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 50%;
    border-style: solid;
    border-width: 15.2px 15.2px 0 0;
    border-color: var(--white) transparent transparent;
    translate: calc(-50% - 0.4px) 100%;
    transform: skew(-5deg);
    transform-origin: top;
    filter: drop-shadow(4px 4px 3px rgba(0, 0, 0, .2));
}

.speechBubble1 p, .speechBubble2 p, .speechBubble3 p{
    font-size: 1.4rem ;
    color: var(--brown) ;
    text-align: center;
    font-weight: 500;
}
.speechBubble_box .speechBubble_innner_mintxt{
   font-size: 1.2rem; 
   color: var(--black);
   font-family: "Noto Sans JP", sans-serif;
   margin-top: 10px;
}
.faq .btn_box{
    position: absolute;
    bottom: 240px;
    left: 50%;
    transform: translateX(-50%);
}
.slider_02{
    position: absolute;
    bottom: 0;
}
}

/* ===== contact ===== */
@media screen and (max-width: 768px){
    .contact{
        padding: 40px 0 70px;
        width: 80%;
        margin: 0 auto;
    }

    .contact_imgbox{
        margin-top: 30px;
    }
}


/* ===== ポップアップ ===== */
@media screen and (max-width: 768px){

    .popup_section{
        position: relative;
    }
    .popup{
        position: fixed;
        width: 100%;
        bottom: 20%;
        transition: all .5s;
        right: 0;
        transform: translateY(-50%);
         transition: right 0.6s ease;
        cursor: pointer;
          transform: translateX(0);
    }
   
    .popup img{
        width: 190px;
        height: 100px;
        object-fit: cover;
    }

.popup.hide {
  transform: translateX(-100px);
    position: fixed;
     width: 100%;
    bottom: 20%;
}
#popup{
     transition: 0.6s ease;
}
.popup_imgbox{
    position: relative;
}
/* .popup_imgbox::after{
       content: "";
        width: 22px;
        height: 22px;
        position: absolute;
        top: 3px;
        color: var(--white);
        background: url(/images/popup_arrow.png) no-repeat center;
        pointer-events: auto;
    } */

}

/* ===== フッター ===== */
@media screen and (max-width: 768px){
    .footer_nav{
        background-color: var(--green);
        position: fixed;
        width: 100%;
        bottom: 0;
        box-shadow: 4px 4px 30px 0px rgba(0, 0, 0, 0.5);
    }
    .footer_nav_box{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .footer_nav_item{
        width: 33%;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        border-right: 1px solid var(--white);
    }
    .footer_nav_item:last-child{
        border-right: none;
    }
    
    .footer_nav_item a{
        display: block;
        text-align: center;
        font-size: 1.6rem;
        line-height: 1.4;
        font-weight: 500;
        color: var(--white);
        font-family: "Noto Sans JP", sans-serif;
    }

    .is-hidden{
        visibility: hidden;
        opacity: 0;
    }
    .footer{
        margin-top: -10px;
        height: 10px;
        background-color: var(--brown);
    }
}

/* ===== アニメーション ===== */
.fadeInright {
  transform: translate3d(100px, 0, 0);
  transition: .8s;
  opacity: 0;
}
.fadeInleft {
  transform: translate3d(-100px, 0, 0);
  transition: 1.2s;
  opacity: 0;
}

.fadeInright.animated {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
.fadeInleft.animated {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.slider{
    visibility: hidden;
    margin: 30px 0 40px;
}

.slick-dotted.slick-slider{
    margin-bottom: 40px;
}

.slider.slick-initialized{
    visibility: visible;
}

.slick-prev {
    left: 0px;
    z-index: 10;
}
.slick-next {
    right: 0px;
}


/* =============== マイページ=============== */

@media screen and (max-width: 768px){

    .mypageheader_inner{
        width: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 5%;
    }
    .header_nav ul{
        display: flex;
        align-items: center;
        gap: 8px;
       
    }

     .header_nav ul img{
        width: 15px;
        height: 15px;
        text-align: center;
     }

     .header_nav_flexbox{
        text-align: center;
     }
     .mypage_logo{
        font-size: 2.4rem;
        font-weight: 400;
        font-family: "Poppins", sans-serif;
        letter-spacing: 0.05rem;
        line-height: 1;
     }

    .header_nav ul a{
        font-size: 1rem;
        font-weight: 400;
        font-family: "Noto Sans JP", sans-serif;
    }

    input[type="text"]{
        border: 1px solid #aaaaaa;
        border-radius: 2px;
        padding: 8px 10px;
        width: 85%;
        margin-right: 5px;
       font-family: "Noto Sans JP", sans-serif;
    }

    .search_area{
       width: 90%;
        margin: 0 auto 15px;
        display: flex;
        align-items: center;
    }

    .searchbox{
        background-color: #656363;
        padding: 3px 10px;
        text-align: center;
        border-radius: 2px;
    }
    .searchbox img{
        width: 12px;
        height: 12px;
    }

    button{
        color: var(--white);
        line-height: 1;
        font-size: 1rem;
    }

    .mypage_main .top_image{
        width: 100%;
        margin-top: 20px;
    }
   .mypage_main img{
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: left -10px bottom 0px;
    zoom: 0.9;
    }

.mypage_main{
    position: relative;
}

.mypage_main h1 {
        position: absolute;
        text-align: center;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        font-size: 2rem;
        font-weight: 500;
        letter-spacing: 0.08rem;
        color: var(--white);
        font-family: "Shippori Mincho", serif;
    }

    .mypage_main .main_visual_txtboxflex {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        text-align: center;
        font-size: 2.6rem;
        font-weight: 500;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }

     .mypage_main .main_visual_subtxt{
        position: absolute;
        text-align: center;
        top: 150px;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
     }

    .main_menu{
        width: 85%;
        margin: 15px auto 30px;
    }

    .menu_item_box{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        
    }

    .menu_item{
        background: #E5DDD1;
        background: linear-gradient(90deg,rgba(229, 221, 209, 1) 0%, rgba(229, 221, 209, 1) 50%, rgba(243, 238, 232, 1) 100%);
        width: 160px;
        height: 160px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
    }
    .menu_item p{
        text-align: center;
        font-size: 1.4rem;
        font-weight: 400;
        color: #8f785f;
        font-family: "Noto Sans JP", sans-serif;
    }

    .main_menu .wide{
         background: #E5DDD1;
        background: linear-gradient(90deg,rgba(229, 221, 209, 1) 0%, rgba(229, 221, 209, 1) 50%, rgba(243, 238, 232, 1) 100%);
        width: 100%;
        height: 160px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mypage_footer{
        height: 80px;
    }

    .mypage_footer .footer_nav_box{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

     .mypage_footer .footer_nav_item {
        width: 50%;
     }

    .mypage_footer .footer_nav {
        background-color: var(--green);
        position: fixed;
        width: 100%;
        bottom: 0;
    }

    .main_visual_txtboxflex .img{
        width: 70%;
    }
}


/* =============== 動画 =============== */
@media screen and (max-width: 768px){

.video-wrap {
  position: relative;
  width: 100%;
  height: auto;
}

.video-wrap video {
  width: 100%;
 height: auto;
  display: block;
  }


  .btn_block{
    background-color: rgba(255,255,255,0.7);
    width: 75%;
    margin: 30px auto;
  }
  .btn_block h1{
    font-size: 1.8rem;
    font-weight: 500;
    font-family: "Noto Sans JP", sans-serif;
    text-align: center;
  }
  .btn_block p{
    font-size: 1.2rem;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    text-align: center;
    line-height: 1.6;
    margin-top: 10px;
}
.video_btnbox{
        border: 0.5px solid var(--black);
        background-color: rgba(9, 49, 158, 0.839);
        width: 220px;
        height: 45px;
        margin: 20px auto 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        font-weight: 400;
        font-family: "Noto Sans JP", sans-serif;
        position: relative;
        border-radius: 100px;
        color: var(--white);
}

.video_btnbox::after {
        content: "";
        position: absolute;
        top: 15px;
        right: 10px;
        background: url(/images/video_arrow.svg) no-repeat center;
        width: 15px;
        height: 15px;
    }
  }

