@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { :root { scroll-behavior: smooth; } }
a, a:hover, a:not([href]):not([class]), a:not([href]):not([class]):hover { color: inherit; text-decoration: none; }

:root {
    --base-black: #202e2e;
    --base-black-muted: #788c8c;
    --bg-color-base: #fafafa;
    --hero-shadow-color: #008585;
    --primary-color-ll: #ebf7f5;
    --primary-color-l: #bfeee8;
    --primary-color: #50dada;
    --sub-color: #c1e76f;
    --cover-gradation-z: rgba(80, 218, 218, 0.7);
    --cover-gradation-a: rgba(193, 231, 111, 0.7);
    --danger-color-ll: #f7ebf7;
    --danger-color-ll-temporary: #fff3ff;
    /* 歌舞伎町用 */
    --yakankabuki-gradation: linear-gradient(to right, #65D8D4, #81F5C4);
    --yakankabuki-bg-base: #E1F8F7;
}

html, body {
    visibility: visible;
    opacity: 1;
}
body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: var(--base-black);
    background-color: var(--bg-color-base);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    margin: 0;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
}

nav {
    display: block;
    position: relative;
    width: 100%;
    padding: 0.5rem 0 0 0 ;
    margin-right: auto;
    margin-left: auto;
}

nav a, nav a:hover, nav a:focus {
    color: rgba(0, 0, 0, 0.9);
}

a {
    text-decoration: underline;
}

h1 {
    margin: 0.83em 0;
}
nav h1{
margin: 0;
width: 300px;
}

section {
    padding: 30px;
}

footer {
    text-align: center;
    background-color: var(--primary-color-ll);
    padding: 0.5rem;
}

footer a {
    padding: 0 0.5rem;
}
h2 {
    font-size: calc(1.325rem + 0.9vw);
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    margin-top: 0;
    margin-bottom: 3px;
}

