@charset "UTF-8";

/* 共通 ---------------------------*/
:root {
    --v-space: clamp(90px, 9vw, 120px);
}

body {
    margin: 0;
    /* background-color: #eee; */
    color: #523a37;
    font-family: sans-serif;
    background-image: linear-gradient(90deg, rgba(246, 231, 242, 0.25), rgba(250, 176, 169, 0.25) 41%, rgba(253, 225, 170, 0.25));
    font-family: 游明朝;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    line-height: 1.8;
}

/* 下層ページのみ 記事内の見出し・行間の余白調整-------------------*/
/* まとめて指定・セレクタ詳細度上げない(全て.entry-containerと同じ詳細度) :whereの前に半角スペース必要 */
/* ※「:is」だと「.entry-container h1」と同じ詳細度 */
.entry-container :where(h1, h2, h3, h4, h5, h6, p, figure, ul) {
    margin-top: revert;
    margin-bottom: revert;
    padding: revert;
    list-style: revert;
}

.entry-container p {
    /* 上下余白　文字サイズの1.8倍 */
    margin: 1.8rem 0;
}

/* .entry-container内の最初の子要素 */
.entry-container> :first-child {
    margin-top: 0;
}

/* 最後の子要素 */
.entry-container> :last-child {
    margin-bottom: 0;
}

/*下層　記事内の余白調整ここまで----------------------------*/



a {
    /*デフォルトの青色解除、親と同じ色にする*/
    color: inherit;
    /* 下線無し */
    text-decoration: none;
}

/* ホバーで明度下げて、色濃くする */
a:hover {
    filter: brightness(90%) contrast(120%);
}
button:hover {
    filter: brightness(90%) contrast(120%);
}


img {
    display: block;
    /* オリジナルサイズ以上に拡大されるのを防ぐ */
    max-width: 100%;
    /* 縦横比保持 */
    height: auto;
    /* 角丸 */
    /* border-radius: 15px 30%; */
}

.imgtext img,
.posts img {
    border-radius: 40% 50% 30% 50%;
}

/* 横幅と左右の余白 */
.w-container {
    width: min(92%, 1166px);
    margin: auto;
    position: relative;
}

/* ヘッダー ---------------------------*/
.header {
    height: 112px;
    /* background-color: #fff; */
    /* background-color: #f9e5de; */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* 要素３つ以上の場合の両端配置*/
/*ロゴ右に自動余白*/
/* .site{
    margin-right: auto;
} */

/* ロゴ */
.site a {
    font-size: 25px;
    font-family: 游明朝;
}

/* ナビ ---------------------------*/
.navbtn {
    /*buttonタグのデフォルト装飾解除*/
    padding: 0;
    /*装飾解除*/
    outline: none;
    /*装飾解除*/
    border: none;
    /*装飾解除*/
    background: transparent;
    cursor: pointer;
    color: #97857e;
    font-size: 30px;
}

.open .navbtn {
    z-index: 110;
    color: #fff;
    position: fixed;
    right: 30px;
}

.navbtn .fa-bars {
    display: revert;
}

.open .navbtn .fa-bars {
    display: none;
}

/* ×ボタン */
.navbtn .fa-times {
    display: none;
}

.open .navbtn .fa-times {
    display: revert;
}

/* 色 */
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after,
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: currentColor;
}


/* メイン画像 ---------------------------*/
.hero {
    /* height: 650px; */
    /* background-image: url(img/hero.jpg); */
    /* background-position: center; */
    height: 650px;
    background-image: url(img/main1.jpg);
    background-position: right 30% center;
    background-size: cover;
    /* 背景のため */
    position: relative;
    overflow: hidden;
}

/* 背景 飾り */
section.hero:before,
section.hero:after {
    content: '';
    position: absolute;
    top: -30%;
    left: 0;
    width: 53vw;
    height: 150%;
    border-radius: 0 50% 50% 0;
}

section.hero:after {
    z-index: 0;
    background: #faf5f1;
    background-image: linear-gradient(90deg, rgba(246, 231, 242, 0.25), rgba(250, 176, 169, 0.25) 41%, rgba(253, 225, 170, 0.25));
}

