/* ================================
   基本設定（背景・フォント・全体設定）
================================ */
body {
    background-color: #fffdf5;
}

main.skin {
    max-width: 1400px;
    margin: 0 auto;
}


/* ================================
   テキスト関連（フォントサイズ・行間）
================================ */
.skin p {
    font-size: 18px;
}

@media screen and (max-width: 1000px) {
    .skin p {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .skin p {
        font-size: 15px;
        line-height: 30px;
    }

    .skin-title-container {
        padding: 10px 20px;
    }
}

/* ================================
   ファーストビュー（トップ画像＋タイトル）
================================ */
.skin-fv {
    display: flex;
    position: relative;
    width: 100%;
    height: 89vh;
    margin: 0 0 100px 0;
    overflow: hidden;
}

.skin-fv-img-container {
    width: 90%;
    height: 100%;
    border-top-right-radius: 90px;
    border-bottom-right-radius: 90px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.skin-fv-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.89);
}

/* タイトルコンテナ */
.skin-fv-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 10%;
    writing-mode: vertical-rl;
    margin: 0 auto;
}

.skin-title-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 0;
    left: 0;
    text-align: center;
    background-color: #fffdf5;
    padding: 20px 40px;
    border-top-right-radius: 20px;
}


.skin-semi-title {
    font-size: 19px;
    font-weight: normal;
}

/* タイトルの装飾 */
.skin-title {
    font-size: 20px;
    letter-spacing: 7px;
    font-weight: normal;
}

.skin-title::before,
.skin-title::after {
    display: block;
    content: '';
    position: absolute;
    width: 19px;
    height: 19px;
    background: url(../img/fv-radius-jenerator.svg);
}

.skin-title::before {
    top: -19px;
    left: 0;
}

.skin-title::after {
    bottom: 0;
    right: -19px;
}

/* ================================
   コンテンツ（説明文・レイアウト）
================================ */
.skin-content1 {
    border-radius: 20px;
    width: 750px;
    text-align: left;
    margin: 0 auto;
}

.skin-content-title {
    display: block;
    color: #303030;
    font-weight: 1000;
    font-size: 19px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: left;
    width: 100%;
    text-wrap: nowrap;
}

.skin-content-title::before {
    content: "";
}

.skin-content-title span {
    display: block;
}

.skin-content .skin-content-text {
    display: block;
    text-align: left;
    width: 700px;
    text-wrap: nowrap;
}

.skin-content-text p {
    margin-bottom: 13px;
    /* pタグの間隔を開ける */
    line-height: 1.2;
    /* 行間を広げて読みやすく */
}

.skin-content-text p:last-child {
    margin-bottom: 0;
    /* 最後のpだけ余白なしにする */
}

.skin-content-group {
    line-height: 36px;
    margin: 50px;
}

/* メディアクエリ（コンテンツの調整） */
@media screen and (max-width: 768px) {

    .skin-fv {
        height: 500px;
    }

    .skin-title-container {
        padding: 10px 20px;
    }

    .skin-title {
        font-size: 20px;
        letter-spacing: 7px;
    }

    .skin-content-title {
        font-size: 18px;
    }

    .skin-content .skin-content-text {
        padding: 0 50px;
    }

    .skin-content-exp {
        width: 400px;
    }

    .skin-content1 {
        border-radius: 20px;
        width: 80%;
        text-align: left;
        margin: 0 auto;
    }

    .skin-content-title {
        display: block;
        color: #303030;
        font-weight: 1000;
        font-size: 18px;
        border-radius: 10px;
        margin: 30px 0;
        text-align: left;
    }
}

@media screen and (max-width: 480px) {

    .skin-fv {
        height: 400px;
    }

    .skin-content .skin-content-text {
        padding: 0 20px;
    }

    .skin-content1 {
        border-radius: 20px;
        width: 90%;
        text-align: left;
        margin: 0 auto;
    }

    .skin-content-group {
        line-height: 36px;
        margin: 0;
    }
}

/* ================================
   セクション装飾（背景・リスト・ボックス）
================================ */
.skin-content-exp {
    text-align: center;
    width: 1000px;
    margin: 100px auto;
}

.skin-content-exp p {
    border-bottom: 1px solid #303030;
    text-align: center;
    display: inline;
    margin: 0 auto;
}

