@charset "utf-8";

/* すべてのページに適用 */
html {
    font-size: 16px;
    font-family: sans-serif;
    color: #333333;
}
p,li,td {
        line-height: 1.7;
}

a:link {
    color: #ffffff;
    text-decoration: none;
}

a:visited {
        color: #ffffff;
        text-decoration: none;
    }

a:hover {
    color: #333333;
    text-decoration: none;
}   

a:active {
    color: #333333;
    text-decoration: none;
}

body {
    margin: 0;
    line-height: 1.6;
}

html, body {
    overflow-x: hidden;
}

h3 {
    border-left: 6px solid #97CED3;
    padding: 6px 16px;
    margin-top: 10rem;
    display: inline-block;
    font-size: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
a.btn {
    margin: 3rem;
}
.btn-container {
    display: flex;    
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-top: 0;
    margin-bottom:  0;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: #ffffff;
    background-color: #97CED3;
    width: 255px;
    height: 50px;
    border-radius: 35px;
    text-decoration: none;
    box-shadow: 3px 4px 2px #d9d9d9;
}


.btn-top {
    margin-top: 4.5rem;
    margin-bottom: 10rem;
}

.btn-contact {
    margin-top: 2rem;
    margin-bottom: 3rem;
}


.nav_main {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding-left: 20px;
    padding-top: 20px;
}


.sidebar ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    justify-content: center;
    color: #ffffff; 
    }

.sidebar li {
    margin-bottom: 10px;
    position: relative;
}  

.sidebar li ul {
    display: none;
    padding-left: 20px;
    margin-top: 5px;
}

.sidebar li:hover > ul {
    display: block;
}
.sidebar {    
    width: 180px;   
    position: sticky;
    top: 0px;
    margin-left: 0;
    height: auto;
    background: #97CED3;
    align-self: flex-start;
    padding: 20px;
}

.sidebar .parent {
    display: block;
    padding: 5px 0;
    color: #ffffff;
    cursor: pointer;
}

.sidebar a {
  text-decoration: none;
  color: #ffffff; 
  display: block;
  padding: 5px 0; 
}
 
.sidebar a:hover {
    color: #333333;
}

.sidebar li:has(ul) > .parent::after {
    content: "▼";
    font-size: 0.7em;
    color: #ffffff;
    margin-left: 6px;
    position: relative;
    top: -3px;
}
.sub-menu a:hover {
    color: #333333;
}

.company-name {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* margin-top: 5rem; */
    /* margin-bottom: 2.5rem; */
}

 .tel {
    color: #333333  ;
    font-size: 3rem;
    font-weight: 700;
    font-family:  "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.06em;
    text-shadow: 3px 4px 2px #d9d9d9;
    margin: 0;
    margin-bottom: 2.5rem;
    text-align: center;
 }

 .company-section {
    margin-top: 15px;
    margin-bottom: 0;
 }


 .gotop {
  position: fixed; 
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  z-index: 1000;
  cursor: pointer;
  color: #1e9cd7;
}


/* すべてのページに適用 - ヘッダー */
.header {
    background-color: #97CED3;
    font-size: 2rem;
}

.logo {
    width: 100px;   
    height: auto;
}


.title-group {
    display: flex;
    gap: 30px;
    margin-left: 40px;
    align-items: center; 

}

.title-group a {
    display: flex;
    gap: 30px;
    align-items: center;
    text-decoration: none; 
    color: inherit; 
}

.title {
  color: #33aabb;
  font-weight: bold;
  margin-bottom: 6px;
}

footer .title-group a {
    display: flex;
    gap: 40px;
    text-decoration: none; 
    color: inherit;        
    align-items: flex-start;
}

.col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 0;

}

.en {
    font-size: 2rem;
    font-family: serif;
}

.jp {
    font-size: 1rem;
    font-family: sans-serif;
    margin-top: -0.9375rem;
    padding-bottom: 0.3125rem;

}


