/* -----------@main------------- */
body.loading{
    cursor: progress;
}
body.dragging{
    overflow: hidden;
}
.es_wrap{
    padding: 0 4vw 0 15vw;
}
.esbtn{
    padding: 2rem 0;
}
.esbtn a{
    color: var(--ah-green);
    font-weight: bolder;
}
.esbtn span{
    display: inline-block;
    margin: 0 0 0 .5rem;
}
.esbtn .arrow{
    position: relative;
    width: 2rem;
    height: 2rem;
    vertical-align: middle;
    display: inline-block;
    transform: scale(.8)
}
.esbtn .arrow:before{
    content: '';
    width: 100%;
    height: 2px;
    background-color: var(--ah-green);
    display: block;
    top: 50%;
    margin: -1px 0 0 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: 0 0;
    transition: transform .3s;
}
.arrow i{
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.esbtn .arrow i{
    transform: translateX(-15px);
    transition: transform .3s;
}
.arrow i:before,
.arrow i:after{    
    content: '';
    position: absolute;
    top: 0.5rem;
    right: -0.3rem;
    width: 1.2rem;
    height: 2px;
    background-color: var(--ah-green);
    display: block;
    transform: rotate(45deg);
    transition: background-color .3s;
}
.arrow i:after{
    top: 1.3rem;
    transform: rotate(-45deg);
}
.navactive{
    cursor: pointer;
    transition: transform 0.3s;
}
.navactive .arrow{
    transform: scale(0.5) rotate(90deg);
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 15%;
    left: 50%;
    margin: 0 0 0 -1rem;
    transition: transform 0.3s;
}
.barline{
    height: 20vh;
    width: 1px;
    background-color: var(--ah-brown-light);
    bottom: 5rem;
    bottom: calc(4vw + 5rem);
    left: calc(4vw + 1.5rem);
    transition: background-color .3s;
    overflow: hidden;
}
.barline i{
    position: absolute;
    width: 100%;
    height: 0;
    background-color: var(--ah-green);
    top: 0;
    left: 0;
    transform-origin: 0 0;
}
header.scroll .navactive .arrow{
    transform: scale(0.5) rotate(-90deg);
}
#mobilelogo{
    display: none;
}
.navactive:hover{
    transform: scale(1.1);
}
.navactive .arrow i:before, 
.navactive .arrow i:after{
    right: 0.3rem;
}

.esbtn:hover .arrow:before{
    transform: scaleX(1);
}
.esbtn:hover i{
    transform: translateX(0);
}
.circle_btn a{
    width: 6rem;
    height: 6rem;
    border-radius: 100%;
    text-align: center;
    background-color: var(--ah-green);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
    transition: transform .3s;
}
.circle_btn a:before{
    content: '';
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-color: var(--ah-green);
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    transform: scale(0);
    transition: transform .3s;
}
.circle_btn a:hover:before{
    transform: scale(1);
}
.circle_btn a:hover{
    transform: scale(1.1);
}
.circle_btn span{
    position: relative;
    z-index: 1;
}
.circle_btn.ghost a{
    background-color: #e9f6ff;
    border: 1px solid var(--ah-green);
    color: var(--ah-green);
}
.circle_btn.ghost a:hover{
    color: #fff;
}
.page_normal{
    padding: 10rem 0 0;
}
.page_normal figure{
    overflow: hidden;
    border-radius: 10px;
    background-color: #efefef;
}
.page_normal figure img{
    width: 100%;
}
/* -----------@header------------- */
.eslogo{
    left: 4vw;
    top: 4vw;
}
.eslogo svg{
    fill: var(--ah-green);
    width: 4rem;
    height: auto;
    transition: all .3s;
}
#navopen svg{
    fill: var(--ah-green);
    width: 3.5rem;
    height: 3.5rem;
    transition: transform .3s;
}
#navopen{
    top: 4vw;
    right: 4vw;
    cursor: pointer;
    z-index: 992;
}
#navopen .line{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
#navopen:hover svg{
    transform: scale(1.1) rotate(90deg);
}
#navopen .line i{
    position: absolute;
    top: 35%;
    width: 40%;
    height: 2px;
    background-color: #fff;
    left: 50%;
    margin: 0 0 0 -21%;
    transition: all .3s;
}
#navopen .line i:last-child{
    top: 50%;
}
.navphone{
    left: 15vw;
    top: 4vw;
    transition: transform .5s;
}
.navphone a{
    color: var(--ah-green);
    transition: all .3s;
}
header > div{
    position: fixed;
    z-index: 900;
}
.navactive{
    left: 4vw;
    bottom: 4vw;
}
.navactive svg{
    width: 3rem;
    height: 3rem;
    stroke-width: 1px;
    stroke: var(--ah-green);
    fill: none;
    transition: stroke .3s;
}
header.white .eslogo svg{
    fill: #fff;
}
header.white .navactive svg{
    stroke: #fff;
}
header.white .navactive .arrow i:before, 
header.white .navactive .arrow i:after,
header.white .barline{
    background-color: #fff;
}
header.white .navphone a{
    color: #fff;
}
header.scroll .navphone{
    transform: translate3d(0,-10rem,0);
}
#esnav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 991;
    overflow: hidden;
    pointer-events: none;
}
.navbg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-color: rgba(255,255,255,.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 1s;
}
#esnav nav{
    position: absolute;
    top: 0;
    right: 0;
    width: 40vw;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
    background-color: var(--ah-green);
    transition: transform 1s cubic-bezier(0.83, 0, 0.17, 1);
    transform: translate3d(100%,0,0);
}
#esnav a,
#esnav a:link,
#esnav a:visited,
#esnav a:hover,
#esnav a:focus,
#esnav a:active {
    color: #fff !important;
    font-size: 1vw;
    border-top: none;
    display: block;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
}
/* 区切り線は各リンクの下＝メニュー項目どうしのあいだ */
#esnav li:not(:last-child) a {
    border-bottom: 1px solid #fff;
}
#esnav .arrow{
    transform: scale(.6);
    width: 2rem;
    height: 3rem;
    display: inline-block;
    vertical-align: middle;
    transition: transform .3s;
}
#esnav a:hover .arrow{
    transform: translateX(1rem) scale(.6);
}
#esnav a.current {
    opacity: 1 !important;
    color: #fff !important;
}
#esnav ul{
    position: absolute;    
    top: 50%;
    left: 7vw;
    transform: translateY(-50%);
    width: 35vw;
}
#esnav li{
    margin: 0 0 0 0;
}
header.opennav #esnav{
    pointer-events: initial;
}
header.opennav .navbg{
    opacity: 1;
    pointer-events: auto;
}
header.opennav #esnav nav{
    transform: translate3d(0,0,0);
}
header.opennav #navopen .line i{
    top: 43%;
    transform: rotate(45deg);
}
header.opennav #navopen .line i:last-child{
    transform: rotate(-45deg);
}
.navitem a{
    transition: all .5s;
    opacity: 0;
    transform: translate3d(3rem,0,0);
    transition-delay: .7s;
}
.navitem:nth-child(2) a{
    transition-delay: .8s;
}
.navitem:nth-child(3) a{
    transition-delay: .9s;
}
.navitem:nth-child(4) a{
    transition-delay: 1s;
}
.navitem:nth-child(5) a{ transition-delay: 1.1s; }
.navitem:nth-child(6) a{ transition-delay: 1.2s; }
.navitem:nth-child(7) a{ transition-delay: 1.3s; }
.navitem:nth-child(8) a{ transition-delay: 1.4s; }
.navitem:nth-child(9) a{ transition-delay: 1.5s; }
.navitem:nth-child(10) a{ transition-delay: 1.6s; }
.navitem:nth-child(11) a{ transition-delay: 1.7s; }
.navitem:nth-child(12) a{ transition-delay: 1.8s; }
.navitem:nth-child(13) a{ transition-delay: 1.9s; }
.navitem:nth-child(14) a{ transition-delay: 2s; }

