@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
*/

.l-header__barInner,.l-header__inner.l-container,.l-fixHeader__inner.l-container{
	max-width: 100%;
}

.mincho{
	font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  font-style: normal;
	text-shadow: 0 0 10px rgba(67,108,187,0.3),0 0 10px rgba(67,108,187,0.3),0 0 10px rgba(67,108,187,0.3),0 0 10px rgba(67,108,187,0.3),0 0 10px rgba(67,108,187,0.3),0 0 10px rgba(67,108,187,0.3),0 0 10px rgba(67,108,187,0.3);
}

.mincho02{
	font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
}

.blog {
background: #f4f4f4;
  padding: 40px;
  bottom: 0px;
  position: absolute;
  right: 70px;
  box-shadow: 0 3px 12px 5px rgba(0,0,0,0.2);
	width: 410px;
}

.ttk{
	line-height: 35px;
}

.wpmm-nav-wrap ul.wp-megamenu > li > a .wpmm_item_description {
  padding-top: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  display: none;
}

.c-smallNavTitle {
  color: inherit;
  font-size: 12px;
  line-height: 1;
  opacity: .6;
  color: #436cbb;
}

#wp-megamenu-header_menu > .wpmm-nav-wrap ul.wp-megamenu > li ul.wp-megamenu-sub-menu li a {
  line-height: 35px;
}

.scroll {
  overflow: auto;
  height: 300px;
  width: 100%;
  background: #446cbc;
  padding: 30px;
}

/* ========================================================
   お問い合わせフォームのデザイン（画像再現）
======================================================== */

/* --- 1. テーブル全体のレイアウト --- */
.entry-form-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.entry-form-table th,
.entry-form-table td {
    padding: 20px 10px;
    vertical-align: middle;
    border: none; /* 枠線を消す */
}

/* 左側の見出し（項目名） */
.entry-form-table th {
    width: 32%;
    text-align: left;
    font-weight: bold;
    color: #333;
}

/* 必須マーク（水色のアスタリスク） */
.entry-form-table .required {
    color: #7ab3e1; /* 画像に近い水色 */
    font-weight: normal;
    margin-left: 5px;
}

/* --- 2. 入力フィールド（テキスト、メール、数字など） --- */
.entry-form-table input[type="text"],
.entry-form-table input[type="email"],
.entry-form-table input[type="tel"],
.entry-form-table input[type="number"],
.entry-form-table textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #f4f5f7; /* 薄いグレーの背景色 */
    border: 1px solid #dcdcdc; /* 薄いグレーの枠線 */
    border-radius: 6px; /* 角丸 */
    box-sizing: border-box;
    font-size: 16px;
    color: #333;
    transition: 0.3s;
}

/* 入力欄にフォーカスした時の枠線の色 */
.entry-form-table input:focus,
.entry-form-table textarea:focus {
    outline: none;
    border-color: #5575c6;
    background-color: #ffffff;
}

/* 備考欄（テキストエリア）の高さを調整 */
.entry-form-table textarea {
    height: 200px;
    resize: vertical;
}

/* 備考欄の行の見出しを上揃えにする */
.entry-form-table tr:last-child th {
    vertical-align: top;
    padding-top: 30px;
}

/* --- 3. 特殊なレイアウトの調整（お名前、年齢など） --- */

/* =======================================
   SWELL上書き ＆ CF7自動改行対策：お名前の横並び強制
======================================= */
/* Contact Form 7が勝手に入れる改行(br)を消す */
.entry-form-table .name-wrap br {
    display: none !important;
}

/* 勝手に入る段落(p)も横並びにする */
.entry-form-table .name-wrap p {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    margin: 0 !important;
    gap: 15px !important;
}

/* PC表示では絶対に横並びにする */
.entry-form-table .name-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
}

/* ラベル内の「姓」という文字と入力枠を横に並べる */
.entry-form-table .name-wrap label {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 50% !important;
    gap: 10px !important;
    margin-bottom: 0 !important;
    white-space: nowrap !important;
}

/* Contact Form 7が自動出力する透明な枠(span)を広げる */
.entry-form-table .name-wrap label .wpcf7-form-control-wrap {
    flex: 1 !important;
    width: 100% !important;
    display: block !important;
}

/* 画面が狭いスマホの時だけは縦並びに戻す */
@media screen and (max-width: 768px) {
    .entry-form-table .name-wrap,
    .entry-form-table .name-wrap p {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .entry-form-table .name-wrap label {
        width: 100% !important;
    }
}

/* 年齢・経験年数の横並び */
.inline-input {
    display: flex;
    align-items: center;
    gap: 10px;
}
.inline-input input[type="number"] {
    width: 150px; /* 入力欄を少し短くする */
}

/* 応募職種のラジオボタン */
.entry-form-table .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 30px;
}
.entry-form-table .wpcf7-list-item {
    margin: 0; /* デフォルトの余白をリセット */
}
.entry-form-table input[type="radio"] {
    transform: scale(1.3); /* ラジオボタンを少し大きくする */
    margin-right: 8px;
    accent-color: #5575c6;
}