section.hero:before {
    z-index: 1;
    /* 背景パターン */
    background-color: #faf5f1;
    opacity: 0.08;
    background-image: linear-gradient(-45deg, #faf5f1, #faf5f1 50%, #dab481 50%, #dab481);
    background-size: 19px 19px;
}


/* テキスト */
.hero-container {
    display: grid;
    justify-items: center;
    align-content: center;
    height: 100%;
    text-align: center;
    font-family: "游明朝";
    /* 背景より上 */
    z-index: 1;
}

.hero h1 {
    margin-bottom: 42px;
    /* font-family: "Montserrat,sans-serif"; */
    font-size: 48px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    font-size: clamp(48px, 5vw, 68px);
    min-height: 0vw;
}

.hero p {
    margin-bottom: 72px;
}


/* 下層ページ お問合わせ メイン画像 */
.lower .hero {
    height: 450px;
    background-image: url(img/main1.jpg);
    background-position: right 30% center;
}

/* 背景 飾り */
.lower .hero:before,
.lower .hero:after {
    content: '';
    position: absolute;
    top: -30%;
    left: 0;
    width: 53vw;
    height: 160%;
    border-radius: 0 50% 50% 0;
}

/* テキスト */
.lower .hero h1 {
    margin-bottom: 0;
}

.lower .hero p {
    margin-bottom: 0;
    padding-left: 0.5em;
}


/* ボタン */
.btn {
    display: block;
    width: 260px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    /* background-color: #e8b368; */
    background-color: #DAB481;
    color: #fff;
    font-size: 18px;
    text-align: center;
    text-shadow: 0 0 6px #00000052;
}

/* 色変更 */
.btn-accent {
    background-color: #D49768;
}

.btn-main {
    background-color: #DAB481;
    /* background-color: #6c5855; */
}




/* 記事 -------------------------*/
/* 全体*/
.imgtext {
    padding: var(--v-space) 0;
    background-color: #fff;
}

/* 記事間の重複余白をなくす */
.imgtext+.imgtext {
    padding-top: 0;
}
.imgtext:last-child {
        padding-bottom: calc(var(--v-space) *1.3);
}

/* 内側のdiv */
.imgtext-container {
    display: flex;
    /* 子要素を縦並び */
    flex-direction: column;
    gap: clamp(45px, 6vw, 80px);
}

/* タイトル */
.heading-decoration {
    font-size: clamp(30px, 3vw, 40px);
    min-height: 0vw;
    font-weight: 400;
}

/* 飾り下線 */
.heading-decoration:after {
    display: block;
    content: '';
    width: 160px;
    height: 0px;
    border-top: solid 1px #dab481;
    margin-top: 0.3em;
}

/* サブタイトル */
.heading-decoration+p {
    margin-top: 1em;
    margin-bottom: 2em;
    color: #707070;
    /* font-family: "Montserrat", sans-serif; */
    font-size: 18px;
}

/* 画像 */
.imgtext img {
    /* 縦横比 */
    aspect-ratio: 3/2;
    object-fit: cover;
    /* aspect-ratioを反映するために、幅指定 */
    width: 100%;
}

/* 記事一覧 -------------------------*/
/* セクション全体 */
.posts {
    padding: var(--v-space) 0;
    background-color: #F1E5E7;
}

/* 見出し */
.heading {
    /* font-family: "Montserrat", sans-serif; */
    font-size: clamp(40px, 5.2vw, 70px);
    min-height: 0vw;
    font-weight: 300;
    position: absolute;
    /*変数+0.6emの部分は半角スペース必須*/
    /*topの値をマイナスにしたいので、calc()内で「*-1」している*/
    top: calc((var(--v-space) + 0.83em)*-1);
    /* color: #dab481; */
}

/* 見出し　日本語部分 */
.heading span {
    display: block;
    /*縦並び*/
    color: #523a37;
    font-size: 18px;
}

/* 記事のコンテナ */
.posts-container {
    display: grid;
    /* SP時 2列、均等幅 */
    grid-template-columns: repeat(2, 1fr);
    gap: 31px 25px;
}



/* 各記事 ------*/
/* 画像 */
.post img {
    /* 縦横比 */
    aspect-ratio: 3/2;
    object-fit: cover;
    /* aspect-ratioを反映するために、幅指定 */
    width: 100%;
}

/* safari14以前など、aspect-ratio未対応の場合 */
@supports not(aspect-ratio:3/2) {
    .post img {
        height: 180px;
    }
}

/* 各記事全体リンク */
.post a {
    display: block;
}

/* 見出し */
.post h3 {
    margin: 1em 0 0.5em;
    font-size: clamp(12px 2vw, 20px);
    min-height: 0vw;
}

/* 本文 */
/* .post p {
    max-width: 20em;
    font-size: clamp(10px, 1.6vw, 14px);
    min-height: 0vw;
} */
.post p {
    max-width: 24em;
    font-size: clamp(15px, 1.6vw, 16px);
    min-height: 0vw;
}

/* アイテムの配置指定する場合 --------------------*/
/* grid-column=横、grid-row=縦 */
/* 横1列目から、横２行分「span 2」 */
/* 縦1行目から、縦２行分「span 2」 */

/* .post:nth-of-type(1)でも同じ */
/* .posts-container> :nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
} */

/* .posts-container > :nth-child(1) img{
    aspect-ratio: 3/2.5;
} */
/* アイテムの配置指定する場合 --------------------*/


/* @mediaで列数指定しない方法 --------------------*/
/* 最小幅200pxで表示したときのｺﾝﾃﾅの横幅に収まる数＝横に並ぶ列の数 */
/* auto-fit＝列数が少ない時、空欄ができないようにする。minmax(200px,1fr)＝最小幅、最大幅1fr(全幅) */
/*auto-fit=空欄ができない、3列のまま。auto-fill=空欄ができる、空の列が作成され4列になる*/
/* .posts-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
} */
/* @mediaで列数指定しない方法 --------------------*/


/* PC時 */
/* 3列、均等幅 */
/* @media(min-width:768px) {
    .posts-container {
        grid-template-columns: repeat(3, 1fr);
    }
} */

/* フレックスボックスで並べる場合 */
/* 記事のコンテナ */
/* .posts-container {
    display: flex;
    flex-wrap: wrap;
}
.posts-container > * {
    width: 50%;
    padding: 0 12.5px 32px;
    box-sizing: border-box;
}
@media(min-width:768px) {
    .posts-container  > *{
        width: 33.33%;
    }
} */


/* プラン */
.plans {
    padding: var(--v-space) 0 calc(var(--v-space)*1.5);
}
/* 下層ページ */
.lower .plans {
    background-color: #F1E5E7;
}

/* プラン　全体 */
.plans-container {
    display: grid;
    /* カード間の余白 */
    gap: 27px;
    /* SP　縦1列 */
    /* grid-template-columns: repeat(1, 1fr); */
}

/* 各プラン　カードデザイン */
.plan {
    /* 価格とボタンを下揃えに配置 */
    display: flex;
    /* カード内要素を縦並び */
    flex-direction: column;
    padding: 60px 27px;
    border-radius: 20px;
    background-color: #fff;
}

/* 見出し */
.plan h3 {
    margin-bottom: 38px;
    /* font-family: "Montserrat", sans-serif; */
    font-size: 38px;
    font-weight: 400;
    /* 幅に合わせて、テキスト折返し */
    overflow-wrap: break-word;
}

/* 説明文 */
.plan .desc {
    margin-bottom: 38px;
}

/* 価格 */
.plan .price {
    /* 余剰スペースを割り当て */
    margin-top: auto;
    margin-bottom: 22px;
    font-size: 26px;
    font-weight: bold;
}

/* 各プラン内ボタン */
.plan .btn {
    /* 横幅 カード幅に合わせる */
    width: auto;
}


/* 下層ページ 「サービス案内」-------------------------*/
/* メイン画像・記事 全体 */
.entry {
    padding-bottom: var(--v-space);
    background-color: #fff;
}

/* メイン画像 */
.entry-img img {
    /* HTMLでpictureタグ(レスポンシブイメージ)使う場合は、margin-bottom以外不要 */
    width: 100%;
    /* max-height: 400px; */
    max-height: 850px;
    object-fit: cover;
    /* margin-bottom 60~80pxに変化 =「--v-space」(90~120px)の2/3 */
    /* margin-bottom: clamp(60px,6vw,80px);でも同意 */
    margin-bottom: calc(var(--v-space)*2/3);
    border-radius: 0;
}

/* 記事　全体 */
.entry .w-container {
    max-width: 720px;
}

.entry .heading-decoration {
    font-size: clamp(30px, 6.25vw, 48px);
}

.entry-container {
    font-size: clamp(16px, 2.4vw, 18px);
}




/* 下層ページ お問合わせ -------------------------*/
/* お問い合わせフォーム */
.contact-form .form {
    background: #fff;
    padding: 0 0 var(--v-space);

}

.form table {
    border-collapse: collapse;
}

.form p {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 60px auto 40px;
}

input[type="submit"],
input[type="text"],
select,
textarea,
.form button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    border: none;
}