/* すべてのページに適用 - ヒーロー */
h1 {
    color: #829CB4;
    font-size: 3rem;
}

.hero {    
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left center;
    width: 100%;
    height: 60vh;
    /* height: 700px; */
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding: 0;
    margin-bottom: 2.5rem;
    background-image: url(../images/top.jpg)

}


.hero h1 {
    opacity: 0;               
    transform: translateY(20px); 
    animation: fadeUp 2s ease-out forwards;
    animation-delay: 0.5s; 
}

/* アニメーション */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.maintitle,.subtitle {
    margin: 0;
    padding-left: 5%;
}



/* すべてのページに適用 - メイン */
main { 
    margin: 0 auto 160px auto; 
    max-width: 1200px; 
}


h2 {
    font-size: 2rem;    
}

/* あなたの気持ちにー */
.heading2 {
    line-height: 1.3;
    margin-bottom: 2rem;
}

.content {
    line-height: 1.6;
    margin-bottom: 5rem;
    
}
/* 円形ー */
.circle-group {
    display: flex;
    gap: 65px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #97CED3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.8rem;
    font-family: "Hiragino Maru Gothic ProN", sans-serif;
    color: white;
    box-shadow: 3px 4px 2px #d9d9d9;
}
/* お知らせ */
.notice a:link {
  color: #333;
}

.notice a:visited {
  color: #666;
}

.notice a:hover {
  color: #000;
}

.notice a {
    text-decoration: underline;
}

#staffblog {
  margin-bottom: 100px;
}

#users {
  margin-top: 40px;
}



.access-container {
  display: flex;
  gap: 2rem;             
  max-width: 1200px;
  margin: 5rem auto;
  margin-top: 15px;
  align-items: stretch;  
  flex-wrap: wrap;       
}

/* 左側 */
.access-left {
  display: flex;
  flex-direction: column; 
  gap: 2rem;              
  flex: 1;                
  min-width: 300px;
}

/* 左側ブロック */
.access-info, .consult-hours {
  padding: 1.5rem;
  background-color: #ffffff;
  box-shadow: 0px 2px 4px #97CED3;
  flex: 1;
}

.access-info h4, .consult-hours h4 {
  color: #97CED3;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.access-item {
  margin-bottom: 0.5rem;  
  line-height: 1.6;
}

.access-hours {
    margin-top: 0;
}

/* 右側：地図 */
.access-map {
  flex: 1;               
  min-width: 300px;
  height: auto; 
  overflow: hidden;         
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* 病気や治療について悩んだときー 　　こんな方におすすめー  サポート内容*/

.content-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}


.text-box {
    width: 600px;
    /* flex-shrink: 0; */
}

.image-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;

}

.image-box img {
    width: 300px;
    max-width: 600px;
    height: auto;
    display: block;
}

.image-box img.bow {
    width: 200px;
}

.image-box img.photo {
    width: 500px
}

h4 {
    color: #97CED3;
    font-size: 1.5rem;

}

.text {
    text-align: center;
    margin: 0;
}


/* すべてのページに適用 - フッター */

footer {
    background-color: #97CED3;
    color: #ffffff;
    width: 100%;
    /* height: 500px; */
    display: flex;
    justify-content: center; 
    padding: 40px 0;
    font-family: Arial, sans-serif;    
    display: flex;
    flex-direction: column;
    align-items: center;

}




footer .footer-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;   
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 500px;  
    height: auto;
    opacity: 0.9;
    margin-right: 5px;
}



footer .title-group {
    display: flex;
    gap: 40px;
    margin-left: 120px; 
    margin-bottom: 100px; 
}

footer .title-group .col {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
}

footer .title-group .en {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

footer .title-group .jp {
    font-size: 16px;
}

/* ナビリンク部分（2列） */
footer nav {
    margin-left: 120px;
}

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

footer nav ul li {
    display: flex;
    margin-bottom: 10px;
    align-items: flex-start;
    
}

/* 左列リンク固定幅で揃える */
footer nav ul li .left {
    display: inline-block;
    width: 200px; 
}

/* 右列リンクは左列の横に並べる */
footer nav ul li .right {
    display: inline-block;
    margin-left: 40px; 
}

.footer-bottom {
    margin-top: 5rem;
}

/* コピーライト */

.copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #999;
}