h3 {
    font-size: 1.2rem;
    font-weight: bolder;
    line-height: 1.2;
    height: 2.5rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.action-button {
    position: relative;
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: inherit;
    border-radius: 100vh;
    padding: calc(1.2rem - 12px) 2.5rem 1.2rem;
    background: var(--bg-color-base);
    white-space: nowrap;
}
.action-button:before {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 100%;
    height: 100%;
    content: "";
    border: 3px solid var(--base-black);
    border-radius: 100vh;
}
.action-button-price {
    border-bottom:2px solid;
}

.header {
    text-align: center;
    padding-bottom: 2rem
}

.header-no-caption {
    padding-bottom: 3rem;
}
.header > span {
    color: var(--base-black-muted)
}

.header > p {
    max-width: 600px;
    font-size: .875em;
    margin: 1.5rem auto 0;
}

.font-color-red {
    color: #ff0000;
}

.nav-brand {
    text-decoration: none;
    white-space: nowrap;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
}

.nav-brand > img {
/*    position: absolute;*/
/*    display: inline;
    width: 2rem;
    top: 9px;*/
    position: static;             /* 既存の absolute を打ち消す */
/*    width: auto !important;   */    /* 2rem の上書きを確実にする */
 /*   height: 2.5rem;            */   /* 適切な高さに調整 */
 /*   max-height: 100%;
    vertical-align: middle;*/
}

.nav-brand > h1 {
    display: inline;
    margin-left: 1.5rem;
    margin-top: 3px;
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: normal;
    font-feature-settings: "palt";
    letter-spacing: -1px;
    line-height: 1.2;
}

@media (max-width: 768px) {
     .nav-brand > img {
        height: 3.5rem; 
    }
}


/* HERO --------------------------------------------------------------------------------------------------------------*/
.section-hero {
    min-height: 480px;
    text-align: right;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    position: relative;
    background-image: url('/wp-content/themes/swell_child/img/yakankabuki/fv_375.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* スモークをかける */
 .section-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(200,200,200,0.4);
    z-index: 1;
}
/* ヒーローコンテンツはスモークより上にする */
 .section-hero .hero-content {
    position: relative;
    z-index: 2;
}
/* PC用背景切り替え */
@media (min-width: 768px) {
     .section-hero {
        background-image: url('/wp-content/themes/swell_child/img/yakankabuki/fv_1200.svg');
    }
}

.hero-content {
    max-width: 1064px;
}
@media (min-width: 576px) {
    .hero-content {
        margin: 2rem;
    }
}
@media (min-width: 992px) {
    .hero-content {
        margin: 3.5rem;
    }
}
@media (min-width: 1200px) {
    .hero-content {
        margin: 3.5rem auto;
    }
}
.hero-slogan {
    font-weight: bolder;
    color: white;
    -moz-text-shadow: 0 0 30px var(--hero-shadow-color);
    -webkit-text-shadow: 0 0 30px var(--hero-shadow-color);
    text-shadow: 0 0 30px var(--hero-shadow-color);
    margin-bottom: 1rem;
    margin-top: 0;
    font-size: 2rem; 
    line-height: 1.4;
}
@media (min-width: 768px) {
    .hero-slogan-break {
        display: none;
    }
}
.hero-lead {
    font-size: 1.1rem;
    font-weight: bolder;
    max-width: 400px;
    margin-left: auto;
    color: white;
    margin-bottom: 3rem;
    -moz-text-shadow: 0 0 30px var(--hero-shadow-color);
    -webkit-text-shadow: 0 0 30px var(--hero-shadow-color);
    text-shadow: 0 0 30px var(--hero-shadow-color);
}
 .hero-slogan,
 .hero-lead {
    -moz-text-shadow: 0 0 15px var(--base-black);
    -webkit-text-shadow: 0 0 15px var(--base-black);
    text-shadow: 0 0 15px var(--base-black);
}

.hero-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.hero-drug-list {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-color-ll);
    padding: 1.5rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.6;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
    max-width: 400px;
    flex: 1 1 auto;
}
 .hero-drug-list p {
    margin: 0;
    font-weight: bold;
}
/* ボタン（オンライン診察を申し込む →）のデザイン調整 */
 .hero-cta-wrapper .action-button {
    flex-shrink: 0;
    font-weight: bold;
    color: white;
    background: var(--yakankabuki-gradation); /* グラデーション背景 */
    border: none;
    border-radius: 100vh;
    padding: 1rem 2.5rem;
    text-align: center;
    letter-spacing: 0.05em;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}
/* 既存の ::before 枠線がある場合はそのままでOK */
.hero-cta-wrapper .action-button::before {
    content: "";
    position: absolute;
    top: -6px;
    left: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    border: 3px solid var(--base-black);
    border-radius: 100vh;
    pointer-events: none;
}
/* スマホでは縦並び */
@media (max-width: 768px) {
.hero-cta-wrapper {
        flex-direction: column;
        justify-content: center;
    }
.hero-slogan {
        padding-top: 3rem;
    }
}



/* INFO --------------------------------------------------------------------------------------------------------------*/
.section-information {
    background-color: var(--danger-color-ll);
    padding: 1rem 1rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    text-align: center;
}
.section-information h2 {
    max-width: 600px;
    font-size: .9em;
    text-decoration: underline;
    margin-left: auto;
    margin-right: auto;
}
.section-information a {
    text-decoration: none;
}
.section-information p {
    max-width: 600px;
    font-size: .8em;
    margin: 0 auto;
}

.section-information-temporary {
    background-color: var(--danger-color-ll-temporary);
    padding: 1rem 1rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    text-align: center;
}
.section-information-temporary h2 {
    max-width: 600px;
    font-size: .9em;
    text-decoration: underline;
    margin-left: auto;
    margin-right: auto;
}
.section-information-temporary a {
    text-decoration: none;
}
.section-information-temporary p {
    max-width: 600px;
    font-size: .8em;
    margin: 0 auto;
}
/* SNS -----------------------------------------------------------------------------------------------------------*/
.section-sns {
    background-color: var(--yakankabuki-bg-base) ;
    padding: 2rem 0.75rem 0 0.75rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}
.sns-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}
.sns {
    text-align: center;
    margin: 15px;
    width: 150px;
    height: 150px;
    padding: 10px;
}
.sns-label {
    font-size: 0.9rem;
    display: block;
    font-weight: bolder;
}


