@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&display=swap');
.material-icons {
    font-family: 'Material Icons';
    line-height: 16px;
    font-size: 16px;
    display: inline;
    vertical-align: middle;
    /* WebKitブラウザサポート */
    -webkit-font-smoothing: antialiased;
    /* Chrome、Safariサポート */
    text-rendering: optimizeLegibility;
    /* Firefoxサポート */
    -moz-osx-font-smoothing: grayscale;
    /* IEサポート */
    font-feature-settings: 'liga';
}
body {
    width: 100%;
    margin: 0px;
    padding: 0px;
    font-family: "Noto Sans JP";
}
html {
    margin: 0px;
    padding: 0px;
}
ul {
    padding: 0;
    margin: 0;
}
#header_aria {
    width: 100%;
    float: left;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 1);
}
#header {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}
#header h1 {
    font-size: 12px;
    padding: 0px;
    margin: 0px;
}
#header .logo {
    width: 320px;
    float: left;
    margin-top: 15px;
}
#header .logo img {
    width: 100%;
}
#header .info {
    font-size: 12px;
    float: right;
    margin-top: -20px;
    color: #FFF;
    background-color: #78ae06;
    padding: 30px 15px 4px 15px;
    -webkit-border-radius: 0 0 15px 15px;
    border-radius: 0 0 15px 15px;
}
#pcr {
    width: 100%;
    max-width: 1100px;
    padding: 30px 0;
    margin: 25px auto;
    font-size: 2em;
    text-align: center;
    box-sizing: border-box;
    color: #A80002;
    border-top: 1px dotted #A4A4A4;
    border-bottom: 1px dotted #A4A4A4;
    font-weight: bold;
}
.tele {
    font-size: 20px;
    font-weight: bold;
}
#header .info a {
    color: #FFF;
    text-decoration: none;
}
#header .info img {
    width: 100%;
}
.change,
.info_change {
    display: none;
}
.medical_time {
    width: 470px;
    float: left;
    margin: -10px 0 8px 35px;
    color: #666;
}
.medical_time table {
    width: 100%;
    font-size: 14px;
}
.medical_time thead th {
    padding: 0 0 0px;
    text-align: center;
    border-bottom: 1px solid #E4D09C;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 1);
}
.medical_time table tbody th {
    width: 30%;
    border-bottom: 1px solid #E4D09C;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 1);
    text-align: center;
}
.medical_time table tbody td {
    width: 10%;
    padding: 3px 5px;
    border-bottom: 1px solid #E4D09C;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 1);
    color: #293;
    text-align: center;
}
.medical_time table tbody td.holiday {
    color: #666;
}
.medical_time table tbody td.early {
    color: #0C6;
}
.medical_time p {
    width: 100%;
    background-color: #00CCCC;
    text-align: center;
    padding: 2px 0;
    margin: 5px auto;
    font-size: 12px;
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    color: #FFF;
}
.medical_time p span {
    color: #FFF;
    font-weight: bold;
}
#navi_aria {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    min-height: 60px;
}
.hamburger-menu {
    display: none !important;
}
#navi_aria .menu {
    width: 100%;
    max-width: 1100px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}
