@charset "utf-8";
/* CSS Document */ 

/*--------------------------------------
 　ベース
  --------------------------------------*/
:root {
    --main-color: #fe9f83;
    --footer-bg-color: #ffede9;
    --text-color: #333;
    --width: calc(100vw + 0px);
    --sub_width: calc(65vw + 0px);
    --max_width: 1280px;
    --menu-bg-color: #FFF;
    --menu-height-120: calc((120px * 4) + (10px * 3));
    --menu-height-100: calc((100px * 4) + (10px * 3));
    --menu-height-90: calc((90px * 4) + (10px * 3));
    --menu-height-75: calc((75px * 4) + (10px * 3));
    --menu-height-50: calc((50px * 4) + (5px * 3));
    --menu-height-40: calc((40px * 4) + (2px * 3));     
}
html {
    box-sizing: border-box;
    font-size: 16px;
}
body {
    font-family: yu-gothic-pr6n, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    width: 100%
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    color: var(--text-color);    
    margin: 0;
    padding: 0;
    border: 0;
}
table, caption, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse : collapse ;
    border-spacing: 0px;
    empty-cells: show;
    text-align: left;
    font-weight: normal;    
}
ol, ul, li {
   list-style: none; 
}
a {
    text-decoration: none;
}
h1, h2, h3, h4, .text_em, .info_title {
    font-family: vdl-v7marugothic, sans-serif !important;
    font-weight: 700;
    font-style: normal;
}
header {
   margin: 1.25rem auto 0.625rem;
}
h1 {
    font-size: 1.7rem;
    margin: auto;
    padding: 1.5rem 0;
    text-align: center;
}
h1 span {
    font-size: 1.4rem;
    padding-right: 0.1rem;
}
p {
    
}
.col_two {
    display: flex;
    align-items: flex-start; 
    justify-content: center;
    gap: 3vw;
}
.col_two .col {
    width: 50%;
}
.pc {
    display: block;
}
.sp {
    display: none !important;
}

/*--------------------------------------
 　ヘッダ(SUB)
  --------------------------------------*/
.sbp {
    margin: auto;
}
.sbp header {
    box-sizing: border-box;
    display: flex;
    max-width: var(--max_width);
    justify-content: space-between;
}
.sbp header h1 {
    font-size: 1.3rem;
    margin: 0;
    padding: 1.5rem 0;    
    box-sizing: border-box;   
    padding-left: 1.5rem;
}
.sbp header h1 span {
    font-size: 1.0rem;
    padding-right: 0.1rem;
}
.sbp header #menu {
    box-sizing: border-box; 
    padding-right: 1.5rem;
}
.sbp header #menu ul {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
.sbp header #menu li {
    width: 80px;
    background: var(--main-color) !important;
    border-radius: 15px;
}
.sbp header #menu li img {
    width: 100%;
}
#heading {
    width: 100%;
    max-width: var(--max_width);
    height: auto;
    aspect-ratio: 64 / 15;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;    
}
#heading h2 {
    color: #333;
    font-size: 2rem;
    letter-spacing: 0.2rem;
    text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.2);
}
#info #heading {  
    background-image: url(../images/info/bg.jpg);
    background-repeat: no-repeat;
    background-size: 192%;  
    background-position: left 6% top 27%;
}
#doctor #heading {
    background-image: url(../images/doctor/bg.jpg);
    background-repeat: no-repeat;
    background-size: 140%;
    background-position: right 55% bottom;
}
#medical #heading {
    background-image: url(../images/img_cmn.jpg);
    background-repeat: no-repeat;
    background-position: center top 60%;
}
#about #heading {
    background-image: url("../images/img_cmn03.jpg");
    background-repeat:  no-repeat;
    background-position: center bottom 23%;
}

/*--------------------------------------
 　コンテンツ
  --------------------------------------*/
#container {
}
.main-content {
    width: 100%;
    max-width: var(--max_width);
    margin: 0 auto;
    padding: 0;
    position: relative;
}
.main-content picture img.bg_img {
    width: 100%;
    height: auto;
    aspect-ratio: 7 / 4;
}
.main-content picture:first-child img.bg_img {
    transform: scale(1.3) translateX(8%) translateY(1.5%);
}
.main-content picture:nth-child(2) img.bg_img {
    transform: scale(1.4) translateX(6%) translateY(15%);
}
.main-content picture:nth-child(3) img.bg_img {
    transform: scale(1.3) translateX(0) translateY(-7%);
}
.main-content picture:nth-child(3) img.acc_img {
    width: 55%;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}