/* --- 4. 確認チェックボックスと送信ボタン --- */
/* 確認チェックボックス */
.acceptance-wrap {
    text-align: center;
    margin: 50px 0 30px;
}
.acceptance-wrap input[type="checkbox"] {
    transform: scale(1.5); /* チェックボックスを少し大きくする */
    margin-right: 12px;
    vertical-align: middle;
    accent-color: #5575c6;
}
.acceptance-wrap .wpcf7-list-item {
    margin: 0;
}

/* 送信ボタン（エントリーする） */
.submit-wrap {
    text-align: center;
    margin-bottom: 30px;
}
.submit-wrap input[type="submit"] {
    background-color: #5272bf; /* 画像に近い青色 */
    color: #ffffff;
    padding: 16px 80px;
    border: none;
    border-radius: 40px; /* 楕円形の角丸 */
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* 軽い影をつける */
    transition: opacity 0.3s, transform 0.2s;
}
.submit-wrap input[type="submit"]:hover {
    opacity: 0.8;
    transform: translateY(2px); /* ホバー時に少し沈むアクション */
}

/* --- 5. スマホ・タブレット用レスポンシブデザイン（画面幅768px以下） --- */
@media screen and (max-width: 768px) {
    .entry-form-table,
    .entry-form-table tbody,
    .entry-form-table tr,
    .entry-form-table th,
    .entry-form-table td {
        display: block;
        width: 100%;
    }
    .entry-form-table th {
        padding: 15px 10px 5px; /* 上・左右・下 */
        width: 100%;
    }
    .entry-form-table td {
        padding: 0 10px 20px;
    }
    
    /* スマホではお名前も縦並びに */
    .name-wrap {
        flex-direction: column;
        gap: 10px;
    }
    .name-wrap label {
        width: 100%;
    }
}

 /* ▼ ヘッダーが被らないようにページ全体を少し下げる ▼ */
    body {
        padding-top: 190px !important; /* 150pxから増やし、確実に効かせるため!importantを追記 */
    }


/* =========================================
   1. 表示の切り替え（PCは自作、SPはSWELL標準）
   ========================================= */

/* --- スマホ・タブレット（959px以下） --- */
@media screen and (max-width: 959px) {
    /* 自作ヘッダー（functions.phpで出したやつ）を消す */
    .custom-original-header {
        display: none !important;
    }
    /* SWELL標準ヘッダーを表示させる */
    #header {
        display: block !important;
    }
    /* 下部固定ボタンは必要なら残す */
    .sp-reserve__button {
        display: flex !important;
    }
}

