:root {
    font-size: 10px;
    font-family: "Shippori Mincho", serif;
    color: #2e2e2e;
}
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent
}

html, body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/****************************************
  TOPへ戻るボタン（Go to top）
*****************************************/
/***追従するトップへ戻るボタン***/
#scrollTopButton {
    display: none;
    position: fixed;
    left: 10px;
    bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.2rem;
    background: #2e2e2e;
    padding: 10px;
    border: solid 1px;
    border-radius: 50%;
    box-shadow: 0 2px 10px -6px rgba(255, 255, 255, 0.5), 0 3px 10px -4px rgba(255, 255, 255,.2);
    cursor: pointer;
    opacity: 0; /* 初期状態で透明 */
    text-decoration:none;
    display:block;
    cursor:pointer;
    text-align:center;
    line-height:100%;
    width: 5rem;
    height: 5rem;
}
#scrollTopButton::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25%) rotate(45deg);
}
#scrollTopButton.show {
    display: block;
    opacity: 1; /* 表示時の不透明度 */
    z-index: 9999;
    -webkit-transition:all 0.3s;
    -moz-transition:all 0.3s;
    transition:all 0.3s;
}

#scrollTopButton a:hover{
    -webkit-transition:all 0.3s;
    -moz-transition:all 0.3s;
    transition:all 0.3s;
    opacity: 0.8;
}
a:hover{
    transition:all 0.3s;
    color: #00a0e9;
}
a:hover img{
    transition:all 0.3s;
    opacity: 0.8;
}
.slidein {
    opacity: 0;
    transform: translateX(5rem);
    transition: opacity 2s ease, transform 2s ease;
}

.slidein.show {
    opacity: 1;
    transform: translateX(0);
}


/* ---------------------------------------------------- */
/* 1. ベースレイアウト (デスクトップ優先) */
/* ---------------------------------------------------- */
@media (min-width: 769px) {
    html,body {
    /*min-width: 128rem;*/
    }
    .pc_br{
        /*display: block;*/
    }
    .sp_br{
        display: none;
    }
    header{
        position: fixed;
        display: block;
        width: 100%;
        margin: 0 auto;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }
    .gnav-in-logo{
        width: 5rem;
        left: 3.375rem;
        top: 1rem;
        position: fixed;
        z-index: 1000;
    }
    .gnav-in-ig{
        width: 4rem;
        right: 7rem;
        top: 1.5rem;
        position: fixed;
        z-index: 1000;
    }
    .header_menu{
        position: absolute;
        right: 0;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);
        background-color: #fff;
        transition: ease .4s;
        display: flex;
        align-items: center;
    }
    .content-wrap{
        max-width: 1500px;
        width: 90%;
        margin: 0 auto;
        background-image: url(../img/back.webp);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
    }
    .container {
        display: block;
        min-height: 100vh;
        position: static;
        margin-top:7rem;
        background-color: #EAE6BE;
        padding-bottom: 7rem;
    }
    .main_title{
        width: 90%;
        max-width: 1000px;
        display: block;
        margin: 10% auto 0;
    }
    .tag_img.slidein{
        width: 40%;
        max-width: 500px;
        z-index: 1;
        opacity: 0;
        transform: translate(-20%,30%);
        transition: opacity 1s ease, transform 1s ease;
    }
    .tag_img.slidein.show{
        opacity: 1;
        transform: translate(0%,30%);
    }
    h1{
        font-size: clamp(3rem, 5vw, 5rem);
        line-height: clamp(3.5rem, 6vw, 5.5rem);	
        text-align: center;
        margin-bottom: 2rem;
    }
    .main_title_text h2{
        text-align: center;
        font-size: 4rem;
        line-height: 4.5rem;
        font-weight: bold;
    }
    .main_title_text p{
        width: 90%;
        max-width: 1000px;
        text-align: justify;
        margin: 4rem auto;
        font-size: 2rem;
        line-height: 4.5rem;
    }
    section#store{
        border:4px solid #F39800;
        background-color: #FFF;
        border-radius: 3rem;
        text-align: center;
        position: relative;
        padding: 3rem;
    }
    .heading-2 {
        position: absolute;
        display: inline-block;
        background-color: #fff;
        color: #2e2e2e;
        font-size: 3rem;
        margin: 0 auto 2rem;
        top: -1.5rem;
        left: 50%;
        transform: translateX(-50%);
    }
    section{
        width: 90%;
        max-width: 1000px;
        display: block;
        margin: 0 auto;
        font-size: clamp(1.3rem, 1.5vw, 1.6rem);
        line-height: clamp(2.4rem, 3vw, 2.6rem);;
    }
    .store_flex_wrap{
        display: flex;
        justify-content: space-around;
        width: 90%;
        margin: 0 auto;
        gap: 2rem;
    }
    .store_flex_wrap ul{
        font-size: 2rem;
        text-align: left;
    }
    .store_flex_wrap ul li{
        margin: 1rem 0;
    }
    section#store h4{
        font-size: 2rem;
        margin: 2rem auto 0.5rem;
    }
    section#store h3{
        font-size: 3rem;
        margin: 2rem auto 3rem;
        line-height: 3.5rem;
    }
    .store_banner{
        display: block;
        margin: 2rem auto;
        width: 40%;
        max-width: 400px;
    }
    .banner_p_li{
        display: block;
        margin: 1rem auto;
        width: 70%;
        text-align: justify;
        text-indent: -1rem;
    }
    hr{
        border:2px solid #F39800;
        width: 90%;
        margin: 0 auto;
    }
    .site_wrap{
        display: grid;
        grid-template-columns: 3fr 1fr;
        width: 90%;
        margin: 2rem auto 0;
        gap: 2rem;
    }
    .site_wrap p,.site_wrap h4,.site_wrap h3{
        text-align: left;
    }
    .site_wrap p{
        font-size: 2rem;
        margin: 3rem 0;
    }
    .site_wrap p.small_f{
        margin: 3rem 0;
    }
    .site_wrap h4{
        font-size: 2rem;
        margin: 2rem auto 3rem;
    }
    .site_wrap h3{
        font-size: 3rem;
        margin: 2rem auto 3rem;
        color: #00a0e9;
    }
    .site_img{
        display: grid;
        place-content: center;
    }

    footer{
        margin: 3rem auto 3rem;
        text-align: center;
    }
}   
/* ---------------------------------------------------- */
/* 3. レスポンシブ対応 (768px以下) */
/* ---------------------------------------------------- */

