@charset "utf-8";

/*
Theme Name: 健康相談処たつおか
Theme URI: http://xs155746.xsrv.jp/
Description: 健康相談処たつおか_ウェブトライ
Version: 1.0
Author: Webtry_Hachisuga
Author URI: https://webtry.net
*/

.wrapper {
    margin: 8px 3%;
}
body {
    font-family: "M PLUS Rounded 1c", serif;
    font-weight: 400;
    font-style: normal;
  }
.yuji-syuku {
    font-family: "Yuji Syuku", serif;
    font-weight: 400;
    font-style: normal;
}
/*パンくずリスト*/
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
}
.breadcrumb li:not(:last-child)::after {
	content: ">";
	margin: 0.6em;
}
/*ヘッダー*/
#kanpouyaku {
    height: 7rem;
    display: block;
    background-color: #3d2e1f;
}
#kanpouyaku p {
    font-family: "Yuji Syuku", serif;
    font-weight: 400;
    font-style: normal;
    color: #8af8ed;
    font-size: 4rem;
    line-height: 7rem;
    text-align: center;
}
.name p {
    font-size: 2.5rem;
    white-space: nowrap;
}
.name p span {
    font-size: 1.2rem;
    vertical-align: middle;
    padding-right: 1rem;
    color: #3d2e1f;
}
.name {
    text-align: center;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    display: block;
}
.tel img {
    width: 40px;
}
.tel a {
    font-size: 1.5rem;
    text-decoration: none;
    color: #3d2e1f;
    font-family: sans-serif;
}
.tel a:hover {
    color: #60ada5;
}
.tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}
.holiday-mail_container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 1.2rem;
    white-space: nowrap;
}
.holiday {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 0.8rem;
    padding-right: 1.3rem;
}
.holiday_square {
    border: solid 1.5px #3d2e1f;
    padding: 3px 6px;
}
.mail {
    font-size: 1rem;
    display: block;
    background-color: #3d2e1f;
    padding: 3px 6px;
}
.mail a {
    text-decoration: none;
    color: white;
}
.mail a:hover {
    color: #8af8ed;
}
.back-color {
    display: block;
    padding: 10px 0 28px 0;
}
.main-menu {
    position: relative;
    top: 0;
    z-index: 9999;
    display: block;
}
/*メニュー*/
#menubar {
    height: 4rem;
    background-color: rgba(227, 215, 191, 0.4);
}
#menubar ul {
    display: flex;
    gap: 20px;
    list-style: none;
    justify-content: space-around;
    margin: 0 auto;
    flex-wrap: nowrap;
    padding: 0 1rem;
}
#menubar ul li {
    font-size: 1.1rem;
    line-height: 4rem;
}
#menubar ul li a {
    white-space: nowrap;
    text-decoration: none;
    color: #3d2e1f;
}
#menubar ul li a:hover {
    color: #8af8ed;
}
.menubar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* 他の要素より前面に表示 */
    transition: top 0.6s;
    animation: fadeInDown 0.3s ease forwards;
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*スライダー*/
.swiper-slide {
    margin: 0 auto;
    display: block;
}
.swiper-slide img {
    width: 100%;
    height: 90vw;
    text-align: center;
    line-height: 300px;
    object-fit: cover;
    display: block;
}
.swiper-wrapper {
    width: 100%;
}
.swiper .swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    background-color: #f5f5f5;
    margin: 7px 7px !important;
}
/*ページタイトル*/
.h1-container {
    padding: 1rem;
    text-align: center;
}
.h1-container h1 {
    font-size: 1.2rem;
    display: inline-block;
    text-align: left;
}
/*悩みごと*/
#worries-top-top {
    margin-top: 70px;
}
.worries_img {
    width: 50%;
    height: auto;
    position: relative;
    cursor: grab;
    margin: 0 auto;
}
.worries_img:hover img {
    transform: scale(1.02);
}
.worries_img img {
    width: 100%;
    height: auto;
    position: relative;
}
.band-toppage-title h2 {
    font-size: 1.5rem;
    white-space: nowrap;
    text-align: center;
    line-height: 5rem;
    color: white;
}
.band {
    height: 5rem;
    display: block;
    background-color: #3d2e1f;
}
#worries-top_countainer {
    padding-bottom: 80px;
    background-image: url(images/2608796.jpg);
    background-size: 100% auto;
    background-position: top center;
    background-repeat: repeat-y;
}
.worries-top h3 {
    font-size: 1.3rem;
    text-align: center;
    font-family: "Yuji Syuku", serif;
    font-weight: 400;
    font-style: normal;
    white-space: nowrap;
}
.worries-top a {
    text-decoration: none;
    color: black;
}
.worries-top a:hover {
    color: #60ada5;
}
.worries-top {
    margin-bottom: 40px;
}
.worries-top_outer {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列 */
    margin: auto; /* 中央配置 */
    gap: 5px;
}
#onayami {
    padding-top: 30px;
}
#onayami img {
    width: 130px;
    display: block;
    margin: 0 auto;
}
#onayami:hover img {
    transform: scale(1.02);
}
/*あいさつ*/
#greeting {
    margin-bottom: 50px;
}
.greeting-photo img {
    width: 40%;
    display: block;
    margin: 0 auto;
    padding: 2rem 0;
}
.greeting-text {
    padding: 1rem;
    font-size: 1.2rem;
    line-height: 1.7rem;
}
/*歴史*/
#history {
    margin-bottom: 50px;
}
.history-store img {
    width: 90%;
    display: block;
    margin: 1rem auto;
    border: solid 1px #3d2e1f;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.history-text {
    padding: 1rem;
    font-size: 1.2rem;
    line-height: 1.7rem;
}
/*お店案内*/
#information-top {
    position: relative;
    margin-bottom: 80px;
}
.info_img img {
    width: 70vw;
    border-radius: 50%;
    height: 70vw;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.info_img {
    display: block;
    margin: 2rem 0;
    position: relative;
}
.info_title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    display: block;
    height: 2.5rem;
    border-radius: 10px;
}
.info_title p {
    font-size: 1.5rem;
    line-height: 2.5rem;
    padding: 0 1rem;
    white-space: nowrap;
}
.info_text {
    padding: 1rem 2rem;
    position: relative;
}
.info_text p {
    line-height: 1.7rem;
    font-size: 1.2rem;
}
.info_color-back {
    background-color: rgba(227, 215, 191, 0.4);
    padding-top: 2rem;
    padding-bottom: 3rem;
}
.info_white-back {
    padding-bottom: 3rem;
    padding-top: 2rem;
}
.info_color-back-circle {
    background-color: rgba(227, 215, 191, 0.4);
    display: block;
    height: 80vw;
    width: 80vw;
    margin: 5rem auto;
    border-radius: 50%;
    position: relative;
}
#finish-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}
#finish-text p {
    line-height: 1.7rem;
    font-size: 1.2rem;
}
#map {
    overflow: hidden;
    margin-top: 130px;
}
#map iframe {
    width: 96%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 2%;
}
.address {
    padding: 1rem;
    text-align: center;
}
.address p {
    font-size: 1rem;
    white-space: nowrap;
}
/*お問い合わせの多い症状*/
.pickup-text {
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.7rem;
}
/*Q&A*/
#q-and-a {
    margin-top: 80px;
}
.q-img img {
    width: 40px;
}
.q-area {
    padding: 1.2rem;
    display: flex;
    gap: 10px;
    margin-top: 2.5rem;
    align-items: center;
}
.a-img img {
    width: 30px;
}
.a-area {
    display: flex;
    padding: 0.7rem;
    gap: 10px;
    border: solid 2px #7cdfd5;
    margin: 30px 0.5rem;
    border-radius: 20px;
}
/*サイト更新履歴*/
#update {
    margin-top: 100px;
}
#update h2 {
    text-align: center;
    padding: 1rem;
}
.update-list {
    text-align: center;
    margin: 0 5%;
}
.update-list ul {
    display: inline-block;
    text-align: left;
    line-height: 1.4rem;
    list-style: none;
}
.update-list ul li {
    padding: 0.5rem 0;
}
/*フッター*/
footer {
    background-color: #3d2e1f;
    padding: 2rem 1rem;
    margin-top: 130px;
}
.footer-menu ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
}
.footer-menu ul li {
    list-style: none;
}
.footer-menu ul a {
    font-size: 0.8rem;
    text-decoration: none;
    color: white;
}
.footer-menu ul a:hover {
    color: #8af8ed;
}
#copyright p {
    color: white;
    font-size: 0.8rem;
}
#copyright {
    text-align: center;
    padding-top: 1rem;
}
/*お悩みページ*/
.band h1 {
    font-size: 2rem;
    white-space: nowrap;
    text-align: center;
    margin: 0 auto;
    line-height: 5rem;
    color: white;
}
#onayami-2 img {
    width: 30%;
    display: block;
    margin: 50px auto 10px auto;
}
.worries-flyer {
    width: 90%;
    height: auto;
    overflow: auto;
    position: relative;
    cursor: grab;
    margin: 0 auto;
}
.worries-flyer img {
    width: 100%;
    height: auto;
    object-fit: contain;
    user-select: none;
    position: relative;
}
/* モーダル背景 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

/* 拡大画像 */
.image-modal img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    box-shadow: 0 0 20px #000;
    border-radius: 8px;
}