input[type="text"],
textarea {
    background: #f8f8f8;
    display: block;
    font-size: 16px;
    padding: 12px 15px;
    /* width: 480px; */
    width: 100%;
    transition: 0.8s;
    border-radius: 0;
}

input[type="text"]:focus,
textarea:focus {
    background: #e9f5fb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

textarea[name="content"] {
    display: inline-block;
    width: 100%;
    height: 200px;
}

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

::-webkit-input-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
    color: #ccc;
    opacity: 1;
}

.form-table {
    width: 100%;
}

.form-table th,
.form-table td {
    border-top: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
    padding: 20px;
}

.form-table th {
    background: #FEEBE9;
    padding-left: 50px;
    position: relative;
    text-align: left;
    width: 300px;
}

form .btn{
    margin: 4vw auto 0;
}


/* フッター -------------------------*/
.footer {
    padding: 70px 0;
    /* background-color: #fff; */
    /* background-color: #f9e5de; */
    color: #707070;
    font-size: 13px;
}

.footer-container {
    display: grid;
    gap: 50px;
    justify-items: center;
    /*各列内のアイテムの横位置*/
}

/* SNS */
.footer-sns {
    display: flex;
    gap: 24px;
    font-size: 24px;
}

.footer-sns a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    /* aspect-ratio: 1 / 1; */
    background-color: #dab481;
    color: #fff;
    clip-path: circle(50%);
}

