/* ページ全体のフォント設定 */
.advice, .advice h1, .advice h2, .advice h3, .advice h4, .advice h5, .advice h6, .advice p, .advice div, .advice span, .advice a {
    font-family: "Noto Sans JP","UD Shin Go Conde90 L","FP-ヒラギノ角ゴ ProN W6", YuGothic,'Yu Gothic',"ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;
}

.ans-font {
    font-family: "Noto Sans JP","UD Shin Go Conde90 L","FP-ヒラギノ角ゴ ProN W6", YuGothic,'Yu Gothic',"ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.ans-red-text {
    color: #E12C6D;
}

/* レイアウト枠 */
.container {
    max-width: 960px;
    min-width: 375px;
    margin: 0 auto;
}

.container:after {
    content: "";
    display: block;
    clear: both;
}

article, .article {
    margin: 0;
    width: 96%;
    padding: 15px 2% 20px 2%;
}

section, .section {
    width: 100%;
    margin: 0;
    padding: 10px 0 20px 0;
}

section:after, .section:after {
    content: "";
    display: block;
    clear: both;
}

.main-image-container {
    overflow: hidden;
    position: relative;
    max-height: 636px;
    min-height: 570px;
}

.main-image {
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(-22%);
}

/* タブレット縦（767px以下） */
@media (max-width: 767px) {
    .main-image-container {
        height: 570px;
    }
    .main-image {
        width: 140%;
        height: 140%;
        transform: translateX(0) translateY(-18%);
    }
}

img {
    display: block;
}

.main-message1 {
    position: absolute;
    top: 31px;
    left: 33px;
    margin: 0;
    font-size: 42px;
    font-weight: bold;
    line-height: 1.2;
    max-width: 359px;
}

.main-message1 .strong {
    font-size: 50px;
    color: #E12C6D;
}

.main-message2 {
    position: absolute;
    top: 20px;
    left: 324px;
    margin: 0;
}

/* タブレット縦（767px以下） */
@media (max-width: 767px) {
    .main-message1 {
        font-size: 37px;
    }
    .main-message1 .strong {
        font-size: 45px;
    }
    .main-message2 {
        width: 173px;
        top: 125px;
        left: 215px;
    }
}

.main-features {
    background-size: contain;
    width: 398px;
    height: 132px;
    position: absolute;
    bottom: 134px;
    left: 50%;
    transform: translate(-50%, 0);
    margin: 0;
}

.features-text-container {
    display: relative;
}

.features-text {
    position: absolute;
    text-align: center;
    line-height: 1.2;
    top: 32px;
}

.features-text.text1 {
    left: 30px;
}

.features-text.text2 {
    left: 165px;
}

.features-text.text3 {
    left: 292px;
}

.features-text .strong {
    font-size: 24px;
    color: #33B25D;
}

.features-text .big {
    font-size: 40px;
    font-weight: bold;
}

.features-text.text3 .strong {
    font-weight: bold;
}

.advice-entry-btn {
    width: 361px;
    height: 89px;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 0);
    margin: 0;
}

.advice-entry-btn-text {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    display: block;
    line-height: 1.2em;
    color: #fff;
}

/* タブレット縦（767px以下） */
@media (max-width: 767px) {
    .main-features {
        width: 356px;
        height: 118px;
        bottom: 104px;
    }
    .features-text {
        font-size: 16px;
        line-height: 1.3;
        top: 24px;
    }
    .features-text.text1 {
        left: 24px;
    }
    .features-text.text2 {
        left: 146px;
    }
    .features-text.text3 {
        left: 258px;
    }
    .features-text .strong {
        font-size: 22px;
    }
    .features-text .big {
        font-size: 40px;
    }
    .advice-entry-btn {
        width: 324px;
        height: 80px;
        bottom: 15px;
    }
    .advice-entry-btn .advice-entry-btn-text {
        font-size: 20px;
    }
}

/* 小さいサイズのボタン */
.advice-entry-btn.mini {
    width: 324px;
    height: 80px;
    position: relative;
    bottom: 40px;
}