header.opennav .navitem a{
    opacity: 1;
    transform: translate3d(0,0,0);
}
/* -----------@schedule------------- */
.schedule{
    padding: 5rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}
.sch_header{
    flex-shrink: 0;
    min-width: 10rem;
    max-width: 24rem;
}
.sch_header h2{
    font-size: 1rem;
    color: var(--ah-green);
    padding: 2rem 0 0;
}
.sch_desc{
    margin: 1rem 0 0;
    line-height: 1.8;
    max-width: 28em;
}
.sch_wrap{
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    padding: 2rem 0 3rem 0 2rem;
    overflow-x: auto;
}
.sch_table{
    display: grid;
    grid-template-columns: 12rem repeat(7, 1fr);
    min-width: 100%;
}
.sch_repeat{
    display: contents;
}
.sch_time{
    grid-column: 1;
    padding: 2rem 2rem 2rem 0;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
}
.sch_repeat.title .sch_time{
    border-bottom: 1px solid #e6e6e6;
}
.sch_repeat h3{
    font-size: 1.1rem;
    text-align: left;
}
.sch_dots{
    display: contents;
}
.sch_dots > div{
    grid-column: span 1;
    padding: 2rem 0;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.sch_repeat.title .sch_dots > div{
    color: var(--ah-green);
}
.sch_repeat .dot{
    display: flex;
    justify-content: center;
    align-items: center;
}
.sch_repeat .dot i{
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 100%;
    background-color: var(--ah-green);
    font-size: 0;
    margin: 0 auto;
    line-height: 1;
    vertical-align: middle;
}
.sch_detail{
    margin: 1.5rem 0 0;
    padding: 0;
    border-top: 1px solid #e6e6e6;
    padding-top: 1.5rem;
}
.sch_detail dt{
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ah-green);
    margin: 0 0 0.25rem 0;
}
.sch_detail dt:not(:first-child){
    margin-top: 1rem;
}
.sch_detail dd{
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}
.bigx{
    position: absolute;
    width: 5rem;
    height: 5rem;
    background-color: #fff;
    right: 0;
    top: 52%;
}
.bigx:before,
.bigx:after{
    content: '';
    position: absolute;
    width: 30px;
    height: 1px;
    background-color: var(--ah-green);
    transform: rotate(45deg);    
    top: 50%;
    left: 50%;
    margin: 0 0 0 -15px;
}
.bigx:after{
    transform: rotate(-45deg);
}
/* -----------@home------------- */
.ho_main_visual{
    background-color: var(--ah-green);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    max-height: 80vw;
}
.mvgal_wrap{
    height: 100%;
    position: relative;
}
.mvgal_img{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
    overflow: hidden;
    width: 65%;
    height: 100%;
}
.mvgal_img figure{
    width: 100%;
    height: 100%;
    z-index: 0;
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    right: 0;
    top: 0;
}
.mvgal_img figure.active{
    z-index: 1;
}
.mvgal_cover{
    fill: var(--ah-green);
    position: absolute;
    z-index: 100;
    width: 150vw;
    height: 150vw;
    left: 50%;
    top: 50%;
    margin: -75vw 0 0 -45vw;
    animation: mvgal 30s infinite linear;
}
.sch_header .circle_btn{
    margin: 2rem 0 0;
}
@keyframes mvgal {
    form{
        transform: rotate(0);
    }to{
        transform: rotate(360deg);
    }
}
.mvgal_text{
    position: relative;
    z-index: 1;
    padding: 0 0 1vw 8vw;
    color: #fff;
    height: 100%;
    width: 50%;
    display: flex;
    align-items: flex-end;
}
.mvgal_tel {
    margin: 0 0 1rem 0;
}
.mvgal_tel a {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.05em;
    text-decoration: none;
}
.mvgal_tel a:hover {
    color: rgba(255,255,255,.9) !important;
}
.mvgal_yakan {
    margin: 0 0 0.5rem 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    letter-spacing: 0.15em;
}
@media screen and (min-width: 769px) {
    .mvgal_yakan {
        font-size: 2.7rem;
    }
    /* 右側の緑の余白：スクロールコンテナの右余白を打ち消す（Locomotive のスクロールバー等） */
    html.has-scroll-smooth [data-scroll-container] {
        padding-right: 0 !important;
        width: 100% !important;
        max-width: none !important;
    }
    .ho_main_visual {
        width: 100vw;
        max-width: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        box-sizing: content-box;
    }
}
.mvgal_text h1{
    margin:  0 0 2.5vw -5px;
    color: #fff;
    letter-spacing: -0.03em;
}
.mvgal_text h1 div{
    display: inline-block;
    margin-right: -0.04em;
}
.mvgal_des{
    width: 100%;
    max-width: 420px;
    font-size: 1.35rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
}
.hmv_sec_intro{
    padding: 5rem 0;
}
.hmv_intro_obj{
    display: flex;
    align-items: center;
    padding: 5rem 0;
    border-bottom: 1px solid #e6e6e6;
}
.hmv_intro_obj:last-child{
    border: 0;
}
.hmv_intro_obj > div{
    width: 50%;
}
.hmv_intro_obj h2{
    margin: 0 0 1rem;
}
.hmv_intro_obj figure{
    border-radius: 10px;
    overflow: hidden;
}
.hmv_intro_obj:first-child > div:first-child{
    padding: 0 5rem 0 0 ;
}
.hmv_intro_obj:last-child > div:last-child{
    order: 1;
}
.hmv_intro_obj:last-child > div:first-child{
    order: 2;
    padding: 0 0 0 5rem;
}
.hmv_intro_obj .esbtn{
    padding: 3rem 0 0;
}
.fix_bg{
    height: calc(100vw * 0.6);
    width: 100%;
    overflow: hidden;
    position: relative;
}
.fix_bg figure{
    position: absolute;
    top: -30vh;
    left: 0;
    padding: 0;
    width: 100%;
}
.fix_bg img{
    width: 100%;
    height: auto;
}
.fixbg_text{
    position: absolute;
    top: 50%;
    left: 15vw;
    transform: translateY(-50%);
    color: var(--ah-green);
    line-height: 2;
    font-size: 3vw;
}
.fixbg_text div{
    display: inline-block;
    padding: 0 1rem;
}
.fixbg_wrap{
    position: relative;
}
.hmv_intro .es_wrap{
    padding: 0 5vw 0 5vw;
}
.hmv_service{
    padding: 5rem 0 0;
}
.hmv_service .es_wrap{
    padding: 0 5vw 0 5vw;
}
@media screen and (min-width: 769px) {
    .news_section.hmv_service .es_wrap,
    .faq_sec.hmv_service .es_wrap {
        padding: 0 10vw 0 15vw;
    }
}
.hmv_service .hser_title .section_lead {
    margin: 0 0 1rem;
    color: #555;
    line-height: 1.7;
}
.hmv_service .hser_title .menu-btn-4827 {
    display: inline-block;
    margin-top: 0.5rem;
}
.hmvser_wrap > li{
    display: inline-block;
    width: 25%;
    padding: 2rem;
    vertical-align: top;
    text-align: center;
}
.hmvser_wrap img{
	width: 60%;
    margin: 0 auto .5rem;
}
.hmvserv h3{
    font-size: 1.1rem;
}
.section_heading_en{
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: #888;
    margin: 0 0 0.35rem;
}
.hser_title h2{
    margin: 0 -1rem 1rem 0;
}
.hser_title a{
    margin: 0 auto;
}

