/*
Theme Name: TENKYO Child
Version: 1.0
Template: tenkyo
*/

html {
    font-size: 100%;
    /*16px*/
    font-family: 'Noto Serif JP', serif;
    font-weight: 300;
    letter-spacing: 0.1em;
    font-feature-settings: “palt”;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

body {
    background: #0a281d;
    font-family: 'Noto Serif JP', serif;
    color: #ffffff;
    overflow-x: hidden;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease-out;
}

a.white:hover,
i.fa-brands:hover {
    background: rgba(255, 255, 255, 0.3);
    transition: 0.5s;
    -webkit-transition: 0.5s;
}

a:visited {
    color: currentColor;
}

a:hover,
a:focus,
a:active {
    color: inherit;
}

img {
    max-width: 100%;
}

p {
    margin: 0;
    line-height: 1.6;
    color: #fff;
}

b, strong{
    font-weight: bold;
}

h2 {
    font-size: clamp(24px, -0.625rem + 7.5vw, 2.8rem);
    text-align: center;
    margin-bottom: 0;
    letter-spacing: .15em;
    line-height: 1.1;
    font-weight: normal;
}

h3 {
    font-weight: nomal;
}

.page {
    margin: 0;
}

span.sub-title {
    font-size: 3vw;
    /* clamp(0.813rem, 0.653rem + 0.8vw, 1.25rem); */
    /*view min320px,max2120px 13px-20px*/
    letter-spacing: .1em;
    display: block;
    text-align: center;
    margin: 0.2rem 0 2rem;
}

.img {
    z-index: -1;
}

p.image {
    line-height: 0;
}


.caslon {
    font-family: "adobe-caslon-pro", serif;
    font-weight: 400;
    font-style: normal;
}

.tsukumin {
    font-family: "fot-tsukumin-pr6n", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.pd10 {
    padding: 0 10%;
}
.pl0 {
	padding-left:0!important;
}

.ls-0 {
    letter-spacing: 0;
}

.ls-50 {
    letter-spacing: 0.05em;
}

.ls-100 {
    letter-spacing: 0.1em;
}

.ls-200 {
    letter-spacing: 0.2em;
}

.lh-2 {
    line-height: 2;
}

.lh-24 {
    line-height: 2.4;
}

.fw-500 {
    font-weight: 500;
}

.font10-28 {
    font-size: 28px;
    /* font-size: clamp(0.625rem, 0.425rem + 1vw, 1.75rem); */
    /*min320px-max2120px*/
}

.font10-16 {
    font-size: 16px;
    /*  font-size: clamp(0.625rem, 0.558rem + 0.33vw, 1rem); */
    /*min320px-max2120px*/
}

.font11-32 {
    font-size: 32px;
    /*  font-size: clamp(0.688rem, 0.454rem + 1.17vw, 2rem); */
}

.font14-20 {
    font-size: 20px;
    /* font-size: clamp(0.875rem, 0.808rem + 0.33vw, 1.25rem); */
    /*min320px-max2120px*/
}

.font12-24 {
    font-size: 24px;
    /* font-size: clamp(0.75rem, 0.477rem + 1.36vw, 1.5rem); */
    /*view min320px,max2120px*/
}

.font14-24 {
    font-size: 24px;
    /* font-size: clamp(0.875rem, 0.764rem + 0.56vw, 1.5rem); */
    /*view min320px,max2120px*/
}

.font14-30 {
    font-size: 30px;
    /* font-size: clamp(0.875rem, 0.697rem + 0.89vw, 1.875rem); */
    /*min320px-max2120px*/
}

.font16-36 {
    font-size: 36px;
    /* font-size: clamp(1rem, 0.778rem + 1.11vw, 2.25rem); */
    /*min320px-max2120px*/
}

.font18-40 {
    font-size: 40px;
    /* font-size: clamp(1.125rem, 0.881rem + 1.22vw, 2.5rem); */
    /*min320px-max2120px*/
}

.font20-48 {
    font-size: 48px;
    /* font-size: clamp(1.25rem, 0.939rem + 1.56vw, 3rem); */
    /*min320px-max2120px*/
}

.font24-40 {
    font-size: 40px;
    /* font-size: clamp(1.5rem, 1.322rem + 0.89vw, 2.5rem); */
    /*min320px-max2120px*/
}

.font24-56 {
    font-size: 56px;
    /*  font-size: clamp(1.5rem, 1.144rem + 1.78vw, 3.5rem); */
    /*min320px-max2120px*/
}

.font16-64 {
    font-size: 64px;
    /* font-size: clamp(1rem, 0.467rem + 2.67vw, 4rem); */
    /*min320px-max2120px*/
}

.font150 {
    font-size: 150%;
    line-height: 1.5;
}

.font180 {
    font-size: 180%;
    line-height: 1.5;
}

.sp-br {
    display: block;
}

.indent-text{
    text-indent: -0.5em;
   display: block;
}

.indent-text-p{
    text-indent: -0.1em;
   display: block;
}

.pc-br {
    display: none;
}

.privacy-inner span.sp-break{
    display: inline-block;
    font-size: 1rem;
    margin-bottom: 0;
}

.sp-break::after{
    content:"-";
    display: inline;
}

.privacy-inner span.pc-break {
    display: inline; 
  }
  
.sp-comma {
display: inline;
}
 
@media (min-width: 600px) {

    .sp-br {

        display: none;

    }

    .pc-br {
        display: block;
    }

    .privacy-inner span.pc-break{
        display: inline-block;
        font-size: 1rem;
        margin-bottom: 0;
    }

    .privacy-inner span.sp-break{
        display: inline;
    }

    .sp-break::after{
        display: none;
    }

    .pc-break::after{
        content:"-";
        display: inline;
    }
}

@media (min-width: 700px) {
    .sp-comma {
      display: none;
    }
  }

@media (min-width: 780px) {
    span.sub-title {
        font-size: 1rem;
    }
}

.sp-br768 {
    display: block;}
  .pc-br768 {
    display: none;}
  @media (min-width: 767.9px) {
    .sp-br768 {
      display: none;}
    .pc-br768 {
      display: block;}}


@media (min-width: 1025px) {

    #brand.com_brand_style .block01 .font14-24 {
        font-size: 24px;
        /* font-size: clamp(0.875rem, 0.764rem + 0.56vw, 1.5rem); */
    }

    #brand .com_brand_style .header header .font48-96 {
        font-size: clamp(3rem, 2.467rem + 2.67vw, 6rem);
        /*min320px-max2120px*/
    }

    #brand .com_brand_style .header header .font14-24 {
        font-size: clamp(0.875rem, 0.697rem + 0.89vw, 1.875rem);
    }

    #brand .com_brand_style .block01 .inner h3.font20-38 {
        font-size: clamp(1.25rem, 1.05rem + 1vw, 2.375rem);
    }
}

/* page
--------------------------------------------- */
#contact,
#membership,
#thanks,
#brand,
#privacy,
#news {
    background-color: #fff;
}

#contact,
#membership p,
#privacy,
#privacy p,
#news,
#news p {
    color: #000000;
}

/* header
--------------------------------------------- */
#header {
    position: fixed;
    width: 100%;
    z-index: 10000;
}

#header.scrolled {
    background-color: rgba(0, 0, 0, 0.5);
    /* 薄い黒の背景色 */
    transition: background-color 0.3s ease;
    /* スムーズなトランジション */
    -webkit-transition: background-color 0.3s ease;
    /* スムーズなトランジション */
}

#header.bg-hidden {
    background-color: transparent;
    /* 背景を透明にする */
}

.site-branding {
    padding-left: 30px;
}

.site-branding.en {
    padding-top: 30px;
}

.site-branding.en a img{
    width: 100px;
    height: auto;
}

.custom-logo {
    width: 70px;
    padding-top: 20px;
}

.sp_menu .custom-logo {
    width: 60%;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    margin-right: 80px;
}

.main-navigation {
    display: none;
}

.right_box .language_box li {
    margin: 0 .3rem;
}

@media (min-width: 1200px) {
    .main-navigation {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 75%;
    }

    .main-navigation li {
        margin-right: 1rem;
    }
	
	 .main-navigation.en li {
        margin-right: 1.8rem;
    }

    .custom-logo {
        width: 120px;
    }

    .menu-g_nav_pc-container #primary-menu li a {
        position: relative;
    }

    .menu-g_nav_pc-container #primary-menu li a::after {
        position: absolute;
        bottom: -6px;
        left: 0;
        content: '';
        width: 100%;
        height: 2px;
        background: #fff;
        transform: scale(0, 1);
        -webkit-transform: scale(0, 1);
        transform-origin: left top;
        transition: transform .3s;
        -webkit-transition: transform .3s;
    }

    .menu-g_nav_pc-container #primary-menu li a:hover::after {
        transform-origin: left top;
        transform: scale(1, 1);
        -webkit-transform: scale(1, 1);
    }
}

/* nav hamburger
--------------------------------------------- */

/*nav open background*/
.close_back {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./image/top/hamburger_bg.jpg') no-repeat top 50% left 40%;
    /* background-color: rgba(255, 255, 255, 0.6); */
    z-index: 10;
    transition: all 400ms cubic-bezier(0.29, 0.63, 0.44, 1);
    -webkit-transition: all 400ms cubic-bezier(0.29, 0.63, 0.44, 1);
}

.close_back.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/*hamburger btn*/
.openbtn {
    position: fixed;
    z-index: 9999;
    /*ボタンを最前面に*/
    top: 16px;
    right: 20px;
    cursor: pointer;
    width: 60px;
    height: 60px;
}

.openbtn span {
    display: inline-block;
    transition: all .4s;
    -webkit-transition: all .4s;
    position: absolute;
    right: 14px;
    height: 2px;
    border-radius: 1px;
    background-color: #ffffff;
    width: 80%;
}

.openbtn span:nth-of-type(1) {
    top: 15px;
}

.openbtn span:nth-of-type(2) {
    top: 25px;
    width: 45%;
}

.openbtn span:nth-of-type(3) {
    top: 35px;
    width: 20%;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    right: 14px;
    transform: translateY(6px) rotate(-20deg);
    -webkit-transform: translateY(6px) rotate(-20deg);
    width: 80%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    right: 14px;
    transform: translateY(-6px) rotate(20deg);
    -webkit-transform: translateY(-6px) rotate(20deg);
    width: 80%;
}

.header-inner {
    opacity: 1;
    transition: opacity 0.5s ease-out;
    -webkit-transition: opacity 0.5s ease-out;
}

.none {
    opacity: 0;
}

/*g-nav*/

.g-nav {
    position: fixed;
    z-index: 8888;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.97);
    transition: right 0.6s ease-in-out;
    -webkit-transition: right 0.6s ease-in-out;
}

.g-nav.panelactive {
    right: 0;
}

nav#g-nav {
    margin-bottom: 2rem;
}

nav#g-nav.font14-30 {
    font-size: clamp(0.875rem, 0.697rem + 0.89vw, 1.875rem);
}

.g-nav .menu-g-nav-container li {
    margin-bottom: 1rem;
}

.g-nav-inner .right {
    padding: 0 0 0 15%;
}

.g-nav-inner img {
    width: 33%;
    margin: 0.5rem 2rem;
}

.g-nav-inner.en img {
    width: 33%;
    margin: 2rem;
}

