/* H-24B3: MERFOIS static pages / price / access / recruit fidelity layer. */

.mf-static-section{
    padding:46px 0 82px;
    background:#fff;
}
.mf-static-page{
    width:min(920px,100%);
    margin-inline:auto;
}
.mf-static-page__body{
    color:#4f4548;
    font-size:11px;
    line-height:2;
}
.mf-static-page__body> :first-child{margin-top:0}
.mf-static-page__body h2,
.mf-static-page__body h3,
.mf-static-page__body h4{
    color:#2d2528;
    font-weight:600;
    line-height:1.65;
}
.mf-static-page__body h2{
    margin:38px 0 16px;
    padding-bottom:10px;
    border-bottom:1px solid #e6dfe0;
    font-size:18px;
}
.mf-static-page__body h3{margin:28px 0 12px;font-size:15px}
.mf-static-page__body h4{margin:22px 0 10px;font-size:13px}
.mf-static-page__body p{margin:0 0 17px}
.mf-static-page__body ul,
.mf-static-page__body ol{margin:0 0 20px;padding-left:1.6em}
.mf-static-page__body li+li{margin-top:6px}
.mf-static-page__body a{color:#aa3f55;text-decoration:underline;text-underline-offset:2px}
.mf-static-page__body img{display:block;max-width:100%;height:auto;margin:22px auto}
.mf-static-page__body table{
    width:100%;
    margin:20px 0 28px;
    border-collapse:collapse;
    background:#fff;
    font-size:10px;
}
.mf-static-page__body th,
.mf-static-page__body td{
    padding:10px 12px;
    border:1px solid #e4dcde;
    text-align:left;
    vertical-align:top;
}
.mf-static-page__body th{width:26%;background:#f8f3f4;color:#53474b;font-weight:600}
.mf-static-page__body blockquote{
    margin:24px 0;
    padding:14px 18px;
    border-left:2px solid #bd5267;
    background:#faf6f7;
    color:#665a5e;
}

/* Price/system */
.mf-system-section{padding:46px 0 76px;background:#fff}
.mf-system-wrap{width:min(920px,100%);margin-inline:auto}
.mf-system-intro{
    margin-bottom:30px;
    padding:18px 20px;
    background:#faf6f7;
    border:1px solid #eee5e7;
}
.mf-system-intro>span{
    color:#aa8132;
    font-family:"Cormorant Garamond",serif;
    font-size:11px;
    font-weight:600;
    letter-spacing:.12em;
}
.mf-system-intro h2{margin:3px 0 8px;color:#2b2326;font-size:18px;font-weight:600}
.mf-system-intro p{margin:0;color:#766b6f;font-size:10px;line-height:1.9}
.mf-system-wrap [data-aic-component="courses"]{margin-top:0}
.mf-system-wrap table,
.mf-system-wrap .aic-course-table{width:100%}
.mf-current-price-table{width:100%}
.mf-price-table{
    width:100%;
    margin:0;
    border-collapse:collapse;
    table-layout:fixed;
    background:#fff;
    border-top:1px solid #e4dcde;
    border-left:1px solid #e4dcde;
}
.mf-price-table th,
.mf-price-table td{
    padding:14px 18px;
    border-right:1px solid #e4dcde;
    border-bottom:1px solid #e4dcde;
    vertical-align:middle;
}
.mf-price-table th{
    width:58%;
    background:#faf6f7;
    color:#372e31;
    font-size:12px;
    font-weight:600;
    text-align:left;
}
.mf-price-table td{
    color:#241d1f;
    font-size:13px;
    font-weight:700;
    text-align:right;
    white-space:nowrap;
}
.mf-price-table th span{display:inline-block}
.mf-price-table th em{
    display:inline-block;
    margin-left:8px;
    padding:2px 7px;
    border-radius:999px;
    background:#b74058;
    color:#fff;
    font-size:8px;
    font-style:normal;
    font-weight:700;
    line-height:1.5;
    vertical-align:1px;
}
.mf-price-table__note{
    margin:12px 0 0;
    color:#756a6e;
    font-size:10px;
    line-height:1.8;
}
.mf-system-note{margin:18px 0 0;color:#8b7f83;font-size:9px}
.mf-system-caution{width:min(920px,100%);margin-inline:auto}
.mf-system-caution p{margin:0;color:#65595d;font-size:10px;line-height:1.9}

/* Common utility for address/access/recruit rich content. */
.mf-static-page__body .aic-button,
.mf-static-page__body .button,
.mf-static-page__body a[role="button"]{
    display:inline-flex;
    min-height:40px;
    align-items:center;
    justify-content:center;
    padding:8px 18px;
    border:1px solid #3c3336;
    background:#3c3336;
    color:#fff;
    font-size:9px;
    text-decoration:none;
}
.mf-static-page__body iframe{max-width:100%;border:0}


/* Legacy WordPress page title */
.mf-wp-title{
    position:relative;
    font-family:"Libre Bodoni","Noto Serif JP",serif;
    font-size:30px;
    font-weight:700;
    letter-spacing:.2em;
    line-height:1;
    text-align:center;
    margin:50px 0 40px;
    background:linear-gradient(45deg,#B67B03 0%,#DAAF08 45%,#FEE9A0 70%,#DAAF08 85%,#B67B03 90% 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}
.mf-wp-title span{
    display:block;
    margin-top:10px;
    font-size:14px;
    background:inherit;
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}
.mf-wp-title::before{
    content:"";
    position:absolute;
    width:80px;
    height:5px;
    bottom:-5%;
    left:50%;
    transform:translateX(-50%) translateY(10px);
    background:linear-gradient(45deg,#B67B03 0%,#DAAF08 45%,#FEE9A0 70%,#DAAF08 85%,#B67B03 90% 100%);
}
.mf-static-section--wp-access{
    padding-top:1px;
}
.aic-system-page-price>.mf-wp-title{
    margin-top:100px;
}
.mf-static-page__body>.mf-wp-access>.mf-wp-title{
    margin-top:54px;
}
.aic-system-page-price .mf-system-prohibited__body ul{
    margin:0 0 18px;
    padding-left:1.5em;
    color:#444;
    font-size:14px;
    line-height:1.9;
}
.aic-system-page-price .mf-system-prohibited__body p{
    margin:0;
    color:#444;
    font-size:14px;
    line-height:1.9;
}
.aic-system-page-price .lb-system-note.st{
    color:#b00020;
}
@media(min-width:740px){
    .mf-wp-title{
        font-size:38px;
        letter-spacing:.6em;
        margin-bottom:60px;
    }
    .mf-wp-title::before{bottom:-15%}
}

/* WordPress fidelity: price / system */
.aic-system-page-price .mf-system-section.lb-system-area{
    padding:60px 0 80px;
    background:transparent;
}
.aic-system-page-price .lb-system-inner{
    max-width:920px;
    margin:0 auto;
    padding:0 16px;
    box-sizing:border-box;
}
.aic-system-page-price .mf-system-wrap{
    max-width:none;
    margin:0;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
}
.aic-system-page-price .lb-system-card{
    position:relative;
    margin:0 auto 34px;
    background-color:rgba(255,255,255,.9);
    border:8px solid #430000;
    box-sizing:border-box;
}
.aic-system-page-price .lb-system-card-body{
    padding:26px 24px 28px;
}
.aic-system-page-price .lb-system-card--arrow::before{
    content:"";
    position:absolute;
    left:50%;
    top:0;
    transform:translateX(-50%);
    width:0;
    height:0;
    border-style:solid;
    border-width:14px 14px 0 14px;
    border-color:#430000 transparent transparent transparent;
}
.aic-system-page-price .lb-system-card-title{
    display:block;
    font-size:26px;
    text-align:center;
    letter-spacing:.3em;
    margin:4px 0 22px;
    padding:0 0 10px;
    position:relative;
    font-weight:700;
    color:#430000;
    line-height:1.5;
}
.aic-system-page-price .lb-system-card-title::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    width:70px;
    height:3px;
    background-color:#430000;
}
.aic-system-page-price .mf-system-intro{
    border:0;
    background:transparent;
    text-align:initial;
}
.aic-system-page-price .mf-system-intro span{display:none}
.aic-system-page-price .mf-system-intro h2{color:#430000}
.aic-system-page-price .lb-system-text,
.aic-system-page-price .lb-system-note{
    font-size:14px;
    line-height:1.9;
    color:#444;
}
.aic-system-page-price .lb-system-note{
    margin-top:14px;
}
.aic-system-page-price .lb-system-table{
    width:100%;
    border-collapse:collapse;
    margin-top:10px;
    font-size:20px;
    letter-spacing:.2em;
}
.aic-system-page-price .lb-system-table th,
.aic-system-page-price .lb-system-table td{
    vertical-align:middle;
    background-color:transparent;
    border:0;
}
.aic-system-page-price .lb-system-table th{
    width:auto;
    padding:14px 0 8px 20px;
    text-align:left;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    white-space:nowrap;
    font-size:20px;
}
.aic-system-page-price .lb-system-table td{
    padding:14px 20px 8px 0;
    text-align:right;
    font-size:20px;
}
.aic-system-page-price .lb-system-table tr:nth-of-type(2n+1){
    background-color:transparent;
}
.aic-system-page-price .lb-system-table tr{
    border-bottom:1px solid #430000;
}
.aic-system-page-price .lb-system-row-em{
    border-bottom-width:2px;
}
.aic-system-page-price .plan-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto;
    margin:0 0 0 8px;
    padding:2px 8px;
    font-size:.6rem;
    border-radius:50px;
    background:#facc15;
    color:#430000;
    font-weight:700;
    letter-spacing:0;
    font-style:normal;
}
.aic-system-page-price .mf-price-table__note{
    color:#444;
}
.aic-system-page-price .mf-system-options{margin-top:0}
.aic-system-page-price .mf-system-caution__body{
    padding:0;
    border:0;
    background:transparent;
}
.aic-system-page-price .mf-system-caution__body p{
    margin:0 0 .7em;
    color:#444;
    font-size:14px;
    line-height:1.9;
}
.aic-system-page-price .mf-system-caution__body p:last-child{margin-bottom:0}
@media(min-width:960px){
    .aic-system-page-price .lb-system-inner{padding:0}
    .aic-system-page-price .lb-system-card{margin-bottom:40px}
}

/* WordPress fidelity: access */
.mf-wp-access{
    width:100%;
}
.mf-wp-access .subbox{
    width:90%;
    margin:0 auto;
}
.mf-wp-access__intro{
    margin:0 auto 40px;
}
.mf-static-page__body .mf-wp-access__intro p{
    margin:0;
    color:#fff;
    font-size:.9rem;
    line-height:1.8;
}
.mf-wp-access .text-section{
    margin:40px 10px;
}
.mf-static-page__body .mf-wp-access .section-header{
    margin:0;
    padding:10px;
    border:1px solid #430000;
    background-color:#430000;
    color:#fff;
    font-size:1rem;
    font-weight:600;
    line-height:1.6;
    text-align:center;
}
.mf-static-page__body .mf-wp-access .section-content{
    padding:15px;
    border:1px solid #ddd;
    border-top:0;
    font-size:.9rem;
    line-height:1.6;
}
.mf-static-page__body .mf-wp-access .section-content p{
    margin:0;
    color:#fff;
    font-size:.9rem;
    line-height:1.6;
}
.mf-wp-access .map-wrapper{
    margin-top:15px;
}
.mf-wp-access__map{
    position:relative;
    width:100%;
    overflow:hidden;
    background:#f8f5f6;
    aspect-ratio:16/7;
}
.mf-static-page__body .mf-wp-access__map iframe{
    display:block;
    width:100%;
    height:100%;
    margin:0;
    border:0;
}
@media(min-width:1000px){
    .mf-wp-access .subbox{
        width:60%;
    }
}

@media(max-width:700px){
    .mf-static-section,.mf-system-section{padding:32px 0 60px}
    .mf-static-page__body{font-size:10px}
    .mf-static-page__body h2{font-size:16px;margin-top:30px}
    .mf-static-page__body h3{font-size:13px}
    .mf-static-page__body table{display:block;overflow-x:auto;font-size:9px}
    .mf-static-page__body th,.mf-static-page__body td{min-width:90px;padding:8px 9px}
    .mf-system-intro{padding:15px}
    .mf-system-intro h2{font-size:16px}
    .mf-price-table th,.mf-price-table td{padding:12px 11px}
    .mf-price-table th{width:58%;font-size:11px}
    .mf-price-table td{font-size:12px}
    .mf-price-table th em{display:block;width:max-content;margin:4px 0 0;font-size:7px}
    .mf-price-table__note{font-size:9px}
    .aic-system-page-price .mf-system-section.lb-system-area{padding:40px 0 60px}
    .aic-system-page-price .lb-system-card-body{padding:20px 16px 22px}
    .aic-system-page-price .lb-system-card-title{margin-bottom:18px;font-size:26px}
    .aic-system-page-price .lb-system-table th{width:auto;padding:14px 0 8px 8px;font-size:20px}
    .aic-system-page-price .lb-system-table td{padding:14px 8px 8px 0;font-size:20px}
    .aic-system-page-price .plan-badge{display:inline-flex;width:auto;margin:0 0 0 8px;font-size:.6rem}
    .aic-system-page-price .mf-price-table__note{font-size:14px}
    .aic-system-page-price .mf-system-caution__body{padding:0}
    .aic-system-page-price .mf-system-caution__body p{font-size:14px}
    .mf-wp-access{gap:30px}
    .mf-static-page__body .mf-wp-access__room{padding-bottom:28px}
    .mf-static-page__body .mf-wp-access__room h2{font-size:20px}
    .mf-static-page__body .mf-wp-access__address{font-size:14px}
    .mf-static-page__body .mf-wp-access__room h3{font-size:16px}
    .mf-static-page__body .mf-wp-access__room ul{font-size:14px}
    .mf-wp-access__map{aspect-ratio:4/3}
}