/* CONCERN -----------------------------------------------------------------------------------------------------------*/
.section-concerns {
    background-color: var(--yakankabuki-bg-base);
    padding: 4rem 0.75rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}
.concerns-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}
.concerns {
    background-color: white;
    position: relative;
    border: 2px solid var(--base-black);
    border-radius: 1rem;
    text-align: center;
    margin: 15px;
    width: 150px;
    height: 150px;
    padding: 10px;
    -webkit-box-shadow: 8px 8px 0 var(--primary-color-l);
    box-shadow: 8px 8px 0 var(--primary-color-l);
}
.concerns-label {
    font-size: 0.9rem;
    display: block;
    font-weight: bolder;
}
.concerns > img {
    height: 80%;
}




/* ABOUT -------------------------------------------------------------------------------------------------------------*/
.section-about {
    background-color: var(--bg-color-base);
    text-align: center;
    padding: 4rem 0.75rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}
.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}
.about {
    background-color: var(--bg-color-base);
    border: 2px solid var(--base-black);
    border-radius: 1rem;
    padding: 20px;
    margin: 0.75rem 1.5rem;
    height: 100%;
    -webkit-box-shadow: 8px 8px 0 var(--primary-color-l);
    box-shadow: 8px 8px 0 var(--primary-color-l);
}
@media (min-width: 768px) {
    .about {
        max-width: 22%;
    }
}
@media (min-width: 1200px) {
    .about {
        min-height: 375px;
    }
}
.about > img {
    width: 150px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.about > .about-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: bolder;
    font-size: 1rem;
    line-height: inherit;
    height: inherit;
}
.about > .about-body {
    font-size: .875em;
}
.about-wrapper > p {
    margin: 0.75rem 1.5rem;
}


/* FLOW --------------------------------------------------------------------------------------------------------------*/
.section-flow {
    background-color: var(--bg-color-base);
    padding: 4rem 0.75rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}