/* 個別のスタイル */
.notice {
    margin-top: 1.5rem;
    margin-bottom: 15rem;
} 


/* ２pご利用について */

.use {
    color: #829CB4;
}

.process2 {
    margin-top: 60px;
}
.flow {
    max-width: 800px;
    margin: 0 auto;
}


/* 各ステップ */

.flow-step {
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center; 
}
/* 文章ボックス */


.flow-text {
    position: relative; 
    margin: 0 auto 2rem auto;
    max-width: 500px;
    width: 100%;

    background: #97CED3;
    border-radius: 20px;
    padding: 15px 20px;
    
    color: #ffffff;
    font-size: 1.3rem;
    display: flex;              
    justify-content: center;   
    align-items: center;       
}


.step-number {
    position: absolute;

    left: -60px;
    top: -30px;
    transform: none;

    font-weight: bold;
    font-size: 3.5rem;  
    color: #97CED3;


    width: auto;           
    height: auto;

    background: none;     
    border-radius: 0;     

}

/* 画像 */
.flow-image {
    margin-top: 20px;
    text-align: center;
}

.flow-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.image-box img.reservation {
    width: 300px;
    margin-bottom: 6rem;
}

.image-box img.consultation {
    width: 400px;
    margin-bottom: 6rem;

}

.image-box img.guidance {
    width: 400px;
    margin-bottom: 3rem;

}

.supplement,.supplement2 {
    width: 450px;      
    margin: 0 auto;    
    text-align: left;
}

.service-main {
    max-width: 1200px;   
    width: 100%;      
    box-sizing: border-box;
}


/* 2pご利用料金 */

/* 横並びコンテナ */
.service-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin-top: 5rem;

}

/* 縦長ボックス */
.service-box {
    border: 4px solid #97CED3; 
    padding: 20px;
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;   
    align-items: center;   
    text-align: center  ;          
    background-color: #ffffff;
    margin-bottom: 3rem;
}

/* h4のスタイル*/
.service-box h4 {
    background-color: #97CED3;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 35px; 
    margin-top: 20px;      
    margin-bottom: 30px;
    font-size: 1.5rem;
    display: inline-block;
    
}

/* 金額 */
.service-box .fee,.fee1 {
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;

}

/* 説明文 */
.service-box .description {
    line-height: 1.7;
    font-size: 1rem;
    display: inline-block; 
    text-align: left; 
}

.comment {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12rem;
}
.service-box.free .description {
    margin-top: 55px; 
}

.fee1 {
    margin-top: 60px;
}


/* お問合せ */

form {
    margin: 5rem auto 0 auto;
    max-width: 600px;
}


form.action {
    width: 600px;
    margin: 0 auto;
}
input[type="text"], textarea {
    padding: 6px;
    width: 100%;
    font-size: 1rem;
}

textarea {
    height: 140px;
}

.con-text {
    color: #97CED3;
    font-weight: 800;
    letter-spacing: 0.5px; /
}

.radio {
    color: #333333;
}

input::placeholder,
textarea::placeholder {
  color: #cacaca; 
}

.submit {
    text-align: center;
}

input[type="submit"] {
    border: none;
    padding: 20px;
    width: 200px;
    background-color: #33aabb;
    color: #ffffff;
    font-size: 1rem;
    border-radius: 35px;
}

.reply {
    text-align: center;
    margin-bottom: 10rem;
}

/* お知らせ */