@media (max-width: 768px) {
    .pc_br{
        display: none;
    }
    .sp_br{
        display: block;
    }
    header{
        position: fixed;
        display: block;
        width: 100%;
        margin: 0 auto;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
    }
    .gnav-in-logo{
        width: 5rem;
        left: 3.375rem;
        top: 0.5rem;
        position: fixed;
        z-index: 1000;
    }
    .gnav-in-ig{
        width: 3rem;
        right: 3rem;
        top: 1.3rem;
        position: fixed;
        z-index: 1000;
    }
    .header_menu{
        position: absolute;
        right: 0;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);
        background-color: #fff;
        transition: ease .4s;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }
    .header_menu ul{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 2rem 2rem;
        position: relative;
        width: 100%;
    }
    .header_menu li{
        padding: 0rem 1rem;
        list-style: none;
        display: block;
        width: 100%;
        height: 5rem;
        line-height: 4rem;
        text-align: center;
    }
    .header_menu a{
        text-decoration: none;
        color: #2e2e2e;
        font-size: 2rem;
        font-weight: bold;
    }

    .header_menu a:hover{
        opacity: 0.8;
        transition: 0.8;
    }
    .head_icon{
        width: 5rem;
        height: 5rem;
    }

    .content-wrap{
        width: 90%;
        margin: 0 auto;
        background-image: url(../img/back.webp);
        background-size: contain;
        background-repeat: repeat-y;
        background-position: top center;
        position: relative;
    }
    .container {
        display: block;
        min-height: 100vh;
        position: static;
        margin-top:6rem;
        background-color: #EAE6BE;
        padding-bottom: 7rem;
    }
    .main_title{
        width: 90%;
        max-width: 500px;
        display: block;
        margin: 10% auto 0;
    }
    .tag_img.slidein{
        width: 70%;
        max-width: 400px;
        z-index: 1;
        opacity: 0;
        transform: translate(-20%,30%);
        transition: opacity 1s ease, transform 1s ease;
    }
    .tag_img.slidein.show{
        opacity: 1;
        transform: translate(0%,30%);
    }
    h1{
        font-size: clamp(3rem, 5vw, 5rem);
        line-height: clamp(3.5rem, 6vw, 5.5rem);	
        text-align: center;
        margin-bottom: 2rem;
    }
    .main_title_text h2{
        text-align: center;
        font-size: 3rem;
        line-height: 4.5rem;
        font-weight: bold;
    }
    .main_title_text p{
        width: 90%;
        text-align: justify;
        margin: 2rem auto 4rem;
        font-size: 1.8rem;
        line-height: 4rem;
    }
    section#store{
        border:4px solid #F39800;
        background-color: #FFF;
        border-radius: 3rem;
        text-align: center;
        position: relative;
        padding: 3rem 2rem;
    }
    .heading-2 {
        position: absolute;
        min-width: 180px;
        background-color: #fff;
        color: #2e2e2e;
        font-size: 2.5rem;
        margin: 0 auto 2rem;
        top: -1.5rem;
        left: 50%;
        transform: translateX(-50%);
    }
    section{
        width: 100%;
        max-width: 600px;
        display: block;
        margin: 0 auto;
        font-size: clamp(1.3rem, 1.5vw, 1.6rem);
        line-height: clamp(2.4rem, 3vw, 2.6rem);;
    }
    .store_flex_wrap{
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        width: 100%;
        margin: 0 auto;
    }
    .store_flex_wrap ul{
        font-size: 2rem;
        text-align: left;
    }
    .store_flex_wrap ul li{
        margin: 1rem 0 0;
    }
    section#store h4{
        font-size: 2rem;
        margin: 2rem auto 0.5rem;
    }
    section#store h3{
        font-size: 2.5rem;
        line-height: 3.5rem;
        margin: 2rem auto 3rem;
    }
    .store_banner{
        display: block;
        margin: 2rem auto;
        width: 100%;
        max-width: 400px;
    }
    .banner_p_li{
        display: block;
        margin: 1rem 0rem 1rem 1rem;
        width: 100%;
        padding-right: 1rem;
        text-align: justify;
        text-indent: -1rem;
    }
    hr{
        border:2px solid #F39800;
        width: 100%;
        margin: 0 auto;
    }
    .site_wrap{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin: 2rem auto 0;
    }
    .site_wrap p,.site_wrap h4,.site_wrap h3{
        text-align: left;
    }
    .site_wrap p{
        font-size: 2rem;
        margin: 3rem 0;
    }
    .site_wrap p.small_f{
        margin: 3rem 0;
    }
    .site_wrap h4{
        font-size: 2rem;
        margin: 2rem auto 3rem;
        text-align: center;
    }
    .site_wrap h3{
        font-size: 2.5rem;
        margin: 2rem auto 3rem;
        color: #00a0e9;
        text-align: center;
    }
    .site_wrap img{
        width: 95%;
        max-width: 400px;
    }

    footer{
        margin: 3rem auto 3rem;
        text-align: center;
    }
}


/* 常時有効：メディアのはみ出し予防 */
img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}