/* --- PC（960px以上） --- */
@media screen and (min-width: 960px) {
    /* SWELL標準ヘッダーを隠す */
    #header {
        display: none !important;
    }
    /* 自作ヘッダーを表示 */
    .custom-original-header {
        display: flex !important;
    }
    /* 下部固定ボタンを隠す */
    .sp-reserve__button {
        display: none !important;
    }
}

    /* =========================================
       2. ヘッダー大枠の設定
       ========================================= */
    .custom-original-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 99999 !important;
        background-color: #fff;
        width: 100%;
        padding: 0 40px;
        display: flex;
        justify-content: space-between;
        box-shadow: 0 3px 20px 5px rgba(0,0,0,0.1);
        font-family: "Noto Sans JP", "Zen Maru Gothic", sans-serif;
    }

    /* ロゴエリア：スクロールで縮小する */
    .custom-original-header .header__logo__wrapper {
        padding: 20px 0;
        height: 190px;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
    }
    .custom-original-header .header__logo__wrapper.is-mini {
        height: 90px; /* スクロール後の高さ */
    }
    .custom-original-header .header__logo__wrapper img {
        height: 100%;
        width: auto;
    }

    /* 右側エリア（上段info + 下段nav） */
    .custom-original-header .header__nav__wrapper {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    /* =========================================
       3. 上段：花柄アイコン ＆ 電話番号
       ========================================= */
    .custom-original-header .header__info {
        height: 100px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    .custom-original-header .header__info.is-hidden {
        height: 0 !important; /* スクロール時に消す */
        opacity: 0;
    }
    
    .custom-original-header .equipment__info-list {
        height: 100%;
        display: flex;
        align-items: center;
    }
    .custom-original-header .equipment__info-item {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 68px;
        width: 82px;
        text-align: center;
        font-size: 14px;
        letter-spacing: 1px;
        line-height: 18px !important;
        margin-right: 40px;
        font-weight: 500;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    /* 花柄背景画像（URLはメディアライブラリのものに） */
    .custom-original-header .orange { background-image: url("https://lp12.nishimuta-lab.com/wp-content/uploads/2026/04/top_hibiscus6.png"); }
    .custom-original-header .blue   { background-image: url("https://lp12.nishimuta-lab.com/wp-content/uploads/2026/04/top_hibiscus1.png"); }
    .custom-original-header .yellow { background-image: url("https://lp12.nishimuta-lab.com/wp-content/uploads/2026/04/top_hibiscus2.png"); }
    .custom-original-header .red    { background-image: url("https://lp12.nishimuta-lab.com/wp-content/uploads/2026/04/top_hibiscus3.png"); }
    .custom-original-header .purple { background-image: url("https://lp12.nishimuta-lab.com/wp-content/uploads/2026/04/top_hibiscus5.png"); }
    .custom-original-header .green  { background-image: url("https://lp12.nishimuta-lab.com/wp-content/uploads/2026/04/top_hibiscus6.png"); }

    /* 電話番号エリア：干渉対策済み */
    .custom-original-header .tel-wrapper {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .custom-original-header .tel-wrapper .time {
        font-size: 14px;
        color: #66bddd;
        margin-bottom: 5px !important;
    }
    .custom-original-header .custom-header-tel-number {
        display: flex;
        align-items: center;
        font-size: 22px;
        color: #436cbb;
        letter-spacing: 1px;
        font-weight: bold;
        background: none !important; /* 既存の.number干渉をクリア */
        border-radius: 0 !important;
        padding: 0 !important;
    }
    .custom-original-header .custom-header-tel-number img {
        height: 15px;
        width: auto;
        margin-right: 5px;
        transform: translateY(2px);
    }

    /* =========================================
       4. 下段：グローバルメニュー ＆ メガメニュー
       ========================================= */
    .custom-original-header .header__nav {
        width: 100%;
        position: relative;
        font-weight: 500;
    }
    .custom-original-header .header__nav--item__wrapper {
        display: flex;
        flex-direction: row; /* 順番を正常化 */
        justify-content: flex-end;
    }
    .custom-original-header .header__nav--item {
        width: 130px;
        height: 90px;
        position: relative;
    }
    .custom-original-header .header__nav--item a {
        height: 100%;
        padding: 25px 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        text-decoration: none !important;
    }
    .custom-original-header .header__nav--en {
        color: #436cbb;
        font-size: 13px;
    }
    .custom-original-header .header__nav--ja {
        color: #000;
        font-size: 14px;
        transition: all 0.3s;
    }
    
    /* 区切り線（縦棒） */
    .custom-original-header .header__nav--item:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 20px;
        background-color: #f2f3f5;
    }

    /* ホバー時のアニメーションバー */
    .custom-original-header .header__nav--item a:hover .header__nav--ja { color: #436cbb; }
    .custom-original-header .hover-bar {
        width: 0;
        height: 3px;
        background-color: #436cbb;
        position: absolute;
        bottom: 0;
        transition: width 0.3s ease;
    }
    .custom-original-header .header__nav--item:hover .hover-bar { width: 100%; }

 /* =========================================
       メガメニュー（診療案内ホバー時）完全再現
       ========================================= */
    
    /* 診療案内の親メニュー（ホバーターゲット） */
    .custom-original-header .header__nav--shinryou {
        cursor: pointer;
    }

    /* ホバー時にメニューを表示 */
    .custom-original-header .header__nav--shinryou:hover + .shinryou__nav,
    .custom-original-header .shinryou__nav:hover {
        display: block !important;
    }

    /* メガメニューの外枠（背景を透過した青に） */
    .custom-original-header .shinryou__nav {
        background-color: rgba(67, 108, 187, 0.7); /* 透過度0.7の青 */
        position: absolute;
        display: none;
        top: 100%; /* メニューのすぐ下に配置 */
        left: 0;
        padding: 40px 80px;
        width: 100%;
        box-sizing: border-box;
        z-index: 100000;
        backdrop-filter: blur(4px); /* 背景を少しぼかすと高級感が出ます */
    }

    /* メニューリスト（3カラムグリッド） */
    .custom-original-header .shinryou__nav ul {
        display: grid;
        gap: 20px 30px; /* 縦・横の間隔 */
        grid-template-columns: repeat(3, 1fr); /* 3列に分ける */
        width: 100%;
        max-width: 1000px;
        margin: 0 auto !important; /* 中央寄せ */
    }

    /* メニュー項目：白いボタン形式 */
    .custom-original-header .shinryou__nav--item {
        width: 100%;
    }

    .custom-original-header .shinryou__nav--item a {
        display: block !important;
        width: 100%;
        padding: 18px 0 !important;
        background-color: #fff; /* 背景は白 */
        text-align: center;
        border-radius: 5px;
        transition: all 0.3s ease;
        text-decoration: none !important;
    }

    /* テキストの色（参考サイト特有のグラデーション風を再現） */
    .custom-original-header .shinryou__nav--item a p {
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 1px;
        margin: 0 !important;
        /* グラデーションテキスト */
        background: -webkit-linear-gradient(0deg, #436cbb 20%, #b0dbed 80%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* マウスを乗せた時の挙動：背景が青くなり文字が白くなる */
    .custom-original-header .shinryou__nav--item a:hover {
        background-color: #436cbb; /* 背景が青に */
        transform: translateY(-2px); /* 少し浮き上がる */
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .custom-original-header .shinryou__nav--item a:hover p {
        -webkit-text-fill-color: #fff; /* 文字が白に */
        background: none;
    }