/*
Theme Name: Ohana biyou and yobou clinic Website
Description: オハナ美容と予防のクリニック
Author: ＴＤクリエイション
Author URI: https://td-creation.com
Version: 20251012114100
*/

/* ----------------------------------------------------------
 * 共通パーツ
 * ----------------------------------------------------------
 */
/* 見出し */
.pageTitle {
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    background-image: url(images/logo.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: auto 60px;
    padding-top: 68px;
}
.pageTitle__ja {
    display: block;
    font-size: 28px;
    line-height: 1.25;
}
.pageTitle__en {
    display: block;
    font-size: 18px;
    line-height: 1.25;
}

.pageTitle.white--type {
    background-image: url(images/logo_white.png);
}

/* PCとモバイルの切り替え用 class */
.pc { display: none!important; }
.sp { display: block!important; }


/* 特殊改行タグ */
br.only-sp,
div.only-sp {
    display: block;
}
br.only-tabsp,
div.only-tabsp {
    display: block;
}
br.all-dev,
div.all-dev {
    display: block;
}

.text_align_left   { text-align: left; }
.text_align_center { text-align: center; }
.text_align_right  { text-align: right; }

/* 角丸ボタンスタイル */
.attentionArea {
    text-align: center;
    margin: 2rem 0;
}

.rounded-btn {
    width: 300px;
    height: 60px;
    background-color: var(--blue-dark-color);
    color: #fff!important;
    text-decoration: none;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.rounded-btn:hover {
    opacity: 0.7;
}

/* ----------------------------------------------------------
 * レイアウト
 * ----------------------------------------------------------
 */
/* ヘッダー */
.lyHeader {
    width: 100%;
}
.lyHeader__inner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* フッター */
.lyFooter {
    width: 100%;
    background-color: var(--blue-dark-color);
    color: white;
}

.lyFooter__inner {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    text-align: center;
}

/* コンテンツ */
.lyCommon {
    width: 100%;
}
.lyCommon__inner {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
}

/* CTA */
.lyCta {
    background-image: url(images/bg_cta.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    color: var(--blue-dark-color);
}

.lyCta__inner {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* ----------------------------------------------------------
 * ヘッダー
 * ----------------------------------------------------------
 */

/* ナビゲーションバー */
.navMenu__body {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: white;
    position: absolute;
}

/* ロゴ */
.navMenu__logo {
    line-height: 1;
    z-index: 1;
}
.navMenu__logo a {
    display: inline-block;
}
.navMenu__logo img {
    width: auto;
    height: 80px;
}

/* ハンバーガーメニューのボタン描画 */
.navMenu__hamburgerButton {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 46px;
    height: 46px;
    background: none;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}
.navMenu__hamburgerButton span {
    /* ここで「三本線」を描画する */
    display: block;
    height: 4px;
    background-color: var(--gold-dark-color);
    border-radius: 2px;
    transition: all 0.4s ease;
}
.navMenu__hamburgerButton.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 20px);
    background-color: white;
}
.navMenu__hamburgerButton.active span:nth-child(2) {
    opacity: 0;
}
.navMenu__hamburgerButton.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -20px);
    background-color: white;
}

/* ナビゲーションバー　メニューリスト */
.navMenu__list ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.navMenu__list a {
    color: white;
    text-decoration: none;
    display: block;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
}

/* ヘッダーメニューに関するレスポンシブの記述 */
@media (max-width: 869px) {
    .overlay.active {
        display: block;
    }

    .navMenu__hamburgerButton {
        display: flex;
    }

    /* ナビゲーション　メニューリスト */
    .navMenu__list {
        display: none;
        position: absolute;
        top: 76px;
        right: 0;
        background-color: var(--blue-color);
        width: 100%;
        transform: translateY(-20px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 1001;
    }

    .navMenu__list ul {
        flex-direction: column;
        padding: 10px;
    }

    .navMenu__list.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }

    /* スクロール制御用 */
    body.no-scroll {
        overflow: hidden;
    }
}

/* ----------------------------------------------------------
 * CTA
 * ----------------------------------------------------------
 */

.ctaUnit__title {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 21px;
    line-height: 1.25;
}

.ctaUnit__desc {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1.5;
    text-align: center;
}

