@charset "UTF-8";

/* =========================================
   基本設定 (Scope with Wrapper)
   ========================================= */

/* ラッパー内の要素のみにBox-sizingを適用 */
.osaka-2026-wrapper * {
    box-sizing: border-box;
}

/* ラッパー自体をベースとする */
.osaka-2026-wrapper {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* ラッパー内の画像リセット */
.osaka-2026-wrapper img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* ラッパー内のp, hタグのリセット（既存サイトの影響を受けないように） */
.osaka-2026-wrapper h1,
.osaka-2026-wrapper h2,
.osaka-2026-wrapper h3,
.osaka-2026-wrapper h4,
.osaka-2026-wrapper p,
.osaka-2026-wrapper ul,
.osaka-2026-wrapper li {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

/* 共通コンテナ */
.osaka-2026-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}


.osaka-2026-top-heading {
    background-color: #86a6bd; /* 指定の背景色 */
    color: #ffffff;            /* 白字 */
    padding: 15px 20px;        /* 普通くらいの上下左右余白 */
    margin: 0;                 /* 外側の余白をゼロにして下のコンテンツと密着させる */
    text-align: center;        /* 文字を中央寄せ */
    font-size: 2.0rem;         /* 文字の大きさ（適宜調整してください） */
    font-weight: bold;         /* 太字 */
    line-height: 1.8;          /* 行間 */
    display: block;
}


/* 見出し共通 */
.osaka-2026-section-title {
    font-size: 2.0rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: #333;
    line-height: 1.8;
}

/* ボタン共通 */
.osaka-2026-btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: opacity 0.3s;
    text-align: center;
}
.osaka-2026-btn:hover {
    opacity: 0.8;
}
.osaka-2026-btn-green {
    background-color: #6da7a7;
    color: #fff !important; /* 親サイトのスタイル打ち消し用 */
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}
.osaka-2026-btn-white {
    background-color: #fff;
    color: #6da7a7 !important;
    border: 1px solid #6da7a7;
}

/* セクション余白 */
.osaka-2026-section {
    padding: 30px 0;
}

/* 中央寄せユーティリティ */
.osaka-2026-center-btn {
    text-align: center;
    margin: 30px 0 60px 0;
    font-size: 1.5rem;
}
.osaka-2026-center-text {
    text-align: center;
}




/* =========================================
   Header / Hero Area
   ========================================= */
.osaka-2026-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.osaka-2026-hero-bg {
    position: absolute;
    top: -2px;
    left: -6px;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.osaka-2026-hero-img-file {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.osaka-2026-hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    /*min-height: 500px;*/
    padding-top: 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.osaka-2026-sub-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px !important;
    line-height: 2.0 !important;
    font-weight: bold !important;
}

.osaka-2026-hero-text {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 40px !important;
    max-width: 800px;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.8;
}




/* =========================================
   Section: Methods
   ========================================= */
.osaka-2026-green-deco {
    position: relative;
    padding: 0 10px;
}

.osaka-2026-green-deco::before {
    content: "";
    display: block;
    width: calc(50%);
    height: 2px;
    background: #6da7a7;
    margin: 10px auto 10px;
}

.osaka-2026-green-deco::after {
    content: "";
    display: block;
    width: calc(50%);
    height: 2px;
    background: #6da7a7;
    margin: 10px auto 0;
    margin-bottom: 5%;
}

.osaka-2026-method-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.osaka-2026-method-text p{
    padding: 10px 20px;
    line-height: 1.8;
}

.osaka-2026-method-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.osaka-2026-method-icon {
    flex-shrink: 0;
    width: 100px;
    text-align: center;
    color: #6da7a7;
    font-weight: bold;
    position: relative;
}
.osaka-2026-method-icon img {
    display: block;
    background-color: #6da7a7;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.osaka-2026-method-label-1 {
    position: absolute;      /* 画像の上に浮かせる */
    top: 35%;                /* 上から50%の位置 */
    left: 50%;               /* 左から50%の位置 */
    transform: translate(-50%, -50%); /* 自身の幅・高さの半分だけ戻して完全中央へ */
    
    color: #e6b798;          /* 文字色は白 */
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;     /* 文字を改行させない */
    z-index: 2;              /* 必ず画像より上にくるように */
    text-shadow: 0 1px 4px rgba(0,0,0,0.4); /* 文字に影をつけるとより読みやすくなります */
}

.osaka-2026-method-label-2 {
    position: absolute;      /* 画像の上に浮かせる */
    top: 55%;                /* 上から50%の位置 */
    left: 50%;               /* 左から50%の位置 */
    transform: translate(-50%, -50%); /* 自身の幅・高さの半分だけ戻して完全中央へ */
    
    color: #e6b798;          /* 文字色は白 */
    font-weight: bold;
    font-size: 2.0rem;
    white-space: nowrap;     /* 文字を改行させない */
    z-index: 2;              /* 必ず画像より上にくるように */
    text-shadow: 0 1px 4px rgba(0,0,0,0.4); /* 文字に影をつけるとより読みやすくなります */
}

.osaka-2026-method-text h4 {
    font-size: 1.2rem;
    margin-bottom: 10px !important;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    font-weight: bold !important;
}





/* =========================================
   Section: Testimonials
   ========================================= */
.osaka-2026-testimonials{
    margin-top: 5%;
}

   .osaka-2026-lines {
    display: table;
    margin: 0 auto 40px;
    position: relative;
    padding: 10px 0;
}
.osaka-2026-lines::before,
.osaka-2026-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #333;
}
.osaka-2026-lines::before { top: 0; }
.osaka-2026-lines::after { bottom: 0; }