.g-nav li a {
    position: relative;
    display: inline-block;
}

.g-nav li.menu-item a::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: -2.5rem;
    width: 1.5rem;
    height: 1px;
    background: #fff;
}

.g-nav .menu-g-nav-container #primary-menu li a::after {
    position: absolute;
    bottom: -6px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #fff;
    transform: scale(0, 1);
    -webkit-transform: scale(0, 1);
    transform-origin: left top;
    /*transition: transform .3s ease-out;*/
    transition: transform 1s cubic-bezier(.23, 1, .32, 1);
    -webkit-transition: transform 1s cubic-bezier(.23, 1, .32, 1);
}

.g-nav .menu-g-nav-container #primary-menu li a:hover::after {
    transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
}

.g-nav .menu-g-nav-pc-container #primary-menu li a:not(:hover)::after {
    transform-origin: right top;
    transform: scale(0, 1);
    -webkit-transform: scale(0, 1);
    transition: transform 1s ease-out;
    -webkit-transition: transform 1s ease-out;
}

.g-nav .language_box,
.g-nav .social_box {
    margin-bottom: 0.6rem;
    justify-content: flex-start;
}

.g-nav-online-shop {
    display: flex;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.g-nav-online-shop a {
    border: .6px solid #fff;
    padding: 10px 20px;
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    /* Prevents the link from exceeding the parent's width */
    word-wrap: break-word;
}

@media screen and (min-width:780px) {
    .openbtn {
        top: 20px;
    }

    .g-nav {
        background-color: transparent;
    }

    .g-nav-bg {
        position: relative;
    }

    .g-nav-inner {
        display: flex;
        position: relative;
        width: 100%;
    }

    .g-nav-inner::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 50%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.97);
        z-index: -1;
    }

    .g-nav-inner .left {
        display: flex;
        flex: 1;
        position: relative;
    }

    .g-nav-inner .left img {
        width: 30%;
    }

    .g-nav-inner .left img {
        position: absolute;
        top: 20%;
        left: 25%;
    }

    .g-nav-inner .right {
        flex: 0 0 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        position: relative;
        z-index: 1;
        padding: 50px 0 0 15%;
    }

    .g-nav-inner .right nav {
        width: 100%;
        margin-bottom: 20px;
    }

    .g-nav-box {
        width: 100%;
    }

    .g-nav-inner .left a {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .g-nav li.menu-item {
        display: block;
        margin-bottom: 15px;    
        position: relative;
        
    }

    .g-nav li.menu-item a {
        display: inline-flex;
        align-items: center;
        color: #fff;
        
    }

    .g-nav li.menu-item a::before {
        content: '';
        display: inline-block;
        margin-right: 8px;
        width: 1.5rem;
        height: 1px;
        background: #fff;
    }

    .g-nav-online-shop {
        padding: 10px 0 300px 0;
        justify-content: flex-start;
    }
}


/* 新しいアニメーション定義 */
@keyframes slideFadeIn {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.g-nav .left,
.g-nav .menu-g-nav-container li,
.g-nav .g-nav-box-inner .language_box li,
.g-nav .g-nav-box-inner .social_box li,
.g-nav-online-shop {
    opacity: 0;
    transform: translateX(100px);
    /* 初期位置: 右からスライド */
}


/* main
--------------------------------------------- */

.widget widget_block widget_search {
    display: none;
}


/* fv
--------------------------------------------- */
.swiper {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.swiper-slide {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    font-weight: bold;
    background-color: #e0ebf0;
    overflow: hidden;
    transition: opacity 0.5s ease;
}

.swiper-slide .img {
    filter: blur(15px);
    transition: filter 0s 2s;
    height: 100vh;
    width: 100%;
    object-fit: cover;
}

.swiper-slide .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transition: transform 0s 2s, filter 0s 2s;
}

.swiper-slide-active {
    z-index: 1;
}

.swiper-slide-active .img {
    filter: blur(0);
    transition: filter 3s;
}

.swiper-slide-active .img img {
    transform: scale(1);
    transition: transform 9s ease-out, filter 3s;
}

.swiper-slide img {
    height: auto;
    width: 100%;
}

#fv, #fv-en {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 35%;
    z-index: 10;
    display: flex;
    justify-content: center;
}

#fv p {
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    font-size: 4.5vw;
    letter-spacing: 0.3em;
    margin: 0;
}

#fv-en p {
    font-size: 4.5vw;
    letter-spacing: 0.1em;
    margin: 0;
    text-align: center;
}

#fv #scroll,
#fv-en #scroll{
    position: absolute;
    right: 5vw;
    bottom: 35vh;
    color: #ffffff;
    font-size: 1.2rem;
}

#fv #scroll p,
#fv-en #scroll p{
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

#container {
    position: relative;
    z-index: 1;
    background: #eee;
    padding: 600px 0;
    text-align: center;
}

#fv-en-catchphrase {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10; /* Ensure it appears above the swiper slides */
    text-align: center;
    pointer-events: none; /* Prevent interaction with this element if needed */
}

#fv-en-catchphrase p {
    font-size: 4.5vw;
    letter-spacing: 0.1em;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Optional for readability */
    margin: 0;
    line-height: 1.2;
}

@media screen and (min-width:600px) { 
    #fv-en-catchphrase p{
        font-size: 22px;
        letter-spacing: 0.2em;
    }
}

@media screen and (min-width:780px) {
    #fv, #fv-en {
        top: 20%;
    }

    #fv p {
        font-size: 36px;
    }
}

/*top-news
--------------------------------------------- */
.top_info {
    position: relative;
}

.top-info-inner {
    padding: 2rem 4.26%;
    max-width: 1200px;
    margin: 0 auto;
}

.h2-news {
    margin-top: 65px;
}