.ctaUnit__btnLINE a,
.ctaUnit__btnTEL a {
    display: inline-block;
    width: 260px;
    padding: 5px 0;
    background-color: white;
    border: 2px solid var(--gold-dark-color);
    color: var(--gold-dark-color);
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    font-style: normal;
    margin: 1rem 0;
    border-radius: 6px;
    transition: opacity 0.2s;
}
.ctaUnit__btnLINE a:hover,
.ctaUnit__btnTEL a:hover {
    opacity: 0.7;
}
.ctaUnit__btnLINE a {
}
.ctaUnit__btnTEL a {
}
.ctaUnit__btnLINE a img,
.ctaUnit__btnTEL a img {
    vertical-align: top;
    margin-right: 8px;
    width: 32px;
    height: 32px;
}

/* ----------------------------------------------------------
 * フッター
 * ----------------------------------------------------------
 */
.footerInfo__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footerInfo__logo {
    margin: 1rem 1rem 0;
}
.footerInfo__address {
    margin: 1rem;
}
.footerInfo__logo img {
    line-height: 1;
    width: 156px;
    height: auto;
}
.footerInfo__name {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
}

/**/
/* ボタンの指定 */
.js-backToTop {
    position: fixed;
    display: block;
    right: 0;
    bottom: 64px;
    width: 40px;
    height: 40px;
    background: var(--gold-dark-color);
    border: 0;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}
/* クラス付与時の指定 */
.is-active {
    opacity: 1;
    visibility: visible;
}

/* ----------------------------------------------------------
 * コンテンツ（トップページ）
 * ----------------------------------------------------------
 */

/* メインビジュアル */
.mainVisual {
    position: relative;
    width: 100%;
    height: 600px;
    background-image: url(images/main-visual.jpg);
    background-size: cover;
    background-position: left -30px top;
    background-repeat: no-repeat;
}
.mainVisual__cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 47, 69, 0.1);
}
.mainVisual__catchCopy {
    position: absolute;
    top: 34%;
    left: 8%;
    width: 80%;
    color: white;
    text-align: left;
}
.mainVisual__catchCopy h1 {
    letter-spacing: 0.25rem;
}
.mainVisual__subText {
    position: absolute;
    bottom: 14%;
    left: 8%;
    width: 80%;
    color: white;
    text-align: left;
}
.mainVisual__subText h2 {
    font-size: 1.25rem;
    line-height: 1.5;
}

.mainVisual__navButton {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.mainVisual__navButton ul {
    display: flex;
    flex-direction: row;
    width: 100%;
}
.mainVisual__navButton ul li{
    flex-grow: 1;
}
.mainVisual__navButtonLINE a {
}
.mainVisual__navButtonTEL a {
}
.mainVisual__navButtonLINE a,
.mainVisual__navButtonTEL a {
    display: block;
    padding: 6px 0;
    background: #050C5E;
    background: linear-gradient(180deg,rgba(5, 12, 94, 1) 0%, rgba(65, 70, 152, 1) 100%);
    border: 1px solid var(--gold-dark-color);
    color:white;
    text-align: center;
    text-decoration: none;
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    font-style: normal;
    transition: opacity 0.2s;
}
.mainVisual__navButtonLINE a:hover,
.mainVisual__navButtonTEL a:hover {
    opacity: 0.7;
}
.mainVisual__navButtonLINE a {
}
.mainVisual__navButtonTEL a {
}
.mainVisual__navButtonLINE a img,
.mainVisual__navButtonTEL a img {
    vertical-align: text-bottom;
    margin-right: 8px;
    width: 24px;
    height: 24px;
}

/* 当院について */
.aboutArea {
    width: 96%;
    max-width: 1000px;
    margin: 1rem auto;
    padding: 1rem;
    border: 2px solid var(--gold-dark-color);
    border-radius: 10px;
}
.aboutArea h3 {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    color: var(--gold-dark-color);
    text-align: center;
    border-bottom: 1px solid var(--gold-dark-color);
}
.aboutArea__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.aboutArea__subject,
.aboutArea__time,
.aboutArea__note {
    margin-bottom: 1.5rem;
}
.aboutArea__subjectList {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.125rem;
    text-align: center;
    color: var(--blue-dark-color);
}

/* 診療時間案内 */
.timeTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 4px solid var(--blue-dark-color);
    line-height: 1.25;
}
.timeTable th {
    font-weight: bold;
    vertical-align: middle;
    text-align: center;
    border: 2px solid var(--blue-dark-color);
    padding: 4px 2px;
}
.timeTable th[scope="col"] {
}