#navi_aria .menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    flex-wrap: nowrap;
    min-height: 60px;
    align-items: center;
}
#navi_aria .menu li {
    height: 100%;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
    font-size: 15px;
    flex: 1;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#navi_aria .menu li:last-child {
    border-right: none;
}
#navi_aria .menu li a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    margin: 0;
    font-weight: 500;
    transition: all 0.3s ease;
    height: 100%;
    width: 100%;
    position: relative;
}
#navi_aria .menu li a:hover,
#navi_aria .menu li a:hover * {
    color: #fff;
    background-color: #56c3db;
}
#navi_aria .menu li a:focus,
#navi_aria .menu li a:active {
    color: #fff;
    background-color: #56c3db;
}
/* アクティブなリンクのスタイル */
#navi_aria .menu li.active a {
    color: #fff;
    background-color: #56c3db;
}
#navi_aria .menu li.active a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #56c3db;
}
/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    z-index: 1001;
}
.hamburger-menu span {
    width: 24px;
    height: 3px;
    background-color: #4d4d4d;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
    transform-origin: center;
}
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translateY(6px);
    width: 30px;
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0 !important;
    width: 0px;
    display: none;
}
.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px);
    width: 30px;
}
#kanban_aria {
    width: 100%;
    margin: 0 auto;
    padding: 0px;
}
#kanban_aria .kanban {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0px;
}
#kanban_aria .kanban img {
    width: 100%;
    border: none;
    padding: 0px;
    margin: 0px;
}
#containts {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px auto;
    padding-bottom: 0;
}
#containts .kanban {
    width: 100%;
}
#containts .kanban img {
    width: 100%;
    border: none;
}
#containts .main {
    width: 100%;
    padding: 0;
    color: #232323;
    text-align: justify;
    text-justify: inter-ideograph;
    line-height: 1.5;
}
.slider {
    display: none;
}
.boshu {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 25px;
    position: relative;
}
.boshu img {
    width: 100%;
}
.boshu > .tel {
    position: absolute;
    font-size: 2em;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    color: #7d775c;
}
.boshu > .tel a {
    color: #7d775c;
    text-decoration: none;
}
.chatch {
    font-size: 23px;
    font-weight: bold;
    color: #666;
    margin: 8px 0;
}
.chatch_s {
    font-size: 15px;
}
.sine {
    float: right;
    padding: 10px;
}
.text_aria {
    width: 100%;
    margin: 0 auto;
}
.m_title {
    font-weight: bold;
    font-size: 1.2em;
    width: auto;
    padding: 5px 0 5px 15px;
    margin: 32px 0 15px 0;
    background: rgb(242, 246, 248);
    background: -moz-linear-gradient(top, rgb(242, 246, 248) 0%, rgb(216, 225, 231) 50%, rgb(181, 198, 208) 51%, rgb(224, 239, 249) 100%);
    background: -webkit-linear-gradient(top, rgb(242, 246, 248) 0%, rgb(216, 225, 231) 50%, rgb(181, 198, 208) 51%, rgb(224, 239, 249) 100%);
    background: linear-gradient(to bottom, rgb(242, 246, 248) 0%, rgb(216, 225, 231) 50%, rgb(181, 198, 208) 51%, rgb(224, 239, 249) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2f6f8', endColorstr='#e0eff9', GradientType=0);
    border-left: 5px solid #060;
    -webkit-border-radius: 0px 15px 15px 0px;
    border-radius: 0px 15px 15px 0px;
}
.img_right {
    float: right;
    margin-left: 15px;
}
.img_right img {
    width: 100%;
}
.img_left {
    float: left;
    margin-right: 15px;
    width: 50%;
}
.img_left img {
    width: 100%;
}
.img_left_no {
    width: 40%;
    float: left;
    margin-right: 15px;
}
.img_left_no img {
    width: 100%;
}
.kamoku_block {
    width: 96%;
    margin: 0 auto;
}
.kamoku_block ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.kamoku_block li {
    list-style: none;
    width: 48%;
    margin-bottom: 15px;
}

.kamoku_block li a {
    text-decoration: none;
    color: #333;
}
.kamoku_block li img {
    width: 100%;
}
.kamoku_title {
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #666;
    margin-bottom: 4px;
}
#sinryou_time {
    width: 350px;
    text-align: center;
}
#sinryou_time .td_01 {
    background-color: #CCC;
    padding: 5px;
    width: 50%;
}
#sinryou_time .td_02 {
    background-color: #fff;
    padding: 5px;
    width: 50%;
}
.flow_title {
    width: 90%;
    padding: 8px 5%;
    background-color: #EEE;
    font-size: 17px;
    margin-bottom: 20px;
    color: #333;
}
.inner {
    width: 90%;
    margin: 0 5%;
}
.bold {
    font-weight: bold;
    color: #363;
    font-size: 16px;
}
.space {
    height: 20px;
}
/***　サイド　***/
#side {
    width: 220px;
    float: left;
    padding: 0px;
    display: none;
    margin-top: 25px;
}
#side img {
    width: 100%;
}
.side_img {
    width: 100%;
    margin-bottom: 8px;
}
.side_title {
    text-align: center;
    font-size: 18px;
    background-color: #78ae06;
    padding: 5px 0;
    -webkit-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
    color: #FFF;
}
.side_info {
    padding: 8px;
    font-size: 12px;
    line-height: 20px;
}
#side li {
    margin-left: 30px;
    margin-top: 10px;
}
#side a {
    text-decoration: none;
    color: #333;
}
/***　フッター　***/
#footer {
    width: 100%;
    background-color: #f9f9f9;
    padding: 0 0 10px 0;
    border-top: 1px solid #E0E0E0;
}
.footer_pc {
    width: 1000px;
    margin: 30px auto 0 auto;
}
.footer_pc li {
    list-style: none;
    font-size: 12px;
    padding: 2px 20px;
    margin: 0;
    float: left;
    text-align: center;
    margin: 0 20px 10px 0;
    background-color: #78ae06;
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
}
.footer_pc li a {
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: block;
    padding: 2px 20px;
    margin: -2px -20px;
    color: #FFF;
}
.site_m {
    width: 550px;
}
.info_box {
    width: 300px;
    float: right;
    text-align: right;
    margin-top: -50px;
}
.info_box img {
    width: 100%;
}
.copyright {
    width: 100%;
    text-align: center;
    font-size: 12px;
    margin: 8px 0;
    _border-top: 1px solid #FFF;
    padding-top: 20px;
}
/*トップスクロール*/
#page_top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 999999;
}
#page_top a {
    width: 70px;
    height: 70px;
    display: block;
}
#page_top img {
    width: 100%;
}
/* ipad用 */
@media screen and (max-width: 1000px) {
    .medical_time {
        width: 55%;
        float: right;
        margin: -10px 0 8px 0;
    }
    #pcr {
        font-size: 1.2em;
        padding: 30px 10px;
    }
    #header .info {
        width: 100%;
        margin: 2px auto 0 auto;
        float: right;
        text-align: center;
        padding: 3px 0;
        font-size: 16px;
        -webkit-border-radius: 0 0 0 0;
        border-radius: 0 0 0 0;
    }
    #navi_aria {
        height: auto;
        border-bottom: 0px;
        _background: none;
    }
    #navi_aria .menu li {
        font-size: 13px;
        flex: 1;
        text-align: center;
    }
    #containts .main {
        width: 100%;
        padding: 8px 0px;
    }
    #side {
        width: 24%;
    }
    .footer_pc {
        width: 100%;
    }
    .site_m {
        width: 100%;
    }
    .info_box {
        width: 50%;
        float: right;
        text-align: right;
        margin-top: 15px;
        padding-right: 10px;
    }
}
/* スマホ用 */
@media screen and (max-width: 580px) {
    html {
        width: 100%;
        margin: 0 auto;
    }
    #header_aria {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        float: none;
        border-bottom: 0px;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        height: 60px;
    }
    #header {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 60px;
        max-width: none;
        margin: 0;
    }
    #header_top {
        display: flex;
        width: 100%;
        align-items: center;
        height: 60px;
        flex: 1;
        justify-content: space-between;
    }
    #header h1 {
        display: none;
    }
    #header .logo {
        width: 80%;
        float: none;
        margin: 0;
        padding: 5px 0 5px 5px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        height: 100%;
    }
    #header .logo img {
        width: 100%;
        height: auto;
    }
    #header .info a {
        color: #FF3;
    }
    .boshu > .tel {
        font-size: 1.5em;
        bottom: 17%;
        width: 100%;
        text-align: center;
        left: 0%;
        transform: translateX(0%);
    }

    .medical_time,
    .change {
        width: 100%;
        float: none;
        margin: 60px auto 8px auto;
        display: none;
    }
    .info,
    .info_change {
        width: 100%;
        margin: 2px auto 0 auto;
        float: right;
        text-align: center;
        padding: 3px 0;
        font-size: 16px;
        -webkit-border-radius: 0 0 0 0;
        border-radius: 0 0 0 0;
        color: #FFF;
        background-color: #78ae06;
        display: none;
    }
    .change,
    .info_change {
      display: block;
    }    
    #navi_aria {
        border-bottom: 0px solid #78ae06;
        position: fixed;
        top: 0px;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 998;
        justify-content: flex-start;
        background-color: #fff;
    }
    .hamburger-menu {
        display: flex !important;
        position: static;
        width: 15%;
        height: 100%;
        padding: 0;
        margin: 0;
        background-color: transparent;
        box-shadow: none;
        border-radius: 0;
        justify-content: center;
        align-items: center;
        border: none;
        cursor: pointer;
        z-index: 1002;
    }
    #navi_aria .menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        max-height: none;
        overflow-y: auto;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        padding: 0;
        margin: 0;
        display: block;
        z-index: 997;
        padding-top: 0;
    }
    #navi_aria .menu.show {
        transform: translateY(0);
        max-height: none;
    }
    #navi_aria .menu ul {
        flex-direction: column;
        justify-content: flex-start;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }
    #navi_aria .menu li {
        flex: none;
        width: 100%;
        max-width: 100%;
        border-bottom: 1px solid #e8e8e8;
        position: relative;
        min-height: 55px;
        border-right: none;
        height: auto;
        box-sizing: border-box;
    }
    #navi_aria .menu li:nth-child(odd) {
        border-right: none;
    }
    #navi_aria .menu li a {
        padding: 16px 12px;
        font-size: 13px;
        min-height: 55px;
        justify-content: flex-start;
        padding-left: 20px;
    }
    #navi_aria .menu li.active a::after {
        display: none;
    }
    #head {
        margin-top: 0;
    }
    #kanban_aria {
        margin-top: 60px;
    }
    #containts {
      margin-top: 20px;
    }
    #containts .main {
        float: none;
        width: 100%;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }
    .slider {
        display: block;
        width: 100%;
        height: 150px;
        margin: 25px auto;
    }
    /* Slider */
    .slider > .slide-items {
        width: 100%;
        height: 100%;
    }
    .slider > .slide-items img {
        height: 150px;
        object-fit: cover;
    }

    #side {
        display: none;
    }
    .kamoku_block li {
        width: 100%;
        margin: 0 auto 25px auto;
    }
    .kamoku_block li span {
        padding: 0 15px;
        box-sizing: border-box;
    }

    #sinryou_time {
        width: 100%;
    }
    .img_left {
        width: 100%;
    }
    .img_left img {
        width: 100%;
    }
    .footer_pc {
        width: 100%;
    }
    .site_m {
        width: 100%;
    }
    .footer_pc li {
        font-size: 14px;
        padding: 15px 0px 15px 5%;
        text-align: left;
        width: 95%;
        background-color: transparent;
        border-right: 0px;
        border-bottom: 1px solid #E0E0E0;
        margin: 0;
        background-image: none;
        background-repeat: no-repeat;
        background-position: right center;
        -webkit-border-radius: 0px;
        border-radius: 0px;
    }
    .footer_pc li:first-child {
        border-top: 1px solid #E0E0E0;
    }
    .footer_pc li a {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none;
        color: #333;
        padding: 15px 0px 15px 5%;
        margin: -15px 0px -15px -5%;
    }
    .info_box {
        width: 90%;
        float: right;
        text-align: right;
        margin-top: 15px;
        padding-right: 10px;
    }
}