.advice-entry-btn.mini .advice-entry-btn-text {
    font-size: 20px;
}

/* タブレット縦（767px以下） */
@media (max-width: 767px) {
    .advice-entry-btn.mini {
        bottom: 20px;
    }
}

.advice-three-reasons {
    padding: 20px 0px 30px 0px;
}

/* タブレット縦（767px以下） */
@media (max-width: 767px) {
    .advice-three-reasons {
        padding: 20px 0px 30px 0px;
    }
}

.advice-three-reasons h2 {
    color: #fff;
    font-size: 24px;
    font-weight: normal;
    text-align: center;
    margin: 0px;
    padding: 12px 0 10px 0;
    line-height: 1.1;
}

.advice-three-reasons-item {
    background-color: #fff;
    max-width: 294px;
    min-width: 200px;
    height: 226px;
    border-radius: 9px;
    margin: 10px auto;
    background-size: auto;
    background-position: 50% 10%;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.advice-three-reasons-item-text {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

/* タブレット横（959px以下） */
@media (max-width: 959px) {
    .advice-three-reasons-item-text {
        font-size: 18px;
    }
}

/* スマホ（479px以下） */
@media (max-width: 479px) {
    .advice-three-reasons-item {
        width: 335px;
    }
    .advice-three-reasons-item-text {
        font-size: 20px;
    }
}

.advice-entry-message {
    width: 303px;
    height: 46px;
    margin: 33px auto 15px auto;
    background-image: url(../images/advice/advice_entry_message.png);
    background-size: contain;
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.advice-entry-message-text {
    font-size: 18px;
    text-align: center;
    display: block;
    line-height: 1.2em;
    color: #33B25D;
}

.advice-entry-photo {
    width: 676px;
    height: 240px;
    margin: 0 auto;
    background-size: cover;
    background-position: 50% 80%;
    background-repeat: no-repeat;
    border-radius: 120px;
}

.advice-entry-photo.photo1 {
    background-position: 50% 80%;
}

.advice-entry-photo.photo2 {
    background-position: 50% 65%;
}

.advice-entry-photo.photo3 {
    background-position: 50% 45%;
    background-size: 150%;
}

/* タブレット縦（767px以下） */
@media (max-width: 767px) {
    .advice-entry-photo {
        width: 362px;
        height: 240px;
    }
    .advice-entry-photo.photo1 {
        background-size: 150%;
        background-position: 50% 80%;
    }
    .advice-entry-photo.photo2 {
        background-size: 150%;
        background-position: 50% 65%;
    }
    .advice-entry-photo.photo3 {
        background-position: 50% 45%;
        background-size: 220%;
    }
}

h2.section-title {
    font-size: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

h2.section-title::before, h2.section-title::after {
    content: '';
    width: 50px;
    height: 10px;
    background-image: url('../images/advice/advice_title_left.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

h2.section-title::after {
    background-image: url('../images/advice/advice_title_right.png');
}

/* タブレット縦（767px以下） */
@media (max-width: 767px) {
    h2.section-title::before, h2.section-title::after {
        width: 40px;
        height: 8px;
    }
}

/* スマホ（479px以下） */
@media (max-width: 479px) {
    h2.section-title {
        font-size: 18px;
    }
}

.advice-fix-probrems-item {
    max-width: 472px;
    height: 200px;
    margin-bottom: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.advice-fix-probrems-item-text {
    font-size: 18px;
    text-align: center;
    position: absolute;
    top: 50%;
}

.advice-fix-probrems-item-text.left {
    left: 9%;
    transform: translate(0, -50%);
}

.advice-fix-probrems-item-text.right {
    left: 54%;
    transform: translate(0, -50%);
}

/* タブレット縦（767px以下）でセンタリング */
@media (max-width: 767px) {
    .col2-flex .advice-fix-probrems-item {
        margin: 0 auto 20px auto;
    }
}

.advice-fix-probrems-container, .advice-customer-voice-container {
    margin: 0px;
}

.advice-customer-voice-item {
    height: 264px;
    padding: 15px 0 0 0;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #FFF2D9;
}

.advice-customer-voice-title {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 27px;
}

.advice-customer-voice-title img {
    width: 93px;
    height: 93px;
    object-fit: cover;
    flex-shrink: 0;
}

.advice-customer-voice-title h3 {
    color: #33B25D;
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.advice-customer-voice-text {
    margin: 27px;
}

.advice-customer-voice-text p {
    font-size: 20px;
    line-height: 1.4;
}

/* タブレット縦（767px以下） */
@media (max-width: 767px) {
    .advice-customer-voice-title h3 {
        font-size: 22px;
    }
    .advice-customer-voice-text p {
        font-size: 18px;
        line-height: 1.4;
    }
}

.advice-btn-container-pink {
    background-image: url(../images/advice/advice_btn_pink_bg.png);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    text-align: center;
    padding-top: 40px;
    margin-top: 20px;
    border-bottom: 10px solid #E12C6D;
}

/* タブレット縦（767px以下） */
@media (max-width: 767px) {
    .advice-btn-container-pink {
        background-size: 100%;
    }
}

.advice-entry-message-pink p {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
}

.advice-introduction-container {
    padding: 30px 0px;
    background-color: #FFD0E1;
    margin: 0;
}

.advice-introduction-item img {
    display: block;
    margin: 0 auto;
}

.advice-introduction-table {
    width: 100%;
    border-collapse: collapse;
}

.advice-introduction-table tr {
    border-top: none;
    border-bottom: 1px solid #FFF;
}

.advice-introduction-table td {
    vertical-align: top;
    padding: 10px;
    border-bottom: none;
}

/* タブレット縦（767px以下）：テーブルを縦並びに */
@media (max-width: 767px) {
    .advice-introduction-table td {
        display: block;
        padding: 5px 0 0 0;
    }
    .advice-introduction-table td:first-child {
        margin: 5px 0 2px 0;
    }
    .advice-introduction-table td:last-child {
        margin-bottom: 15px;
    }
}

.advice-shops-container {
    padding: 30px 0px;
    margin: 0;
}

/* 店舗タブ：レイアウト */
.shop-tabs {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1px;
    border-bottom: 1px solid #E12C6D;
}

.shop-tabs .tab-nav {
    max-width: 379px;
    margin: 0 auto;
    display: flex;
}

.shop-tabs .tab-btn {
    flex: 1;
    padding: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: #afafaf;
}

.shop-tabs .tab-btn.active {
    border-bottom: 3px solid #E12C6D;
    color: #111111;
    font-weight: bold;
}

/* 店舗タブ：コンテンツ枠 */
.shop-tab-content {
    max-width: 660px;
    padding: 10px 30px;
    margin: 0 auto;
    display: none;
}

.shop-tab-content.active {
    display: block;
}

.advice-shops-item img {
    display: block;
    margin: 0 auto;
}

.advice-shops-table {
    width: 100%;
    border-collapse: collapse;
}

.advice-shops-table tr {
    border-top: none;
    border-bottom: 1px solid #E12C6D;
}

.advice-shops-table td {
    vertical-align: top;
    padding: 10px;
    border-bottom: none;
}

.shop-map {
    width: 100%;
    height: 400px;
    border: none;
}

/* タブレット縦（767px以下）：テーブルを縦並びに */
@media (max-width: 767px) {
    .advice-shops-table td {
        display: block;
        padding: 5px 0 0 0;
    }
    .advice-shops-table td:first-child {
        margin: 5px 0 2px 0;
    }
    .advice-shops-table td:last-child {
        margin-bottom: 15px;
    }
}

.advice-btn-container a:hover,
.main-btn-container a:hover,
.advice-btn-container-pink a:hover {
    opacity: 0.9;
}

/* 浜松相談会フォーム専用スタイル */
.advice-entry-form {
    background-color: #F0F3FA;
    padding: 30px 0px;
}

#entry-form {
    scroll-margin-top: 100px;
}