.flow-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}
.flow {
    text-align: center;
    border: 2px solid var(--base-black);
    border-radius: 1rem;
    padding: 20px;
    margin: 0 30px 30px;
    height: 100%;
    -webkit-box-shadow: 8px 8px 0 var(--primary-color-l);
    box-shadow: 8px 8px 0 var(--primary-color-l);
}
.flow:last-child {
    margin-bottom: 1rem;
}
@media (min-width: 576px) {
    .flow {
        margin-bottom: 2rem;
    }
}
@media (min-width: 768px) {
    .flow {
        max-width: 62%;
    }
}
@media (min-width: 1200px) {
    .flow {
        max-width: 25%;
        min-height: 400px;
        padding-bottom: 15px;
    }
}
.flow > img {
    width: 150px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.flow > .flow-body {
    font-size: .875em;
}
.flow > hr {
    margin-left: auto;
    margin-right: auto;
    width: 1.5rem;
    height: 2px;
    background-color: var(--base-black);
    opacity: 1;
    border: none;
    margin-bottom: 2rem;
}

/* ACTION ------------------------------------------------------------------------------------------------------------*/
.section-action {
    background: var(--yakankabuki-gradation) ;
    padding: 4rem 0.75rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}


.section-action > div {
    text-align: center;
    margin-top: 0.5rem;
}

.section-action-in-article {
    padding: 0 0.75rem;
    margin-top: 48px;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}
.section-action-in-article > div {
    text-align: center;
    margin-top: 0.5rem;
}
.section-action-in-article .action-button {
    background-image: linear-gradient(to right, var(--cover-gradation-a) 0%, var(--cover-gradation-z) 100%);
    font-weight: bolder;
    color: white;
    -moz-text-shadow: 0 0 10px var(--hero-shadow-color);
    -webkit-text-shadow: 0 0 10px var(--hero-shadow-color);
    text-shadow: 0 0 10px var(--hero-shadow-color);
}

/* DRUG --------------------------------------------------------------------------------------------------------------*/
.section-drug {
    background-color: var(--bg-color-base);
    padding: 4rem 0.75rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}
.drug-wrapper {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}
.drug-wrapper+.drug-wrapper {
    margin-top: 3rem;
}
.drug-wrapper h3 {
    text-align: center;
    font-size: 1.5rem;
}
.drug-wrapper p {
    max-width: 980px;
    font-size: .875em;
    margin: 1rem auto;
    text-align: center;
}
.drug-wrapper small {
    display: block;
    max-width: 980px;
    margin: 0.5rem auto;
    text-align: center;
}
.drug-wrapper > hr {
    margin: 1rem auto;
    width: 1.5rem;
    height: 2px;
    background-color: var(--base-black);
    opacity: 1;
    border: none;
}
.drug-table-wrapper {
    overflow-x: scroll;
    border: 2px solid var(--base-black);
    border-radius: 1rem;
    padding: 10px 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.drug-table-wrapper::-webkit-scrollbar{
    display: none;
}
.drug-table {
    border-collapse: collapse;
    width: 100%
}
.drug-table td {
    padding: .5rem;
    min-width: 100px;
    text-align: right;
}
.drug-table tbody th {
    padding: .5rem;
    text-align: left;
    min-width: 150px;
}
.drug-table thead th {
    padding: .5rem;
    padding-right: 1rem;
    /* text-align: center; */
    text-align: right;
}

.drug-table td,th{
    border: none;
    border-top: 1px solid var(--base-black);
}
.drug-table td {
    padding: .5rem;
    min-width: 100px;
    text-align: right;
}
.drug-table thead td,
.drug-table thead th{
    border-top:none;
}

.drug-table td small {
    text-align: right;
    margin: 0;
    color: var(--base-black-muted);
    height: 19px;
}

.drug-table td .discount {
    color: red;
    font-size: smaller;
    font-weight: bold;
}
#section-drugs-std thead th {
    text-align: left;
    /* padding-left: 1rem; */
}

/* ACCESS --------------------------------------------------------------------------------------------------------------*/
.section-access {
    background-color: var(--yakankabuki-bg-base);
    padding: 4rem 0.75rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}
.access-wrapper {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}
.access-wrapper+.access-wrapper {
    margin-top: 3rem;
}
.access-wrapper h3 {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.5rem;
}
.access-wrapper p {
    max-width: 980px;
    text-align: center;
}
.access-wrapper hr {
    margin: 2rem auto;
    width: 1.5rem;
    height: 2px;
    background-color: var(--base-black);
    opacity: 1;
    border: none;
}

.access-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.access-step {
    width: calc(33.333% - 1.5rem);
    text-align: center;
}
.access-step img {
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}
.access-step p {
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .access-step {
        width: calc(50% - 1rem); /* 2列にする */
    }
}


/* ARTICLE------------------------------------------------------------------------------------------------------------*/
.section-article {
    background: var(--yakankabuki-gradation) ;
    background-color: transparent !important;
    padding: 4rem 0.75rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}
.section-article div {
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 30px;
}
.section-article div:last-child {
    margin-bottom: 0px;
}
.section-article-header {
    background: var(--yakankabuki-gradation) !important;
    background-color: transparent !important;
}


/* FAQ ---------------------------------------------------------------------------------------------------------------*/
.section-faq {
    background-color: var(--primary-color-ll);
    padding: 4rem 0.75rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}
.faq-wrapper {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.faq {
    text-align: left;
    background-color: var(--bg-color-base);
    border-radius: 1rem;
    padding: 20px 1.5rem;
    margin: 0 0 1.5rem 0;
}
.faq > h3 {
    cursor: pointer;
    height: inherit;
    margin: 0;
}
.faq > .faq-answer {
    font-size: .875em;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}
.faq > .faq-answer > p {
    padding-top: 1.5rem;
    margin: 0px;
}

/* ACTION MODAL ------------------------------------------------------------------------------------------------------*/
.action-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: var(--bg-color-base);
    text-align: center;
    padding: 4rem 3rem;
}

/* action modal button 周り綺麗にしたい*/
.action-modal-button {
    font-size: 1.4rem;
    display: block;
    max-width: 260px;
    height: 200px;;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    text-decoration: none;
    border-radius: 1rem;
    padding: 4.5rem 0rem;
    background: var(--bg-color-base);
    border: 3px solid var(--base-black);
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-shadow: 8px 8px 0 var(--primary-color-l);
    box-shadow: 8px 8px 0 var(--primary-color-l);
}
.action-modal-button small {
    display: inline;
    font-size: 1rem;
    line-height: 1px;
}

.action-modal-button-close {
    display: block;
    max-width: 200px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    text-decoration: none;
    border-radius: 100vh;
    padding: .75rem;
    background: var(--bg-color-base);
    border: 3px solid var(--base-black);
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

/* ARTICLE HEADER ----------------------------------------------------------------------------------------------------*/
.section-article-header {
    background-image: linear-gradient(to right, var(--cover-gradation-a) 0%, var(--cover-gradation-z) 100%);
    padding: 4rem 0.75rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}
.section-article-header > h1 {
    text-align: center;
    font-size: 2rem;
    color: white;
    -moz-text-shadow: 0 0 30px var(--hero-shadow-color);
    -webkit-text-shadow: 0 0 30px var(--hero-shadow-color);
    text-shadow: 0 0 30px var(--hero-shadow-color);
}
.section-article-body {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.section-article-body h2 {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-left: 0.8rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: left;
    border-left: solid 5px var(--base-black-muted);
}
.section-article-body h2:first-of-type {
    margin-top: 1rem;
}

.section-article-body h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    height: auto;
}
.section-article-body p {
    margin-bottom: 2rem;
}
.section-article-body ul {
    margin-bottom: 2rem;
}
/* breadcrumb --------------------------------------------------------------------------------------------------------*/
.breadcrumb {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1rem;
    padding-bottom: 0;
    font-size: 0.8rem;
    color: var(--base-black-muted)
}
/* articles ----------------------------------------------------------------------------------------------------------*/
.section-articles a {
    display: block;
    max-width: 100％;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    text-align: left;
}
.section-articles article {
    border: 2px solid var(--base-black);
    border-radius: 1rem;
    text-align: center;
    padding: 2rem;
    height: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.section-articles h3 {
    font-size: 1.2rem;
    text-align: left;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 47px;
}
.section-articles p {
    margin-bottom: 0px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: left;
}
.section-article-body .article-image {
    max-width: 100%;
    max-height: 50vh;
    margin-bottom: 32px;
}
.section-article-body strong {
    font-weight: bold;
    background: linear-gradient(transparent 70%, var(--primary-color-l) 70%);
}

.flex-container{
    display: flex;
    justify-content: space-around;
}
.flex-item{
    padding: 1em;
    margin: 0;
    flex-basis: 33%;
}
.flex-item h2 {
    text-align: center;
    margin-bottom: 48px;
    /* padding: auto; */
    font-size: 1.5rem;
    font-weight: bold;
}
.flex-item a {
    text-decoration: none;
}
.flex-item a h3 {
    text-decoration: underline;
}
.border_style {
    padding: 1em 0.5em 0.7em 1em;
    position: relative;
    z-index: 0;
    color: #333;
}
.border_style::before,
.border_style::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
}

.border_style::before {
    left: 8px;
    top: 8px;
    background: #ddd;
    /* background-image: linear-gradient(to right, var(--cover-gradation-a) 0%, var(--cover-gradation-z) 100%); */
    z-index: -2;
}

.border_style::after {
    left: 0;
    top: 0;
    border: 2px solid #333;
    z-index: -1;
}

/*その他の設定*/
*,::before, ::after {
    box-sizing: border-box;
}

@media screen and (max-width:768px) {
    .flex-container{flex-direction:column;}
    .flex-item{margin: 0 1em 1em;}
}

@media screen and (max-width:992px) {
    .section-articles h3 {height: 100%;}
}

/* disclaimer --------------------------------------------------------------------------------------------------------*/
.section-disclaimer-bg {
    background-image: linear-gradient(to right, var(--cover-gradation-a) 0%, var(--cover-gradation-z) 100%);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    left: 50%;
    top: 50%;
}
.section-disclaimer {
    background-color: var(--bg-color-base);
    border: 2px solid var(--base-black);
    border-radius: 0.5rem;
    display: block;
    max-width: 700px;
    margin: 2rem auto;
    padding: 40px 52px;
    text-align: left;
    max-height: 90vh;
    overflow-y: auto;
}
.section-disclaimer div {
    margin-bottom: 28px;
}
.section-disclaimer h2 {
    font-size: 1.2rem;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
}
.section-article-body .article-image {
    max-width: 100%;
}
.section-article-body strong {
    font-weight: bold;
    background: linear-gradient(transparent 70%, var(--primary-color-l) 70%);
}
.section-disclaimer a {
    text-decoration: underline;
}

/* ボタン共通設定 */
.section-disclaimer button {
    border: 2px solid var(--base-black);
    text-align: left;
    margin: 5px 0;
    width: 100%;
    /*矢印の基点とするためrelativeを指定*/
    position: relative;
    /*ボタンの形状*/
    text-decoration: none;
    display: inline-block;
    /* background:var(--bg-color-base); */
    /* color:#fff; */
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    outline: none;
    /*アニメーションの指定*/
    transition: ease .2s;
}

.btn06:hover{
    background: var(--cover-gradation-a);
}

/* 矢印が右に移動して現在地に戻る */

.btnarrow2::after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    top:42%;
    right: 13px;
    /*矢印の形状*/
    width: 10px;
    height: 10px;
    border-top: 2px solid;
    border-right: 2px solid;
    transform: rotate(45deg);
}

/*hoverした際のアニメーション*/
.btnarrow2:hover::after{
    animation: arrow .5s;
}

@keyframes arrow {
    50% {
        right: 10px;
    }
    100% {
        right: 13px;
    }
}

.section-salon-header {
    background-image: linear-gradient(to right, var(--cover-gradation-a) 0%, var(--cover-gradation-z) 100%);
    /* background: url('../video/credgarden.MP4'); */
    padding: 4rem 0.75rem;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

.section-salon-header > h1 {
    text-align: center;
    font-size: 2rem;
    color: white;
    -moz-text-shadow: 0 0 30px var(--hero-shadow-color);
    -webkit-text-shadow: 0 0 30px var(--hero-shadow-color);
    text-shadow: 0 0 30px var(--hero-shadow-color);
    margin-bottom: 1rem;
}

.section-salon-header > h2 {
    text-align: center;
    font-size: 1.2rem;
    color: white;
    -moz-text-shadow: 0 0 30px var(--hero-shadow-color);
    -webkit-text-shadow: 0 0 30px var(--hero-shadow-color);
    text-shadow: 0 0 30px var(--hero-shadow-color);
    margin-bottom: 1.5rem;
}

.salon-logo-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.salon-logo-card {
    width: 300px;
    height: 200px;
    background-color: var(--bg-color-base);
    border-radius: 1rem;
    margin: 25px;
    position: relative;
}
.salon-logo-card img {
    width: 240px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.section-salon-body {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}
.section-salon-body h2 {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-left: 0.8rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;

    text-align: left;
    border-left: solid 5px var(--base-black-muted);
}
.section-salon-body h2:first-of-type {
    margin-top: 1rem;
}

.section-salon-body h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    height: auto;
}
.section-salon-body p {
    margin-bottom: 2rem;
}
.section-salon-body ul {
    margin-bottom: 2rem;
}

.action-button-hint {
    max-width: 600px;
    text-align: center;
    background-color: white;
    width: fit-content;
    margin-top: 1.5rem!important;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 1rem;
    font-size: .8rem;
    word-break: break-all;
    /*border-radius: 0.5rem;*/
}

.action-button-hint a {
    text-decoration: underline;
}

.course-price {
    font-weight: bold;
    width: fit-content;
    margin-left: auto;
    margin-bottom: 2rem;
    text-align-last: justify;
}

hr {
    margin-bottom: 2rem;
    height: 1px;
    border: none;
    background-color: var(--base-black-muted);
}

.service-image {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border:1px solid var(--base-black-muted);
}

/* carousel ----------------------------------------------------------------------------------------------------------*/
.section-salon-carousel {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    padding-bottom: 0;
}
.carousel {
    display: block;
    text-align: left;
    position: relative;
}
.carousel > input {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    bottom: 150px;
}
.carousel > input:nth-of-type(6):checked ~ .carousel__slides .carousel__slide:first-of-type {
    margin-left: -500%;
}
.carousel > input:nth-of-type(5):checked ~ .carousel__slides .carousel__slide:first-of-type {
    margin-left: -400%;
}
.carousel > input:nth-of-type(4):checked ~ .carousel__slides .carousel__slide:first-of-type {
    margin-left: -300%;
}
.carousel > input:nth-of-type(3):checked ~ .carousel__slides .carousel__slide:first-of-type {
    margin-left: -200%;
}
.carousel > input:nth-of-type(2):checked ~ .carousel__slides .carousel__slide:first-of-type {
    margin-left: -100%;
}
.carousel > input:nth-of-type(1):checked ~ .carousel__slides .carousel__slide:first-of-type {
    margin-left: 0;
}
.carousel > input:nth-of-type(1):checked ~ .carousel__thumbnails li:nth-of-type(1) img,
.carousel > input:nth-of-type(2):checked ~ .carousel__thumbnails li:nth-of-type(2) img,
.carousel > input:nth-of-type(3):checked ~ .carousel__thumbnails li:nth-of-type(3) img,
.carousel > input:nth-of-type(4):checked ~ .carousel__thumbnails li:nth-of-type(4) img,
.carousel > input:nth-of-type(5):checked ~ .carousel__thumbnails li:nth-of-type(5) img,
.carousel > input:nth-of-type(6):checked ~ .carousel__thumbnails li:nth-of-type(6) img {
    opacity: 0.5;
}

.carousel__slides {
    position: relative;
    z-index: 1;
    padding: 0;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    display: flex;
}

.carousel__slide {
    position: relative;
    display: block;
    flex: 1 0 100%;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: all 300ms ease-out;
    vertical-align: top;
    box-sizing: border-box;
    white-space: normal;
}
.carousel__slide:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 100%;
}
.carousel__slide img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    flex: 1 1 auto;
    object-fit: contain;
    background-color: var(--base-black);
}