/* ===== 新しいセクションスタイル ===== */

/* セクション共通スタイル */
.section {
    width: 100%;
    margin: 0;
    padding: 60px 30px;
    box-sizing: border-box;
}

/* セクションメインタイトル（大きいタイトル） */
.section-main-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0 0 40px 0;
    letter-spacing: 1px;
    font-family: "Noto Serif JP", serif;
}

/* セクションヘッダー */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #78ae06;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.section-subtitle {
    font-size: 14px;
    color: #999;
    letter-spacing: 3px;
    margin: 0;
}

/* コンセプトセクション */
.concept-section {
    padding: 60px 30px;
    background-color: white;
}

.concept-content {
    max-width: 900px;
    margin: 0 auto;
}

.concept-main {
    font-size: 15px;
    line-height: 1.9;
    color: #666;
    text-align: justify;
    margin: 0 0 30px 0;
}

.concept-signature {
    text-align: center;
    color: #999;
    margin: 0;
    font-weight: bold;
    font-size: 14px;
}

/* ギャラリー/スライダーセクション */
.gallery-section {
    padding: 60px 30px;
    background-color: #f9f9f9;
}

.gallery-section .slider {
    display: block;
    width: 100%;
    margin: 0;
    height: 280px;
}

.gallery-section .slide-items {
    width: 100%;
    height: 100%;
}