.top_info ul {
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.top_info ul li {
    line-height: 2.2;
    border-top: 1px solid #fff;
}

.top_info ul li:last-child {
    border-bottom: 1px solid #fff;
}

.info_list .font14-24 {
    font-size: clamp(0.875rem, 0.764rem + 0.56vw, 1.5rem);
}

.info_item a {
    display: block;
    height: 100%;
}

span.info_ttl {
    line-height: 1.371;
}

.info_time {
    display: block;
    padding-right: 2rem;
}

.info_bg {
    /* position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    display: grid;
    place-content: center;
    place-items: center;
    z-index: -1;
    overflow: hidden; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/top/top_news_bg_pc.jpg');
    background-size: cover; /* 画像を背景にぴったり収める */
    background-position: center; /* 背景画像を中央に配置 */
    background-repeat: no-repeat; /* 画像の繰り返しを防止 */
    z-index: -1;
}

@media (max-width: 780px) {
    .info_bg {
        background-image: url('./image/top/top_news_bg.jpg');
    }
}

.info-btn {
    text-align: center;
    margin-bottom: 50px;
}

.info-btn a {
    border: .6px solid #fff;
    padding: 8px 60px;
}

@media (min-width: 576px) {
    .h2-box {
        margin-top: 50px;
    }

    .h2-box .sub-title::after {
        margin: 10px auto;
        height: 110px;
        content: "";
        display: block;
        width: 1px;
        height: 5vw;
        background-color: #fff;
    }

    .top_info ul li {
        line-height: 3;
    }

    .info-btn {
        text-align: right;
        margin-bottom: 100px;
    }

    .info_time {
        display: inline;
        border-right: 1px solid #fff;
        padding: 0 1rem;
    }

    .info_ttl {
        padding-left: 1rem;
    }
}

/*card
--------------------------------------------- */
.card_container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card {
    width: 100%;
    position: relative;
}

.card img {
    display: block;
}

.card a {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    display: grid;
    place-content: center;
    place-items: center; 
    }

.card.en a {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    display: grid;
    place-content: center;
    place-items: center; 
    text-align: center;
    font-size: 6vw;
}

.card:hover {
    background-color: rgba(255, 255, 255, 0.3); 
    transition: background-color 0.3s; /* スムーズなホバーアニメーション */
}
.card a.sp-br{
    display: inline;
}

.card a.pc-br{
    display: none;
}

.card:after {
    content: '';
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    width: 1px;
    height: 3rem;
    background-color: #fff;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateY(50%);
    -webkit-transform: translateY(50%);
}

span.sub_title {
    display: block;
    text-align: center;
    position: relative;
}

@media (min-width: 780px) {
    .card_container {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .card {
        width: 50%;
    }

    .card a {
        font-size: 30px;
    }

    .card.en a {
        font-size: 26px;
    }

    .card a.sp-br{
        display: none;
    }
    
    .card a.pc-br{
        display: inline;
    }
}

/* top_member
---------------------------------------------*/

.member-container {
    position: relative;
    background-color: #0a281d;
    text-align: center;
    padding: 4rem 0;
    overflow: hidden;
}

.member-inner {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    display: grid;
    place-content: center;
    place-items: center;
    display: block;
    text-align: center;
}

.member-inner-content {
    position: relative;
    max-width: 80%;
    padding: 2rem;
    margin: 0 auto;
}

.member-inner-content::before,
.member-inner-content::after {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 80px;
    width: 15px;
    border: 2px solid #fff;
}

.member-inner-content::before {
    left: -15px;
    border-right: none;
}

.member-inner-content::after {
    right: -15px;
    border-left: none;
}

.member-inner-content h2 {
    font-size: 8vw;
    margin-top: 0.4rem;
    letter-spacing: 4.5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.member-inner-content span {
    letter-spacing: 0.9em;
    font-size: 3vw;
}

.member-btn,
.member-btn-en{
    padding-top: 40px;
}

.member-btn a, 
.member-btn-en a{
    border: 2px solid #fff;
    padding: 10px 60px;
    font-weight: 600;
    font-size: clamp(0.875rem, 0.697rem + 0.89vw, 1.875rem)
        /*14-30*/
    ;
}

.member-btn-en a{
    padding: 10px;

}

.bg-square {
    width: 100%;
    height: 20%;
    background-color: #051710;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    z-index: -2;
}

.bg-square picture {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    display: grid;
    place-content: center;
    place-items: center;
    display: block;
    text-align: center;
}

@media (min-width: 780px) {
    .member-container {
        margin: 4rem 0;
    }

    .bg-square picture {
        padding: 0 10%;
    }

    .member-inner-content {
        width: 60%;
    }

    .member-inner-content::before,
    .member-inner-content::after {
        top: 10px;
        bottom: 10px;
    }

    .member-inner-content h2 {
        font-size: 48px;
        letter-spacing: 1.8vw;
    }

    .member-inner-content h2::before,
    .member-inner-content h2::after {
        content: "";
        width: 10vw;
        border-top: 1px solid #fff;
    }

    .member-inner-content h2::before {
        margin-right: 1.5rem;
    }

    .member-inner-content h2::after {
        margin-left: 1.5rem;
    }

    .member-inner-content span {
        letter-spacing: 0.5em;
        font-size: 20px;
    }

    .member-btn-en a{
        padding: 10px 20px;  
    }
}

@media (min-width: 900px) {
    .member-img-box {
        width: 80%;
        margin: 0 auto;
    }
}


/* top-foundation
---------------------------------------------*/
.foundation-container {
    position: relative;
    text-align: center;
}

.foundation-container a {
    display: block;
}

.foundation-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.foundation-inner p,
.foundation-inner h2,
.foundation-inner span {
    white-space: nowrap;
}

.foundation-inner h2 {
    font-size: 6.3vw;
    /*clamp(1.875rem, 0.784rem + 5.45vw, 4.875rem);
    view min320px,max2120px 30px-78p*/
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0.1rem;
}

.foundation-container a picture.img {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

.foundation-container a picture img {
    vertical-align: middle;
}


@media (min-width: 780px) {
    .foundation-inner h2 {
        font-size: 39.5px;
    }
}


/* scrolldown
---------------------------------------------*/


/*=== 9-1-4 矢印が動いてスクロールを促す  ====*/

/*スクロールダウン全体の場所*/
.scrolldown4 {
    /*描画位置※位置は適宜調整してください*/
    position: absolute;
    bottom: 1%;
    right: 10%;
    /*矢印の動き1秒かけて永遠にループ*/
    /*   animation: arrowmove 1s ease-in-out infinite; */
}

/*下からの距離が変化して全体が下→上→下に動く*/
/* @keyframes arrowmove {
    0% {
        bottom: 51%;
    }

    50% {
        bottom: 53%;
    }

    100% {
        bottom: 51%;
    }
} */

/*Scrollテキストの描写*/
.scrolldown4 span {
    /*描画位置*/
    position: absolute;
    left: -3px;
    bottom: 60px;
    /*テキストの形状*/
    color: #eee;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    /*縦書き設定*/
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    right: -6px;
    /*矢印の形状*/
    width: 1px;
    height: 20px;
    background: #eee;
    transform: skewX(-31deg);
    -webkit-transform: skewX(-31deg);
}

.scrolldown4:after {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    right: 0;
    /*矢印の形状*/
    width: 1px;
    height: 50px;
    background: #eee;
}


/*新着情報
----------------------------------------------*/
/**/
.accordion-container {
    margin: 60px 0;
}

.accordion-item {
    background-color: #474747;
    color: white;
    margin-bottom: 2px;
    overflow: hidden;
}

.accordion-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    cursor: pointer;
    font-size: 16px;
}

.accordion-title .date {
    border-right: 1px solid #fff;
    padding-right: 1rem;
    line-height: 3;
}

.accordion-title .title {
    flex-grow: 1;
    margin: 0 1rem;
}

.accordion-title .symbol {
    font-size: 30px;
    font-weight: bold;
}

.accordion-content {
    background-color: #fff;
    color: #000;
    max-height: 0;
    padding: 0 10%;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    -webkit-transition: max-height 0.2s ease-out;
}

.accordion-content p {
    margin: 40px 0;
    color: #000;
}

/* 既存のページネーションのスタイルもそのまま残します */
.pagination {
    display: flex;
    -webkit-display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 20px 0;
}

.pagination li {
    margin: 0 5px;
    list-style: none;
    font-weight: bold;
}

.pagination li a {
    text-decoration: none;
    color: #333;
    background-color: #2a2702;
}

.pagination li.active a {
    font-weight: bold;
}

.pagination li.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/**/
.pic-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
    background-color: #fefefe;
    gap: 1rem;
}


.pagination a {
    display: inline-block;
    color: #606060;
    border-radius: 50%;
    border: 1px solid #dedede;
    text-decoration: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.pagination i {
    line-height: 40px;
}

.pagination li.active {
    color: #606060;
}

.pagination li.active span {
    display: inline-block;
    color: #606060;
    border-radius: 50%;
    border: 1px solid #dedede;
    text-decoration: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #fff;
}

.pagination a:hover {
    transition: 0.5s;
    -webkit-transition: 0.5s;
    color: white;
}

.pagination .disabled a {
    pointer-events: none;
    color: #ccc;
}

.pagination .disabled a:hover {
    background-color: initial;
    color: #ccc;
}

@media(min-width: 780px) {
    .accordion-container {
        max-width: 1200px;
        margin: 120px 10%;
    }
}

@media(min-width: 1300px) {
    .accordion-container {
        margin: 120px auto;
    }
}

/* 新着記事一覧ショートコード用
---------------------------------------------*/
.news-list .news-list-inner {
    padding: 20px 5px;
    border: 2px solid #f5f5f5;
}

.archive .news-list .news-list-inner {
    background: #fff;
    padding: 20px;
}

.news-list ul {
    list-style: none;
    margin: 0 0 20px;
}

.news-list li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.news-list a {
    color: #333;
    text-decoration-line: none;
}

.news-list a:hover {
    opacity: 0.6;
}

.news-list a.wp-block-button__link {
    color: #fff;
}

.news-list a.wp-block-button__link:hover {
    color: #F87474;
}

.news-list .news_date {
    margin: 0;
    font-size: 14px;
}

.news-list .news_title {
    margin: 0;
    font-size: 18px;
    line-height: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/*philosophy
---------------------------------------------*/

/* .intro {
    text-align: center;
    padding: 50px 20px;
}

.intro h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.intro p {
    font-size: 16px;
    margin-bottom: 20px;
}

.intro h2 {
    font-size: 22px;
    margin-bottom: 40px;
}

.intro-content {
    display: flex;
    justify-content: space-around;
    padding: 0 20px;
}

.intro-content p {
    width: 45%;
    text-align: left;
}

.intro-content .quote {
    width: 45%;
    text-align: left;
    border-left: 2px solid #000;
    padding-left: 10px;
}

.values {
    background: url('forest-background.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.values h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.values .subtitle {
    font-size: 18px;
    margin-bottom: 40px;
}

.values-content {
    display: flex;
    justify-content: space-around;
    padding: 0 20px;
}

.value {
    width: 30%;
    text-align: center;
}

.value .hexagon {
    width: 60px;
    height: 60px;
    background: #000;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    color: #fff;
    font-size: 24px;
}

.value h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.value p {
    font-size: 16px;
    line-height: 1.4;
}
 */

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

.section {
    padding: 20px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-content {
    text-align: justify;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.value-item h3 {
    margin: 10px 0;
}

.value-item p {
    text-align: center;
}

.background-image {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 40px 0;
}

@media (min-width: 780px) {
    .value-item {
        flex-direction: row;
        text-align: left;
    }

    .value-item div {
        flex: 1;
        padding: 0 10px;
    }
}

/* company
--------------------------------------------- */

.company_profile_inner {
    padding: 40px 0 50px 0;
    background-color: #0a281d;
}

table.tbl-overview {
    width: 100%;
}

table.tbl-overview.en {
    width: 100%;
    font-size: 3.7vw;
}

.tbl-overview tbody,
.tbl-overview tr,
.tbl-overview th,
.tbl-overview td {
    display: block;
    width: 100%;
}

.tbl-overview th {
    background-color: #051710;
    padding: 10px;
    text-align: left;
    box-sizing: border-box;
    border-bottom: 1px solid #134633;
}

.tbl-overview td {
    margin-bottom: 10px;
    padding: 10px;
    color: #fff;
}

@media(min-width: 700px) {
    .company_profile_inner {
        padding: 150px 0 200px 0;
    }

    table.tbl-overview,
    table.tbl-overview.en {
        display: table;
        width: auto;
        margin-left: auto;
        margin-right: auto;
    }

    table.tbl-overview.en {
        font-size: 15px;
    }

    .tbl-overview tr {
        display: table-row;
        width: auto;
    }

    .tbl-overview th {
        display: table-cell;
        width: 200px;
        padding: 20px 15px;
        text-align: center;
        font-weight: nomal;
    }

    .tbl-overview td {
        border-bottom: 1px solid #134633;
    }

    .tbl-overview td {
        display: table-cell;
        width: calc(100% - 200px);
        padding: 15px 30px;
    }

    .tbl-overview td.border-pc:first-child {
        border-top: 1px solid #134633;
    }
}

/* membership
--------------------------------------------- */
.membership-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 4.24% 150px;
    background-color: #fff;
    color: #000;
}

.contact-inner a,
.membership-inner a {
    text-decoration: underline;
}


/* form
--------------------------------------------- */
/* .wpcf7 form .wpcf7-response-output {
    padding: 1em;
    text-align: center;
    color: #000;
}
*/
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    border-radius: 0px;
    border: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border-radius: 0px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}

input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: #efefef;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}

.contact-inner input[type="button"]:hover,
.contact-inner input[type="submit"]:hover,
.membership-inner input[type="button"]:hover,
.membership-inner input[type="submit"]:hover {
    background-color: #efefef;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #000;
    border-radius: 0px;
    background: #fff;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 4em 0.4em;
}

#contact,
#membership,
#thanks,
#privacy {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.contact-inner,
.membership-inner,
.news-single-inner,
.privacy-inner {
    width: 100%;
    background-color: #fff;
    padding: 50px 4.26% 200px;
    position: relative;
}

.privacy-inner.en{
    padding: 50px 4.26% 130px;
}

.contact-inner p.contact-text,
.membership-inner p.membership-text {
    margin: 50px 0 50px;
}

.table-res-form .confirm-inner p {
    padding: 20px;
}

.contact-inner p,
.membership-inner p {
    margin: 0;
    line-height: 1.6;
    color: #000;
    text-align: left;
}

.contact-inner .Form-Item,
.membership-inner .Form-Item {
    margin-bottom: 2rem;
}

.contact-inner .confirm_area .Form-Item,
.membership-inner .confirm_area .Form-Item {
    margin-bottom: 0;
}

.contact-inner .confirm_area .Form-Item p,
.membership-inner .confirm_area .Form-Item p {
    padding: 14px 20px;
    border-bottom: 1px solid #605f5f;
    border-right: 1px solid #605f5f;
    border-left: 1px solid #605f5f;
}

.contact-inner p.Form-Item-Label,
.membership-inner p.Form-Item-Label {
    margin-bottom: .8rem;
}

.contact-inner .confirm_area p.Form-Item-Label,
.membership-inner .confirm_area p.Form-Item-Label {
    background: #efefef;
    border-left: 1px solid #605f5f;
    margin-bottom: 0;
}

.contact-inner .confirm_area #email,
.membership-inner .confirm_area #email {
    border-left: 1px solid #605f5f;
}

.Form-Item.check-box-item {
    position: relative;
}

.contact-inner input[type="text"],
.contact-inner input[type="email"],
.contact-inner textarea,
.membership-inner input[type="text"],
.membership-inner input[type="email"],
.membership-inner textarea {
    width: 100%;
    padding: 15px;
    margin: 0;
    box-sizing: border-box;
    background-color: #f0f0f0;
    font-family: 'Noto Serif JP';
}

.contact-inner input[type="checkbox"],
.membership-inner input[type="checkbox"] {
    margin-right: 10px;
}

.contact-inner input[type="submit"],
.membership-inner input[type="submit"],
.contact-inner input[type="previous"],
.membership-inner input[type="previous"],
.contact-inner input[type="button"],
.membership-inner input[type="button"] {
    width: 70%;
    padding: 15px;
    color: #000;
    background-color: #fff;
    border: 1px solid #000;
    cursor: pointer;
    font-size: 16px;
    box-sizing: border-box;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    display: block;
    margin: 2rem auto;
}

.confirm-btn {
    display: block;
}

.button-wrap {
    margin-top: 50px;
}


#membership.confirm-inner input[type="submit"] {
    width: 100%;
}

.contact-inner .confirm_area .Form-Item:first-child,
.membership-inner .confirm_area .Form-Item:first-child {
    border-top: 1px solid #605f5f;
}

.required {
    color: red;
    font-weight: normal;
    margin-left: 5px;
}

.must,
.free {
    border: 1px solid red;
    color: red;
    font-size: 12px;
    margin-left: 10px;
    padding: 2px 10px;
    letter-spacing: 0.2em;
}

.check-box {
    border: 1px solid red;
    margin-left: 50px;
    position: absolute;
    top: 0;
}

.check-box.en {
    border: 1px solid red;
        margin-left: 10px;
        position: static;
    }

@media(min-width: 780px) {
.check-box.en {
    border: 1px solid red;
    margin-left: 0px;
    position: absolute;
    top: 3.5rem;
    left: 0;
}
}

.contact-inner .form-group {
    margin-bottom: 20px;
}

.contact-inner .form-group .example {
    color: #aaa;
    font-weight: normal;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 1em 1em;
    border: 3px solid #00a0d2;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #e0934c;
}

.wpcf7 form.sent .wpcf7-response-output {
    border: none;
}

@media (min-width: 780px) {

    .contact-inner,
    .membership-inner,
    .news-inner,
    .privacy-inner {
        width: 78%;
        max-width: 900px;
        background-color: #fff;
        padding: 50px 0 200px;
        position: relative;
    }

    .contact-inner input[type="submit"],
    .membership-inner input[type="submit"],
    .contact-inner input[type="button"],
    .membership-inner input[type="button"] {
        display: inline-block;
        padding: 16px 20px;
    }


    .contact-inner .confirm_area input[type="button"],
    .contact-inner .confirm_area input[type="submit"],
    .membership-inner .confirm_area input[type="button"],
    .membership-inner .confirm_area input[type="submit"] {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-inner input[type="text"],
    .contact-inner input[type="email"],
    .contact-inner textarea,
    .membership-inner input[type="text"],
    .membership-inner input[type="email"],
    .membership-inner textarea {
        width: 100%;
        padding: 15px;
        margin: 0 1rem;
        box-sizing: border-box;
        background-color: #f0f0f0;
        font-family: 'Noto Serif JP';
    }

    .contact-inner .confirm_area p.Form-Item-Label,
    .membership-inner .confirm_area p.Form-Item-Label {
        border-right: none;
    }


    .Form-Item {
        display: grid;
        grid-template-columns: 250px auto;
    }

    .button-wrap {
        margin-left: 270px;
        margin-top: 80px;
    }

    .confirm_area .button-wrap {
        display: grid;
        gap: 1rem;
        grid-template-columns: 40% 40%;
        justify-content: center;
        margin-left: 0;
    }

    #checkbox .wpcf7-list-item {
        display: block;
        margin-bottom: 10px;
    }
}

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

    /*thとtdをブロック化して幅100％にして、縦積み*/
    .table-res-form th,
    .table-res-form td {
        width: 100%;
        display: block;
    }

    .table-res-form .textarea {
        display: block;
        padding-top: 1rem;
    }

    /*th（項目名）欄の不要な余白削除・テキスト左寄せ*/
    .table-res-form th {
        margin-top: 2rem;
        text-align: left;
    }

    /*不要な最終行の左のthを非表示にする*/
    .table-res-form .submit {
        display: none;
    }

    .contact-inner input[type="submit"],
    .membership-inner input[type="submit"] {
        width: 70%;
        padding: 15px;
        color: #000;
        background-color: #fff;
        border: 1px solid #000;
        cursor: pointer;
        font-size: 16px;
        box-sizing: border-box;
        margin: 2rem auto;
        display: block;
    }
}

/*form test*/
/*確認画面と完了画面を非表示*/
.confirm_area,
.thanks_area {
    display: none;
}

/*デフォルトのサンクスメッセージを非表示*/
.wpcf7-response-output {
    display: none;
}


/*========= privacy ===============*/
#privacy {
    position: relative;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.3;
}

