@charset "UTF-8";
/*-------------
vars
-------------*/
:root{
    --min-width: 1000px;
    --inner-width: clamp(var(--min-width), 96dvw, 1200px);
    --inner-width_sp: 92vw;
    --inner-sides: 40px;
    --inner-sides_sp: 4vw;
    
    --base-gray: #656464;
    --border-gray: #dadada;
    --bg-gray: #f7f8f8;
    --text-light-gray: #ebedee;
    --accent-black: #000;
    --base-black: #333;

    --font-sans: "Noto Sans JP", sans-serif;
    --font-serif: "Noto Serif JP", serif;
    --font-en: "EB Garamond", var(--font-serif);
    --fontsize-base: 1.6rem;
    
    --bg-arrow-right: url(../images/arrow_right.svg) no-repeat center / contain;
    
    --linear: .5s linear;
    --ease: .5s ease;
}
@media screen and (max-width:768px){
    :root{
        --min-width: 320px;
        --inner-width: var(--inner-width_sp);
        --inner-sides: var(--inner-sides_sp);
        --fontsize-base: 1.4rem;
    }
}

/*-------------
base
-------------*/
html{
    font-size: 62.5%;
}
body{
    width: 100%;
    min-width: var(--inner-width);
    background: #fff;
    color: var(--base-black);
    /* font-family: var(--font-sans); */
    font-family: var(--font-serif);
    font-optical-sizing: auto;
    font-size: var(--fontsize-base);
    line-height: 1.8;
    text-align: left;
    letter-spacing: .04em;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
}
@media screen and (max-width:768px){
    body{
        min-width: 0;
    }
}
img{
    max-width: 100%;
    height: auto;
}
:where(.container){
    container-type: inline-size;
}
:where(.container) *{
    --container-sides: calc(50cqw - (var(--inner-width) / 2));
    --container-side-pos: calc((100% - 100cqw) / 2);
}
/* ::selection{
    background: var(--base-brown);
    color: #fff;
} */

/* common */
@media screen and (min-width:769px){
    .sp{
        display: none!important;
    }
}
@media screen and (max-width:768px){
    .pc{
        display: none!important;
    }
}
.clearfix::after,
.cf::after{
    content: "";
    display: block;
    clear: both;
}
.visually-hidden{
    clip: rect(0, 0, 0, 0);
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    user-select: none;
}
.preload *,
.preload *::before,
.preload *::after{
    transition: none!important;
}
.floatL, .l{
    float: left;
}
.floatR, .r{
    float: right;
}
.clearBoth, .c_b{
	clear:both;
}
.dispIB, .d-ib{
    display: inline-block;
}
img.dispIB, img.d-ib{
    width: revert-layer;
    height: revert-layer;
}

/* margin */
.mRkern{
    margin-right: -.4em;
}
.mLkern{
    margin-left: -.4em;
}
.mLRkern{
    margin-right: -.4em;
    margin-left: -.4em;
}
.mB5{
	margin-bottom: 5px!important;
}
.mB10{
	margin-bottom: 10px!important;
}
.mB15{
	margin-bottom: 15px!important;
}
.mB20{
	margin-bottom: 20px!important;
}
.mB30{
	margin-bottom: 30px!important;
}
.mR10{
	margin-right: 10px!important;
}

