body{
    margin: 0;
}

/*ヘッダー*/

.container {
    width: 100%;
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 272px;
    height: 60px;
}

.right-content {
    display: flex;
    align-items: center; 
}

.allmenu {
    display: flex;
    font-family: Noto Sans JP;
    font-weight: bold;
}

.allmenu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.allmenu ul li {
    margin: 0 20px;
}

.webreservation {
    width: 166px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EDB0BF;
    color: white;
    font-family: Noto Sans JP;
    font-weight: bold;
    text-decoration: none;
    border-radius: 3px;
    margin-left: 20px; 
}

/*メインビジュアル*/
.mainvisual{
    position: relative;
    width: 100%;
    margin:0 auto;
}

.mainvisu{
    width: 100%;
    height: 650px;
    display: block;
    object-fit: cover; 
}

.text-container h1{
    font-size: 52px;
    background-color:white;
    font-family: "Noto Serif JP",serif;
    display: inline-block;
    padding: 10px;
    line-height: 120%;
}
    

.blueparts{
    width: 740px;
    height: 90px;
    position: absolute;
    top: 212px;
    left: 163px;
    
}

.blueparts span{
    color: #50D5E0;
}

.pinkparts{
    width: 680px;
    height: 90px;
    position: absolute;
    top: 309px;
    left: 163px;
}

.pinkparts span{
    color: #EDB0BF;
}

/* 当院の特徴*/
.features {
    text-align: center;
}

.features-contents{
    margin: 50px 0;
    padding: 30px 0;
}

.features h2{
    font-family: "Noto Serif JP",serif;
    font-size: 29px;
    text-align: center;
    position: relative;
    margin-bottom: 50px;
}

.features h2::after {
    content: "";
    display: block;
    width: 63px;
    height: 2px;
    background-color: #50D5E0; 
    margin: 20px auto 0;
}

.icon-parts{
    display: flex;
    justify-content: space-around; /* 均等配置 */
    max-width: 1000px;
    margin: 0 auto;
}

.features-icon {
    text-align: center;
    width: 30%;
}

.featuresimg{
    width: 100%;
    max-width: 100%;
    height: 210px; /* お好みで調整 */
    object-fit: cover; /* 画像を枠にフィットさせて切り抜く */
}

.features p{
    margin-top: 20px;
    font-family: "Noto Sans JP";
    font-size: 21px;
    text-align: center;
}


/*治療のポリシー*/
.policy{
    width: 100%;
    background-color: #E9F9FA;
    padding: 30px;
}

.policy-all{
    margin: 50px 0;
}

.policy h2{
    font-family: "Noto Serif JP",serif;
    font-size: 29px;
    text-align: center;
    margin-top: 0px;
}

.policy h2::after{
    content: "";
    display: block;
    width: 63px;
    height: 2px;
    background-color: #50D5E0; 
    margin: 20px auto 0; 
}

.policy-contents{
    display: flex;
    justify-content: center;
    align-items: center; /* テキストと画像の高さを揃える */
    gap: 40px; /* 画像とテキストの間隔を調整 */
    max-width: 1100px; /* 最大幅を制限 */
    margin: 0 auto;

}

.policysimg{
    width: 30%;
    height: autso;
}

.policy-para{
    width: 50%;
    margin-left: 50px;
}

.policy-phrase1 p{
    font-family: "Noto Sans JP";
    font-size: 27px;
    font-weight: bold;
    letter-spacing: 0.02em;
    line-height: 0.7;
}

.policy-phrase2 p{
    font-family: "Noto Sans JP";
    font-size: 15px;
    line-height: 1;
}


/*お知らせ*/
.information{
    margin: 50px;  
}

.info-contents{
    max-width: 1000px;
    margin: 0 auto;
}

.information h2{
    font-family: "Noto Serif JP",serif;
    font-size: 29px;
    text-align: center;
    margin-top: 0px;
}

.information h2::after{
    content: "";
    display: block;
    width: 63px;
    height: 2px;
    background-color: #50D5E0; 
    margin: 20px auto 0; 
}

.info-con h3{
    width: 120px;
    height: 20px;
    font-family: "Noto Sans JP";
    font-size: 16px;
    background-color: #50D5E0;
    color: white;
    display: flex;
    justify-content: start;
}