.worries h2 {
    font-size: 3rem;
    text-align: center;
    font-family: "Yuji Syuku", serif;
    font-weight: 400;
    font-style: normal;
    white-space: nowrap;
}
.worries {
    padding: 50px 0;
}
.worries-flyer_beside {
    width: 90%;
    height: auto;
    overflow: auto;
    position: relative;
    cursor: grab;
    margin: 0 auto;
}
.worries-flyer_beside img {
    width: 100%;
    height: auto;
    object-fit: contain;
    user-select: none;
    position: relative;
}
/*お問い合わせページ*/
.contact_image img {
    width: 100%;
}
.contact_image {
    padding: 50px 0;
}
.contact {
    margin-top: 2rem;
}
.contact label {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    display: block;
}
.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.contact input[type="radio"] {
    margin-right: 5px;
    display: inline-block;
}
.contact label[for="troubleType-benpi"],
.contact label[for="troubleType-ji"],
.contact label[for="troubleType-tume"],
.contact label[for="troubleType-diet"],
.contact label[for="troubleType-hana"],
.contact label[for="troubleType-hiza"],
.contact label[for="troubleType-huke"],
.contact label[for="troubleType-mimi"],
.contact label[for="troubleType-ninchi"],
.contact label[for="troubleType-yase"],
.contact label[for="troubleType-sonota"] {
    display: inline-block;
    margin-right: 25px; /* ラジオボタン同士の間隔 */
    font-size: 0.9rem;
    margin-top: 15px;
}
.contact p {
    font-size: 1.1rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
}
.radio_container {
    padding-left: 1rem;
}
.contact button {
    width: 100%;
    padding: 10px;
    background-color: #60ada5;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin: 50px auto;
}