/* text */
.txtInd, .txt_ind {
    text-indent: -1.02em;
    padding-left: 1.02em;
}
.ffsPalt, .ffs-palt{
	font-feature-settings: "palt" 1;
}
.ffSans, .ff-sans{
    font-family: var(--font-sans)!important;
}
.ffEn, .ff-en{
    font-family: var(--font-en)!important;
}
.txtRed{
    color: var(--accent-red)!important;
}
.txtSmall{
    font-size: .7em;
}
.txtCenter, .ta-c{
    text-align: center;
}
.txtRight, .ta-r{
    text-align: right;
}
.wsNowrap, .ws-no{
    white-space: nowrap;
}
*:has(> wbr:not(.pc):not(.sp)){
    word-break: keep-all;
    overflow-wrap: break-word;
}
@media screen and (min-width:769px){
    *:has(> wbr.pc){
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}
@media screen and (max-width:768px){
    *:has(> wbr.sp){
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

/* a */
@media (any-hover: hover){
    :where(a:hover){
        text-decoration: none;
    }
}
.txtLink:not(:hover){
    text-decoration: underline;
}
.fadeHover{
    transition: opacity var(--ease);
}
@media (any-hover: hover){
    .fadeHover:hover{
        opacity: .7;
    }
    .undrHover:not(:hover){
        text-decoration: underline;
    }
}
:where(a:has(> img:only-child)),
:where(a:has(> picture:only-child)){
    transition: opacity var(--ease);
}
@media (any-hover: hover){
    :where(a:has(> img:only-child)):hover,
    :where(a:has(> picture:only-child)):hover{
        opacity: .7;
    }
}
@media screen and (min-width:769px){
    body:not(.viewing_mobile) a[href^="tel:"]{
        text-decoration: none!important;
        pointer-events: none;
    }
    body:not(.viewing_mobile) a[href^="tel:"]:hover{
        opacity: 1;
    }
}

/*-------------
accordion
-------------*/
.accordion-btn:not(.is--ready){
    pointer-events: none;
}
.accordion-btn.is--ready{
    cursor: pointer;
}
@media screen and (max-width:768px){
    .accordion-btn_sp:not(.is--ready){
        pointer-events: none;
    }
    .accordion-btn_sp.is--ready{
        cursor: pointer;
    }
}
.accordion-btn:not(._active):not([data-target-class]) + *:not(.accordion-container),
.accordion-content{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
@media screen and (max-width:768px){
    .accordion-btn_sp:not(._active):not([data-target-class]) + *:not(.accordion-container),
    .accordion-content_sp{
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }
}
.accordion-container{
    overflow: hidden;
    transition: height .3s ease;
}
.accordion-container.is--hit_low{
    transition: height .2s ease;
}
.accordion-container:not(.is--open){
    height: 0!important;
}
@media screen and (min-width:769px){
    .accordion-container.is--limit_sp{
        height: auto!important;
    }
}

/*-------------
header
-------------*/
.header{
    --header-hit: 100px;
    height: var(--header-hit);
    background: #fff;
}
@media screen and (max-width:768px){
    .header{
        --header-hit: 50px;
        position: relative;
        z-index: 99;
    }
}
.header-inner{
    display: flex;
    width: var(--inner-width);
    height: 100%;
    margin: 0 auto;
    padding: 14px 0;
}
@media screen and (max-width:768px){
    .header-inner{
        position: relative;
        width: 100%;
        padding: 10px 0 10px var(--inner-sides_sp);
    }
}
.header-logo{
    flex: 0 0 auto;
    height: 100%;
}
.header-logo img{
    width: auto;
    max-height: 100%;
}
.header-menu-btn{
    display: none;
}
@media screen and (max-width:768px){
    .header-menu-btn{
        --my-wid: 36px;
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 2;
        width: calc(var(--my-wid) + var(--inner-sides_sp));
        height: 100%;
    }
    .header-menu-btn::before,
    .header-menu-btn::after{
        position: absolute;
        top: calc(50% - 1px);
        left: 0;
        width: var(--my-wid);
        height: 2px;
        background: var(--base-gray);
        content: "";
        transition: transform var(--ease);
    }
    .header-menu-btn._open::before{
        transform: rotate(-45deg);
    }
    .header-menu-btn._open::after{
        transform: rotate(45deg);
    }
    .header-menu-btn-inner{
        position: absolute;
        top: calc(50% - 8px);
        left: 0;
        width: var(--my-wid);
        height: 16px;
        background: linear-gradient(to top, var(--base-gray) 0 2px, rgba(255,255,255,0) 2px 14px, var(--base-gray) 14px) no-repeat;
        transition: opacity var(--ease);
    }
    .header-menu-btn._open .header-menu-btn-inner{
        opacity: 0;
    }
}
.header-menu{
    margin-left: auto;
    font-family: var(--font-serif);
}
@media screen and (max-width:768px){
    .header-menu:not(._active){
        display: none;
    }
    .header-menu:not(._show){
        opacity: 0;
    }
    .header-menu{
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100dvh;
        background: #fff;
        transition: opacity var(--ease);
        cursor: pointer;
    }
}
.header-nav{
    height: 100%;
}
@media screen and (max-width:768px){
    .header-nav{
        height: auto;
        cursor: auto;
    }
}
.header-nav-list{
    display: flex;
    height: 100%;
}
@media screen and (max-width:768px){
    .header-nav-list{
        flex-direction: column;
        justify-content: center;
    }
}
.header-nav-list-item a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 100%;
    padding: 0 20px;
    font-weight: bold;
    line-height: 1;
    transition: opacity var(--ease);
}
@media screen and (max-width:768px){
    .header-nav-list-item a{
        min-height: 60px;
        padding: 10px 0;
    }
}
@media (any-hover: hover){
    .header-nav-list-item a:hover{
        opacity: .5;
    }
}
.header-nav-list-item a[data-en]::after{
    display: block;
    color: var(--base-gray);
    font-family: var(--font-en);
    font-weight: normal;
    content: attr(data-en);
}

/*-------------
footer
-------------*/
.footer{
    position: relative;
    margin-top: 180px;
}
@media screen and (max-width:768px){
    .footer{
        margin-top: 80px;
    }
}
.footer-pagetop{
    position: absolute;
    top: -70px;
    right: 0;
    width: calc(50px + var(--inner-sides));
    height: 70px;
}
.footer-pagetop-btn{
    position: absolute;
    right: var(--inner-sides);
    bottom: 20px;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
}
@media screen and (max-width:768px){
    .footer-pagetop{
        top: -55px;
        width: calc(40px + var(--inner-sides_sp));
        height: 55px;
    }
    .footer-pagetop-btn{
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}
.footer-pagetop-btn._fixed{
    position: fixed;
    transition: opacity var(--ease);
}
@media screen and (max-width:768px){
    .footer-pagetop-btn._fixed{
        bottom: max(env(safe-area-inset-bottom), 15px);
    }
}
.footer-pagetop-btn:not(._show){
    opacity: 0;
    pointer-events: none;
}
.footer-pagetop-btn a{
    display: block;
    position: relative;
    height: 100%;
    border-radius: inherit;
    background: var(--base-black);
}
.footer-pagetop-btn a::after{
    position: absolute;
    top: calc(50% - 3px);
    left: calc(50% - 5px);
    transform: rotate(-45deg);
    width: 10px;
    height: 10px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    content: "";
}
@media screen and (max-width:768px){
    .footer-pagetop-btn a::after{
        top: calc(50% - 3px);
        left: calc(50% - 4px);
        width: 8px;
        height: 8px;
    }
}
.footer-copy{
    display: flex;
    justify-content: center;
    padding: 11px var(--inner-sides) 12px;
    background: var(--base-black);
    color: #fff;
    font-family: var(--font-en);
    font-size: 1.2rem;
    line-height: calc(1em + 5px);
}
@media screen and (max-width:768px){
    .footer-copy{
        padding: 10px var(--inner-sides) calc(10px + env(safe-area-inset-bottom));
    }
}

/*-------------
top
-------------*/
.top-page footer{
    margin-top: 0;
}
.top-hero-slider{
    --my-hit: max(calc(100dvh - 170px), 600px);
    width: min(96dvw, calc(var(--my-hit) * 2));
    height: var(--my-hit);
    margin: 0 auto;
}
@media screen and (max-width:768px){
    .top-hero-slider{
        width: var(--inner-width_sp);
        height: auto;
        max-height: calc(100dvh - 100px);
        aspect-ratio: 1 / 2;
    }
}
.top-hero-slide{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    height: 100%;
    background: var(--base-gray);
}
@media screen and (max-width:768px){
    .top-hero-slide{
        grid-template-columns: 100%;
        grid-template-rows: 2fr 1fr;
    }
}
.top-hero-slide__pic{
    overflow: hidden;
}
.top-hero-slide__pic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform linear, filter ease;
}
.top-hero-slide__pic img._fadeout{
    filter: blur(20px);
}
.top-hero-slide__catch{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-light-gray);
    font-family: var(--font-serif);
    font-size: clamp(24px, 2.27vw, 30px);
    font-weight: 600;
    letter-spacing: .1em;
    line-height: 1.8;
    text-align: center;
}
@media screen and (max-width:768px){
    .top-hero-slide__catch{
        padding: .5em;
        font-size: clamp(18px, 6.15384vw, 24px);
        line-height: 1.5;
    }
}
.top-hero-slide__catch img{
    max-width: 80%;
}

/* top-lead */
.top-lead{
    width: var(--inner-width);
    margin: 45px auto 80px;
    text-align: center;
}
.top-lead-title{
    margin-bottom: 30px;
    font-family: var(--font-serif);
    font-size: 2.7rem;
    font-weight: bold;
    line-height: 1.5;
}
.top-lead-body{
    line-height: 1.75;
}
.top-lead-body p:not(:last-child){
    margin-bottom: 1em;
}
@media screen and (max-width:768px){
    .top-lead{
        margin: 25px auto 50px;
    }
    .top-lead-title{
        margin-bottom: 15px;
        font-size: 2.4rem;
    }
    .top-lead-body{
        text-align: left;
    }
    .top-lead-body p:not(:last-child){
        margin-bottom: .75em;
    }
}

/* top-gallery */
.top-gallery{
    position: relative;
    margin: 100px 0;
}
@media screen and (max-width:768px){
    .top-gallery{
        margin: 60px 0;
    }
}
.top-gallery-slider{
    display: flex;
    width: 100%;
    overflow: hidden;
}
@keyframes gallery-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
.top-gallery-slide{
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    position: relative;
    z-index: 0;
    height: clamp(600px, calc(100dvh - 40px), 720px);
    animation: gallery-scroll 90s infinite linear both;
}
@media screen and (max-width:768px){
    .top-gallery-slide{
        height: min(712px, 57vw);
        animation-duration: 40s;
    }
}
.top-gallery-pic{
    flex: 0 0 auto;
    aspect-ratio: 2 / 3;
}
.top-gallery-pic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top-gallery-pic._l{
    align-self: flex-end;
    width: 400px;
}
.top-gallery-pic._m{
    align-self: flex-start;
    width: 360px;
}
.top-gallery-pic:nth-child(2n){
    margin: 0 -40px;
}
@media screen and (max-width:768px){
    .top-gallery-pic._l{
        width: min(400px, 32vw);
    }
    .top-gallery-pic._m{
        width: min(340px, 27.2vw);
    }
    .top-gallery-pic:nth-child(2n){
        margin: 0 max(-2.4vw, -30px);
    }
}
.top-gallery-pic:nth-child(3n+1){
    z-index: 1;
}
.top-gallery-pic:nth-child(6n + 2),
.top-gallery-pic:nth-child(6n) {
    z-index: -1;
}
.top-gallery-link{
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
@media screen and (max-width:768px){
    .top-gallery-link{
        margin-top: 20px;
    }
}
.top-gallery-link::before,
.top-gallery-link::after{
    flex: 1 1 auto;
    position: relative;
    z-index: 1;
    content: "";
}
.top-gallery-link a{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: solid 1px currentColor;
    color: var(--accent-black);
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}
@media screen and (max-width:768px){
    .top-gallery-link a{
        gap: 8px;
        padding-bottom: 10px;
        font-size: 1.8rem;
    }
}
.top-gallery-link a::before{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
}
.top-gallery-link a::after{
    flex: 0 0 auto;
    width: 16px;
    height: 12px;
    background: var(--bg-arrow-right);
    content: "";
    transition: transform var(--ease);
}
@media screen and (max-width:768px){
    .top-gallery-link a::after{
        width: 12px;
        height: 9px;
    }
}
.top-gallery-link a:hover::after{
    transform: translateX(25%);
}

/*-------------
top-news
-------------*/
.top-news{
    width: var(--inner-width);
    margin: 80px auto;
}
@media screen and (max-width:768px){
    .top-news{
        margin: 50px auto;
    }
}
.top-news-list{
    border-top: solid 1px var(--base-gray);
    border-bottom: solid 1px var(--base-gray);
}
.top-news-title{
    margin-bottom: 25px;
    color: var(--accent-black);
    font-family: var(--font-en);
    font-size: 30px;
    line-height: 1;
}
@media screen and (max-width:768px){
    .top-news-title{
        margin-bottom: 15px;
        font-size: 2.4rem;
    }
}
.top-news-list{
    padding: 35px 0 37px;
}
.top-news-list-item{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 30px;
}
@media screen and (max-width:768px){
    .top-news-list{
        padding: 20px 0 25px;
    }
    .top-news-list-item{
        gap: 0 max(var(--inner-sides_sp), 15px);
    }
}
.top-news-list-head{
    grid-row: 1 / 2;
}
@media screen and (max-width:768px){
    .top-news-list-head{
        grid-column: 1 / 2;
    }
}
.top-news-list-date{
    color: var(--base-gray);
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .05em;
}
@media screen and (max-width:768px){
    .top-news-list-date{
        font-size: 1.6rem;
    }
}
.top-news-list-main{
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
}
@media screen and (max-width:768px){
    .top-news-list-main{
        grid-template-columns: subgrid;
        grid-row: 1 / 3;
        grid-column: 1 / 3;
    }
}
.top-news-list-title{
    display: grid;
    align-items: center;
    color: var(--accent-black);
    font-weight: bold;
}
@media screen and (max-width:768px){
    .top-news-list-title{
        grid-column: 2 / 3;
    }
}
.top-news-list-body{
    margin-top: 15px;
}
@media screen and (max-width:768px){
    .top-news-list-body{
        grid-column: 1 / 3;
        margin-top: 10px;
    }
}
.top-news-list-body p:not(:last-child){
    margin-bottom: min(15px, .75em);
}
@media screen and (max-width:768px){
    .top-news-list-body p:not(:last-child){
        margin-bottom: max(.5em, 10px);
    }
}
.top-news-list-body a{
    color: var(--base-gray);
}
.top-news-list-body a:not(:hover){
    text-decoration: underline;
}
.top-news-list-table{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 2em;
    margin: .8em 0;
}
.top-news-list-table__term{
    position: relative;
    text-align: justify;
}
.top-news-list-table__term::after{
    position: absolute;
    top: 0;
    right: -1.5em;
    content: "：";
}
@media screen and (max-width:768px){
    .top-news-list-table{
        gap: 0 1em;
        margin: max(.5em, 10px) 0;
    }
    .top-news-list-table__term::after{
        right: -1em;
    }
}
.top-news-link{
    display: flex;
    justify-content: flex-end;
}
.top-news-link a{
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 25px;
    color: var(--accent-black);
    font-weight: 500;
    line-height: calc(1em + 3px);
}
.top-news-link a::before{
    flex: 0 0 auto;
    width: 16px;
    height: 12px;
    background: var(--bg-arrow-right);
    content: "";
    transition: transform var(--ease);
}
@media screen and (max-width:768px){
    .top-news-link a{
        gap: 8px;
        padding-top: 15px;
    }
    .top-news-link a::before{
        width: 12px;
        height: 9px;
    }
}
@media (any-hover: hover){
    .top-news-link a:hover{
        text-decoration: underline;
    }
    .top-news-link a:hover::before{
        transform: translateX(25%);
    }
}

/* top-access */
.top-access{
    padding: 80px 0;
    background: var(--accent-black);
    color: #fff;
}
@media screen and (max-width:768px){
    .top-access{
        padding: 40px 0 90px;
    }
}
.top-access-list{
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px 0;
    width: var(--inner-width);
    margin: 0 auto;
}
@media screen and (max-width:768px){
    .top-access-list{
        grid-template-columns: 100%;
        gap: 30px 0;
    }
}
.top-access-list-item{
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: auto 1fr;
    grid-column: span 2;
    gap: 0 30px;
}
@media screen and (max-width:768px){
    .top-access-list-item{
        display: block;
    }
}
.top-access-list-name{
    grid-column: 1 / 2;
    margin-bottom: 15px;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: bold;
}
@media screen and (max-width:768px){
    .top-access-list-name{
        margin-bottom: 10px;
        font-size: 1.6rem;
    }
}
.top-access-list-info{
    display: grid;
    align-self: flex-start;
    grid-template-columns: auto 1fr;
    grid-column: 1 / 2;
    gap: 0 1em;
}
.top-access-list-info-row{
    display: grid;
    grid-template-columns: subgrid;
    grid-column: span 2;
}
.top-access-list-info__head{
    position: relative;
    color: #999;
}
.top-access-list-info__head::after{
    position: absolute;
    top: 0;
    right: -1em;
    content: "：";
}
.top-access-list-map{
    position: relative;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    max-width: 900px;
    min-height: 300px;
    background: #fff;
}
@media screen and (max-width:768px){
    .top-access-list-map{
        width: 100%;
        max-width: none;
        min-height: 0;
        aspect-ratio: 4 / 3;
        margin-top: 20px;
    }
}
.top-access-list-map iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%!important;
    height: 100%!important;
}

/*-------------
pages
-------------*/
.page-header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    margin-bottom: 65px;
    padding: 25px 0;
    background: var(--bg-gray);
    color: var(--base-gray);
}
@media screen and (max-width:768px){
    .page-header{
        min-height: 120px;
        margin-bottom: 45px;
        padding: 20px 0;
    }
}
.page-header-title{
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 500;
    letter-spacing: .2em;
}
@media screen and (max-width:768px){
    .page-header-title{
        font-size: 2.4rem;
        letter-spacing: .15em;
    }
}

/*-------------
gallery
-------------*/
.pages._gallery{
    --gallery-pic_maxh: min(870px, calc(100dvh - 100px));
    --gallery-pic_gap: 40px;
}
.gallery-lead{
    width: var(--inner-width);
    margin: 0 auto 50px;
    line-height: 2;
    text-align: center;
}
@media screen and (max-width:768px){
    .gallery-lead{
        margin-bottom: 30px;
        line-height: 1.75;
        text-align: left;
    }
}
.gallery-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gallery-pic_gap);
    width: var(--inner-width);
    margin: 0 auto;
}
@media screen and (max-width:768px){
    .gallery-list{
        --my-gap: min(20px, var(--inner-sides_sp));
        gap: var(--my-gap);
    }
}
.gallery-list-item{
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-start;
    align-items: flex-start;
    width: calc(50% - (var(--gallery-pic_gap) / 2));
    max-height: var(--gallery-pic_maxh);
    min-height: 540px;
    overflow: hidden;
}
@media screen and (max-width:768px){
    .gallery-list-item{
        width: calc(50% - (var(--my-gap) / 2));
        max-height: none;
        min-height: 0;
    }
}
.gallery-list-item:nth-child(2n+1){
    justify-content: flex-end;
}
.gallery-list-item img{
    width: auto;
    max-height: 100%;
}

