@charset "UTF-8";

/* =========================================================
   Reset & Base
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-text-main: #333333;
    --color-text-sub: #666666;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-bg-light: #f8f8f8;
    
    /* Theme Colors */
    --color-brown-dark: #3e2e26; /* ページタイトル背景など */
    --color-brown-body: #f4eee9; /* ベージュ背景 */
    --color-line: #a89f96;       /* 区切り線の色 */
    
    --font-family: 'Noto Serif JP', serif;
}

body {
    font-family: var(--font-family);
    color: var(--color-text-main);
    line-height: 1.8;
    font-size: 14px;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

.inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Colors */
.bg-beige {
    background-color: var(--color-brown-body);
}

/* =========================================================
   Components (Buttons & Titles)
========================================================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.btn-black {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--color-black);
}

.link-en {
    display: inline-block;
    font-size: 12px;
    color: var(--color-text-sub);
    text-decoration: underline;
    margin-top: 15px;
}

.section-title-simple {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
}

/* =========================================================
   Header & Hamburger Menu
========================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: var(--color-white);
    border-bottom: 1px solid #eee;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 24px;
    display: block;
}

.hamburger-btn {
    position: relative;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 1px;
    background-color: var(--color-black);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s;
}

.hamburger-btn span:nth-of-type(1) { top: 12px; }
.hamburger-btn span:nth-of-type(2) { top: 19px; }
.hamburger-btn span:nth-of-type(3) { top: 26px; }

/* Overlay Nav */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow-y: auto;
    background-image: url("images/nav_bg_text.png");
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.nav-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.close-btn::before,
.close-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--color-black);
}

.close-btn::before { transform: translate(-50%, -50%) rotate(45deg); }
.close-btn::after { transform: translate(-50%, -50%) rotate(-45deg); }