.timeTable th[scope="row"] {
    width: 130px;
}
.timeTable td {
    text-align: center;
    vertical-align: middle;
    border: 2px solid var(--blue-dark-color);
    padding: 4px 2px;
}
.timeTable_msg {
    display: block;
    font-size: 80%;
    font-weight: bold;
    margin-top: 4px;
    color: var(--blue-light-color);
}
.timeTable_shinryouIcon {
    width: 24px;
    height: 24px;
    vertical-align: text-top;
}
.timeTable_comment {
    font-size: 0.75em;
    line-height: 1.25;
    display: inline-block;
}


.aboutArea__note {
    margin: 0 auto;
}
.aboutArea__note dl {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0.5rem 0;
}

.aboutArea_icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}

/* コンセプト */
.conceptArea {
    width: 100%;
    margin: 1rem 0 3rem;
    padding: 1rem;
    color: white;
    background-image: url(images/bg_concept_tate.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.conceptArea__title {
    font-size: 1.5rem;
    line-height: 1.75;
    text-align: left;
    margin-bottom: 2rem;
    color: var(--gold-light-color);
}
.conceptArea__exp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}
.conceptArea__expText {
    margin: 0 1rem 1rem;
}
.conceptArea__expText p{
    line-height: 1.75;
    margin-bottom: 1rem;
}
.conceptArea__expImage {

}


/* 診療案内 */
.topMenuArea__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
    list-style: none;
    padding: 0;
    margin: 0;
}
.topMenuArea__list li {
    display: flex;
    flex-direction: column;
    width: 40%;
    min-width: 140px;
    margin-bottom: 1.5rem;
    text-align: center;
    background-color: rgba(179,162, 100, 0.3);
    border-radius: 30px;
}
.topMenuArea__list li a {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: stretch;
    justify-content: space-around;
    padding: 1rem;
    color: var(--gold-dark-color);
    text-decoration: none;
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1.25;
}
.topMenuArea__list li img {
    display: block;
    width: 84px;
    height: 84px;
    margin: 0 auto 0.5rem;
    background-color: white;
    border-radius: 50%;
}