/* @supports not (aspect-ratio: 1/1) {
    .footer-sns a {
        height: 36px;
    }
} */


/* フッターナビ */
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}



/* スマホ時 ---------------------------*/
@media (max-width: 767px) {

    /* ナビ ---------------------------*/
    .nav {
        position: fixed;
        inset: 0 -100% 0 100%;
        z-index: 100;
        /* background-color: #4e483ae6; */
        background-color: rgba(41, 29, 28, 0.9);
        transition: 0.3s;
    }

    /* ナビ開いてるとき　htmlタグにクラス「open」つく */
    .open nav {
        transform: translate(-100%, 0);
    }

    .open body {
        position: fixed;
        overflow: hidden;
    }

    .nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 40px;
        color: #fff;
    }

    /* メイン見出し */
    .hero h1 {
        color: #fff;
        /* background: rgba(218, 180, 129, 0.5); */
        display: block;
        padding: 20px;
        text-shadow: 0 0 6px #523a3763;
    }

    /* お問い合わせフォーム */
    .form-table th,
    .form-table td {
        display: block;
        width: calc(100% - 40px);
        border-bottom: none;
        padding-left: 20px;
    }

    input[type="text"],
    textarea,
    textarea[name="content"] {
        width: calc(100% - 30px);
    }
}


/* PC時 ---------------------------*/
@media(min-width:768px) {

    /* ナビ ---------------------------*/
    .navbtn {
        display: none;
    }

    .nav ul {
        display: flex;
        gap: 40px;
        /* color: #707070; */
        color: #523a37;
    }

    /* フッター -------------------------------*/
    .footer-container {
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto;
        gap: 20px;
    }

    .footer-container>.footer-site {
        margin-bottom: 20px;
    }

    /* 左寄せ */
    .footer-container>*:not(.footer-sns) {
        justify-self: start;
    }

    /* 右寄せ */
    .footer-container>.footer-sns {
        grid-column: 2;
        grid-row: 1/4;
        justify-self: end;
        align-self: center;
    }

    /* トップページ メイン画像 ---------------------------*/
    .hero {
        height: 850px;
        background-image: url(img/main1.jpg);
        background-size: cover;
    }

    .hero-container {
        justify-items: flex-start;
        text-align: left;
    }

    /* トップページ 各記事 --------------------*/
    .imgtext-container {
        /* 子要素を横並び */
        flex-direction: row;
        align-items: center;
    }

    /* 配置逆の記事 */
    .imgtext-container.reverse {
        /* 配置左右逆 */
        flex-direction: row-reverse;
    }

    .imgtext-container>.text {
        flex: 1;
        /*17文字分の横幅以下にならないように指定*/
        /* ブラウザのデフォルト16px×17文字＝272px */
        min-width: 17em;
    }

    .imgtext-container>.img {
        flex: 2;
    }

    /* トップページ 記事一覧 ----------------------*/
    /*  PC時 3列  */
    .posts-container {
        grid-template-columns: repeat(3, 1fr);
    }

    /* サービスページ  ----------------*/
    /* プラン　全体 */
    .plans-container {
        /* PC　横3列 */
        /* grid-template-columns: repeat(3, 1fr); */

        /* プラン数増えても横1行並び(折返しなし) 「均等幅,最小幅0,最大全幅」*/
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    }

}