.main-content .catch {
    font-size: 1.7rem;
    letter-spacing: 0.5rem;
    line-height: 3.2rem;
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    writing-mode: vertical-rl;
    z-index: 1;
}
#top_menu {
    width: 120px;
    position: absolute;
    top: calc(50% - (var(--menu-height-120) / 2));
    left: 5%;
    z-index: 2;
}
#top_menu ul {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
    align-items: center;
    justify-content: space-between;
}
#top_menu li {
    background: #FE9F8495;
    border-radius: 15px;    
}
#top_menu li img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}
.content {
    width: 57vw;
    max-width: 1100px;
    margin: 5rem auto;
}
.sbp .content {
    width: 45vw;
    max-width: 860px;
    margin: 5rem auto;
}
.content p {
    font-size: 1.1rem;  
    line-height: 1.5;   
}
.content .content_title {
    font-size: 1.4rem;  
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.content .content_title.bgcolor {
    background-color: #FE9F84;
    color: #FFF;
    border-radius: 35px;
    padding: 1rem 2rem;
    text-align: left;
}
.content .content_subtitle {
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 0.5rem;   
}
.sbp .content_detail {
     padding: 0 2rem;   
}
.sbp .content_detail .details {
    padding: 0 2rem;    
}
.content .content_detail ul li {
    border-bottom: #808080 dashed 1px;
    padding: 0.7rem 0;
}
.content .content_detail ul li .date {
    display: block;
    font-size: 0.9rem;
}
.content .content_detail ul li .info_title {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-decoration: underline;
}
.content .content_detail ul.content_img {
    max-width: 800px; 
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin: 0.5rem auto 0;
}
.content .content_detail ul.content_img li {
    aspect-ratio: 16 / 9;
    width: calc( (100% - 20px) / 3 );
    border: none;
    overflow: hidden;
}
.content .content_detail ul.content_img li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.content .content_detail ul.content_img li:first-child img {
    transform: translate(-14%, -10%) scale(1.4) !important;
}
.content .content_detail ul.content_img li:nth-child(2) img {
    transform: translate(10%, -15%) scale(1.8) !important;
}
.content .content_detail ul.content_img li:nth-child(3) img {
    transform: translate(15%, -18%) scale(3.2) !important;
}
.content .frame {
    margin: 2rem auto 0;
}
.content .frame iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}
.content.bn_area {
    text-align: center;
}
.content.bn_area img {
    width: 85%;
    height: auto;
    margin: 0 auto;
}
/*-- 医師紹介 --*/
.doctor_name {
    font-size: 0.6rem;
    font-weight: 600;
    text-align: right;
}
.doctor_name span {
    font-size: 1.8rem;
    font-family: "New Tegomin", serif;
    font-style: normal;
    letter-spacing: -0.1rem;
}
/*--- 診療時間 ---*/
table.clinic_hours {    
    border: 3px solid var(--main-color);
    display: table;
    table-layout: fixed;
}
table.clinic_hours tr:first-child {
    background-color: var(--main-color);    
}
table.clinic_hours th {
    background-color: var(--main-color);
    border-bottom: 1px solid var(--main-color);
    color: #FFF;
 }
table.clinic_hours th,
table.clinic_hours td {
    border-bottom: 1px solid var(--main-color);
    border-right: 1px solid var(--main-color);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.8rem;
    text-align: center;
    white-space: nowrap;
 }
table.clinic_hours td {
    background-color: #FFF;
    border-bottom: 1px solid var(--main-color);
    color: var(--main-color);
 }
table.clinic_hours td.closed {
    color: var(--text-color);
}
table.clinic_hours td:first-child {
    color: var(--text-color);
 }
table.clinic_hours td:last-child {
    border-right: none;  
 }
.clinic_hours_notes {
    font-size: 0.8rem !important;
    margin: 0.5rem 0 0;
 }


/*--------------------------------------
 　フッタ
 --------------------------------------*/