.osaka-2026-testimonial-card {
    padding: 50px 130px 50px 130px;
    display: flex;
    gap: 10%;
    align-items: center;
    border-radius: 8px;
}

.osaka-2026-testimonial-img {
    flex-shrink: 0;
    width: 50%;
    /*height: 150px;*/
}
.osaka-2026-testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.osaka-2026-testimonial-content h4 {
    font-size: 1.5rem;
    margin-bottom: 15px !important;
}

.osaka-2026-testimonial-content p {
    font-size: 1.25rem;
}

.osaka-2026-testimonial-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

.osaka-2026-testimonial-detail p {
    margin: 3% 10% 5% 10%;
    font-size: 1.0rem;
    text-align: left;
    line-height: 1.8;
}


/* 画像を使った装飾用のクラス */
.osaka-2026-image-goukaku-deco {
    position: relative;
    display: block; /* 文字の幅に合わせる場合 */
    text-align: center;
    padding: 20px 0;      /* 上下の画像との間の余白 */
}

/* 上の線（画像） */
.osaka-2026-image-goukaku-deco::before {
    content: "";
    display: block;
    width: 50%;           /* 横幅（45%などお好みで調整） */
    height: 15px;          /* 画像の高さに合わせて調整 */
    background-image: url("https://medisense.co.jp/wp-content/uploads/2026/01/osaka-2026-goukaku-line-1.jpg"); /* 上用の画像パス */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* 枠内に画像を収める */
    margin: 0 auto 10px;   /* 下（文字側）への余白 */
}