.privacy-inner ul {
    margin-left: 2rem;
}

.privacy-inner li.disc {
    list-style: disc;
}

.privacy-inner h4 {
    margin-bottom: 1rem;
    font-size: 1.8em;
    font-weight: 400;
}

.privacy-inner.en h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 400;
}

.privacy-inner span {
    margin-bottom: .5rem;
    font-size: .6em;
}


.privacy-inner dt {
    margin: 40px 0 10px;
    font-size: 1em;
    line-height: 1.6;
}

.privacy_intro_en {
    font-size: 4vw;
}

.privacy-inner.en{
    font-size: 3.5vw;
}

@media(min-width: 700px) {
    .privacy-inner {
        padding: 100px 4.24% 150px;
    }

    .privacy-inner.en{
        font-size: 1rem;
    }
    .privacy_intro_en {
        font-size: 1rem;
    }
}

/*fade-up
---------------------------------------------*/

.fadeUpTrigger {
    opacity: 0;
    transform: translateY(50px);
    -webkit-transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fadeUpTrigger.is-show {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
}

/*縦書きテキスト用フェードイン*/
.line {
    display: inline-block;
    /* 各行をブロック要素として扱う */
    opacity: 0;
    /*  transform: translateX(-100%);
    -webkit-transform: translateX(-100%); */
    transform: translateY(8%);
    -webkit-transform: translateY(8%);
    /* 下から上にフェードイン */
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s, transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s, -webkit-transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}

.line.visible {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    /*  transform: translateX(0);
    -webkit-transform: translateX(0); */
    margin: 0;
    text-align: start;
    line-height: .6;
    text-orientation: upright;
}


.is-show-h2 {
    opacity: 1;
    transform: translateY(0);
}

h2.fadeUpTrigger {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

h2.is-show {
    opacity: 1;
    transform: translateY(0);
}

/*age-modal
---------------------------------------------*/
#underCheckWhole {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
    display: none;
}

.ageWrap {
    display: table
        /*none*/
    ;
    border-collapse: collapse;
    border: none;
    position: fixed;
    z-index: 999999;
    height: 100vh;
    width: 100%;
    left: 0px;
    top: 0px;
    background-color: rgba(12, 42, 34, 0.95);
    /*0c2a22*/
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
}

.ageWrap>* {
    display: table-cell;
    vertical-align: middle;
    padding: 4.26%;
}

.ageWrap .site-branding {
    padding-left: 0;
    margin-bottom: 50px;
}

.ageWrap .site-branding img {
    width: 120px;
}

.ageWrap .caution_memo,
.ageWrap .caution_memo-en {
    font-size: 20px;
    line-height: 1.75;
    font-weight: 400;
    color: #fff;
    margin-top: 0;
    margin-bottom: 35px;
}

.ageWrap .caution_memo-en {
    font-size: 18px;
}

.ageWrap .caution {
    font-size: 30px;
    color: #fff;
    margin-bottom: 1.5rem;
}

.ageWrap .choice_buttons {
    margin-bottom: 1rem;
    padding: 0;
    text-align: center;
}

.ageWrap .choice_buttons li {
    vertical-align: top;
    display: inline-block;
    margin-right: 20px;
    margin-left: 20px;
    text-align: center;
}

.ageWrap .choice_buttons a {
    font-size: 24px;
    line-height: 50px;
    font-weight: 600;
    color: #fff;
    display: inline-block;
    height: 50px;
    width: 235px;
    padding: 0 0 0;
    transition: background-color .3s;
    cursor: pointer;
    border: 1px solid;
}

.ageWrap .choice_buttons a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.3);
}

.ageWrap .check_keep {
    margin-bottom: 1.5rem;
}

.ageWrap .check_keep label {
    cursor: pointer;
    color: #fff;
}

.ageWrap .info {
    color: #fff;
}

.ageWrap .corpName {
    margin-top: 25px;
}

.ageWrap .corpName img {
    width: 134px;
}

.ageWrap .link_info {
    color: #fff;
}

.age_clear {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateY(-20%) translateX(-50%);
    -webkit-transform: translateY(-20%) translateX(-50%);
    width: auto;
    height: auto;
    display: block;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
    color: #000;
    background-color: #fff;
    z-index: 999998;
    border-radius: 5px 10px;
    background: repeating-linear-gradient(45deg, #000000, #000000 14px, #FFD900 14px, #FFD900 28px);
    padding: 10px;
    cursor: pointer;
}

.age_clear span {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    display: block;
    pointer-events: none;
}

body.agecheck .kiji a:active {
    pointer-events: none;
}

body.agecheck .kiji a:hover {
    filter: blur(2px) !important;
}

@media all and (max-width: 480px) {
    .ageWrap {
        font-size: 12px;
    }

    .ageWrap>* {
        display: table-cell;
        vertical-align: top;
        padding: 50px 4.26%;
    }

    .ageWrap .caution_memo {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .ageWrap .caution {
        font-size: 6vw;
    }

    .ageWrap .choice_buttons {
        font-size: 10px;
    }

    .ageWrap .choice_buttons li {
        margin-right: 5px;
        margin-left: 5px;
    }

    .ageWrap .choice_buttons a {
        font-size: 14px;
        line-height: 40px;
        height: 40px;
        width: 185px;
    }

    .ageWrap .corpName {
        margin-bottom: 0px;
    }

    .ageWrap .corpName img {
        width: 150px;
    }

    .age_clear {
        font-size: 12px;
        line-height: 1.2;
        font-weight: 600;
    }
}

@media all and (min-width: 481px)and (max-width: 750px) {
    .ageWrap {
        font-size: 12px;
    }

    .ageWrap .caution_memo {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .ageWrap .caution {
        font-size: 18px;
    }

    .ageWrap .choice_buttons {
        font-size: 10px;
    }

    .ageWrap .choice_buttons li {
        margin-right: 5px;
        margin-left: 5px;
    }

    .ageWrap .choice_buttons a {
        font-size: 14px;
        line-height: 35px;
        height: 35px;
        width: 117px;
    }

    .ageWrap .corpName {
        margin-bottom: 0;
    }

    .ageWrap .corpName img {
        width: 150px;
    }
}



/* footer
--------------------------------------------- */
footer {
    position: relative;
    z-index: 1;
}

footer #pageTop {
    position: absolute;
    right: 5vw;
    bottom: 10px;
    color: #ffffff;
    font-size: 1.2rem;
}

@media (min-width: 780px) {
    footer #pageTop {
        bottom: -100px;
    }
}

footer #pageTop a {
    text-align: center;
    display: block;
}

footer #pageTop p {
    letter-spacing: 0.05em;
    /*縦書き設定*/
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

.footer-box {
   /*  position: absolute;
    top: 40%; 
    left: 50%;
    -webkit-transform: translate(-50%, -40%); 
    transform: translate(-50%, -40%); 
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    display: grid;
    place-content: center;
    place-items: center;
    display: block;
    text-align: center;
}

footer picture.img {
    display: block;
}

footer picture.img img {
    display: block;
    width: 100%;
    /* 必要に応じてサイズ調整 */
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
}

.footer-logo,
.footer-logo-en{
    margin-bottom: 5rem;
}

.footer-logo img {
    width: 60%;
}

.footer-logo-en img{
    width: 150px;
}

.footer-navigation {
    align-items: center;
    margin: 20px 0 40px;
    font-size: 5vw;
}

.footer-menu {
    display: block;
}

.footer-menu li {
    margin-bottom: 1rem;
}

