body {
    font-family: "Noto Sans JP", sans-serif; 
}

h2 {
    font-family: "DM Sans", sans-serif;
}

h3 {
    font-family: "Noto Sans JP", sans-serif; 
}

/* リセット */
html, body {
    margin: 0;
    padding: 0;
}

/* ヘッダー全体 */
header {
    position: relative;
}

.header-box {
    position: absolute;
    top: 0;
    left: 180px;
    width: 244px;
    height: 502px;
    background-color: #F6F1F1;
    border-radius: 8px;
    z-index: 5;
}

#logo {
    position: absolute;
    top: 42px;
    left: 196px;
    width: 221px;
    height: 69px;
    z-index: 10;
}

#logo img {
    width: 100%;    /*親要素に(#logo)にフィット */
    height: 100%;
    /* width: 221px; */
    z-index: 10;    
}

/* ナビゲーション全体  */
#nav-pc {
    position: absolute;
    top: 126px;
    left: 222px;
    width: 221px;
    z-index: 10;
}

#nav-pc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#nav-pc li { 
    margin-bottom: 16px;
}

#nav-pc a {
    text-decoration: none;
    color: #146C94;
}

.subject-j {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

.subject-e {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 12px;
    margin: 0;
}

#main-visual {
    position: relative; 
    width: auto;
    height: auto;
}

#main-visual > img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.index-h1 {
    margin-top: 10px;
    margin-left: 8.6%;
    font-size: 52px;
    color: #19A7CE28;
    margin-bottom: 5px;
}

.index-h2 {
    font-size: 20px;
    margin-left: 12.84%;
    margin-bottom: 0;
    color: #146C94;
}

#news {
    position: relative;
    margin: 10px auto 40px auto;
}

.news-list {
    list-style: none;
    margin-top: 20px;
    /* margin-left: 19.16%; 276 / 1440       */
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    max-width: 888px;
}

#news h2 {
    margin-bottom: 40px;
}

.news-list li {
    border-bottom: 1px solid #19A7CE;
    padding: 5px 0;
    margin: 10px 0 0 0;
}

.news-list li:nth-child(1) {
    border-top: 1px solid #19A7CE;
}

.date {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300; /* Lightは300 */
    font-size: 16px;
    color: #646667;
    margin: 0;
}

.title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 400; /* Regular */
    line-height: 1.4;
    letter-spacing: 0.15em;
    color: #646667;
    margin: 0 0 10px 0; /* 下だけ余白　*/ 
}

.news-list li a {
    display: block;
    text-decoration: none;
}

#aboutclinic {
    position: relative;
    margin: 40px auto 40px auto;
}

#clinic-top {
    display: flex;
    max-width: 1023px;
    /* margin-left: 14.16%; */
    margin-left: auto;
    margin-right: auto;    
}

.clinic-left {
    width: 57.7%; /* 591 / 1023 */
}

.clinic-right {
    width: 38.5%; /* 394 / 1023 */
}

#reception {
    width: 100%;
}

.clinic-left h3 {
    font-family: "Noto Sans JP", sans-serif; 
    font-size: 20px;
    font-weight: 500; /* Medium（FigmaでMediumなら500） */
    letter-spacing: 0.1em; /* 文字間隔10% */
    color: #146C94; 
    margin-top: 66px;
    /* margin-left: 12.16%; */
}

.clinic-left p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400; /* Regular */
    letter-spacing: 0.1em; /* 文字間隔10% */
    color: #146C94;
    margin-top: 26px;
    margin-bottom: 31px;
    /* max-width: 587px; */
    width: 100%;
    /* line-height: 2.6; */
    line-height:  calc(42 / 16);
}
    
#clinic-top a {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400; /* Regular */
    letter-spacing: 0.1em; /* 文字間隔10% */
    color: #146C94;
    /* margin: 40px 0 0 204px; */
}

#reception {
    margin: 66px 0 0 38px; 
}

.features {
    display: flex;
    margin-top: 85px;
    /* margin-left: 14.16%; */
    margin-left: auto;
    margin-right: auto;
    max-width: 1030px; 
    width: 100%;
    justify-content: space-between; 
}

.feature-image {
    width: 100%;
    height: auto;
    display: block;
}


.feature-card {
    width: 30%;
}

.feature-text {
    background-color: #F6F1F1;
    height: 274px;
    padding-left: 23px; 
    padding-right: 23px;
   
}

.feature-text h3 {
    font-family: "Noto Sans JP", sans-serif; /* フォント指定 */
    font-weight: 700;                         /* Bold */
    font-size: 16px;
    color: #146C94;
    line-height: 42px;
    letter-spacing: 0.1em;
    text-align: center;
    margin: 0;
}

.feature-text p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #146C94;
    line-height: 42px;
    letter-spacing: 0.05em;
}

#treatment {
    position: relative;
    margin: 22px auto auto auto;
    width: auto;
    height: 502px;
    background-color: #F5FFFF;
}

.treatment-type {
    display: flex;
    margin-top: 140px;
    /* margin-left: 18.61%; */
    margin-left: auto;
    margin-right: auto;
    max-width: 890px; 
    width: 100%;
    justify-content: space-between;     
}

.treatment-box {
    font-family: "Noto Sans JP", sans-serif;
    background-color: #19A7CE;
    width: 160px;
    height: 110px;
    border-radius: 2px;
    text-align: center;
    
    position: relative;
    display: flex;
    /* flex-direction: column; */
    justify-content: center; /*横方向で中央揃え */
    align-items: center; /* 縦方向で中央添え */
}