.info-closed p{
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.info-excerpt p{
    font-family: "Noto Sans JP";
    font-size: 16px;
}

.line{
    display: flex;
    justify-content: end;
    flex-direction: column;
}

.info-con{
    border-bottom: 1px solid #DCDCDC;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    align-items: center;
}

.info-con h3{
    width: auto;
    padding: 5px 10px;
}

.info-list{
    font-family: "Noto Sans JP";
    font-size: 16px;
    text-align: right;
    padding-right: 15px;
}

/*メニュー*/
.menu{
    margin:100px auto 100px;
    height: 200px;
}

.menu-logo{
    width: 272px;
    height: 60px;
    display: block;/* ロゴ中央配置 */
    margin:0 auto;
}

/* メニューコンテナを縦並びに */
.menu-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* 中央揃え */
    margin-top: 60px;
}

/* サイトメニュー */
.menu-contents {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px; /* SNSアイコンとの間隔 */
}


.menu-contents a{
    font-size: 16px;
    font-family: "Noto Sans JP";
    font-weight: 600;
    color: black;
}


.icon {
    display: flex;
    justify-content: center;/* SNSアイコン中央配置 */
    gap: 16px;
}

.icon .btn {
    width: 30px;
    height: 30px;
}

/* フッター */
footer{
    width: 100%;
    height:47px;
    background-color: #E9F9FA;
    display: flex;
    align-items: center; /* 縦方向の中央揃え */
    justify-content: center; /* 横方向の中央揃え */
}

footer h3{
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-weight: normal;
    margin: 0; /* 不要な余白を削除 */
}

/* モバイル*/
/* スマホ（小） */

@media(max-width:430px){

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    /*不要?*/
    img{
        max-width: 100%;
        height: auto;
        display: block;
    } 

/* ヘッダー */
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 横スクロール防止 */
  }

.container {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
}

.logo {
    width: 200px; /* 小さめに */
    height: auto;
    margin: 30px 0;
    display: flex;
    justify-content: start;
}

.allmenu {
    display: none;
}

.webreservation {
    display: none;
}

/* メインビジュアル */
.mainvisual {
    height: auto;
    position: relative;
}

.mainvisu {
    height: 600px;
    object-fit: cover;
}

.text-container {
    display: flex; /* 横並びにする */
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    
}

.blueparts {
    width: 43px;
    height: 450px;
    gap:20px;
    position: absolute;
    top: 30px;
    left: 110px;
}

.pinkparts{
    width: 43px;
    height: 440px;
    gap:20px;
    position: absolute;
    top: 30px;
    left: 30px;
}

.blueparts h1, .pinkparts h1 {
    font-size: 18px;
    line-height: 2;
    margin: 0;
    writing-mode: vertical-rl;
}

.text-container h1 {
    font-size: 28px;
    padding: 5px;
}

/* 特徴 */
.features-contents{
    margin:0
}

.icon-parts {
    flex-direction: column;
    align-items: center;
}

.features-icon {
    width: 80%;
    margin-bottom: 20px;
}

.features-clinic h2{
    font-size: 25px;
}

.features-icon p{
    font-size: 16px;
}

/* 治療のポリシー */
.policy{
    padding: 40px 20px; 
}

.policy-title h2{
    font-size: 25px;
    margin-top: 50px;
}

.policy-contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* 写真とキャッチコピーに余白をつける */
}

.policysimg{
    width: 80%;
    margin-top: 25px;
    max-width: 400px;
    height: auto;
    display: block;
}

.policy-phrase1 p{
    font-size: 20px;
    line-height: 1.6;
    width: 90%;
}

.policy-phrase2 p{
    font-size: 14px;
    line-height: 1.8;
    display: inline-block;
    width: 90%;
    text-align: left;
    margin: 0 auto;
}

.policy-para {
    width: 90%;
    margin-left: 0;
    text-align: center;
}

/* お知らせ */
.info-con {
    flex-direction: column;
    align-items: flex-start;
}

.date {
    width: 100%;
}

.date h3{
    height: 30px;
}

.info-list h3{
    font-size: 16px;
    font-weight: lighter;
}

/* メニュー */
.menu{
    margin: 50px 0px 0px 0px;
}

.menu-contents{
    display: none;
}


/* フッター */
footer {
    text-align: center;
}

.footer_container h3{
    font-size: 10px;
}

}



/* スマホ（大） */
@media (max-width: 767px) {    
  }
  
  /* タブレット */
  @media (max-width: 1024px) {
  }