.notice_box {
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.social_box,
.language_box {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.social_box li {
    margin-right: 0.6rem;
}

.social_box li i {
    font-size: 24px;
}

.fa-brands {
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 5px;
}

.footer-box .social_box {
    margin-bottom: 0.8rem;
}

.language_box {
    padding-left: 0.5rem;
}

.language_box li a {
    text-decoration: none;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid transparent;
    margin-right: 0.4rem;
}

.language_box li:nth-child(2) a {
    margin-left: 0.3rem;
}

.language_box li a.active {
    border-bottom: 2px solid #fff;
}

.footer-online-shop {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.footer-online-shop a {
    font-size: 4.2vw;
    border: .6px solid #fff;
    padding: 10px 20px;
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    /* Prevents the link from exceeding the parent's width */
    word-wrap: break-word;
}

.copyright {
    margin: 35px auto 20px;
    text-align: center;
}

@media (min-width: 600px) {
    .footer-logo img {
        width: 40%;
    }

    .copyright {
        margin: 60px auto 20px;
    }
}

@media (min-width: 780px) {
    .footer-navigation {
        align-items: center;
        margin: 20px 0 40px;
        font-size: 3vw;
    }

    .footer-navigation.en {
        font-size: 15px;
    }

    .footer-online-shop a {
        font-size: 3vw;
    }

    .copyright.en {
        font-size: 14px;
    }
}

@media (min-width: 780px) {

    .footer-navigation,
    .footer-online-shop a {
        font-size: 20px;
    }

    .footer-online-shop.en a {
        font-size: 18px;
    }

    .footer-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 880px;
        margin: 0 auto;
    }

    .footer-menu li {
        margin-right: .1rem;
    }

    .footer-menu li a {
        display: inline-block;
        /* a要素をインラインブロックに設定 */
        width: 100%;
        /* a要素がli要素の幅を占めるように設定 */
    }

    .footer-menu li:nth-child(-n+5) {
        flex-basis: 17%;
        /*max-width: 18%;*/
		max-width: fit-content;
        white-space: nowrap;
    }

    .footer-navigation.en .footer-menu li:nth-child(-n+5) {
        /*max-width: 10%;*/
		max-width: fit-content;
    }
	
	.footer-menu li {
		padding-left: 1.5rem;
	}
	.footer-navigation.en .footer-menu li {
		padding-left: 2rem;
	}

    /*.footer-menu li:nth-child(n+2) {
        padding-left: 1.5rem;
    }
	
	.en .footer-menu li:nth-child(n+2) {
        padding-left: 2rem;
    }
	
	.footer-navigation.en .footer-menu li:nth-child(n+2) {
        padding-left: 2rem;
    }

    .footer-navigation.en .footer-menu li:nth-child(3) {
        padding-left: 2rem;
    }

    .footer-navigation.en .footer-menu li:nth-child(4) {
        padding-left: 9.5rem;
    }

    .footer-navigation.en .footer-menu li:nth-child(5) {
        padding-left: 16rem;
        padding-right: 4rem;
    }

    .footer-menu li:nth-child(6) {
        padding-left: 6rem;
    }
    .footer-navigation.en .footer-menu li:nth-child(6) {
        padding-left: 7rem;
    }
    
    .footer-navigation.en .footer-menu li:nth-child(7) {
        padding-left: 1.6rem;
    }

    .footer-navigation.en .footer-menu li:nth-child(8) {
        padding-left: 1rem;
    }

    .footer-navigation.en .footer-menu li:nth-child(9) {
        padding-left: 1rem;
        margin-right: 2.5rem;
    }*/


    .footer-menu li:nth-child(n+6):nth-child(-n+9) {
        /*flex-basis: 16%;*/
		flex-basis: fit-content;
        white-space: nowrap;
    }

    /*.footer-menu li:nth-child(n+9) {
        padding-left: 1.5rem;
        padding-right: 4rem;
    }*/

    .footer-menu li:nth-child(n+10) {
        flex-basis: 100%;
        padding-right: 0;
    }
}

/*-------------------------------------------
commitment.html
-------------------------------------------*/

#commitmentSec01 {
    background: url("./image/commitment/tenkyo-bg-sp.png") no-repeat center center;
    background-size: cover;
    aspect-ratio: 390/ 250;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

@media print,
screen and (min-width: 767.9px) {
    #commitmentSec01 {
        background: url("./image/commitment/tenkyo-bg.png")no-repeat center center;
        background-size: cover;
        aspect-ratio: 212 / 63;
        overflow-x: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
}

.com_commitment_style header h3 {
    font-size: 7vw;
    font-weight: normal;
    text-align: center;
}

@media print,
screen and (min-width: 1024.9px) {
    .com_commitment_style header h3,
    .eisen-commitment h3 {
        font-size: 45px;
    }

    .eisen-commitment h3.en{
        font-size: 30px;
    }
}

#commitmentSec09 {
    background: url("./image/commitment/eisen-sp.png") no-repeat center center;
    background-size: cover;
    aspect-ratio: 390/ 250;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

@media print,
screen and (min-width: 767.9px) {
    #commitmentSec09 {
        background: url("./image/commitment/eisen.png")no-repeat center center;
        background-size: cover;
        aspect-ratio: 212 / 63;
        overflow-x: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }
}

.material {
    width: 100vw;
    background: url("./image/commitment/material-bg.png")no-repeat center center;
    background-size: cover;
    aspect-ratio: 106/75;
    display: flex;
    align-items: center;
    justify-content: center;
}

.material__text,
.material__text.en {
    font-size: 20px;
    line-height: 2.6;
    text-align: center;
    letter-spacing: .2em;
}

.material__text.en {
    font-size: 16px;
    line-height: 1.875;
    letter-spacing: .05em;
}

.material__text .sp-only {
    display: none;
}

@media print,
screen and (max-width: 767.9px) {
    .material {
        background: url("./image/commitment/material-bg-sp.png")no-repeat center center;
        padding-top: 135px;
        padding-bottom: 190px;
    }

    .material__text {
        font-size: 3vw;
        line-height: 3;
        text-align: center;
    }

    .material__text.en {
        font-size: 3.5vw;
        line-height: 2.14;
        text-align: center;
    }
}

.material__text .sp-only {
    display: block;
}

@media print,
screen and (min-width: 767.9px) {
    .material__text .sp-only {
        display: none;
    }
}

/*-------------------------------------------
commitment.html
-------------------------------------------*/

.mv {
    width: 100vw;
    height: 100vh;
    background-image: url(./image/commitment/mv-bg.png);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.mv__title {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.125rem;
    font-weight: normal;
    letter-spacing: .2em;
}

.mv__title::after {
    margin-top: 25px;
    content: attr(data-en);
    display: block;
    font-size: 1.875rem;
    text-transform: capitalize;
}

.mv__scroll {
    position: absolute;
    bottom: 5px;
    right: 5%;
}

.tenkyo-commitment {
    width: 100%;
    background-image: url(./image/commitment/tenkyo-bg.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 212/63;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tenkyo-commitment::after,
.eisen-commitment::after {
    content: "";
    display: block;
    width: 1px;
    height: 25%;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.tenkyo-commitment .font20-48 {
    font-size: clamp(1.25rem, 0.939rem + 1.56vw, 3rem);
    font-weight: normal;
    letter-spacing: .2em;
}

.tenkyo-commitment h3.tenkyo-commitment__title.en{
    font-size: 30px;
    text-align: center;
    font-weight: 400;
}

.blender {
    margin: 0 auto;
    max-width: 2120px;
    width: 100%;
    display: flex;
    flex-flow: row-reverse;
}

.blender.en {
    margin: 0 auto;  
    width: 100%;
    display: flex;
    flex-flow: row-reverse;
}

.blender__text.en{
    width: 50%; 
 }

@media print,
screen and (max-width: 1000px) {
    .blender.en {
        margin: 0 auto;  
        width: 100%;
        display: flex;
        flex-flow: column-reverse;
    }

    .blender__text.en{
       width: 100%; 
    }
}

.chief, 
.chief.en{
    margin: 0 auto;
    max-width: 2120px;
    display: flex;
}

.chief__text.en {
    width: 50%;
    writing-mode: horizontal-tb;
    align-items: center;
}

@media print,
screen and (max-width: 1000px) {
    .chief.en {
        margin: 0 auto;  
        width: 100%;
        display: flex;
        flex-flow: column;
    }

    .chief__text.en {
        width: 100%;
        writing-mode: horizontal-tb;
        align-items: center;
        padding:10vw 0;
    }
    
}

.blender__text {
    width: 50%;
    writing-mode: vertical-rl;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    text-orientation: mixed;
}

.blender__text.en {
    writing-mode: horizontal-tb;
    display: flex;
    padding: 10vw 0;
}

.blender__status {
    font-size: 1.875rem;
    color: #000;
    letter-spacing: .2em;
    transform: translateY(-20px);
}

.blender__status.en {
    letter-spacing: .05em;
}

.blender__name {
    font-size: 5rem;
    font-weight: normal;
    color: #000;
    letter-spacing: .2em;
}

.blender__name.en {
    letter-spacing: .05em;
}

.chief {
    margin: 0 auto;
    max-width: 2120px;
    display: flex;
}

.chief__text {
    width: 50%;
    writing-mode: vertical-rl;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background-color: #fff;
    padding-top: 20vh;
}

/* .chief__text.en {
    padding-top: 0;
} */

.chief__status {
    font-size: 1.875rem;
    color: #000;
    letter-spacing: .2em;
    transform: translateY(0px);
}

.chief__status.en {
    font-size: 14px;
    color: #000;
    letter-spacing: .05em;
    transform: translateY(0px);
}

.chief__name {
    font-size: 64px;
    font-weight: normal;
    color: #000;
    letter-spacing: .2em;
}

.blender__name.en,
.chief__name.en {
    font-size: 36px;
    letter-spacing: .05em;
}

.blender__name::after {
    content: attr(data-en);
    display: inline-block;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-orientation: initial;
}

.blender__img {
    width: 50%;
}

.blender__img img {
    vertical-align: bottom;
}

.blender__img.en img {
    width: 100%;
}

.blender__img-sp {
    display: none;
}

.blender-message1 {
    margin: 0 auto;
    max-width: 2120px;
    display: flex;
}

.blender-message1__text {
    width: 50%;
    background-color: #0a281d;
    /* font-size: 1.875rem; */
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: .4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blender-message1__text.en {
    writing-mode: horizontal-tb;
    padding: 80px 4.26%;
}

.blender-message1 .blender-message1__text.en p,
.blender-message2 .blender-message2__text.en p,
.chief-message1__text.en p,
.chief-message2__text.en p {
    font-size: 16px;
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 2;
}

.blender-message1__text p {
    line-height: 3.3;
    letter-spacing: .4em;
}

.blender-message1__img {
    width: 50%;
}

.blender-message1__img img {
    vertical-align: bottom;
}

.blender-message2 {
    margin: 0 auto;
    max-width: 2120px;
    display: flex;
    flex-flow: row-reverse;
}

.blender-message2__text {
    width: 50%;
    background-color: #0a281d;
    /*  font-size: 1.875rem; */
    padding-top: 10%;
    padding-left: 8%;
}

.blender-message2__text.en{
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    padding-left: 0;
    padding-bottom: 5rem;
}

.blender-message2__text p {
    letter-spacing: .4em;
    line-height: 3.3;
}

.blender-message2__img {
    width: 50%;
}

.blender-message2__img img {
    vertical-align: bottom;
}

.blender-message1__img-sp,
.blender-message2__img-sp {
    display: none;
}

.pot-still {
    width: 100%;
    background-image: url(./image/commitment/pot-still.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 106/75;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 5%;
}

.pot-still .pot-still__title,
.fermentation-barrel .fermentation-barrel__title {
    font-size: 42px;
    /*3.75rem; */
    font-weight: normal;
    line-height: 1;
    text-align: center;
    position: relative;
}

.pot-still .pot-still__title.en,
.fermentation-barrel .fermentation-barrel__title.en {
    font-size: 30px;
}

.pot-still .pot-still__title::before,
.fermentation-barrel .fermentation-barrel__title::before {
    content: "";
    display: block;
    width: 1px;
    height: 5vw;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 7rem;
}

.pot-still .pot-still__title.en::before,
.fermentation-barrel .fermentation-barrel__title.en::before {
    top: 4rem;
}

.pot-still .pot-still__title::after {
    margin-top: 20px;
    content: attr(data-en);
    display: block;
    /*  font-size: 1.875rem; */
    text-align: center;
}

.pot-still .pot-still__text,
.fermentation-barrel .fermentation-barrel__text {
    margin-top: 120px;
    text-align: center;
    /* font-size: 1.875rem; */
    line-height: 2;
    letter-spacing: .2em;
}

.pot-still .pot-still__text.en,
.fermentation-barrel .fermentation-barrel__text.en {
    margin: 120px 4.26%;
    text-align: center;
    line-height: 1.75;
    letter-spacing: .05em;
}

@media print,
screen and (max-width: 500px) {
.fermentation-barrel .fermentation-barrel__text.en {
    margin: 120px 4.26% 40px;
} }

.fermentation-barrel {
    width: 100vw;
    background-image: url(./image/commitment/fermentation.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 106/75;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 5%;
}

.fermentation-barrel .fermentation-barrel__title::after,
.pot-still__title::after {
    margin-top: 20px;
    content: attr(data-en);
    display: block;
    font-size: 24px;
    text-align: center;
}

.eisen-commitment {
    width: 100%;
    background-image: url(./image/commitment/eisen.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 212/63;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.eisen-commitment .eisen-commitment__title {
    /* font-size: 3.75rem; */
    font-weight: normal;
    letter-spacing: .2em;
}

.chief__name::after {
    margin-top: 20px;
    content: attr(data-en);
    display: inline-block;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.chief__img {
    width: 50%;
}

.chief__img img {
    vertical-align: bottom;
}

.chief__img-sp {
    display: none;
}

.chief-message1 {
    margin: 0 auto;
    max-width: 2120px;
    display: flex;
    flex-flow: row-reverse;
}

.chief-message1__text {
    width: 50%;
    background-color: #0a281d;
    /*  font-size: 1.875rem; */
    writing-mode: vertical-rl;
    letter-spacing: .4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chief-message1__text.en {
    width: 50%;
    background-color: #0a281d;
    writing-mode: horizontal-tb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chief-message1__text.en {
    width: 50%;
    background-color: #0a281d;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1000px) {
.chief-message1__text.en {
    width: 100%;
    background-color: #0a281d;
    display: flex;
    align-items: center;
    justify-content: center;
} }

.chief-message1__text p {
    line-height: 3.3;
    letter-spacing: .4em;
}

.chief-message1__img {
    width: 50%;
}

.chief-message1__img img {
    vertical-align: bottom;
}

.chief-message1__img-sp {
    display: none;
}

.chief-message2 {
    margin: 0 auto;
    max-width: 2120px;
    display: flex;
}

.chief-message2.en {
    display: flex;
    flex-direction: row;
}

@media screen and (max-width: 1000px) {
.chief-message2.en {
    display: flex;
    flex-direction: column;
} }

.chief-message2__text {
    width: 50%;
    background-color: #0a281d;
    /*  font-size: 1.875rem; */
    display: flex;
    align-items: center;
    justify-content: center;
}

.chief-message2__text p {
    letter-spacing: .4em;
    line-height: 3.3;
}

.chief-message2__img {
    width: 50%;
}

.chief-message2__img img {
    vertical-align: bottom;
}

.chief-message2__img-sp {
    display: none;
}

.material {
    width: 100%;
    background-image: url(./image/commitment/material-bg.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 106/75;
    display: flex;
    align-items: center;
    justify-content: center;
}

.material__text {
    /*  font-size: 1.875rem; */
    line-height: 3;
    text-align: center;
    /*  letter-spacing: .2em; */
}

.material__text .sp-only {
    display: none;
}

/*-------------------------------------------
  equipment.html  SP
  -------------------------------------------*/

@media screen and (max-width: 780px) {
    .blender-message1 .blender-message1__text p,
    .blender-message2 .blender-message2__text p,
    .chief-message1__text p,
    .chief-message2__text p {
        font-size: 4vw;
    }

    .blender-message1 .blender-message1__text.en p,
    .blender-message2 .blender-message2__text.en p,
    .chief-message1__text.en p,
    .chief-message2__text.en p {
        font-size: 3.5vw;
        text-align: center;
        line-height: 2.14;
    }
}
@media screen and (max-width: 1024.8px) {
.eisen-commitment__title {
    font-size: 1.5rem;
} }

@media screen and (max-width: 1000px) {
    .pot-still .pot-still__title::before,
    .fermentation-barrel .fermentation-barrel__title::before {
        top: 30%;
        
        margin: 2em auto;
    }

    .pot-still .pot-still__title.en::before,
    .fermentation-barrel .fermentation-barrel__title.en::before {
        top: 0.1vw;
        height: 6vw;
    }
}

@media screen and (max-width: 1600px) {
    .mv__title {
        font-size: 2.5rem;
    }

    .mv__title::after {
        margin-top: 20px;
        font-size: 1.5rem;
    }

    .blender__status {
        font-size: 1.5rem;
    }

    .blender__name {
        font-size: 3.5rem;
    }

    .blender__name::after {
        font-size: 1.125rem;
    }

    .blender-message1__text p,
    .blender-message2__text p,
    .chief-message1__text p,
    .chief-message2__text p  {
        line-height: 3;
        letter-spacing: .2em;
    }

    .blender-message2__text p {
        letter-spacing: .2em;
        line-height: 3;
    }

    .pot-still .pot-still__text {
        margin-top: 120px;
    }

    .fermentation-barrel__text {
        margin-top: 120px;
        /* font-size: 1.5rem; */
    }

    .chief__name::after {
        font-size: 1.125rem;
    }

    .chief-message1__text {
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;
        font-size: 1.125rem;
    }

    .chief-message1__text.en {
        font-size: 16px;
    }

    .chief-message2__text {
        font-size: 1.5rem;
    }

    .material__text {
        padding-left: 20px;
        padding-right: 50px;
    }
}

.blender-message1__text p.en,
    .blender-message2__text p.en,
    .chief-message1__text p.en,
    .chief-message2__text p.en  {
        line-height: 2;
        letter-spacing: .2em;
    }

@media screen and (max-width: 1000px) {
    .mv {
        background-image: url("./image/commitment/mv-bg-sp.png");
    }

    .mv__title {
        font-size: 1.25rem;
        letter-spacing: .6em;
        white-space: nowrap;
    }

    .mv__title::after {
        margin-top: 10px;
        font-size: 0.6875rem;
        letter-spacing: .2em;
    }

    .mv__scroll {
        display: none;
    }

    h3.tenkyo-commitment__title,
    h3.tenkyo-commitment__title.en {
      /*  font-size: 1.5rem; */
        padding-left: 10px;
        padding-right: 10px;
        /*  transform: translateX(-15px); */
        letter-spacing: .1em;
        display: block;
    }

    h3.tenkyo-commitment__title.en {
        letter-spacing: 0.05em;;
    }

    @media screen and (min-width: 900px) {
        h3.tenkyo-commitment__title.en{
            font-size: 30px;
        }
    }

    .blender__text {
        width: 40%;
    }

    .blender__status {
        font-size: 0.875rem;
        transform: translateY(-15px);
    }

    .blender__status.en {
        font-size: 12px;
    }

    .blender__name {
        font-size: 2rem;
    }

    .blender__name::after {
        font-size: 0.75rem;
    }

    .blender__img {
        display: none;
    }

    .blender__img-sp {
        display: block;
        width: 60%;
    }

    .blender__img-sp img {
        vertical-align: bottom;
    }

    .blender-message1 {
        flex-direction: column;
    }

    .blender-message1__text {
        font-size: 0.875rem;
    }

    .blender-message1__text {
        width: 100%;
        padding: 80px 0;
    }

    .blender-message1__text p {
        line-height: 2.85;
        letter-spacing: .2em;
    }

    .blender-message1__text.en p {
        line-height: 2.14;
        letter-spacing: .05em;
        text-align: center;
    }

    .blender-message1__img {
        display: none;
    }

    .blender-message1__img-sp {
        width: 100%;
        display: block;
    }

    .blender-message1__img-sp img {
        width: 100%;
        vertical-align: bottom;
    }

    .blender-message2 {
        flex-direction: column;
    }

    .blender-message2__text {
        width: 100%;
        font-size: 3vw;
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 50px;
        padding-bottom: 50px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .blender-message2__text p {
        letter-spacing: .2em;
        line-height: 2.85;
    }

    .blender-message2__img {
        display: none;
    }

    .blender-message2__img-sp {
        width: 100%;
        display: block;
    }

    .blender-message2__img-sp img {
        width: 100%;
        vertical-align: bottom;
    }

    .pot-still {
        background-image: url(./image/commitment/pot-still-sp.png);
        padding-top: 280px;
        padding-bottom: 40px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .pot-still__title {
        font-size: 1.5rem;
    }

    .pot-still__title::after {
        margin-top: 10px;
        font-size: 3.5vw;
    }

    .pot-still .pot-still__text,
    .fermentation-barrel .fermentation-barrel__text {
        margin-top: 15vw;
        line-height: 2.3;
    }

    .pot-still .pot-still__text.en,
    .fermentation-barrel .fermentation-barrel__text.en {
        margin-top: 15vw;
        font-weight: 3.5vw;
        line-height: 1.7;
        letter-spacing: 0.05em;
    }

    .fermentation-barrel {
        background-image: url(./image/commitment/fermentation-sp.png);
        padding-top: 280px;
        padding-bottom: 40px;
        padding-left: 10px;
        padding-right: 30px;
    }

    .fermentation-barrel__title {
        font-size: 1.5rem;
    }

    .fermentation-barrel__title::after {
        margin-top: 10px;
    }

    .eisen-commitment {
        background-image: url(./image/commitment/eisen-sp.png);
        aspect-ratio: auto;
        height: 250px;
        position: relative;
    }

    .eisen-commitment.en {
        background-image: url(./image/commitment/eisen-sp.png);
        margin-top: 5rem;
    }

    .eisen-commitment__title {
        font-size: 1.5rem;
        padding-left: 10px;
        padding-right: 10px;
        transform: translateX(-15px);
    }

    .chief__text {
        width: 40%;
    }

    .chief__status {
        font-size: 0.875rem;
        /*   transform: translateY(-80px); */
    }

    .chief__status.en {
        font-size:12px;
    }

    .chief__name {
        font-size: 2rem;
    }

    .chief__name::after {
        margin-top: 10px;
        font-size: 0.75rem;
    }

    .chief__img {
        display: none;
    }

    .chief__img-sp {
        width: 100%;
        display: block;
        line-height: 0.5;
    }

    .chief__img-sp img {
        vertical-align: bottom;
        width: 100%
    }

    .chief-message1 {
        flex-direction: column;
    }


    .chief-message1__text {
        padding: 80px 0;
        width: 100%;
        font-size: 0.875rem;
    }

    .chief-message1__img {
        display: none;
    }

    .chief-message1__img-sp {
        width: 100vw;
        display: block;
    }

    .chief-message1__img-sp img {
        vertical-align: bottom;
        width: 100vw;
        height: 100%;
    }

    .chief-message2 {
        flex-direction: column;
    }

    .chief-message2__text {
        width: 100%;
        font-size: 0.875rem;
        padding-top: 20vw;
        padding-bottom: 20vw;
    }

    .chief-message2__text p {
        letter-spacing: .2em;
        line-height: 1;
    }

    .chief-message2__img {
        display: none;
    }

    .chief-message2__img-sp {
        width: 100%;
        display: block;
    }

    .chief-message2__img-sp img {
        vertical-align: bottom;
        width: 100%;
        height: 100%;
    }

    .material {
        background-image: url(./image/commitment/material-bg-sp.png);
        padding-top: 135px;
        padding-bottom: 190px;
    }

    .material__text .sp-only {
        display: block;
    }
}

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

    .blender-message1__text,
    .blender-message2__text {
        font-size: 5vw;
    }

    .tenkyo-commitment {
        background-image: url("./image/commitment/tenkyo-bg-sp.png");
        aspect-ratio: 390 / 259;
        height: 100%;
    }

    .tenkyo-commitment h3.font20-48 {
        font-size: 6vw;
    }

    .tenkyo-commitment h3.tenkyo-commitment__title.en{
        font-size: 4vw;
        text-align: center;
        font-weight: 400;
    }


    .fermentation-barrel .fermentation-barrel__title::after,
    .pot-still .pot-still__title::after {
        font-size: 3vw;
    }

    .pot-still .pot-still__text,
    .fermentation-barrel .fermentation-barrel__text {
        font-size: 3vw;
    }

    .pot-still .pot-still__text.en,
    .fermentation-barrel .fermentation-barrel__text.en {
        font-size: 3.5vw;
    }

    .material__text {
        font-size: 3vw;
    }

    .fermentation-barrel .fermentation-barrel__title,
    .pot-still .pot-still__title {
        font-size: 7vw;
        /* 1.5rem; */
    }

    .eisen-commitment .eisen-commitment__title {
        font-size: 6vw;
        padding-left: 10px;
        padding-right: 10px;
        transform: translateX(-15px);
        position: relative;
    }

    .eisen-commitment .eisen-commitment__title.en {
        font-size: 5vw;
        padding-left: 0;
        padding-right:0;
        transform: 0;
        text-align: center;
        position: relative;
        letter-spacing: 0.05em;
    }
}

/*-------------------------------------------
history.html
-------------------------------------------*/

.history__body {
    overflow-x: hidden;
}

.history__deco-white,
.history__deco-black {
    display: inline-block;
    position: relative;
}

.history__deco-white::before {
    content: '';
    height: 180px;
    width: 1px;
    background-color: #fff;
    position: absolute;
    bottom: -218px;
    left: 50%;
    transform: translateX(-50%);
}

.history__deco-black::before {
    content: '';
    height: 180px;
    width: 1px;
    background-color: #000;
    position: absolute;
    bottom: -218px;
    left: 50%;
    transform: translateX(-50%);
}

.mv__history {
    width: 100vw;
    height: 100vh;
    background-image: url(./image/history/mv-bg.png);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.founder__title.en,
.destination__title.en,
.treasure-water__title.en,
.distillery__title.en,
.starting__title.en{
    font-weight: 700;
}

.tenkyo-company {
    width: 100%;
    background-image: url(./image/history/tenkyo-company-bg.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 265 / 142;
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
}

.tenkyo-company__text {
    writing-mode: vertical-rl;
    width: 20%;
    margin: 0 auto;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.tenkyo-company p {
    line-height: 3;
    letter-spacing: .25em;
}

.founder {
    width: 100%;
    background-image: url(./image/history/founder-bg.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 2120 / 1504;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.founder__title small {
    font-size: 60%;
}

.founder__text {
    writing-mode: vertical-rl;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.founder__text h2 {
    text-align: start;
    font-weight: normal;
    margin-left: 10vw;
    /* 156px; */
}

.founder__text p {
    /* font-size: 1.875rem; */
    line-height: 2;
    letter-spacing: .2em;
}

.destination {
    width: 100%;
    background-image: url(./image/history/destination-bg.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 2100 / 1200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: -2;
}

.destination.en {
    justify-content: flex-start;
    padding: 6vw 0;
}

.destination::before {
    content: '';
    background-image: url(./image/history/map.png);
    width: 92%;
    height: 115%;
    background-size: 100%;
    position: absolute;
    bottom: 0%;
    left: 53%;
    transform: translateX(-50%);
    z-index: -1;
    background-repeat: no-repeat;
}

.destination.en::before {
    background-image: url(./image/history/map.png);
}

.destination__text {
    writing-mode: vertical-rl;
    margin: 0 auto;
}

.destination__title {
    font-weight: 700;
    color: #000;
    margin-right: 0;
}

.destination__text p {
    color: #000;
    /* font-size: 1.875rem; */
    line-height: 2;
    position: relative;
    font-weight: normal;
}

.treasure-water {
    width: 100%;
    background-image: url(./image/history/treasure-water-bg.png);
    background-size: cover;
    background-position: center 33%;
    background-repeat: no-repeat;
    padding: 10vw 0 6vw;
    /*  aspect-ratio: 530 / 283;*/
    display: flex;
    /* flex-direction: column;*/
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 1026px) {
.treasure-water.en {
    padding: 10vw 0 100px;
} }

.treasure-water__text {
    writing-mode: vertical-rl;
    max-width: 100%;
    margin: 0 auto;
}

.treasure-water__text p {
    line-height: 2;
}

@media screen and (min-width: 1026px) {
.treasure-water__text.en p {
    line-height: 1.75;
} }

.distillery {
    width: 100%;
    background-image: url(./image/history/distillery-bg.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 10vw 20vw;
    /*  aspect-ratio: 530 / 283;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
}

.distillery.en {
    padding: 20vw 0 25vw;
}

.tenkyo-company.en,
.destination.en,
.founder.en,
.treasure-water.en,
.distillery.en {
    text-align: center;
}

.tenkyo-company.en p{
    font-size: 3.7vw;
    line-height: 2;
    letter-spacing: 0.05em;
}

@media screen and (min-width: 780px) {
    .tenkyo-company.en p{
        font-size: 20px;
    } }

.destination.en p{
    color:#000;
}

.distillery__text {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    writing-mode: vertical-rl;
}

.distillery__title {
    font-size: clamp(1.5rem, 1.233rem + 1.33vw, 3rem)
        /*  3.75rem */
    ;
    text-align: start;
}

.distillery__text p {
    line-height: 2;
}

.distillery .distillery__text span {
    text-orientation: initial;
}

.starting {
    width: 100%;
    background-image: url(./image/history/starting-bg.jpg);
    background-size: cover;
    background-position: top center
        /* 25% 68% */
    ;
    background-repeat: no-repeat;
    padding: 8vw 0 12vw;
    /*aspect-ratio: 530 / 283;
    display: flex;
    flex-direction: column;
    align-items: center; */
}

.starting.en {
    width: 100%;
    padding: 300px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(./image/history/starting-bg-en-pc.jpg); 
    background-size: cover;
    background-position: center;
    text-align: center;
}

.starting__text {
    width: 67%;
    max-width: 750px;
    writing-mode: vertical-rl;
    margin: 0 auto;
}

.starting__text p {
    /* font-size: 1.875rem; */
    line-height: 2;
}

.starting__text p span.end {
    display: block;
    text-align: end;
    margin-right: 16px;
}

h2.founder__title,
h2.destination__title,
h2.treasure-water__title,
h2.distillery__title,
h2.starting__title {
    text-align: start;
    margin-left: 8vw;
}

h2.founder__title.en,
h2.destination__title.en,
h2.treasure-water__title.en,
h2.distillery__title.en,
h2.starting__title.en {
    text-align: center;
    margin-left: 0;
    margin-bottom: 2rem;
}

@media screen and (min-width: 1026px) {
    h2.founder__title,
    h2.destination__title,
    h2.treasure-water__title,
    h2.distillery__title,
    h2.starting__title {
    font-size: 30px;
    }
}

/*-------------------------------------------
  history.html  SP
  -------------------------------------------*/
@media screen and (max-width: 1600px) {

    .history__deco-white::before,
    .history__deco-black::before {
        height: 110px;
        bottom: -138px;
    }

    .tenkyo-company {
        font-size: 1.5rem;
    }

    .tenkyo-company.en {
        font-size: 1rem;
    }

    .starting__text p {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 1025px) {
    .history__deco-white::before,
    .history__deco-black::before {
        height: 90px;
        bottom: -110px;
    }

    .mv__history {
        position: relative;
        background-image: url(./image/history/mv-bg-sp.png);
        background-position: center 80%;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .tenkyo-company {
        background-image: url(./image/history/tenkyo-company-bg-sp.png);
        aspect-ratio: 195 / 274;
        background-position: center 65%;
        max-height: 550px;
    }

    .tenkyo-company p {
        font-size: 0.875rem;
        line-height: 3.8em;
        letter-spacing: .28em;
    }

    .tenkyo-company.en p {
        line-height: 2.14;
        letter-spacing: .05em;
        text-align: center;
    }

    .destination__text {
        height: 82%;
        font-size: 0.875rem;
    }

    .destination__text__inr.en p{
        color:#000;
    }

    .distillery__text {
        width: 70%;
    }

    h2.founder__title,
    h2.destination__title,
    h2.treasure-water__title,
    h2.distillery__title,
    h2.starting__title {
        font-size: 5vw;
    }

    .founder__text p,
    .destination__text__inr p,
    .treasure-water__text p,
    .distillery__text p,
    .starting__text p {
        font-size: 3.5vw;
        /* 0.875rem */
        line-height: 1.7;
        text-wrap: nowrap;
    }
  

    .founder.en .founder__text__inr.en p,
    .destination__text__inr.en p,
    .treasure-water__text__inr.en p,
    .distillery__text__inr.en p,
    .starting__text__inr.en p {
        font-size: 3.5vw;
        line-height: 2;
        text-align: center;
    }
}

@media screen and (max-width: 780px) {
    .tenkyo-company__text {
        width: 80%;
    }

    .founder {
        background-image: url(./image/history/founder-bg-sp.png);
        aspect-ratio: 195 / 274;
        background-position: center -48vw;
    }

    .founder.en {
        background-image: url(./image/history/founder-bg-sp.png);
        aspect-ratio: 195 / 284;
        background-position: center -48vw;
    }

    .founder__text {
        width: 90%;
    }

    .destination {
        padding: 20vw 0 50vw;
        background-image: url(./image/history/destination-bg-sp.png);
        aspect-ratio: 39/ 110;
    }


    .destination.en {
        padding: 25vw 0;
        aspect-ratio: 39/ 105;
    }

    .destination::before {
        content: '';
        background-image: url(./image/history/map-sp.png);
        width: 100%;
        height: 110%;
        position: absolute;
        top: -28vw;
        left: 0;
        transform: translateX(0%);
        z-index: -1;
    }

    .destination.en::before {
        background-image: url(./image/history/map-en-sp.png);
        top: 0;
    }

    .destination__text__inr {
        display: flex;
        flex-direction: row;
        /* justify-content: flex-start;
        gap: calc(20px + 10%); */
        /* 200px; */
    }

    .destination__text__inr.en {
        color: #000;
    }

    .destination__text__inr p:nth-child(2) {
        padding-top: calc(46.5% - 100px);
    }

    .treasure-water {
        background-image: url(./image/history/treasure-water-bg-sp.jpg);
        padding: 28vw 0;
        /* aspect-ratio: 39 / 110;
        max-height: 1100px;
        background-position: center center; */
    }

    .treasure-water__text__inr {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 60vw;
        /* 200px; */
    }

    .distillery {
        background-image: url(./image/history/distillery-bg-sp.jpg);
        padding: 20vw 0 25vw;
        /* aspect-ratio: 195 / 274;
        max-height: 550px; */
    }

    .distillery__text {
        font-size: 3.5vw;
    }

    .starting {
        width: 100%;
        background-image: url(./image/history/starting-bg-sp.jpg);
        padding: 30vw 0 25vw;
        /*  aspect-ratio: 195 / 274;
    max-height: 550px;
    background-position: 25% -300vw; */
    }

    .starting.en {
        width: 100%;
        background-image: url(./image/history/starting-bg-en-sp.png);
        padding: 30vw 0 25vw;
    }
}

@media screen and (max-width: 480px) {
    .destination {
        padding: 10vw 0 50vw;
    }

    .destination.en {
        padding: 110px 0;
    }

    .distillery__text,
    .distillery__text,
    .starting__text {
        width: 80%;
    }

    .destination__text {
        width: 86%;
    }
}

@media screen and (min-width: 779.9px) and (max-width: 1024.9px) {
    section {
        zoom: 0.5;
    }

    .destination {
        aspect-ratio: 39 / 20;
        padding-top: 2vw
            /* 20vw */
        ;
    }

    .starting {
        padding: 15vw 0 25vw;
    }
}

@media screen and (min-width: 1025px) {

    h2.founder__title,
    h2.destination__title,
    h2.treasure-water__title,
    h2.distillery__title {
        font-size: clamp(1.5rem, 1.233rem + 1.33vw, 3rem)
            /*font-24-48 2.8125rem */
        ;
    }

    h2.founder__title,
    h2.destination__title,
    h2.treasure-water__title,
    h2.distillery__title,
    h2.starting__title {
        margin-left: 6vw;
        /* 148px */
    }

}

/*Add フォーム項目*/
.birth_box {
    display: flex;
    justify-content: normal;
}

.birth_box div select {
    width: 100%;
    padding: 15px;
    margin: 0 1rem;
    box-sizing: border-box;
    background-color: #f0f0f0;
    font-family: 'Noto Serif JP';
}

.birth_box div {
    padding: 0;
    padding-right: 15px;
}

.locality_box_inner {
    display: flex;
}

.locality_box_inner .zip {
    padding-right: 15px;
}

.locality_box span.text {
    padding: 0;
}

.locality_box input {
    margin-bottom: 15px !important;
}

@media (min-width: 780px) {
    .birth_box div {
        padding: 0 15px;
    }

    .locality_box span.text {
        padding: 0 15px;
    }
}


/*scroll*/

#com_titArea {
    position: relative;
}

#com_titArea .inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media print,
screen and (min-width: 1025px) {
    #com_titArea .inner .ja {
        font-size: clamp(1.5rem, 1.322rem + 0.89vw, 2.5rem);
        /* 24-40px */
        font-weight: normal;
    }
}

#com_titArea .inner .ja span {
    letter-spacing: 0.5em;
    margin-right: -0.5em;
    display: block;
}

#com_titArea .inner .en {
    color: #fff;
    font-size: 3vw;
}

@media print,
screen and (min-width: 1025px) {
    #com_titArea .inner .en {
        font-size: clamp(0.875rem, 0.764rem + 0.56vw, 1.5rem);
    }
}

#com_titArea img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

#com_titArea .news img,
#com_titArea .privacy img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#scroll {
    position: absolute;
    right: 3%;
    bottom: 10%;
    color: #ffffff;
    font-size: 0.9rem;
}

@media print,
screen and (min-width: 767.9px) {
    #scroll.bk-scroll {
        bottom: -41.6%;
    }

    #scroll.bk-scroll a {
        color: #000;
    }
}

#type01.scroll_down {
    position: relative;
    width: 33px;
    text-align: center;
}

.scroll_down a {
    display: inline-block;
    color: #FFF;
    font-size: 14px;
    line-height: 1;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-lr;
    transition: .2s;
    margin: auto;
}

.scroll_down a:before,
.scroll_down a:after {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100px;
    background: #ddd;
    transition: all 0.2s;
}

.scroll_down a:after {
    background: #000;
}

#type01 a:after {
    animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    50.1% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

@media (max-width: 780px) {
    #scroll {
        right: 3vw;
        bottom: 10vh;
        font-size: 0.9rem;
    }
}




/*元から*/

.scroll_down {
    position: relative;
    width: 100%;
    height: 100vh;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

.scroll_down:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(180deg, rgba(#000, 0) 0, rgba(#000, .8) 80%, rgba(#000, .8) 100%);
}

.scroll_down a {
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 33px;
    padding: 10px 10px 110px;
    color: #FFF;
    font-size: 14px;
    line-height: 1;
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    writing-mode: vertical-lr;
    transition: .2s;
    overflow: hidden;
    margin: auto;
}

.scroll_down a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 100px;
    background: #ddd;
}

.scroll_down a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 100px;
    background: #000;
}

.scroll_down a:hover {
    opacity: .5;
}

#type01 a:after {
    animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

#type02 a:after {
    animation: sdl02 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

#type02.scroll_down {
    position: relative;
    width: 100%;
    height: 0vh;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
}

#type02.scroll_down a:before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 55%;
    width: 2px;
    height: 100px;
    background: #ddd;
}

#type02.scroll_down a:after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 55%;
    width: 2px;
    height: 100px;
    background: #000;
}

@keyframes sdl01 {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    50.1% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    100% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }
}

@keyframes sdl02 {
    0% {
        transform: scale(1, 0);
        transform-origin: 0 100%;
    }

    50% {
        transform: scale(1, 1);
        transform-origin: 0 100%;
    }

    50.1% {
        transform: scale(1, 1);
        transform-origin: 0 0;
    }

    100% {
        transform: scale(1, 0);
        transform-origin: 0 0;
    }
}

@media (max-width: 780px) {
    #fv #scroll,
    #fv-en #scroll {
        position: absolute;
        right: 5vw;
        bottom: 40vh;
        color: #ffffff;
        font-size: 0.9rem;
    }
	.iPhone .sp-mr-30 {
		margin-right:30px;
	}
}

/*bogo--*/
.bogo-language-switcher {
    display: flex;
    padding-right: 16px;
}

.g-nav-box-inner .bogo-language-switcher {
    margin-bottom: 16px;
}

.bogo-language-switcher .ja {
    order: 1;
}
.bogo-language-switcher .en {
    order: 2;
}

 .bogo-language-switcher li:last-child::after {
    content: '/'; 
    color: #ffffff;
    margin-left: 8px; 
    margin-right: 8px; 
}

.bogo-language-switcher li a {
    text-decoration: none; 
    color: #ffffff;
    position: relative;
    padding-bottom: 2px; 
    transition: color 0.3s ease; 
}

.bogo-language-switcher li a.current {
    font-weight: bold; 
    color: #ffffff; 
}

.bogo-language-switcher li a.current::after {
    content: ''; 
    display: block;
    width: 100%; 
    height: 2px; 
    background-color:#ffffff; 
    position: absolute;
    left: 0;
    bottom: 0;
}

.bogo-language-switcher li a:hover {
    color: #d3d3d3; 
} 

/*お問い合わせ確認画面*/
.page-id-11 .contact-inner .Form-Item,
.page-id-328 .contact-inner .Form-Item {
  margin-bottom: 0;
  border: 1px solid #333;
}
.page-id-11 .Form-Item:not(:first-child),
.page-id-328 .Form-Item:not(:first-child) {
  margin-top: 30px;
}
.page-id-11 .contact-inner p.Form-Item-Label,
.page-id-328 .contact-inner p.Form-Item-Label {
  margin-bottom: 0;
  background-color: #e8e8e8;
  padding-block: 12px;
  padding-inline: 10px;
  border-bottom: 1px solid #333;
}
.page-id-11 .Form-Item p,
.page-id-328 .Form-Item p{
  padding-block: 12px;
  padding-inline: 10px;
}
.page-id-11 .button-wrap,
.page-id-328 .button-wrap {
  //margin-top: 0;
  //margin-inline: auto;
}
.page-id-11 .button-wrap>p,
.page-id-328 .button-wrap>p{
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 60px;
}
.page-id-11 .button-wrap>p>input,
.page-id-328 .button-wrap>p>input{
  margin-block: 0;
}
.page-id-328 .button-wrap>p>input.wpcf7-previous{
/*   display: block !important; */
}
@media (min-width: 780px) {
  .page-id-11 .contact-inner .Form-Item,
  .page-id-328 .contact-inner .Form-Item {
    border-top: none;
  }
  .page-id-11 .Form-Item:first-child,
  .page-id-328 .Form-Item:first-child {
    border-top: 1px solid #333;
  }
  .page-id-11 .contact-inner p.Form-Item-Label,
  .page-id-328 .contact-inner p.Form-Item-Label {
    border-right: 1px solid #333;
    border-bottom: none;
  }
  .page-id-11 .Form-Item:not(:first-child),
  .page-id-328 .Form-Item:not(:first-child) {
    margin-top: 0;
  }
  .page-id-11 .button-wrap,
  .page-id-328 .button-wrap {
    //padding-left: 61px;
  }
  .page-id-11 .button-wrap>p,
  .page-id-328 .button-wrap>p {
    flex-direction: row;
    gap: 8px;
  }
}

/* スクロールバー */
.scroll-bar{
  position: absolute;
  top: -30px;
  right: -6vw;
  writing-mode: vertical-lr;
  font-size: 13px;
}
.scroll-bar::before{
  content: "";
  display: block;
  width: 1px;
  height: 100px;
  background-color: #333;
  position: absolute;
  bottom: -105px;
  left: 50%;
}
.scroll-bar::after{
  content: "";
  display: block;
  width: 10px;
  height: 15px;
  border-left: 1px solid #333;
  border-top: 1px solid #333;
  position: absolute;
  bottom: -105px;
  left: 33%;
  transform: skew(20deg);
}
@media (max-width: 779px) {
  .scroll-bar{
    position: absolute;
    top: -175px;
    right: 20px;
    writing-mode: vertical-lr;
    font-size: 11px;
    color: white;
  }
  .scroll-bar::before{
    background-color: #fff;
  }
  .scroll-bar::after{
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
  }
}