/* -----------@採用情報（スクロールで切り替わり）------------- */
.recruit_scroll_section{
    padding: 5rem 0 0;
}
.recruit_header{
    max-width: 80%;
    margin: 0 auto 3rem;
    padding: 0 4rem;
    text-align: center;
}
.recruit_header .section_lead{
    margin: 0 0 1rem;
    color: #555;
}
.recruit_panels_wrap{
    /* 各パネル固定 + 下が上に被さる */
    background: #fce0d0; /* コンテナ間の隙間対策 */
}
.recruit_panel_container{
    height: 120vh; /* 少しだけ固定してすぐ次のパネルが下からかぶさる */
}
.recruit_panel_container:last-child{
    height: 100vh; /* 最後の求人は固定せずそのまま地図に続く */
}
.recruit_panel{
    position: relative;
    top: 0;
    display: flex;
    gap: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    z-index: 1;
    backface-visibility: hidden;
}
.recruit_panel[data-index="1"]{ z-index: 2; }
.recruit_panel[data-index="2"]{ z-index: 3; }
.recruit_panel[data-index="3"]{ z-index: 4; }
.recruit_panel[data-index="4"]{ z-index: 5; }
.recruit_panel[data-index="5"]{ z-index: 6; }
.recruit_panel .recruit_left{
    flex: 0 0 50%;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}