/* gallery-model */
.gallery-model{
    width: clamp(1000px, calc((var(--gallery-pic_maxh) / 3 * 4) + var(--gallery-pic_gap)), var(--inner-width));
    margin: 80px auto 0;
    padding: 40px 40px 45px;
    border: solid 1px var(--border-gray);
}
@media screen and (max-width:768px){
    .gallery-model{
        width: var(--inner-width_sp);
        margin-top: 40px;
        padding: 20px min(20px, var(--inner-sides_sp)) 25px;
    }
}
.gallery-model-head{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 20px;
    margin-bottom: 25px;
}
@media screen and (max-width:768px){
    .gallery-model-head{
        grid-template-columns: 2fr 1fr;
        gap: 0 5px;
        margin-bottom: 15px;
    }
}
.gallery-model-title{
    position: relative;
    padding-bottom: 25px;
}
.gallery-model-title::after{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--base-gray);
    content: "";
}
@media screen and (max-width:768px){
    .gallery-model-title{
        padding-bottom: 20px;
    }
    .gallery-model-title::after{
        width: 30px;
    }
}
.gallery-model-title-top{
    display: block;
    margin-bottom: 12px;
    color: var(--base-gray);
    font-family: var(--font-en);
    font-size: 1.6rem;
    line-height: 1;
}
.gallery-model-title-mid{
    display: block;
    font-family: var(--font-en);
    font-size: 32px;
    line-height: calc(1em + 5px);
    text-indent: -.05em;
}
.gallery-model-title-btm{
    display: block;
    margin-top: 5px;
    color: var(--accent-black);
    font-size: 1.8rem;
    font-weight: bold;
    line-height: calc(1em + 5px);
}
@media screen and (max-width:768px){
    .gallery-model-title-top{
        margin-bottom: 7px;
        font-size: 1.4rem;
    }
    .gallery-model-title-mid{
        font-size: 2rem;
        text-indent: -.025em;
    }
    .gallery-model-title-btm{
        margin-top: 3px;
        font-size: 1.4rem;
    }
}
.gallery-model-job{
    margin-top: 25px;
    font-weight: bold;
    line-height: calc(1em + 3px);
}
@media screen and (max-width:768px){
    .gallery-model-job{
        margin-top: 20px;
    }
}
.gallery-model-pic{
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.gallery-model-pic img{
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    max-height: 180px;
}
@media screen and (max-width:768px){
    .gallery-model-pic{
        grid-row: 1 / 2;
        aspect-ratio: unset;
    }
    .gallery-model-pic img{
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
        object-position: right bottom;
    }
}
.gallery-model-body p:not(:last-child){
    margin-bottom: 1em;
}
.gallery-model-links{
    margin-top: 30px;
}
@media screen and (max-width:768px){
    .gallery-model-links{
        margin-top: 20px;
    }
}
.gallery-model-links-item{
    line-height: 1;
}
.gallery-model-links-item:not(:last-child){
    margin-bottom: 14px;
}
@media screen and (max-width:768px){
    .gallery-model-links-item:not(:last-child){
        margin-bottom: 12px;
    }
}
.gallery-model-links-item a{
    display: inline-flex;
    gap: 8px;
    padding-top: 2px;
    font-weight: 500;
    line-height: calc(1em + 6px);
}
.gallery-model-links-item a::before{
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    margin-top: -2px;
    content: "";
}
.gallery-model-links-item._insta a::before{
    background: url(../images/icon_insta.png) no-repeat center / contain;
}
.gallery-model-links-item._line a::before{
    background: url(../images/icon_line.svg) no-repeat center / contain;
}
.gallery-model-links-item._link a::before{
    border-radius: 50%;
    background: var(--base-gray) url(../images/icon_link.svg) no-repeat center / 14px auto;
}
@media screen and (max-width:768px){
    .gallery-model-links-item a{
        padding-top: 0;
    }
    .gallery-model-links-item a::before{
        width: 24px;
        height: 24px;
        margin-top: 0;
        background-size: 12px auto;
    }
}
@media (any-hover: hover){
    .gallery-model-links-item a:hover{
        text-decoration: underline;
    }
}