.blog {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

.title {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.blogp {
  margin: 0;
  color: #555;
  line-height: 1.6;
font-size: 0.9rem;
}
.detailed-information {
    margin-bottom: 10rem;
    max-width: 1000px;
    margin: 0 auto;
}


.detailed-information {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 利用者の声 */

.voice-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 10rem;
   
}


.voice-box {
    border: 4px solid #97CED3;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 背景 */

#recommend {
    position: relative;
    background-image: url("../images/recommend.svg");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain; 
    background-size: 300px auto;
} 

#support {
    position: relative;
    background-image: url("../images/support.svg");
    background-repeat: no-repeat;
    background-position: right bottom 450px;
    background-size: contain; 
    background-size: 300px auto;
} 


#news {
    position: relative;
    background-image: url("../images/news.svg");
    background-repeat: no-repeat;
    background-position: left bottom 180px;
    background-size: contain; 
    background-size: 300px auto;
} 

#process {
    position: relative;
    background-image: url("../images/process.svg");
    background-repeat: no-repeat;
    background-position: right 50px bottom 1450px;
    background-size: contain; 
    background-size: 300px auto;
} 

#consultationfee {
    position: relative;
    background-image: url("../images/consultationfee.svg");
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain; 
    background-size: 300px auto;
} 

#reservation-form {
    position: relative;
    background-image: url("../images/reservation2.svg");
    background-repeat: no-repeat;
    background-position:right 155px  bottom  16px;
    background-size: contain; 
    background-size: 250px auto;
} 

#staffblog {
    position: relative;
    background-image: url("../images/news.svg");
    background-repeat: no-repeat;
    background-position: right 130px  bottom 600px;
    background-size: contain; 
    background-size: 300px auto;
} 

#voice {
    position: relative;
    background-image: url("../images/usersvoice.svg");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain; 
    background-size: 250px auto;
} 


/* index.html */
/* スマホ用レスポンシブ（最大768px） */



@media (max-width: 768px) {

    .header {
        font-size: 1.2rem;
        text-align: center;
    }

    .title-group {
        flex-direction: column;
        gap: 10px;
        margin-left: 0;
        align-items: center;
    }

    .logo {
        width: 70px;
    }

    .hero {
        height: 50vh;
        background-position: center;
    }

    .maintitle {
        font-size: 1.6rem;
        padding-left: 20px;
    }

    .subtitle {
        font-size: 0.9rem;
        padding-left: 20px;
    }

    main {
        margin: 0 auto;
        padding: 0 15px;
    }

    /* 横並び → 縦並び */
    /* .content-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    } */

    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .text-box {
        width: 100%;
    }

    .image-box {
        width: 100%;
    }

    .image-box img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .circle-group {
        gap: 20px;
    }

    .circle {
        width: 180px;
        height: 180px;
        font-size: 0.9rem;
    }

    .nav_main {
        flex-direction: column;
        padding-left: 0;
    }

    .sidebar {
        position: relative;
        width: 100%;
    }

    .service-container {
        flex-direction: column;
        gap: 20px;
    }

    .service-box {
        width: 100%;
    }

    .voice-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 5rem;
    }

    .access-container {
        flex-direction: column;
    }

    .access-map iframe {
        height: 300px;
    }

    .btn,
    input[type="submit"] {
        width: 90%;
        font-size: 1rem;
    }

    footer .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer nav ul li {
        flex-direction: column;
        align-items: center;
    }

    footer nav ul li .left,
    footer nav ul li .right {
        width: auto;
        margin: 5px 0;
    }

    footer .title-group {
        margin-left: 0;
        flex-direction: column;
        gap: 10px;
    }

    .footer-logo {
        width: 200px;
        margin-top: 20px;
    }

    .detailed-information {
        padding: 0 15px;
    }

    .notice {
        margin-bottom: 5rem;
    }

    .tel {
        font-size: 2rem;
    }
    
.image-box {
    width: 100%;
    display: flex;
    justify-content: center;
}

.image-box img {
    width: 100%;
    max-width: 320px;
    height: auto;
}

.content-container {
    padding: 20px 10px;
    gap: 30px;
}

.text-box {
        width: 100%;
    }

     section {
        margin-bottom: 4rem;
    }

    h2, h3 {
        text-align: center;
    }

}