/* 下の線（画像） */
.osaka-2026-image-goukaku-deco::after {
    content: "";
    display: block;
    width: 100%;
    height: 60px;
    background-image: url(https://medisense.co.jp/wp-content/uploads/2026/01/osaka-2026-goukaku-line-2-copy.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: -2% auto 0;
    text-align: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}




/* =========================================
   Section: Flow
   ========================================= */
.osaka-2026-flow {
    margin: 0 7.5% 0 7.5%;
    border: 2px solid #6da7a7;
}

.osaka-2026-flow h2{
    color: #6da7a7;
    font-size: 2.0rem;
    font-weight: bolder;
    padding: 0 0 0 5%;
}

.osaka-2026-flow-content {
    display: block;
    position: relative;
}

.osaka-2026-flow-main-img {
    width: 30%;
    right: 5%;
    margin-bottom: 20px;
    position: absolute;
    top: 0;
}

.osaka-2026-flow-list {
    width: 80%;
    list-style: none;
    margin: 3% 0 5% 5% !important;
}

.osaka-2026-flow-list li {
    display: flex;
    margin-bottom: 20px !important;
    background: #fff;
    padding: 15px;
    border-radius: 5px;
}

.osaka-2026-step-num {
    background: #6da7a7;
    color: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.osaka-2026-step-text h4 {
    color: #6da7a7;
    margin-bottom: 5px !important;
    font-weight: bold !important;
}

.osaka-2026-h-appeal {
    font-size: 2.0rem;
    font-weight: 500 !important;
}

/* 三角形 */
.osaka-2026-triangle-modern {
    width: 90px;   /* 三角形の横幅 */
    height: 30px;  /* 三角形の高さ */
    background-color: #6da7a7;
    
    /* 三角形の形に切り抜く座標指定 */
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    
    margin: 20px auto;
}



/* =========================================
   Section: Access + school info
   ========================================= */

/* --- 中見出し --- */
.osaka-2026-mid-heading {
    font-size: 1.5rem;
    font-weight: 900 !important;
    margin-bottom: 20px;
    color: #333;
    border-bottom: none; /* 装飾が必要な場合はここに追記 */
}

/* --- 普通のpテキスト --- */
.osaka-2026-base-text {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #444;
    margin-top: 2.5% !important;
    margin-bottom: 5% !important;
}

/* --- 画像 + 小見出し + テキスト グリッド --- */
.osaka-2026-photo-grid-complex {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列 */
    gap: 30px 20px;
    margin-bottom: 10px;
}

.osaka-2026-grid-item img {
    width: 100%;
    aspect-ratio: 3 / 2; /* 画像の比率を統一 */
    object-fit: cover;
    margin-bottom: 15px;
}

.osaka-2026-grid-item h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.osaka-2026-grid-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 5%;
}

/* --- 地図 + テキスト 2列レイアウト --- */
.osaka-2026-access-flex {
    display: flex;
    /* 修正ポイント：垂直方向の中央揃え */
    align-items: center; 
    gap: 40px;
    background: #f9f9f9;
    padding: 20px; /* 余白を少し広げると、中央揃えがより引き立ちます */
    margin-bottom: 15%;
    margin-top: 5%;
}

.osaka-2026-map {
    flex: 1; /* 地図側 */
    width: 100%;
}

/* 地図自体のレスポンシブ設定 */
.osaka-2026-map-wrapper {
    position: relative;
    width: 100%;
}

.osaka-2026-map-wrapper iframe {
    width: 100% !important;  /* 親要素の幅いっぱいに広げる */
    height: auto;
    aspect-ratio: 4 / 3;    /* 縦横比を4:3に固定（スマホでも崩れない） */
    border: 1px solid #ddd;
    border-radius: 8px;     /* 角を少し丸くするとデザインに馴染みます */
}

/* スマホ用の微調整（以前の2列レイアウトを縦並びにする設定があれば引き継ぎ） */
@media screen and (max-width: 768px) {
    .osaka-2026-map-wrapper iframe {
        /*aspect-ratio: 16 / 9; /* スマホでは少し横長の方が見やすい場合があります */
        pointer-events: auto !important; /* 強制的にマウス・タッチイベントを有効化 */
    }
    /* --- 中見出し --- */
    .osaka-2026-mid-heading {
        font-size: 1.4rem;
        padding-left: 20px !important;
    }
}

.osaka-2026-address-info {
    flex: 1; /* テキスト側 */
}

.osaka-2026-address-info p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}



/* =========================================
   Section: 講師紹介
   ========================================= */
.teacher-container {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 2%;
    margin-bottom: 5%;
    margin-left: 10%;
    margin-right: 10%;
}