.gallery-section .slide-items li {
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.gallery-section .slide-items img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* メッセージセクション */
.message-section {
    padding: 60px 30px;
    background-color: white;
}

.message-content {
    max-width: 900px;
    margin: 0 auto;
}

.message-text p {
    font-size: 16px;
    line-height: 1.9;
    color: #666;
    margin: 0 0 20px 0;
    text-align: justify;
}

.message-text p:last-child {
    margin-bottom: 0;
}

/* 診療科目セクション */
.medical-section {
    padding: 60px 30px;
    background-color: #f9f9f9;
}

.medical-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.medical-card {
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-bottom: 8px;
}

.medical-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.medical-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.medical-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.medical-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.medical-card:hover .medical-card-image img {
    transform: scale(1.05);
}

.medical-card-content {
    padding: 20px;
    text-align: center;
}

.medical-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px 0;
}

.medical-card-subtitle {
    font-size: 12px;
    color: #78ae06;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.medical-card-text {
    font-size: 13px;
    line-height: 1.7;
    color: #999;
    margin: 0 0 12px 0;
}

.card-link {
    font-size: 12px;
    color: #78ae06;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

/* 特色セクション */
.feature-section {
    padding: 60px 30px;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    background: #f9f9f9;
    padding: 30px 20px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
}

.feature-number {
    font-size: 32px;
    font-weight: bold;
    color: #78ae06;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin: 15px 0;
}

.feature-text {
    font-size: 14px;
    line-height: 1.8;
    color: #999;
    margin: 10px 0 0 0;
}

/* 診療時間セクション */
.time-section {
    padding: 60px 30px;
    background-color: #f9f9f9;
}

.time-section .kanban {
    max-width: 700px;
    margin: 40px auto 0 auto;
}

.time-table-wrapper {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.time-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.time-table thead {
    background: linear-gradient(135deg, #78ae06 0%, #6a9500 100%);
    color: white;
}

.time-table th {
    padding: 18px 12px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.time-table th:last-child {
    border-right: none;
}

.time-table th:first-child {
    text-align: left;
    padding-left: 20px;
}

.time-table td {
    padding: 16px 12px;
    text-align: center;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
}

.time-table td:last-child {
    border-right: none;
}

.time-table tr:last-child td {
    border-bottom: none;
}

.time-table td.time-label {
    text-align: left;
    padding-left: 20px;
    font-weight: bold;
    background-color: #f5f5f5;
    color: #333;
}

.time-table tbody tr:hover td:not(.time-label) {
    background-color: #f9f9f9;
}

.time-note {
    font-size: 13px;
    color: #666;
    margin: 20px 0 0 0;
    text-align: center;
    line-height: 1.8;
}

/* 院長挨拶セクション */
.director-section {
    padding: 60px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

.director-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.director-image-wrapper {
    text-align: center;
    position: sticky;
    top: 20px;
}

.director-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    object-fit: cover;
    display: block;
}

.director-text {
    display: flex;
    flex-direction: column;
}

.director-name {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 40px 0;
    padding-bottom: 20px;
    border-bottom: 3px solid #78ae06;
    letter-spacing: 1px;
}

.director-section-item {
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.director-section-item:last-child {
    margin-bottom: 0;
}

.director-subtitle {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #78ae06;
}

.director-detail {
    font-size: 15px;
    line-height: 2;
    color: #666;
    margin: 0;
    padding: 0;
}

.director-message {
    font-size: 15px;
    line-height: 1.9;
    color: #666;
    margin: 0 0 18px 0;
    text-align: justify;
    text-justify: inter-ideograph;
}

.director-message:last-of-type {
    margin-bottom: 0;
}

/* 採用情報セクション */
.recruitment-section {
    padding: 30px 0;
}

.recruitment-section .boshu {
    margin: 0 auto;
    max-width: 700px;
}

/* タブレット用 */
@media screen and (max-width: 1000px) {
    .section {
        padding: 50px 20px;
    }

    .section-main-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .director-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .director-image-wrapper {
        position: static;
        width: 100%;
        max-width: 100%;
    }

    .director-image {
        max-width: 100%;
    }

    .director-section-item {
        padding: 20px;
    }

    .medical-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .feature-item {
        padding: 20px 15px;
    }

    .feature-number {
        font-size: 24px;
    }

    .gallery-section .slider {
        height: 240px;
    }

    .gallery-section .slide-items li {
        height: 240px;
    }

    .gallery-section .slide-items img {
        height: 240px;
    }

    .time-table {
        font-size: 13px;
    }

    .time-table th,
    .time-table td {
        padding: 12px 8px;
        font-size: 13px;
    }

    .time-table th:first-child,
    .time-table td.time-label {
        padding-left: 15px;
    }

    .time-note {
        font-size: 12px;
    }
}

/* スマホ用 */
@media screen and (max-width: 580px) {
    .section {
        padding: 40px 15px;
    }

    .section-main-title {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .information-section {
        padding: 40px 15px;
    }

    .concept-section {
        padding: 40px 15px;
    }

    .concept-main {
        font-size: 14px;
        line-height: 1.8;
    }

    .message-section {
        padding: 40px 15px;
    }

    .message-text p {
        font-size: 14px;
    }

    .medical-section {
        padding: 40px 15px;
    }

    .medical-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .medical-card-image {
        height: 150px;
    }

    .medical-card-content {
        padding: 12px;
    }

    .medical-card-title {
        font-size: 15px;
    }

    .medical-card-text {
        font-size: 13px;
    }

    .feature-section {
        padding: 40px 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-item {
        padding: 15px 12px;
    }

    .feature-number {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .feature-title {
        font-size: 14px;
    }

    .feature-text {
        font-size: 13px;
    }

    .time-section {
        padding: 40px 15px;
    }

    .time-section .kanban {
        margin-top: 20px;
    }

    .time-table {
        font-size: 13px;
    }

    .time-table th,
    .time-table td {
        padding: 10px 6px;
        font-size: 13px;
    }

    .time-table th:first-child,
    .time-table td.time-label {
        padding-left: 12px;
    }

    .time-note {
        font-size: 13px;
        margin-top: 15px;
    }

    .gallery-section .slider {
        height: 180px;
    }

    .gallery-section .slide-items li {
        height: 180px;
    }

}

/* ===== サブページ用統一スタイル（PC/デフォルト） ===== */
.section-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.section-image {
    width: 100%;
    display: block;
}

.section-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

.section-heading-3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 20px 0;
}

.section-heading-4 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 15px 0;
}

.section-text {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.section-text-small {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.section-text-note {
    font-size: 13px;
    color: #999;
}

.image-float-right {
    float: right;
    width: 35%;
    margin-left: 20px;
    margin-bottom: 20px;
}

.bd-item {
    margin-bottom: 30px;
}

.bd-item-25 {
    margin-bottom: 25px;
}

.bd-item-20 {
    margin-bottom: 20px;
}

.bd-item-15 {
    margin-bottom: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.treatment-header {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding: 10px 0 10px 15px;
    background: #f5f5f5;
}

.treatment-section {
    padding: 15px 0;
    margin-bottom: 40px;
}

.treatment-step {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

/* タブレット用メディアクエリのサブページスタイル */
@media screen and (max-width: 1000px) {
    .section-content {
        padding: 0 20px;
    }
}

/* スマホ用メディアクエリ */
@media screen and (max-width: 580px) {
    /* スマホ用サブページスタイルのオーバーライド */
    .section-content {
        padding: 0 15px;
    }

    .section-image-wrapper {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .section-image {
        width: 100%;
        display: block;
    }

    .image-float-right {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .section-heading-3 {
        font-size: 16px;
    }

    .section-heading-4 {
        font-size: 14px;
    }

    .section-text {
        font-size: 14px;
    }

    .section-text-small {
        font-size: 13px;
    }
}