.treatment-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #F6F1F1;
}

.detail-link {
    position: absolute;
    bottom: 1px;
    right: 1px;

    display: flex;
    gap: 2px;
    align-items: center; /* 画像と文字の高さを揃えるため */

    font-size: 16px;
    color: #F6F1F1;
    text-decoration: none;

}

.detail-link .icon {
    width: 15px;
    height: 15px;
    display: inline-block;

}

#hours {
    position: relative;
    margin: 0 auto 0 auto;
    width: auto;
    height: 505px;
    
}

.hours_table {
    display: flex;
    justify-content: center;
    margin-top: 63px;
    /* margin-left: 24.16%; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

#reservation {
    position: relative;
    margin: auto auto 40px auto;
    width: auto;
    height: 456px; /* 352+104 */ 
}

.reserve-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    /* margin-left: 12.84%; 185px / 1440px */
    /* gap: 157px; */
}

.reserve-left {
/*    width: 40.35%;   383 / 949 */
    width: 50%;
}


.reserve-left p {
    color: #146C94;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400; /* Regular */
    letter-spacing: 0.05em;
    margin-top: 60px;
    margin-bottom: 30px;
}

.reserve-left h3 {
    color: #146C94;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 36px;
    font-weight: 500; /* Medium（FigmaでMediumなら500） */
    letter-spacing: 0.1em;
    margin-top: 0;
}

.reserve-right {
/*    width: 43.1%;    409 / 949 */
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 115px;
}

.reserve-recept-time {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.reserve-right img {
    width: auto;
    height: 26px;
    margin-top: 4px;
}

.reserve-recept-time p {
    margin: 0 0 0 40px;
    font-size: 18px;
    color: #146C94;
    font-weight: 500; /* Medium（FigmaでMediumなら500） */
    letter-spacing: 0.3em;
    line-height: 1.8;
}

.reserve-recept-msg {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #146C94;
    font-weight: 400; /* Regular */
    letter-spacing: 0.05em;
    line-height: 1.8;
}

#access {
    position: relative;
    margin: 46px auto 40px auto;
    width: auto;
    height: 868px;
    background-color: #F5FFFF;
}

.access-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    /* margin-left: 12.84%; 185px / 1440px */
    /* gap: 157px; */
}

.access-left {
    width: 50%;
}

.access-left p {
    color: #146C94;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 400; /* Regular */
    letter-spacing: 0.05em;
    margin-top: 50px;
    
}

.access-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
}

.access-top {
    color: #146C94;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 400; /* Regular */
    letter-spacing: 0.05em;
    margin: 50px 0 0 0;
}

.access-middle {
    color: #146C94;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 400; /* Regular */
    letter-spacing: 0.05em;
    margin: 0;
}

.access-bottom {
    color: #146C94;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400; /* Regular */
    letter-spacing: 0.05em;
       
}

#access iframe {
    max-width: 794px;
    width: 100%;
    height: 446px;
    /* margin: 40px 0 0 22%; */
}

.map {
    margin-top: 40px;
    text-align: center;
}


.header-area {
    width: auto ;
    height: 118px;
    background-color: #F5FFFF;

}

#query-logo {
    position: absolute;
    top: 25px;
    left: 13.5%;
    width: 228px;
    height: 78px;
    z-index: 10;
}

#query-logo img {
    width: 100%;    /*親要素に(#query-logo)にフィット */
    height: 100%;
    /* width: 221px; */
    z-index: 10;    
}

#contact {
    margin: 49px auto 90px auto;
}

#contact > form > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-bottom: 32px;
}

.contact-form {
    margin: 49px auto auto 12.84%;
}

.contact-heading {
    width: 240px;
    align-self: center; /* その要素だけが縦方向に中央寄せにする（同じ行の入力ボックスの高さに対して真ん中に来る）*/
}

.contact-label {
    font-weight: bold;
}

.contact-span {
    color: #ce2222;
    margin: 0 0 0 20px;
    font-weight: bold;
}

/* テキストボックス */
.contact-textbox {
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom-width: 1px;
    border-bottom-color: #707070;
    border-style: solid;
    background-color: #fafafa;
    width: 316px;
    height: 43px;
}

/* お問い合わせ内容のテキストエリア */
.contact-textarea {
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    border-bottom-width: 1px;
    border-bottom-color: #707070;
    background-color: #fafafa;
    width: 316px;
    height: 197px;
}

.send-button {
    margin-top: 20px;
}

/* フッター */
footer {
    text-align: left;
    padding: 0 80px 30px 13.4%;
}

.footer-area {
    max-width: 1067;
    margin-left: auto;
    margin-right: auto;
}

#query-logo-f { 
    width: 228px;
    height: 78px;
    
}

.footer-align {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: nowrap; 
    max-width: 1046px;
    width: 100%;
    margin-top: 19px;
}

#footer-link {
    font-size: 12px;
    font-weight: 500; /* Medium */
    letter-spacing: 0.2em;
    margin: 0;
    line-height: 1.5;
}

#footer-link a {
    color: #146C94;
    text-decoration: none;
}

#footer-link span {
    color: #146C94; 
}

#copyright {
    font-size: 12px;
    font-weight: 500; /* Medium */
    letter-spacing: 0.1em;
    margin: 0 0 0 0;
    /* white-space: nowrap; */
    line-height: 1.5;
}