.nav-overlay-inner {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.nav-list {
    text-align: center;
    margin-bottom: 40px;
}

.nav-list li {
    margin-bottom: 20px;
}

.nav-list a {
    font-size: 16px;
    letter-spacing: 0.1em;
}

.nav-reservation {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================================================
   Page Specific Styles ("院長挨拶")
========================================================= */
.page-main {
    padding-top: 80px;
}

/* Page Header */
.page-header {
    background-color: var(--color-brown-dark);
    text-align: center;
    padding: 20px 0;
}

.page-title {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.15em;
}

/* Hero Area */
.greeting-hero {
    padding: 60px 20px;
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 800px;
}

/* 挨拶テキスト */
.greeting-message {
    padding-bottom: 80px;
    text-align: center;
}

.message-text p {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    color: var(--color-text-sub);
}

/* =========================================================
   院長プロフィール セクション
========================================================= */
.profile-section {
    padding: 80px 0;
}

.profile-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.profile-left {
    width: 35%;
}

.profile-right {
    width: 65%;
}

/* プロフィール写真と名前部分 */
.profile-photo-area {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-photo {
    width: 140px;
    height: auto;
}

.profile-title-name {
    flex: 1;
}

.profile-title-name .role {
    font-size: 13px;
    color: var(--color-text-sub);
    line-height: 1.4;
    margin-bottom: 5px;
}

.dec-line-kawamura {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
}

.profile-title-name .name {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.interview-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

/* プロフィールの各ブロック (所属学会、経歴など) */
.profile-block {
    margin-bottom: 40px;
}

.profile-sub-title {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-main);
    border-bottom: 1px solid var(--color-line);
    padding-bottom: 5px;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.profile-block p {
    font-size: 13px;
    line-height: 1.6;
}

/* 年表形式のリスト */
.history-list {
    font-size: 13px;
    line-height: 1.6;
}

.history-item {
    display: flex;
    margin-bottom: 5px;
}

.history-item dt {
    width: 70px;
    flex-shrink: 0;
    color: var(--color-text-main);
}

.history-item dd {
    flex-grow: 1;
    color: var(--color-text-main);
}

/* =========================================================
   総括院長 セクション (白背景)
========================================================= */
.general-director-section {
    padding: 80px 20px;
}

.movie-thumb-area {
    text-align: center;
    margin-bottom: 50px;
}

.movie-thumb-link {
    display: inline-block;
    position: relative;
    max-width: 700px;
    width: 100%;
}

.movie-thumb-link .thumb-img {
    width: 100%;
    display: block;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.movie-thumb-link:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.general-director-message {
    text-align: center;
}

.catch-copy {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
}

.message-text-wide p {
    max-width: 800px;
    margin: 0 auto 1.5em;
    text-align: justify;
    font-size: 13px;
}

/* =========================================================
   総括院長プロフィール セクション (背景ベージュ)
========================================================= */
.profile-section-general {
    padding: 80px 0;
}

.profile-layout-general {
    display: flex;
    gap: 50px;
    align-items: center; /* 左ブロックと右ブロックを縦中央で揃える */
    justify-content: center;
}

.profile-general-left {
    display: flex;
    align-items: center; /* 装飾線と中央コンテンツを縦中央に揃える */
    gap: 15px;
    width: 55%; /* 左の割合を少し広めに */
    justify-content: flex-end; /* 右の経歴側に寄せる */
}

.dec-side {
    width: 40px;
    height: auto;
    flex-shrink: 0;
}

/* ★修正: 白背景・パディングを削除し、縦中央揃えに */
.profile-photo-area-general {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ★新規追加: 写真の背景にずれた四角形を配置するラッパー */
.photo-wrapper-isami {
    position: relative;
    width: 130px; 
    flex-shrink: 0;
}

/* 写真の背後に配置する濃い茶色の四角形 */
.photo-wrapper-isami::after {
    content: "";
    position: absolute;
    top: 15px;  /* 右下へずらす */
    left: 15px; /* 右下へずらす */
    width: 100%;
    height: 100%;
    background-color: #6b635e; /* 背景の暗い茶色 */
    z-index: 0;
}

.photo-wrapper-isami img {
    position: relative;
    z-index: 1; /* 写真を背景より手前に */
    width: 100%;
    display: block;
}

.dec-line-isami {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
}

.profile-general-right {
    width: 45%;
}

/* =========================================================
   Contact Area (共通)
========================================================= */
.contact-area {
    background-color: var(--color-bg-light);
    padding: 80px 20px;
    text-align: center;
}

.contact-lead {
    margin-bottom: 20px;
    font-size: 15px;
}

.contact-tel {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tel-label {
    font-family: serif;
    font-style: italic;
    font-size: 18px;
}

.tel-number {
    font-size: 32px;
    font-family: serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.contact-time {
    font-size: 13px;
    color: var(--color-text-sub);
    margin-bottom: 40px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.contact-en {
    margin-top: 20px;
}

/* =========================================================
   Footer (共通)
========================================================= */
.footer {
    padding: 60px 20px 30px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 40px;
}

.footer-logo img {
    height: 20px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
    margin-bottom: 50px;
    font-size: 12px;
}

.copyright {
    font-size: 10px;
    color: var(--color-text-sub);
    letter-spacing: 0.05em;
}

/* =========================================================
   Responsive (スマホ向け調整)
========================================================= */
@media screen and (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    /* SP時のロゴサイズ縮小 */
    .header-logo img {
        height: 18px;
    }

    .hamburger-btn {
        right: 20px;
    }

    /* 院長プロフィールレイアウト (縦並びへ) */
    .profile-layout {
        flex-direction: column;
        gap: 40px;
    }

    .profile-left,
    .profile-right {
        width: 100%;
    }
    
    .profile-photo-area {
        justify-content: center;
    }
    
    .interview-link {
        display: block;
        text-align: center;
    }

    .catch-copy {
        font-size: 20px;
    }

    /* 総括院長プロフィールレイアウト */
    .profile-layout-general {
        flex-direction: column;
        gap: 40px;
    }

    .profile-general-left,
    .profile-general-right {
        width: 100%;
        justify-content: center;
    }

    /* SP時は横の装飾線を隠す（レイアウト崩れ防止） */
    .dec-side {
        display: none; 
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}