.contact button:hover {
    background-color: #7cdfd5;
    color: #222029;
}
.required {
    font-size: 0.8em;
    padding: 3px;
    background: #cc0000;
    color: #ffffff;
    border-radius: 2px;
    margin-right: 10px;
    margin-bottom: 2px;
    display: inline-block;
}
/*ポリシーページ*/
.policy h2 {
    text-align: center;
    font-size: 1.2rem;
    padding-bottom: 0.7rem;
    white-space: nowrap;
}
.policy {
    padding: 2rem 0;
}
/****/
/*絵葉書*/
.gallery-page_image {
    margin: 30px 0;
}
.gallery-page_image img {
    width: 30%;
    margin: 0 auto;
    display: block;
}
.gallery {
    margin: 2rem 1rem;
}
.gallery img {
    width: 100%;
    border: 10px solid #d4af37; /* ゴールド系の額縁色 */
    border: 8px double #a67c00;
    padding: 10px;
    background-color: #fffdf5; /* 額縁と画像の間のマット風 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 立体感のための影 */
    display: block;
    box-sizing: border-box;
}
.gallery p {
    text-align: center;
    font-size: 1.1rem;
    padding: 1rem 0;
}
/*レスポンシブ*/
@media (max-width: 767px) {
    .pc {
        display: none !important;
    }
}
@media (min-width: 768px) {
    .mb {
        display: none !important;
    }
    /*ヘッダー*/
    .info-container {
        display: flex;
        justify-content: space-between;
    }
    .header-box {
        width: 30vw;
    }
    #kanpouyaku p {
        font-size: 2rem;
        line-height: 4rem;
    }
    #kanpouyaku {
        height: 4rem;
    }
    .name p {
        font-size: 4vw;
    }
    .name p span {
        font-size: 1.7vw;
    }
    .back-color {
        display: flex;
        width: 70vw;
        justify-content: space-around;
    }
    .tel a {
        font-size: 2.5vw;
        white-space: nowrap;
    }
    .tel img {
        width: 4vw;
    }
    .mail {
        font-size: 1.5vw;
    }
    .holiday {
        font-size: 1.4vw;
    }
    /*メニュー*/
    #menubar ul li {
        font-size: 2rem;
    }
    #menubar ul {
        padding: 0 20%;
    }
    /*スライダー*/
    .swiper-slide img {
        height: 60vh;
        display: block;
        margin: 0 auto;
    }
    #image-illustration {
        height: 60vh;
        width: 45%;
    }
    /*ページタイトル*/
    .h1-container h1 {
        font-size: 1.5rem;
    }
    /*悩みごと*/
    .worries-backimage {
        padding: 0 5%;
    }
    .worries-top_outer {
        grid-template-columns: repeat(4, 1fr); /* 4列 */
    }
    .worries-top {
        padding: 30px;
    }
    .worries_img {
        width: 15vw;
        height: auto;
    }
    #onayami img {
        width: 180px;
    }
    .band h2 {
        font-size: 2rem;
    }
    #worries-top_countainer {
        padding-bottom: 120px;
    }
    /*あいさつ*/
    .greeting-container {
        display: flex;
        justify-content: space-between;
        margin: 0 5%;
    }
    .greeting-photo img {
        width: 200px;
    }
    .greeting-photo {
        margin: 100px;
    }
    .greeting-text {
        padding: 5rem;
        font-size: 1.4rem;
        line-height: 2.4rem;
    }
    /*歴史*/
    .history-text {
        padding: 5rem;
        font-size: 1.4rem;
        line-height: 2.4rem;
    }
    .history-store {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin: 40px 10%;
        gap: 10%;
    }
    /*お店案内*/
    .info_img img {
        width: 30vw;
        height: 30vw;
    }
    .info_white-back {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 50px;
    }
    .info_color-back {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 50px;
        flex-direction: row-reverse;
    }
    .info_text {
        width: 40vw;
    }
    .info_title p {
        font-size: 2rem;
    }
    .info_text p {
        font-size: 1.5rem;
        line-height: 2.2rem;
    }
    .info_color-back-circle {
        height: 40vw;
        width: 40vw;
    }
    #finish-text p {
        font-size: 1.8rem;
        line-height: 2.8rem;
    }
    #finish-text {
        width: 80%;
    }
    #map iframe {
        display: block;
        margin: 0 auto;
        width: 40%;
    }
    #map {
        margin-top: 330px;
    }
    .address p {
        font-size: 1.5rem;
    }
    .address {
        padding-top: 2rem;
    }
    /*お問い合わせの多い症状*/
    .pickup-text {
        padding-top: 5rem;
        font-size: 1.5rem;
        line-height: 3.5rem;
        text-align: center;
    }
    .pickup-text p {
        display: inline-block;
        text-align: left;
    }
    /*Q&A*/
    #q-and-a {
        margin-top: 100px;
    }
    .q-and-a_outer {
        margin: 100px 15%;
    }
    .q-text {
        font-size: 1.5rem;
    }
    .a-text {
        font-size: 1.5rem;
    }
    .a-area {
        padding: 1.2rem;
        gap: 20px;
    }
    .q-area {
        gap: 20px;
    }
    .q-img img {
        width: 50px;
    }
    .a-img img {
        width: 50px;
    }
    /*フッター*/
    .footer-menu ul a {
        font-size: 1.2rem;
    }
    #copyright p {
        font-size: 1.2rem;
    }
    #copyright {
        padding-top: 3rem;
    }
    footer {
        padding: 4rem;
    }
    /*お悩みページ*/
    #onayami-2 img {
        width: 10%;
    }
    .worries-flyer img {
        width: 100%;
    }
    .worries_outer {
        display: flex;
        justify-content: space-around;
    }
    .worries-flyer {
        width: 45vw;
        height: auto;
    }
    .worries-flyer_beside img {
        width: 100%;
    }
    .worries-flyer_beside {
        width: 60vw;
        display: block;
        margin: 0 auto;
    }
    .worries {
        margin: 30px auto;
    }
    /*お問い合わせページ*/
    .contact_image img {
        width: 40%;
        display: block;
        margin: 0 auto;
    }
    .contact {
        width: 40%;
        display: block;
        margin: 0 auto;
    }
    .contact button {
        width: 50%;
        display: block;
        font-size: 22px;
    }
    .contact label {
        font-size: 1.4rem;
    }
    .contact p {
        font-size: 1.4rem;
    }
    .contact label[for="troubleType-benpi"],
    .contact label[for="troubleType-ji"],
    .contact label[for="troubleType-tume"],
    .contact label[for="troubleType-diet"],
    .contact label[for="troubleType-hana"],
    .contact label[for="troubleType-hiza"],
    .contact label[for="troubleType-huke"],
    .contact label[for="troubleType-mimi"],
    .contact label[for="troubleType-ninchi"],
    .contact label[for="troubleType-yase"],
    .contact label[for="troubleType-sonota"] {
        font-size: 1.2rem;
        margin-top: 25px;
    }
    /*ポリシーページ*/
    .policy h2 {
        font-size: 1.5rem;
        padding-bottom: 1rem;
    }
    .policy {
        padding: 4rem 0;
    }
    .policy_text {
        font-size: 1.2rem;
        line-height: 2.4rem;
    }
    #policy_outer {
        width: 50%;
        display: block;
        margin: 0 auto;
    }
    /***/
    /*絵葉書*/
    .gallery-page_image img {
        width: 150px;
    }
    .gallery-page_image {
        margin: 80px auto;
    }
    .gallery-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        margin: 50px 5%;
        gap: 30px;
    }
    .gallery p {
        font-size: 1.3rem;
    }
}