.carousel__thumbnails {
    list-style: none;
    padding: 0;
    display: flex;
    margin: 0 -10px;
}
.carousel__slides + .carousel__thumbnails {
    margin-top: 20px;
}
.carousel__thumbnails li {
    flex: 1 1 auto;
    max-width: calc((100% / 5) - 20px);
    margin: 0 10px;
    transition: all 300ms ease-in-out;
}
.carousel__thumbnails label {
    display: block;
    position: relative;
}
.carousel__thumbnails label:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: 100%;
}
.carousel__thumbnails img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border:1px solid var(--base-black-muted);
}
.carousel__thumbnails label:hover, .carousel__thumbnails label:focus {
    cursor: pointer;
}

video {
    margin: 1rem auto;
    width: 100%;
}
/* 固定ページ */
.page-id-262 .l-mainContent {
    max-width: 980px;
    margin: 2rem auto;
}

.page-id-266 .l-mainContent {
    max-width: 980px;
    margin: 2rem auto;
}

.page-id-284 .l-mainContent {
    max-width: 980px;
    margin: 2rem auto;
}

.page-id-266 .post_content .wp-block-table {
    margin: 0.75rem auto;
    max-width: 100%;
    border: none;
    border-radius: 0;
    padding: 0;
}

.page-id-266 .post_content .wp-block-table table  {
    white-space: normal;
    word-wrap: break-word;
}