footer {
    width: 100%;
    background: var(--footer-bg-color);
    padding: 3rem 0;
}
.footer-content {
    width: 57vw;
    max-width: 1100px;
    margin: 0 auto;   
}
.footer-content .notes {
    font-size: 0.8rem;
}
.content_clinic {       
}
.clinic_name {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
.clinic_tel span {
    font-size: 1.4rem;
}
.content_etc {
    display: block;
    font-size: 0.85rem; 
    line-height: 1.4;     
    margin: 3rem auto;
    text-align: center;
}
.content_hours .notes {
    margin: 1rem 0 0;
}
address {
    font-size: 1rem;
    text-align: center;
    margin: 3rem auto 0;
}

/*--------------------------------------
 　TOOLS
 --------------------------------------*/
/*----- slick -----*/
.slick-dots,
.slick-arrow {
    display: none !important;
}


@media (max-width: 1680px) {
    html {
        font-size: 15px;
    }
    #top_menu {
        width: 100px;
        top: calc(50% - (var(--menu-height-100) / 2));
        transform: translateX(-15%);    
    }    
    .content,
    .footer-content {
        width: 61vw;
        max-width: none;
    }    
}
@media (max-width: 1440px) {
    html {
        font-size: 12px;
    }
    #top_menu {
        width: 90px;
        top: calc(50% - (var(--menu-height-90) / 2));
    }      
    .content,
    .footer-content {
       width: 59vw;
    }       
}
@media (max-width: 1280px) {
    .content,
    .footer-content {
        width: 64vw;
        max-width: none;
    }      
}
@media (max-width: 1180px) {
    .content,
    .footer-content {
        width: 69vw;
        max-width: none;
    }    
}
@media (max-width: 1024px) {  
    .content,
    .footer-content {
        width: 79vw;
        max-width: none;
    }        
}
@media (max-width: 960px) {
    html {
        font-size: 12px;
    }    
    .main-content .catch {
        letter-spacing: 0.6rem;
    }
    .content {
        display: block;          
        margin: 3rem auto;
        width: 75vw;          
    }
    .content .col {
        width: 100%;        
        margin: 0 auto 1.5rem;
    }    
    .content .content_title {
        margin-bottom: 0.8rem;
    }
    .content .content_detail ul li {
        padding: 0 0 0.7rem;
    } 
    .footer-content .col {
        margin: 0 auto 1.5rem;
    }
    .content_etc {
         width: 75vw;
        text-align: left;
    }
}
@media (max-width: 768px) {
    #top_menu {
        width: 75px;
        top: calc(50% - (var(--menu-height-75) / 2));
    }
    #top_menu ul {
        gap: 5px;
    }   
    .col_two {
        display: block;
        width: 85vw;      
    }
    .col_two .col {
        width: 100%;
        margin: 0 auto 1.5rem;
    }
    .sbp .content {
        width: 95vw;
    }      
    .footer-content {
        text-align: center;
    }     
    .clinic_name {
        margin-bottom: 1.5rem;
    } 
    .clinic_address p {
        display: inline-block;
        margin: 0 auto;
        text-align: left;
    }
    .clinic_tel p {
        display: inline-block;
        margin: 0.5rem auto 0;
        text-align: left;        
    }
    .content_hours table {
        border: 2px solid var(--main-color);        
        margin: 0 auto;
    } 
}
@media (max-width: 540px) {
    .pc {
        display: none;
    }
    .sp {
        display: block !important;
    }
    header,
    .sbp header {
        display: block;
        width: 100%;
        margin: 0 auto !important;
    }
    header h1,
    .sbp header h1 {
        width: 100% !important;
        font-size: 1.7rem;
        padding: 1.5rem 0;
    }
    h1 span {
        font-size: 1.0rem;
        padding-right: 0.1rem;
    }    
    #menu {     
        width: 100%;
        padding-right: 0 !important;
    }
    #menu ul {
        width: 100%;        
        display: flex;
        flex-direction: row;
        gap: 0 !important;
        justify-content: space-between;
    }    
    #menu li {
        background-color: var(--main-color);
        width: auto;
        border-radius: 0 !important;        
        flex: 1;
    }
    #menu li img,
    .sbp header #menu li img {
        display: block;
        margin: auto;
        width: 100%;
    }    
    #menu li:last-child {
        border-right: none;
    }
    .main-content picture img.bg_img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }
    .main-content picture:first-child img.bg_img {
        transform: scale(1.3) translateX(8%) translateY(1.5%);
    }
    .main-content picture:nth-child(2) img.bg_img {
        transform: scale(1.35) translateX(6%) translateY(10%);
    }
    .main-content picture:nth-child(3) img.bg_img {
        transform: scale(1.6) translateX(0) translateY(-15%);
    }    
    .main-content picture:nth-child(3) img.acc_img {
        width: 80%;
        bottom: 8%;
    }    
    .main-content .catch {
        top: 6%;
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
        line-height: 2.8rem;
        text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.4);
    }
    .content .content_detail ul li .info_title {
        font-size: 1.3rem;
    }
    .content p {
        font-size: 1.2rem;
        font-weight: 600;
    }    
    .content .content_title.bgcolor {
        padding: 0.5rem 2rem;
    }
    #info #heading {  
        background-size: 130%;
        background-position: left 12% top 32%;
    }
    #doctor #heading {
        background-position: right 55% bottom 5%;        
    }
    .content .content_detail ul.content_img li {
        width: calc( (100% - 10px) / 2);
    }
    .content.bn_area {
        width: 60vw;
    }
    .content.bn_area img {
        width: 100%;
    }
    #top footer {
        padding: 3rem 0 8rem;
    }    
}
@media (max-width: 420px) {
    .main-content .catch {
        top: 6%;
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
        line-height: 2.8rem;
        text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.4);
    }    
}