.skin-content-exp ul {
    background-color: #eaeaea;
    padding: 40px 0 40px 60px;
    line-height: 30px;
    list-style: circle;
    text-align: left;
}

.skin-content-exp ul li {
    font-size: 17px;
}

@media screen and (max-width:1000px) {

    .skin-content-exp {
        text-align: center;
        width: 500px;
        margin: 50px auto;
    }

    .skin-content-exp p {
        border-bottom: 1px solid #303030;
        text-align: center;
        display: inline;
        margin: 0 auto;
    }

    .skin-content-exp ul {
        background-color: #eaeaea;
        padding: 30px;
        line-height: 30px;
        list-style: circle;
        text-align: left;
    }

    .skin-content-exp ul li {
        font-size: 17px;
    }


}


@media screen and (max-width:768px) {

    .skin-content-exp {
        text-align: center;
        width: 100%;
        margin: 40px auto;
    }

    .skin-content-exp p {
        border-bottom: 1px solid #303030;
        text-align: center;
        display: inline;
        margin: 0 auto;
        font-size: 17px;
    }

    .skin-content-exp ul {
        background-color: #eaeaea;
        padding: 20px;
        line-height: 30px;
        list-style: circle;
        text-align: left;
    }

    .skin-content-exp ul li {
        font-size: 17px;
    }
}

@media screen and (max-width:480px) {

    .skin-content-exp {
        text-align: center;
        width: 100%;
        margin: 50px auto;
    }

    .skin-content-exp p {
        border-bottom: 1px solid #303030;
        text-align: center;
        display: inline;
        margin: 0 auto;
        font-size: 15px;
    }

    .skin-content-exp ul {
        background-color: #eaeaea;
        padding: 20px;
        line-height: 30px;
        list-style: circle;
        text-align: left;
    }

    .skin-content-exp ul li {
        font-size: 15px;
    }
}

/* ================================
   画像付きテキストエリア
================================ */
.skin-content-text1-img {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 90px;
    border-bottom-left-radius: 90px;
    overflow: hidden;
}

.skin-content-text1-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   装飾用の背景要素
================================ */
.skin-bg1 {
    width: 30vw;
    height: 30vw;
    position: absolute;
    left: 15%;
    top: 250%;
    background-color: #ffdfb83b;
    border-radius: 30vw;
    z-index: -1;
}

.skin-bg2 {
    width: 15vw;
    height: 15vw;
    position: absolute;
    background-color: #ffdfb83b;
    right: 15%;
    border-radius: 15vw;
    bottom: -50%;
    z-index: -1;
}

/* ================================
   お問い合わせボタン
================================ */
.contact--btn-container {
    position: relative;
    margin: 0 0 0 0;
    padding: 120px 0 100px 0;
    width: 100%;
    background: url(../img/hashimotoyakkyoku-contact-bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
    border-radius: 20px;
}

.contact--btn {
    width: 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background-color: #fffdf5;
    padding: 50px 0;
    border-radius: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact--btn-text {
    margin: 0 0 0 150px;
    font-size: 18px;
}

.contact--btn img {
    margin: 0 80px 0 0;
    width: 25px;
    height: 25px;
}

.contact--btn:hover {
    background-color: #c8c8c8;
    transition: 0.6s;
}

/* メディアクエリ（ボタンのサイズ調整） */
@media screen and (max-width: 768px) {
    .contact--btn-container {
        padding: 80px 0 60px 0;
    }

    .contact--btn {
        width: 300px;
        padding: 20px 0;
    }

    .contact--btn-text {
        margin: 0 0 0 50px;
        font-size: 16px;
    }

    .contact--btn img {
        margin: 0 30px 0 0;
        width: 15px;
        height: 15px;
    }
}

@media screen and (max-width: 480px) {
    .contact--btn-container {
        padding: 80px 0 60px 0;
    }

    .contact--btn {
        width: 300px;
        padding: 20px 0;
        border-radius: 15px;
    }

    .contact--btn-text {
        margin: 0 0 0 50px;
        font-size: 16px;
    }

    .contact--btn img {
        margin: 0 30px 0 0;
        width: 15px;
        height: 15px;
    }
}