.page-id-266 .post_content .wp-block-table table tbody td:first-child {
    width: 30%;
}
.page-id-266 .post_content .wp-block-table table tbody td:last-child {
    width: 70%;
}

/* メールアドレス入力と確認を縦並びにする */
#wpforms-280-field_2,
#wpforms-280-field_2-confirm {
    display: block; /* 縦並びにする */
    width: 100%; /* フィールド全体の幅を確保 */
}

/* ラベルの間隔を調整（オプション） */
#wpforms-280-field_2 label,
#wpforms-280-field_2-confirm label {
}

.wpforms-container .wpforms-field .wpforms-field-row {
    align-items: start;
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
}
.wpforms-container .wpforms-field .wpforms-field-row .wpforms-field-row-block {
    padding: 0 0 10px 0;
}
.wpforms-container .wpforms-field .wpforms-field-row .wpforms-one-half, .wpforms-container .wpforms-field .wpforms-field-row .wpforms-three-sixths, .wpforms-container .wpforms-field .wpforms-field-row .wpforms-two-fourths {
    width: 100%;
}
/**
 * 投稿ページ
 */

.post_content {
    line-height: 1.5;
}
.post_content .wp-block-table {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    overflow-x: scroll;
    border: 2px solid var(--base-black);
    border-radius: 1rem;
    padding: 10px 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.post_content .wp-block-table::-webkit-scrollbar {
    display:none;
}
.post_content .wp-block-table table {
    border-collapse: collapse;
    width: 100%;
    white-space: nowrap;
}
.post_content .wp-block-table table tbody tr:first-child td {
    border-top: none;
}
.post_content .wp-block-table table tbody td {
    padding: .5rem;
    min-width: 150px;
    border: none;
    border-top: 1px solid var(--base-black);
    position: initial;
}
.post_content .wp-block-table table tbody strong {
    background: initial;
}
.post_content .wp-block-table.table-law {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    overflow-x:auto;
    border:none;
    border-radius: 0;
    padding: 10px 20px;
    max-width: 100%;
	margin: auto;
}
.post_content .wp-block-table.table-law table {
    white-space: normal;
}
.post_content .wp-block-table.table-law>table tr>:first-child {
width: 250px;
}

.post_content h2 {
    font-size: 1.5rem;
    margin: 1rem 0 2rem 0 !important;
    padding-left: 0.8rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-align: left;
    border-left: solid 5px var(--base-black-muted);
    color: var(--base-black);
    background: initial;
}
.post_content h2::before {
    display: none;
}
.post_content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    height: auto;
    font-weight: bolder;
    line-height: 1.2;
    margin-top: 2rem;
    padding: 0;
}
.post_content h3::before {
    display: none;
}
.post_content ol {
    padding-left: 40px;
}
.post_content li {
    margin: 0;
}
.wp-block-buttons {
    padding: 0 0.75rem;
    margin: 48px auto 20px;
    width: 100%;
}
.wp-block-buttons .wp-block-button .wp-block-button__link {
    position: relative;
    display: inline-block;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    border-radius: 100vh;
    padding: calc(1.2rem - 12px) 2.5rem 1.2rem;
    background: var(--bg-color-base);
    white-space: nowrap;
    color: white;
    background: var(--yakankabuki-gradation) ;
    color: white;
    font-weight: bold;
    border: none;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}
.wp-block-buttons .wp-block-button .wp-block-button__link::before {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 100%;
    height: 100%;
    content: "";
    border: 3px solid var(--base-black);
    border-radius: 100vh;
}

.mb-0 {
    margin-bottom: 0px;
}

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

.post_content .wp-block-table.table-law td{
display: block;
width: 100%;
min-width: 100%;
 border-top: none;
}
.post_content .wp-block-table.table-law tr{
border-bottom: solid 1px #000;
}
.post_content .wp-block-table.table-law td{
width: 100%;
padding: 0 .5rem 1rem .5rem;
}
.post_content .wp-block-table.table-law tr>:first-child{
width: 100%;
padding: 1rem .5rem 0 .5rem;
color: #788c8c;
}

}