/* メッセージ */
.messageArea {
    width: 100%;
    background-image: url(images/bg_message.jpg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    margin: 1rem auto;
    padding: 50% 0 0 1rem;
}
.messageArea p {
    width: 92%;
    margin: 1rem auto;
    text-align: left;
}

/* Google Map */
.mapArea {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    padding: 0;
}
.mapArea iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* ----------------------------------------------------------
 * コンテンツ（下層ページ）
 * ----------------------------------------------------------
 */

/* ----------------------------------------------------------
 * タブレットの表示調整
 * ----------------------------------------------------------
 */

@media all and (min-width: 768px) {
    /* 特殊改行タグ */
    br.only-sp,
    div.only-sp {
        display: none;
    }
    br.only-tabsp,
    div.only-tabsp {
        display: block;
    }

    .timeTable_shinryouIcon {
        width: 32px;
        height: 32px;
    }

    /*
     * CTA
    */
    .lyCta__inner {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
    }
    .ctaUnit__title {
        font-size: 24px;
        line-height: 1.25;
    }
    .ctaUnit__desc {
        text-align: left;
    }

    /*
     * フッター
    */
    .footerInfo__brand {
        flex-direction: row;
    }
    .footerInfo__logo {
        margin: 0.5rem 1rem;
    }
    .footerInfo__address {
        margin: 0.5rem 1rem;
    }

    /*
     * トップページ　
    */
    /* メインビジュアル */
    .mainVisual__catchCopy {
        position: absolute;
        left: 10%;
    }
    .mainVisual__catchCopy h1 {
        letter-spacing: 0.5rem;
        font-size: 36px;
    }
    .mainVisual__subText {
        bottom: 15%;
        left: 10%;
    }
    .mainVisual__subText h2 {
        font-size: 1.5rem;
        line-height: 1.75;
    }

    /* 当院について */
    .aboutArea__inner {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .aboutArea__subject,
    .aboutArea__time,
    .aboutArea__note,
    .aboutArea__none {
        width: 48%;
    }

    /* コンセプト */
    .conceptArea {
        background-image: url(images/bg_concept.jpg);
    }
    .conceptArea__title {
        text-align: center;
    }
    .conceptArea__exp {
        flex-direction: row;
        max-width: 1000px;
        margin: 0 auto;
    }
    .conceptArea__expText {
        width: 56%;
        margin-right: 4%;
    }
    .conceptArea__expText p{
        font-size: 1.25rem;
    }
    .conceptArea__expImage {
        width: 40%;
    }

    /* メッセージ */
    .messageArea {
        width: 94%;
        max-width: 1000px;
        margin: 1rem auto;
        padding: 2rem;
    }
    .messageArea p {
        max-width: 720px;
        font-size: 1.25rem;
        line-height: 2;
    }

}

@media all and (min-width: 870px) {
    /* ナビゲーションバーの調整（ここからはパソコン向けに調整） */
    .navMenu__list {
        display: flex;
        z-index: 1;
    }
    .navMenu__list ul {
        gap: 50px;
    }

    /* メインビジュアル */
    .mainVisual {
        background-position: left top;
    }
    .mainVisual__catchCopy h1 {
        letter-spacing: 0.75rem;
        font-size: 42px;
    }

    /* メインビジュアル内　SNSボタン */
    .mainVisual__navButton {
        width: auto;
        left: unset;
        right: 0;
        bottom: 20px;
    }
    .mainVisual__navButton ul {
        flex-direction: column;
        gap: 20px;
    }
    .mainVisual__navButtonLINE,
    .mainVisual__navButtonTEL {
        width: 240px;
    }

    /* 診療案内 */
    .topMenuArea__list {
        max-width: 1000px;
        margin: 0 auto;
    }
    .topMenuArea__list li {
        width: 14%;
    }
}

/* ----------------------------------------------------------
 * パソコンの表示調整（ノートPCのスタンダード幅を想定）
 * ----------------------------------------------------------
 */

@media all and (min-width: 1366px) {
    /* 特殊改行タグ */
    br.only-tabsp,
    div.only-tabsp {
        display: none;
    }

    /* PCとモバイルの切り替え用 class */
    .pc { display: block!important; }
    .sp { display: none!important; }

    /**
     * ナビゲーション
     */
    .headerNav__menuButton {
        /* ハンバーガーボタンは非表示 */
        display: none;
    }
    .headerNav__menu {
        display: block;
        position: initial;
        top: auto;
        z-index: initial;
        opacity: 1;
        height: auto;
    }
    .headerNav__menuBody {
        /* モバイル時の設定を解除 */
        visibility: visible;
        position: initial;
        /* レイアウト方式を変更 */
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    /* SNSボタン（PC時は表示） */
    .headerNav__snsButton {
        display: flex;
    }
    .headerNav__snsButton ul {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .headerNav__snsButton ul li {
        margin-left: 1rem;
    }
    .headerNav__snsButton_Instagram,
    .headerNav__snsButton_LINE {
        position: relative;
    }
    .headerNav__snsButton_Instagram a,
    .headerNav__snsButton_LINE a {
        text-decoration: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        color: var(--school-black);
        line-height: 1.5;
    }
    .headerNav__snsButton_Instagram img,
    .headerNav__snsButton_LINE img {
        display: inline-block;
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    /*
     * CTA
    */
    .ctaUnit__btnLINE a,
    .ctaUnit__btnTEL a {
        width: 320px;
    }

    /*
     * フッター
    */
    .js-backToTop {
        width: 64px;
        height: 64px;
    }
    .js-backToTop img {
        width: 40px;
        height: 40px;
    }

    /*
     * トップページ　
    */
    /* 当院について */
    .aboutArea {
        max-width: 1000px;
        margin: 1rem auto;
        padding: 1rem;
        border: 2px solid var(--gold-dark-color);
        border-radius: 10px;
    }


    /* 診療案内 */
    .topMenuArea__list li {
        width: 12%;
    }
}