.teacher-container img {
    max-width: 150px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.teacher-container h3 {
    flex: 1;
    margin-bottom: 15px;
}

.teacher-container p {
    line-height: 1.8;
}


/* --- スマホ対応 (レスポンシブ) --- */
@media screen and (max-width: 768px) {
    .osaka-2026-top-heading {
        font-size: 1.5rem;         /* 文字の大きさ（適宜調整してください） */
    }

    .osaka-2026-base-text {
        padding: 20px !important;
        margin-bottom: 0 !important;
    }

    .osaka-2026-photo-grid-complex {
        display: inline-flex;
        flex-direction: column; /* 縦並びにする */
        /* スマホでは左寄せ（またはストレッチ）に戻すのが一般的 */
        align-items: flex-start; 
        padding: 20px;
        gap: 20px;
    }

    .osaka-2026-map-img,
    .osaka-2026-address-info {
        width: 100%; /* 幅をいっぱいにする */
    }
    
    .osaka-2026-access-flex {
        flex-direction: column; /* 地図とテキストを縦並びに */
        gap: 20px;
        margin-top: 0;
    }
}



/* =========================================
   SP対応 (スマホ向けレスポンシブ)
   ========================================= */
@media screen and (max-width: 768px) {
    
    .osaka-2026-container {
        padding: 0 15px;
    }

    /* Hero */
    .osaka-2026-hero {
        min-height: 0;
    }
    .osaka-2026-main-title { font-size: 1rem; }
    .osaka-2026-sub-title { font-size: 1.5rem; text-align: center;}
    .osaka-2026-hero-text { font-size: 1.0rem; text-align: center;}

    /* Methods */
    .osaka-2026-method-icon {
        width: 100%;
        margin-bottom: 5%;
    }
    .osaka-2026-method-icon img {
        width: 80px;
        height: 80px;
    }
    .osaka-2026-method-item {
        display: block;
    }

    .osaka-2026-method-label-2 {
        top: 65%;                /* 上から50%の位置 */
    }

    .osaka-2026-method-text p{
        padding: 10px 20px;
        line-height: 1.8;
    }

    .osaka-2026-method-text h4 {
        padding: 0 20px;
    }

    /* 見出し共通 */
    .osaka-2026-section-title {
        font-size: 1.75rem;
    }

    .osaka-2026-green-deco::before {
        width: calc(85%);
    }
    
    .osaka-2026-green-deco::after {
        width: calc(85%);
    }


    /* Testimonials */
    .osaka-2026-testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 10px 50px 10px !important
    }
    .osaka-2026-testimonial-img {
        margin: 0 auto;
        width: 85%;
    }
    .osaka-2026-testimonial-content h4{
        margin-top: 10%;
    }
    .osaka-2026-testimonial-content h3{
        margin-top: 5%;
        margin-bottom: 5%;
    }
    .osaka-2026-testimonial-detail{
        margin-bottom: 10%;
    }
    .osaka-2026-testimonial-detail p {
        margin: 3% 5% 5% 5%;
        font-size: 1.0rem;
        text-align: left;
    }
    .osaka-2026-testimonial-content p {
        padding: 0 5%;
        font-size: 1.2rem;
    }

    /* 上の線（画像） */
    .osaka-2026-image-goukaku-deco::before {
        width: 100%;           /* 横幅（45%などお好みで調整） */
    }

    /* Flow */
    .osaka-2026-flow-content {
        flex-direction: column;
    }
    .osaka-2026-flow-main-img, .osaka-2026-flow-list {
        width: 100%;
    }
    .osaka-2026-flow-main-img {
        display: none; 
    }
    .osaka-2026-flow h2{
        font-size: 1.5rem;
    }
    .osaka-2026-flow-list {
        margin: 3% 0 5% 0 !important;
    }
    .osaka-2026-flow-list li {
        align-items: flex-start;
        margin-left: 3%;
    }
    .osaka-2026-flow {
        margin: 0 2% 0 2%;
    }
    .osaka-2026-step-text p {
        font-size: 0.9em;
    }

    .osaka-2026-step-num {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    .osaka-2026-step-text h4 {
        font-size: 1.0em;
    }
    .osaka-2026-h-appeal {
        font-size: 1.25rem;
    }
    .osaka-2026-center-text{
        margin-top: 10%;
    }


    /**講師紹介**/
    .teacher-container {
        flex-direction: column;
        margin-top: 5%;
        margin-bottom: 15%;
        margin-left: 10%;
        margin-right: 10%;
        gap: 30px;
    }

    .teacher-container img {
        /*margin-bottom: 3px;*/
    }

}



/* PCでは非表示にする */
.sp-br {
    display: none;
}

/* スマホ（画面幅768px以下）の時だけ有効にする */
@media screen and (max-width: 768px) {
    .sp-br {
        display: block;
    }
}