.recruit_panel .recruit_left img{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    display: block;
    vertical-align: top;
}
.recruit_panel .recruit_right{
    flex: 0 0 50%;
    position: relative;
    z-index: 1;
    margin-left: -1px; /* 画像との隙間線を潰す */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    box-sizing: border-box;
    background: linear-gradient(135deg, #fff8f2 0%, #fde8dc 50%, #fce0d0 100%);
}
.recruit_slide_tag{
    font-size: 2rem;
    letter-spacing: 0.15em;
    color: var(--ah-orange);
    margin: 0 0 1rem;
}
.recruit_slide_title{
    font-size: 2rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 1rem;
}
.recruit_slide_sub{
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 1.5rem;
}
.recruit_slide_link{
    display: inline-flex;
    align-items: center;
    color: var(--ah-green);
    text-decoration: none;
    font-weight: 600;
}
.recruit_slide_link:hover{
    color: var(--ah-orange);
}
.recruit_footer{
    padding: 3rem 0 5rem;
    text-align: center;
}

/* お知らせ：左に最新（画像+抜粋）、右に一覧（thearth風） */
.news_section .news_wrap{
    display: flex;
    gap: 3rem 4rem;
    margin: 0 0 2rem;
    align-items: flex-start;
}
.news_section .news_latest{
    flex: 0 0 40%;
    max-width: 420px;
}
.news_section .news_latest_link{
    display: block;
    text-decoration: none;
    color: inherit;
}
.news_section .news_latest_link:hover .news_latest_title{
    color: var(--ah-green);
}
.news_section .news_latest_img_wrap{
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eee;
}
.news_section .news_latest_badge{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--ah-green) 0%, var(--ah-green-dark) 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}
.news_section .news_latest_img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news_section .news_latest_body{
    padding: 1rem 0 0;
}
.news_section .news_latest_date{
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 0.5rem;
}
.news_section .news_latest_category{
    display: inline-block;
    background-color: var(--ah-orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25em 0.5em;
    border-radius: 3px;
    margin: 0 0 0.75rem;
}
.news_section .news_latest_title{
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    transition: color 0.3s;
}
.news_section .news_latest_excerpt{
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news_section .news_list_wrap{
    flex: 1;
    min-width: 0;
}
.news_section .news_list_more{
    margin-top: 1.5rem;
}

/* お知らせリスト：日付　カテゴリ（タグ）　タイトル */
.news_section .news_list{
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    border-top: 1px solid #e0e0e0;
}
.news_section .news_item{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #e0e0e0;
}
.news_section .news_item_content{
    flex: 1;
    min-width: 0;
}
.news_section .news_date{
    font-size: 0.9rem;
    color: #666;
    flex-shrink: 0;
}
.news_section .news_category{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ah-orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.35em 0.5em;
    border-radius: 3px;
    flex-shrink: 0;
    width: 6em;
    box-sizing: border-box;
}
.news_section .news_title{
    display: block;
    color: inherit;
    text-decoration: none;
}
.news_section .news_title:hover{
    color: var(--ah-green);
}
.news_section .news_excerpt{
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin: 0.25rem 0 0;
    line-height: 1.5;
}

/* -----------@about------------- */
.big_img_title{
    padding: 0 0 0 15vw;
    margin: 0 0 5rem;
}
.big_img_title figure{
    position: relative;
    height: 35vw;
    overflow: hidden;
    border-radius: 10px 0 0 10px;
}
.big_img_title figure:before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	background: rgb(2,14,23);
background: linear-gradient(0deg, rgba(2,14,23,0.7861738445378151) 0%, rgba(2,14,23,0) 64%);
}

.big_img_title img{
    opacity: 0;
    filter: blur(10px);
    transition-property: filter, opacity;
    transition-duration: 2s;
    width: 100%;
    margin-top: -5vw;
}
.big_img_title.is-inview img{
    opacity: 1;
    filter: blur(0);
}
.big_img_title .mvgal_text{
    width: auto;
    position: absolute;
    left: 5rem;
    bottom: 3rem;
    padding: 0;
    height: auto;
	z-index: 2;
}
.big_img_title .mvgal_text h1{ 
    margin: 0;
}
.about_title_des .es_wrap{
    padding: 0 5rem 5rem 22vw;
    width: 75%;
}
.about_title_des figure{
    width: 100%;
    overflow: hidden;
    height: 80vh;
    max-height: calc( 100vw * 0.4 );
    border-radius: 0;
}
.about_title_des img{
    width: 100%;
}
.about_title_des h2{
    margin: 0 0 2rem;
}
.clinic_intro .es_wrap{    
    padding: 0 12vw 0 15vw;
}
.clinic_team h2,
.clinic_intro h2{
    font-size: 2.6rem;
    margin: 0 0 4rem;
}
.clinic_intro .es_wrap{
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.clinic_team .es_wrap:after,
.clinic_intro .es_wrap:after{
    content: '';
    width: 80%;
    height: 1px;
    position: absolute;
    bottom: 0;
    right: 5vw;
    background-color: #e6e6e6;
}
.cliintro_top{
    display: flex;
    position: relative;
}
.cliintro_top > div:nth-child(1){
    width: 40%;
}
.cliintro_top > div:nth-child(2){
    width: 60%;
}
.clinic_intro .edit_style{
    position: relative;
    padding: 1rem 0 7rem;
}
.clinic_intro .edit_style:before{
    content: '';
    width: 100%;
    height: 1px;
    background-color: #e6e6e6;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.cliintro_top figure:nth-child(1){
    width: 70%;
    margin: 10rem 0 0;
}
.cliintro_top figure:nth-child(2){
    width: 70%;
    float: right;
    margin: -5rem -5vw 0 0;
    position: relative;
}
.vertical_tag_des{
    position: absolute;
    writing-mode: vertical-rl;
    padding: 1.2rem 1rem;
    color: #fff;
    top: 2rem;
    left: 2rem;
    font-size: 1.2rem;
}
.vertical_tag_des:before,
.vertical_tag_des:after{
    content: '';
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
}
.vertical_tag_des:after{
    background-color: var(--ah-green);
    z-index: 1;
}
.vertical_tag_des span{
    position: relative;
    z-index: 2;
}
.cliintro_btm{
    position: relative;
    display: flex;
}
.cliintro_btm > div:nth-child(1){
    width: 60%;
    padding: 0 5rem 0 0;
}
.cliintro_btm > div:nth-child(2){
    width: 40%;
}
.cliintro_btm figure:nth-child(1){
    width: 60%;
    float: right;
    margin: -7vw 0;
    position: relative;
    z-index: 1;
}
.cliintro_btm figure:nth-child(2){
    width: 60%;
}
.cliintro_btm figure:nth-child(3){
    width: 50%;
    float: right;
    margin: -13vw 0 0;
}
.cliintro_btm .vertical_tag_des{
    left: initial;
    top: initial;
    right: 20vw;
    bottom: 6rem;
}
.clinic_team{
    padding: 5rem 0;
    position: relative;
    margin: 0 0 5rem;
}
.clinteam{
    width: 90%;
}
.clinteam ul {
	
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.clinteam li{
    width: 40%;
	font-size: 14px;
	margin-bottom: 5rem;
}
.clinteam figure{
    height: 40vw;
    position: relative;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.clinteam figure img{
    border-radius: 10px;
    object-fit: cover;
    height: 100%;
    /* 解決 safari 問題 */
}
.clinteam img:nth-child(1){
    position: relative;
}
.clinteam img:nth-child(2){
    position: absolute;
    opacity: 0;
    filter: blur(10px);
    transition: all 1s ;
    top: 0;
    left: 0;
}
.clinteam li:hover img:nth-child(2){
    opacity: 1;
    filter: blur(0);
}
.clin_title{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #e6e6e6;
    margin: 0 0 1rem;
}
.clin_title h3{
    color: var(--ah-green);
}
/* -----------@service------------- */
.service_list{
    width: 90%;
}
.service_list li{
    width: 43%;
}
.service_list div{
    position: relative;
    padding: 2rem 0;
}
.service_list div:before{
    content: '';
    width: 100%;
    height: 1px;
    background-color: #e6e6e6;
    top: 0;
    left: 0;
    position: absolute;
}
.service_list li:nth-child(even){    
    margin: 0 0 0 auto;
}
.service_list li:nth-child(n+2) {
    margin-top: -15rem;
}
.service_list h2{
    color: var(--ah-green);
    font-size: 1.6rem;
}
.service_list p {
	font-size: 14px;
	max-width: 290px;
    text-align: justify;
}
.service_list figure{
    overflow: hidden;
    height: 18vw;
    position: relative;
    margin: 1.5rem 0;
}
.service_list img:last-child{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    filter: blur(10px);
    transition: all 1s;
}
.service_list li:hover img:last-child{
    opacity: 1;
    filter: blur(0);
}
.service_list span{
    position: absolute;
    font-size: 3rem;
    color: var(--ah-green);
    right: 0;
    top: 1.8rem;
    transform: skewX(-15deg);
    line-height: 1;
}
.ser_equip_sec{
    padding: 5rem 0 10rem;
}
.ser_equip_wrap{
    margin: 0 -2rem;
    width: 96%;
}
.ser_equips{
    display: inline-block;
    width: 33.33333%;
    padding: 2rem;
}
.ser_equips > div{
    position: relative;
    padding: 2rem 0;
}
.ser_equips > div:before{
    content: '';
    width: 100%;
    height: 1px;
    background-color: #e6e6e6;
    top: 0;left: 0;
    position: absolute;
}
.ser_equips h3{
    color: var(--ah-green);
    margin: 0 0 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: flex-end;
}
.ser_equips figure{
    overflow: hidden;
    position: relative;
    height: 20vw;
}
.ser_equips figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ser_equips figcaption{
    position: absolute;
    top: 0;left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity .3s;
}
.ser_equips span{
    opacity: 0;
	font-size: 14px;
    transform: translateY(2rem);
    transition: all .3s .1s;
}
.ser_equips:hover span{
    opacity: 1;
    transform: translateY(0);
}
.ser_equips:hover figcaption{
    opacity: 1;
}
/* -----------@contact------------- */
.page_normal.contact .schedule{
    padding: 0 0 5rem;
}
.contact_info{
    display: flex;
    padding: 7rem 0;
    border-bottom: 1px solid #e6e6e6;
    margin: 0 0 7rem;
}
.contact_info h2{
    font-size: 1rem;
    min-width: 10rem;
}
.contact_info table{
    width: 100%;
}
.contact_info td{
    padding: 2rem 0;
}
.contact_info tr:first-child td{
    padding-top: 0;
}
.contact_info tr{
    position: relative;
    display: table;
    width: 100%;
}
.contact_info tr:after{
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #e6e6e6;
    bottom: 0;
    left: 0;
}
.contact_info td:first-child{width: 20%;}
.contact_info td:last-child{width: 80%;}
.contact_info figure{
    margin: 5rem 0 0;
}
.testratio{
    background-color: #000;
}
.faq_objects{
    padding: 0.35rem 0;
    cursor: pointer;
    width: 92%;
}
.faq_objects > div{
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    transition: border-color .3s;
    position: relative;
}
.faq_answer .edit_style{
    margin: 0;
    height: 0;
    overflow: hidden;
    transition: all .5s cubic-bezier(0.87, 0, 0.13, 1);
}
.faq_sec{    
    padding: 0 0 10rem;
}
.faq_list{
    margin-top: 2rem;
}
.faq_list .faq_objects{
    margin-bottom: 0.5rem;
}
.faq_list .faq_objects:last-child{
    margin-bottom: 0;
}
.faq_quest{
    padding: 1rem 2rem 0.75rem;
}
.faq_quest h3{
    font-size: 1.2rem;
    color: var(--ah-green);
}
.faq_answer{
    padding: 0 2rem 0.75rem;
}
.faq_objects.active .faq_answer .edit_style{
    height: auto;
}
.faq_objects.active > div,
.faq_objects:hover > div{
    border-color: var(--ah-green);
}
.faq_objects span{
    position: absolute;
    right: 2rem;
    top: 1rem;
}
.faq_objects .arrow{
    display: block;
    width: 1rem;
    height: 2rem;
    transition: transform .3s;
}
.faq_objects.active .arrow{
    transform: rotate(180deg);
}
.faq_objects span i{
    transform: rotate(90deg) scale(.7);
}
.faq_list .edit_inner{
    padding: 0 0 0.75rem;
    font-size: 1.05rem;
    line-height: 1.8;
}
/* -----------@news------------- */
.blog_title h1{
    color: var(--ah-green);
}
.blog_title h1 div{
    display: inline-block;
}
.blog_title.tag h1 div:first-child{
    color: #282828;
    font-size: 1rem;
    letter-spacing: 1px;
}
.blog_title{
    position: relative;
    padding: 0 0 2rem;
}
.blog_title:after{
    content: '';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #e6e6e6;
}
.posts_wrap{
    margin: 0 0 10rem;
}
.single .posts_wrap{
    margin: 0;
}
.posts_wrap > div{
    display: flex;
    justify-content: space-between;
}
.posts_wrap article{
    width: 65%;
    padding: 5rem 0 0;
}
.posts_wrap aside{
    width: 22%;
}
.post_cate{
    position: relative;
}
.post_stick{
    top: 0;
    padding: 4.7rem 0 0;
}
.post_cate a{
    color: #282828;
    padding: 1rem 0;
    border-bottom: 1px solid #e6e6e6;
    position: relative;
    overflow: hidden;
	font-size: .875rem;
}
.post_cate a:after{
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--ah-green);
    position: absolute;
    left: 0;
    bottom: 0;
    transform-origin: 100% 100%;
    transform: scaleX(0);
    transition: transform .5s;
}
.post_cate li:first-child a{
    padding-top: 0;
}
.post_cate a:hover{
    color: var(--ah-green);
}
.post_cate a:hover:after{
    transform-origin: 0% 0%;
    transform: scaleX(1);
}
.post_cate a span{
    display: inline-block;
    font-size: .8rem;
    border-radius: 100%;
    background: var(--ah-green);
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
    text-align: center;
    letter-spacing: 0px;
}
.the_post{
    position: relative;
    display: flex;
    padding: 0 0 1rem;
    border-bottom: 1px solid #e6e6e6;
    margin: 0 0 5rem;
}
.the_post:last-child{
    margin: 0;
}
.the_post figure{
    width: 100%;
    height: 14vw;
    position: relative;
}
.the_post_thumb{
    width: 40%;
	
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.the_post_thumb figure > i{
    opacity: .3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.the_post_thumb a img{
    transition: all .8s;
}
.the_post_thumb a:hover img{
    opacity: .8;
    transform: scale(1.1) rotate(3deg);
}
.the_post_text{
    padding: 0 0 0 2rem;
    width: 60%;
}
.the_post_text h3{
    color: var(--ah-green);
    margin: 0 0 1rem;
	font-size: 1.4rem;
}
.post_excerpt{
    font-size: .875rem;
    margin: 0 0 5rem;
}
.post_category{
    opacity: .5;
}
.post_date{
    font-size: .9rem;
    opacity: .5;
    position: absolute;
    bottom: 1rem;
    width: 10rem;
}
.post_link{
    position: absolute;
    bottom: 1rem;
    right: 0;
    width: 6rem;
}
.post_link .esbtn{
    padding: 0;
}
.before_after{
    position: relative;
    width: 100%;
    height: 100%;
    cursor: grab;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.before_after img{
    pointer-events: none;
}
.before_after > div{
    position: absolute;
    width: 100%;
}
.before_after > div.ba_drag_top{
    z-index: 1;
    overflow: hidden;
    width: 50%;
    border-right: 2px solid #fff;
    transition: width .2s;
}
.ba_drag_top > img{
    height: auto;
    max-width: none;
}
.ba_dragger{
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -1rem 0 0 -1rem;
    width: 2rem;
    height: 2rem;
    background-color: #fff;
    border-radius: 100%;
    z-index: 2;
    transition: transform .3s, background-color .3s;
}
.before_after:hover .ba_dragger{
    background-color: var(--ah-green);
    transform: scale(1.2);
}
.before_after.dragging .ba_dragger{
    transform: scale(1.5);
    background-color: var(--ah-green);
}
.before_after.dragging{
    cursor: grabbing;
}
/* -----------@single------------- */
.sin_case_title{
    margin: 0 0 2rem;
    padding: .5rem 1rem;
    background: #e6e6e6;
    display: inline-block;
    border-radius: 5px;
    position: relative;
}
.sin_case_title:before{
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #e6e6e6 transparent transparent transparent;
    bottom: -8px;
}
.single_cate{
    padding: 0 0 1rem;
    border-bottom: 1px solid #e6e6e6;
}
.single_cate li{
    display: inline-block;
    margin: 0 .5rem .5rem 0;
}
.single_cate a{
    color: #282828;
    font-size: .9rem;
}
.single_cate a:hover{
    color: var(--ah-green);
}
.single_h1{
    padding: 1rem 0;
}
.single_h1 h1{
    font-size: 2rem;
}
.single_aside li{
    display: inline-block;
}
.single_aside li:first-child{
    display: block;
    margin: 0 0 .5rem;
    font-size: .9rem;
}
.single_aside img{
    width: 3rem;
    height: auto;
    transition: transform .3s;
}
.single_aside a:hover img{
    transform: scale(1.1);
}
.single_aside .social_media{
    border-top: 1px solid #e6e6e6;
    padding: 1rem 0 0;
}
.single_tags{
    margin: 1rem 0 0;
}
.single_tags a{
    padding: 5px 1rem;
    border: 1px solid #e6e6e6;
    border-radius: 10rem;
    margin: 0 .5rem 1rem 0;
    transition: all .3s;
    font-size: 12px;
    letter-spacing: 1px;
}
.single_tags a:hover{
    border-color: var(--ah-green);
}
.single_date{
    font-size: .9rem;
    opacity: .5;
    margin: .5rem 0 0;
}
.single_case{
    width: 80%;
    height: 30vw;  
    position: relative;  
}
.rela_section{
    padding: 5rem 0 10rem;
}
.rela_section h2{
    color: #282828;
    font-size: 1rem;
    margin: 0 0 1rem;
}
.related_wrap{
    width: 70%;
}
.related_post{
    position: relative;
    padding: 1rem 0;
    border-bottom: 1px solid #e6e6e6;
}
.related_post h3{
    color: var(--ah-green);
	font-size: 1rem;
    transition: color .3s;
}
.related_post h3:hover{
    color: var(--ah-green);
}
.related_post .date{
    font-size: 13px;
    opacity: .5;
}
/* -----------@お問い合わせ（地図下）------------- */
.contact_section {
    display: flex;
    width: 100%;
    min-height: 500px;
    border-top: 3px solid var(--ah-orange);
}
/* 左カラム：hmv_bigimg 同様のパララックス（overflow + data-scroll-speed） */
.contact_section .contact_left {
    flex: 0 0 50%;
    margin: 0;
    padding: 0;
    min-height: 320px;
    overflow: hidden;
    position: relative;
}
.contact_section .contact_left figure {
    position: absolute;
    top: -15vh;
    left: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 140%;
}
.contact_section .contact_left img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}
.bg-img {
    background-size: cover;
}
.contact_section .contact_right {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
    box-sizing: border-box;
    background-color: #fff;
}
.contact_section .contact_heading_en {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: #888;
    margin: 0 0 0.35rem;
}
.contact_section .contact_heading_ja {
    font-size: 1.8rem;
    margin: 0 0 1.25rem;
    color: var(--ah-green);
}
.contact_section .contact_text {
    margin: 0 0 1.5rem;
    line-height: 1.8;
    color: #555;
}
.contact_section .contact_right .menu-btn-4827 {
    align-self: flex-start;
}

/* -----------@footer（thearth型）------------- */
.footer-map-wrap {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    border-top: 3px solid var(--ah-orange);
    font-size: 0; /* iframe下の隙間防止 */
}
.footer-map {
    display: block;
    width: 100%;
    height: 500px;
}
.grayscale-map {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.grayscale-map:hover {
    filter: grayscale(0%);
}

.footer {
    position: relative;
    background: #fff;
    color: #444;
    font-size: 0.9rem;
    border-top: 3px solid var(--ah-orange);
    margin: 0;
    padding-bottom: 0;
}
.footer-overlay {
    padding: 3rem 0;
}
.footer .footer-inner,
.footer .es_wrap.footer-inner {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 4rem;
    box-sizing: border-box;
}
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-col {
    flex: 1;
    min-width: 200px;
}
.footer-col-left {
    flex: 0 0 28%;
    text-align: left;
}
.footer-col-center {
    flex: 0 0 32%;
    text-align: left;
}
.footer-col-right {
    flex: 0 0 28%;
    text-align: right;
}

.footer a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer a:hover {
    color: var(--ah-green);
}
.footer .footer-heading {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #333;
}
.footer p {
    margin-bottom: 0.5rem;
    color: #444;
    line-height: 1.6;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-logo {
    height: 56px;
    width: auto;
    display: block;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}
.footer-col-right .footer-socials {
    justify-content: flex-end;
    margin-top: 1rem;
}
.footer-socials a {
    display: inline-block;
    transition: transform 0.3s ease;
}
.footer-socials a:hover {
    transform: scale(1.05);
}
.footer-socials img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
/* SNSバナー用（縦並び） */
.footer-socials-banners {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}
.footer-socials-banners img {
    display: block;
    width: 140px;
    height: 44px;
    object-fit: contain;
}
.footer-socials-banners a:hover {
    transform: scale(1.05);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links a {
    font-size: 0.9rem;
}
/* 2列表示（縦リスト・区切り線なし） */
.footer-links-col2 {
    column-count: 2;
    column-gap: 3rem;
}
.footer-links-col2 li {
    display: block;
    margin: 0 0 0.4rem;
    break-inside: avoid;
}
.footer-links-col2 li::after {
    content: none !important;
}
.footer-links-col2 a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links-col2 a:hover {
    color: var(--ah-green);
}

.footer-info-rows {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
    margin: 1rem 0;
}
.footer-info-rows .footer-info-row {
    margin-bottom: 0.35rem;
}

.footer-company-info {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #444;
}
.footer-company-info div {
    margin-bottom: 0.25rem;
}

.footer-copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}
a.current{
    opacity: .2 !important;
    pointer-events: none;
}

/* -----------@map-section------------- */
.map-section-8472 {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.map-section-8472 iframe {
    width: 100%;
    height: 400px;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.map-section-8472 iframe:hover {
    filter: grayscale(0%);
}

@media screen and (max-width: 768px) {
    .map-section-8472 iframe {
        height: 300px;
    }
}

/* -----------@header-logo------------- */
.logo-wrap-3847 {
    width: auto;
}

.logo-sp-3847 {
    display: none;
}

.logo-pc-3847 {
    display: block;
    height: auto;
}

@media screen and (max-width: 768px) {
    .logo-sp-3847 {
        display: block;
        width: 20rem;
        height: auto;
    }
    
    .logo-pc-3847 {
        display: none;
    }
}

/* ロゴドロップシャドウ - 白背景での視認性確保 */
.logo-wrap-3847 img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

/* メニュー詳細ボタン */
.menu-btn-4827 {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background-color: var(--ah-green);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-btn-4827:hover {
    background-color: var(--ah-green);
    color: #fff;
    transform: scale(1.05);
}

/* 定休日スタイル */
.sch_repeat .dot.closed-7291 i {
    background-color: transparent;
    color: #e53935;
    font-size: 1.2rem;
    font-style: normal;
    font-weight: bold;
    width: auto;
    height: auto;
    border-radius: 0;
}

.top-movie-9182 {
    position: relative;
    width: 100%;
    height: 100vh; /* 必要に応じて調整 */
    overflow: hidden;
}

.top-movie-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

@media screen and (min-width: 769px) {
    .mvgal_img {
        width: 70%; /* 動画を左に伸ばして幅を広く */
    }
    /* 回転オブジェクトの位置（75%幅のときも波が見えるように） */
    .mvgal_img .mvgal_cover {
        left: 59%;
    }
    .mvgal_img .top-movie-video {
        object-fit: contain;
        object-position: right center; /* 右に寄せて、contain の余白を左側に（右の緑余白を消す） */
    }
}

/* ----------- 夜間診療 固定バナー（右下） ----------- */
.night-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 500;
    display: block;
    line-height: 0;
    transition: transform 0.35s ease;
    border-radius: 6px;
    overflow: hidden;
}
.night-banner:hover {
    transform: scale(1.03);
}
.night-banner img {
    display: block;
    width: 440px;
    height: 160px;
    object-fit: contain;
    transition: width 0.35s ease, height 0.35s ease;
}
/* スクロール後：少し小さく */
.night-banner.is-small img {
    width: 250px;
    height: 91px;
}

/* ======= 予約カレンダー ======= */
.reservation-calendar .reservation_cal_header {
    margin-bottom: 2rem;
}
.reservation-calendar .section_lead {
    margin-top: 0.5rem;
}
.reservation_cal_body {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}
.calendar_side {
    flex: 0 0 280px;
}
.calendar_side_inner {
    background: #f8fcfe;
    border: 1px solid #e0f0f5;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 20px;
}
.calendar_side_img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #e8f4f8;
}
.calendar_side_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.calendar_side_info {
    margin: 0;
    padding: 20px 20px 0;
}
.calendar_side_info dt {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ah-green);
    margin-top: 16px;
    margin-bottom: 4px;
}
.calendar_side_info dt:first-child {
    margin-top: 0;
}
.calendar_side_info dd {
    margin: 0;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.6;
}
.calendar_legend {
    font-size: 0.8rem;
    color: #666;
    margin: 16px 20px 0;
    padding-top: 12px;
    border-top: 1px solid #e0f0f5;
}
.cal_legend_o { color: var(--ah-green); font-weight: bold; }
.cal_legend_tri { color: #7eb8d4; font-weight: bold; }
.cal_legend_x { color: #d9534f; font-weight: bold; }

/* 営業日お知らせカレンダー（トップページ：日中・夜間2段表示・画像デザイン） */
.business-hours-calendar .calendar_legend_biz { margin-top: 12px; }
.biz_cal_grid.cal_grid {
	border: 2px solid #ccc;
}
.biz_cal_grid .cal-row { border-bottom: none; }
.biz_cal_grid .cal-cell {
	border-bottom: 2px solid #ccc;
	border-right: 2px solid #ccc;
}
.biz_cal_grid .cal-cell:nth-child(7n) { border-right: none; }
.biz_cal_grid .cal-header .cal-cell {
	border-bottom: 2px solid #ccc;
	font-size: 1.1rem;
	font-weight: 700;
	min-height: 48px;
	padding: 10px 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.biz_cal_grid .cal-header .cal-cell:first-child {
	color: #c00;
}
.biz_cal_grid .cal-header .cal-cell:nth-child(7) {
	color: #212534;
}
.biz_cal_grid .cal-header .cal-cell:nth-child(2),
.biz_cal_grid .cal-header .cal-cell:nth-child(3),
.biz_cal_grid .cal-header .cal-cell:nth-child(4),
.biz_cal_grid .cal-header .cal-cell:nth-child(5),
.biz_cal_grid .cal-header .cal-cell:nth-child(6) {
	color: #333;
}
.biz_cal_grid .biz_cal_cell.cal-day {
	padding: 0;
	min-height: 86px;
	background: #fff;
	vertical-align: top;
	text-align: center;
	container-type: inline-size;
	container-name: biz-cal-day;
}
@media screen and (min-width: 769px) {
	.biz_cal_grid .biz_cal_cell.cal-day { min-height: 96px; }
}
.biz_cal_grid .biz_cal_cell .biz_cal_date {
	display: block;
	font-size: 1.25rem;
	font-weight: 700;
	color: #000;
	line-height: 1.3;
	padding: 4px 0 6px;
}
@media screen and (min-width: 769px) {
	.biz_cal_grid .biz_cal_cell .biz_cal_date { font-size: 1.5rem; padding: 6px 0 8px; }
}
.biz_cal_grid .biz_cal_cell .biz_cal_status {
	display: flex;
	flex-direction: column;
	margin-top: 0;
}
.biz_cal_grid .biz_cal_row {
	display: flex;
	align-items: stretch;
	min-height: 30px;
	font-size: 0.65rem;
	font-weight: 700;
}
@media screen and (min-width: 769px) {
	.biz_cal_grid .biz_cal_row { min-height: 32px; font-size: 0.75rem; }
}
.biz_cal_grid .biz_cal_label {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 58%;
	min-width: 0;
	padding: 3px 2px;
	color: #fff;
	white-space: normal;
	text-align: center;
	line-height: 1.15;
	hyphens: none;
	word-break: keep-all;
}
/* 「日中」「夜間」と「診療」を2行に（狭いマスでも読める） */
.biz_cal_grid .biz_cal_label_stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 100%;
	max-width: 100%;
}
.biz_cal_grid .biz_cal_label_top {
	display: block;
	font-weight: 700;
	font-size: clamp(9px, 4cqw + 5px, 13px);
	line-height: 1.12;
}
.biz_cal_grid .biz_cal_label_bot {
	display: block;
	font-weight: 700;
	font-size: clamp(8px, 3.2cqw + 4px, 11px);
	line-height: 1.12;
	opacity: 0.98;
}
@supports not (container-type: inline-size) {
	.biz_cal_grid .biz_cal_label_top {
		font-size: clamp(9px, 2.4vw + 4px, 13px);
	}
	.biz_cal_grid .biz_cal_label_bot {
		font-size: clamp(8px, 2vw + 3px, 11px);
	}
}
/* PC：マスが広いので「日中診療」「夜間診療」を1行表示 */
@media screen and (min-width: 769px) {
	.biz_cal_grid .biz_cal_label_stack {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
		gap: 0;
		width: auto;
	}
	.biz_cal_grid .biz_cal_label_top,
	.biz_cal_grid .biz_cal_label_bot {
		display: inline;
		font-size: 0.75rem;
		line-height: 1.25;
	}
	.biz_cal_grid .biz_cal_label {
		white-space: nowrap;
		flex: 0 0 50%;
	}
	.biz_cal_grid .biz_cal_indicator {
		flex: 1;
		max-width: none;
	}
}
.biz_cal_grid .biz_cal_label_daytime { background: #D27636; }
.biz_cal_grid .biz_cal_label_night { background: #212534; }
.biz_cal_grid .biz_cal_indicator {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	min-width: 1.5rem;
	width: 100%;
	background: #fff;
	border-left: 1px solid #eee;
}
.biz_cal_grid .biz_cal_mark {
	font-size: 1rem;
	font-weight: bold;
	color: #000;
	line-height: 1;
}
.biz_cal_grid .biz_cal_mark.biz_o {
	color: #2563eb;
}
.biz_cal_grid .biz_cal_mark.clickable-hours {
	cursor: pointer;
	transition: opacity 0.2s;
}
.biz_cal_grid .biz_cal_mark.clickable-hours:hover {
	opacity: 0.7;
}
@media screen and (min-width: 769px) {
	.biz_cal_grid .biz_cal_mark { font-size: 1.2rem; }
}
/* ×の行だけグレーアウト（日中休みなら日中診療の行、夜間休みなら夜間診療の行） */
.biz_cal_grid .biz_cal_row.biz_cal_row_closed .biz_cal_label_daytime,
.biz_cal_grid .biz_cal_row.biz_cal_row_closed .biz_cal_label_night {
	background: #9a9a9a !important;
	color: #e8e8e8;
}
.biz_cal_grid .biz_cal_row.biz_cal_row_closed .biz_cal_indicator {
	background: #e8e8e8;
}
.biz_cal_grid .biz_cal_row.biz_cal_row_closed .biz_cal_mark {
	color: #999;
}
.business-hours-calendar .section_lead a { color: var(--ah-green); text-decoration: underline; }
.business-hours-calendar .section_lead a:hover { text-decoration: none; }

/* スマホ：カレンダー凡例（色帯＝日中/夜間はマス内では省略し、ここで1回だけ説明） */
.biz-cal-compact-legend {
	display: none;
}
@media screen and (max-width: 768px) {
	.biz-cal-compact-legend {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 14px;
		font-size: 0.8125rem;
		color: #333;
		margin: 0 0 10px;
		padding: 8px 10px;
		background: #f5f9f7;
		border-radius: 8px;
		border: 1px solid #e0ebe4;
		line-height: 1.45;
	}
	.biz-cal-legend-item {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		font-weight: 700;
		white-space: nowrap;
	}
	.biz-cal-legend-swatch {
		width: 12px;
		height: 12px;
		border-radius: 2px;
		flex-shrink: 0;
	}
	.biz-cal-legend-swatch--day { background: #D27636; }
	.biz-cal-legend-swatch--night { background: #212534; }
	.biz-cal-legend-hint {
		flex-basis: 100%;
		font-size: 0.75rem;
		font-weight: 400;
		color: #555;
	}
	.biz_cal_grid .biz_cal_cell.cal-day {
		min-height: 68px;
	}
	.biz_cal_grid .biz_cal_cell .biz_cal_date {
		font-size: 1.05rem;
		padding: 2px 0 4px;
	}
	.biz_cal_grid .cal-header .cal-cell {
		min-height: 40px;
		padding: 6px 2px;
		font-size: 0.95rem;
	}
	/* 2行をまとめて角丸の「コマ」に見せる */
	.biz_cal_grid .biz_cal_status {
		gap: 2px;
		border-radius: 6px;
		overflow: hidden;
	}
	/* 行全体を日中／夜間色で塗る（休診はグレー）。文言は aria-label */
	.biz_cal_grid .biz_cal_label {
		display: none;
	}
	.biz_cal_grid .biz_cal_row.biz_cal_row_daytime:not(.biz_cal_row_closed) {
		background: #D27636;
	}
	.biz_cal_grid .biz_cal_row.biz_cal_row_night:not(.biz_cal_row_closed) {
		background: #212534;
	}
	.biz_cal_grid .biz_cal_row.biz_cal_row_closed {
		background: #9a9a9a;
	}
	.biz_cal_grid .biz_cal_row {
		min-height: 32px;
		gap: 0;
	}
	.biz_cal_grid .biz_cal_indicator {
		flex: 1;
		min-width: 0;
		border-left: none;
		background: transparent !important;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.biz_cal_grid .biz_cal_mark,
	.biz_cal_grid .biz_cal_mark.biz_o {
		color: #fff;
		font-weight: 800;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
		font-size: 1.15rem;
		padding: 8px 14px;
		min-width: 44px;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		touch-action: manipulation;
	}
	.biz_cal_grid .biz_cal_row.biz_cal_row_closed .biz_cal_mark {
		color: #fff;
		text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	}
}
@media screen and (min-width: 769px) {
	.biz-cal-compact-legend {
		display: none !important;
	}
}

.calendar_main {
    flex: 1;
    min-width: 280px;
}
.cal_header_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.cal_tabs {
    display: flex;
    gap: 0;
}
.cal_tab {
    padding: 10px 24px;
    font-size: 0.9rem;
    color: var(--ah-green);
    background: #e8f4f8;
    border: 1px solid #b8dce8;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.cal_tab:hover {
    background: #d4edf5;
}
.cal_tab.active {
    background: #fff;
    color: var(--ah-green);
    font-weight: 600;
    margin-bottom: -1px;
    padding-bottom: 11px;
}
.cal_month_label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ah-green);
    margin-bottom: 0;
}
.cal_grid {
    display: block;
    border: 1px solid #e0f0f5;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 1rem;
}
.cal-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}
.cal-header .cal-cell {
    padding: 10px 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ah-green);
    background: #f0f9fc;
    border-bottom: 1px solid #e0f0f5;
}
.cal-header .cal-cell.cal-off {
    color: #999;
}
.cal-cell {
    min-height: 44px;
    padding: 6px 4px;
    text-align: center;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
    font-size: 0.8rem;
}
@media screen and (min-width: 769px) {
    .cal-cell {
        min-height: 72px;
        padding: 12px 8px;
    }
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.cal-empty { background: #fafafa; }
.cal-cell.cal-day {
    cursor: pointer;
    transition: background .15s;
}
.cal-cell.cal-day:hover {
    background: #f0f9fc;
}
.cal-cell.cal-day.cal-off {
    background: #f5f5f5;
    color: #999;
    cursor: default;
}
.cal-cell.cal-day.cal-off:hover {
    background: #f5f5f5;
}
.cal-date-num {
    display: block;
    font-weight: 600;
    color: #333;
}
.cal-day.cal-off .cal-date-num { color: #999; }
.cal-day.cal-holiday .cal-date-num { color: #c00; }
.cal-status {
    display: block;
    font-size: 0.85rem;
    margin-top: 2px;
}
.cal-day .cal-o { color: var(--ah-green); }
.cal-day .cal-tri { color: #7eb8d4; }
.cal-day .cal-x { color: #d9534f; }
.cal-o, .cal-tri, .cal-x {
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
    font-weight: bold;
}

.cal_selected_area {
    background: #f8fcfe;
    border: 1px solid #e0f0f5;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 8px;
}
.cal_selected_date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ah-green);
    margin-bottom: 12px;
}
.cal_period_btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.cal_period_btn {
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--ah-green);
    background: #fff;
    border: 1px solid #b8dce8;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.cal_period_btn:hover {
    background: #e8f4f8;
    border-color: var(--ah-green);
}
.cal_slots_wrap {
    margin-top: 12px;
}
.cal_slots_ttl {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.cal_slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cal_slot_btn {
    padding: 8px 14px;
    font-size: 0.85rem;
    color: var(--ah-green);
    background: #fff;
    border: 1px solid #b8dce8;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.cal_slot_btn:hover {
    background: #e8f4f8;
    border-color: var(--ah-green);
}

/* 予約モーダル（akarinomori用上書き） */
.reservation_modal_content {
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,.15);
}
.reservation_modal_close_hint {
    display: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: #e6b422;
    text-align: center;
    border-radius: 0;
}
.reservation_modal_close_hint.show {
    display: block;
}
.reservation_modal_header {
    background: var(--ah-green);
    color: #fff;
    border-bottom: none;
    padding: 16px 20px;
    border-radius: 0;
}
.reservation_modal_header .modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}
.reservation_modal_close_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 400;
    color: #fff !important;
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 8px;
    cursor: pointer;
}
.reservation_modal_close_btn:hover {
    background: rgba(255,255,255,.35);
    border-color: #fff;
    color: #fff !important;
    font-weight: 700;
}
.reservation_modal_body {
    padding: 24px 20px 28px;
}
.reservation_summary_label {
    color: var(--ah-green);
    font-weight: 600;
}
.reservation_field {
    margin-top: 1.5rem;
}
.reservation_field .form-control,
.reservation_field .form-select {
    color: #000;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}
.reservation_field input.form-control {
    min-height: 38px;
    padding: 8px 12px;
}
.reservation_field .form-control:focus,
.reservation_field .form-select:focus {
    border-color: var(--ah-green);
    box-shadow: 0 0 0 3px rgba(90, 125, 74, .15);
    outline: none;
}
.reservation_actions {
    margin-top: 1.5rem;
    padding-bottom: 1rem;
}
.reservation_modal_body .reservation_confirm_btn,
.reservation_confirm_btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff !important;
    background-color: var(--ah-green) !important;
    border: 2px solid var(--ah-green) !important;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.reservation_modal_body .reservation_confirm_btn:hover,
.reservation_confirm_btn:hover {
    background-color: var(--ah-green-dark, #3d5238) !important;
    border-color: var(--ah-green-dark, #3d5238) !important;
    color: #fff !important;
}

/* ======= ローディング（動物病院風・かわいい） ======= */
#loader.loader-vet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fcf6 0%, #e8f4e4 100%);
    transition: opacity .6s ease, visibility .6s ease;
}
#loader.loader-vet.leave {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-vet_inner {
    text-align: center;
}
.loader-vet_paws {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 1.5rem;
}
.loader-vet_paw {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ah-green);
    animation: loaderPawBounce 0.6s ease-in-out infinite alternate;
}
.loader-vet_paw:nth-child(1) { animation-delay: 0s; }
.loader-vet_paw:nth-child(2) { animation-delay: 0.15s; }
.loader-vet_paw:nth-child(3) { animation-delay: 0.3s; }
.loader-vet_text {
    font-size: 0.9rem;
    color: var(--ah-green);
    letter-spacing: 0.1em;
    animation: loaderTextBlink 1s ease-in-out infinite;
}
@keyframes loaderPawBounce {
    from { transform: translateY(0) scale(1); opacity: 1; }
    to { transform: translateY(-12px) scale(1.2); opacity: 0.85; }
}
@keyframes loaderTextBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
/* ローディング中はファーストビューアニメーションを保留 */
body.page-loading .mvgal_wrap.is-inview .separateAni div,
body.page-loading .mvgal_wrap.is-inview i,
body.page-loading .mvgal_wrap.is-inview h1 i,
body.page-loading .separateAni.is-inview div,
body.page-loading .squareAni.is-inview div:before,
body.page-loading .squareAni.is-inview div:after,
body.page-loading .squareAni.is-inview i {
    opacity: 0 !important;
    transform: translate3d(0, 2rem, 0) !important;
}
body.page-loading .squareAni.is-inview div:before,
body.page-loading .squareAni.is-inview div:after {
    transform: translate3d(-2rem, 0, 0) !important;
}
