/*
Theme Name: NicoRattan
Theme URL: https://nicorattan.com
Description: Nicorattanのホームページ
Author: Miki Tanaka
Version: 1
*/
@charset "UTF-8";

/*共通部分*/

html {
    font-size: 100%;
    color: #3a312c;
}

body {
    font-family: "Zen Kurenaido", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 3%;
    line-height: 1.9;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.font-english {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

/*ヘッダー*/

.header-wrapper {
    background-image: url(image/top/hero.png);
    height: 900px;
    padding-top: 1px;
}

.main-nav {
    display: flex;
    gap: 54px;
    justify-content: space-around;
    width: 800px;
    padding: 10px 20px;
    color: #3C2B2B;
    background-color: #ffffff6a;
    list-style: none;
    margin: auto;
    margin-top: 25px;
}

.main-nav li:hover {
    opacity: 0.6;
}

.nav-background {
    background-color: #FAF7ED;
}

.main-nav a {
    color: #3C2B2B;
}

.main-copy {
    text-align: center;
    margin-top: 140px;

}

.hero-logo {
    text-align: center;
    margin-top: 150px;
}

.font-20 {
    font-size: 20px;
    line-height: 1.9;
    letter-spacing: 3px;

}

.catch-copy {
    text-align: center;
    padding-top: 300px;
    line-height: 2.5;

}

/*What is Rattan?*/
.section-title {
    text-align: center;
    margin-top: 250px;
}

.h2-title {
    font-size: 38px;
    line-height: 1.2;
    position: relative;
}

.h2-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    display: block;
    width: 300px;
    height: 1px;
    background-color: #3C2B2B;
    translate: -50% 0;
}


.sub-title {
    font-size: 24px;
}

.whatisrattan-image {
    object-fit: contain;
}

.content-flex {
    display: flex;
    width: 987px;
    margin: auto;
    margin-top: 100px;
    gap: 50px;
}

.content {
    width: 480px;
    margin-top: 40px;
}

/*Workshop*/

.btn-workshop {
    margin-left: 100px;
}

.content p {
    padding: 10px 0px;
    line-height: 2.3;

}

.button-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    margin: 0 auto;
    border-radius: 20px;
    background-color: #B9D1C5;
    color: #fff;
    font-size: 20px;
    padding: 5px;
    margin-top: 30px;
}

.button-1::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}

.button-1:hover {
    opacity: 0.7;
}


/*Shoooing*/
.grid-a {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.grid a:hover {
    opacity: 0.7;
}

.content-b {
    width: 700px;
    margin-top: 100px;
}

.content-c {
    margin-left: 30px;
    width: 600px;
    margin-top: 150px;

}

.grid-b {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

/*Contact*/

.line-or-mail {
    text-align: center;
    margin-top: 50px;
}

.line {
    display: flex;
    flex-direction: column;
    width: 200px;
    text-align: center;
}

.line-comment-sp {
    display: none;
}

.hover:hover {
    opacity: 0.7;
}

.contact-form {
    text-align: center;
    margin-top: 90px;
}

.contact-p {
    margin-top: 10px;
}

.content-flex-ex {
    display: flex;
    gap: 300px;
    margin-top: 80px;
    justify-content: center;
    margin-bottom: 100px;
}

/*Footer*/


.main-nav-footer {
    background-color: #FAF7ED;

    margin-top: 35px;
}

.main-nav-footer a:hover {
    opacity: 0.5;
}



.footer {
    display: flex;
    justify-content: space-around;
    background-color: #FAF7ED;
    padding: 20px 0px;
}

.sns-icon {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.line-small {
    width: 50px;
    margin-top: 20px;
}

.insta-small {
    margin-top: 17px;
}

.copyright {
    background-color: #B9D1C5;
    text-align: center;
    padding: 10px 0px;
    color: #fff;
}

/*2ページ目Workshop*/
.header-2nd {
    display: flex;
    background-color: #FAF7ED;
    padding: 10px 0px;
    justify-content: space-around;
}

.main-nav-2nd {
    margin-top: 33px;
    background-color: none;

}

.header-logo {
    width: 150px;
    margin-left: 10px;
}

.header-logo-2nd {
    width: 150px;
    margin-left: 10px;
}


.workshop-title {
    margin-top: 80px;
}

.workshop-comment {
    text-align: center;
    margin: 30px 0;
}

.shopping-comment {
    text-align: center;
    margin: 30px 0;
}

.wp-post {
    width: 900px;
    background-color: #ccc;
    margin: 100px auto;
    padding: 100px;
    text-align: center;
}

/*クリップのタイトル*/

.title-2nd {
    display: flex;
    gap: 20px;
    margin-left: 200px;
    margin-top: 50px;
    position: relative;

}

.clip {
    object-fit: contain;
    position: absolute;
    bottom: -3%;
}

.title-2nd p {
    font-size: 24px;
    margin-left: 70px;
    line-height: 1.2;

}


.title-2nd:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 1%;
    display: block;
    width: 220px;
    height: 1px;
    background-color: #B9D1C5;
}

.kit {

    display: flex;
    justify-content: center;
    margin: 80px;
}

.button-kit {
    margin-top: 50px;
    margin-left: 80px;
}

/*SHOPPING*/
.base-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.base-logo {
    width: 200px;
}

.base-logo:hover {
    opacity: 0.7;
}

.shopping-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    width: 980px;
    margin: auto;
    margin-bottom: 60px;
}

.shopping-gallery a:hover {
    opacity: 0.7;
}

.button-1 {
    margin: 0 auto;
    margin-bottom: 100px;

}

/*Gallery*/

/*クリップのタイトル*/
.title-wrapper {
    display: flex;
    gap: 100px;
    margin-top: 100px;
}

.clip-gallery {
    margin-left: 50px;
}

.clip-gallery p {
    margin-left: 60px;
}

.target {
    display: flex;
    align-items: flex-end;
}

/*写真集*/

.gallery-pic-wrapper {
    position: relative;
}

.gallery-pic {
    width: 230px;
    padding: 20px;
    background-color: #FAF7ED;
    vertical-align: bottom;
}

.item {
    width: 230px;
    background-color: #B9D1C5;
    color: #fff;
    text-align: center;
}

.beginerclass {
    display: flex;
    flex-wrap: wrap;
    width: 1050px;
    justify-content: space-between;
    gap: 40px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 150px;
}

/*リボン*/

.ribbon-wrapper {
    box-sizing: border-box;
    position: relative;
}

.ribbon {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0px;
    margin: 0;
    z-index: 2;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 24px;
    color: white;
    background: #B9D1C5;
}

.ribbon:after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    height: 0;
    width: 0;
    border-left: 20px solid #B9D1C5;
    border-right: 20px solid #B9D1C5;
    border-bottom: 10px solid transparent;
}

/*コンタクトフォーム*/
.contact-section {
    display: flex;
    justify-content: center;

    width: 100%;
}

.contact-container {
    width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: #dfeee6;
    margin-bottom: 50px;
    margin-top: 50px;
    color: #3e3838;
}

.toiawase-ttl {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;

}

input,
textarea {
    padding: 10px;
    border: none;
    margin-top: 5px;
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.form-item {
    width: 600px;
    margin: auto;
}

.textarea-message {
    height: 250px;
}


.submit-btn {
    display: block;
    margin: 30px auto 0;
    padding: 12px 60px;
    background-color: #FAF7ED;
    color: #3a312c;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.5;
}

/*line*/
.line-contact {
    margin: auto;
    margin-top: 50px;
    margin-bottom: 100px;
}

/*ブログ*/
.blog-wrapper {
    display: flex;
    justify-content: center;
    margin: 0px 80px;
    gap: 50px;
}

.blog-archive {
    width: 75%;
}

.blog-flex {
    display: flex;
    margin-top: 20px;
}

.blog-image {
    width: 400px;
}

.blog-text {
    width: 400px;
}


.blog-image:hover {
    opacity: 0.6;
}

.blog-text {
    margin-left: 20px;
}


.continue {
    color: #74b796;
    margin-left: 20px;
}

.continue:hover {
    opacity: 0.6;
}

.continue-flex {
    display: flex;
    margin-top: 30px;
}

.blog-title {
    margin-top: 50px;

}


.post-date {
    margin-left: 200px;
}

h1 {
    display: none
}

.pagination {
    margin: 100px;
}

.pagination .page-numbers {
    color: #333;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    line-height: 1.2rem;
    position: relative;
    display: inline-block;
    border: solid 1px #333;
    padding: 6px 11px 5px;
    margin: 0 6px;
}

.pagination .current {
    color: #fff;
    background-color: #333;
}

.pagination .dots {
    border: none;
    margin: 0 3px;
}

.pagination .prev {
    position: relative;
    padding-left: 23px;
}

.pagination .prev::after {
    display: block;
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    border-top: solid 1px #333;
    border-right: solid 1px #333;
    transform: rotate(225deg);
    margin: auto;
}

.pagination .next {
    position: relative;
    padding-right: 23px;
}

.pagination .next::after {
    display: block;
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    border-top: solid 1px #333;
    border-right: solid 1px #333;
    transform: rotate(45deg);
    margin: auto;
}

.pagination a:hover {
    color: #fff;
    background-color: #333;
    transition: .3s;
}

.pagination .prev:hover::after,
.pagination .next:hover::after {
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
}

.title-3rd {
    position: relative;
    font-size: 26px;

}

.title-3rd:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    display: block;
    width: 300px;
    height: 1px;
    border-bottom: 4px double #B9D1C5;
    translate: -50% 0;
}

.search-form-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border: 1px solid #777777;
    border-radius: 3px;
    margin: 50px 0px;
}

.search-form-3 input {
    width: 250px;
    height: 45px;
    padding: 5px 15px;
    border: none;
    box-sizing: border-box;
    font-size: 1em;
    outline: none;
}

.search-form-3 input::placeholder {
    color: #777777;
}

.search-form-3 button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 45px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.search-form-3 button::after {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z' fill='%23777777'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: '';
}

.list-12 {
    list-style-type: none;
    padding: 1.5rem;
    margin-bottom: 30px;
}

.list-12 li {
    display: flex;
    align-items: center;
    gap: 0 20px;
    position: relative;
    padding: .5em .5em .5em 2em;
}

.list-12 li:hover {
    opacity: 0.6;
}


.list-12 li::before,
.list-12 li::after {
    position: absolute;
    content: '';
}

.list-12 li::before {
    left: 0;
    width: 1.2em;
    height: 1.2em;
    border-radius: 50%;
    background-color: #B9D1C5;
}

.list-12 li::after {
    left: .6em;
    transform: translateX(-75%) rotate(-45deg);
    width: .3em;
    height: .3em;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

.pick-article {
    margin-left: 0px;
}

.pick-title {
    margin-top: 20px;
}

.pick-title:hover {
    opacity: 0.6;
}

.pick-image {
    width: 250px;
}

.pick-image:hover {
    opacity: 0.6;
}

/*ブログ投稿ページ*/

.post-image {
    width: 800px;
}

.blog-post {
    margin-top: 30px;
    width: 70%;
}

.post-title {
    margin: 30px 10px;
}

.post-paragraph {
    width: 800px;
    margin-left: 5px;
    margin-top: 30px;
}




/*レスポンシブPC→スマホ*/

@media (max-width:800px) {

    /*共通*/
    html {
        font-size: 15px;
        color: #3a312c;
    }

    .content-flex {
        flex-direction: column;
    }

    /*ヘッダーとヒーロー*/

    .header-wrapper {
        background-image: url(image/top/hero-mini.png);
        background-size: contain;
        height: auto;
        width: 100%;

    }

    .main-nav {
        display: none;
    }

    .main-nav-sp {
        display: block;
        width: 200px;
        line-height: 3;
        color: #3C2B2B;
        background-color: #e6e2e2;
        list-style: none;
        position: absolute;
        top: 1px;
        right: 60px;
        z-index: 10;
    }

    .main-nav-sp {
        display: none;
    }

    /*ハンバーガー*/

    /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
    .openbtn {
        /*ボタン内側の基点となるためrelativeを指定。追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
        background: #ffffff81;
        cursor: pointer;
        width: 50px;
        height: 50px;
        margin-top: 10px;
        position: absolute;
        right: 10px;
        top: 10px;

    }

    /*ボタン内側*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 2px;
        border-radius: 5px;
        background: #7c6e65;
        width: 45%;
    }

    .openbtn span:nth-of-type(1) {
        top: 13px;
    }

    .openbtn span:nth-of-type(2) {
        top: 19px;
    }

    .openbtn span:nth-of-type(3) {
        top: 25px;
    }

    .openbtn span:nth-of-type(3)::after {
        content: "Menu";
        /*3つ目の要素のafterにMenu表示を指定*/
        position: absolute;
        top: 5px;
        left: -2px;
        color: #7c6e65;
        font-size: 0.6rem;
        text-transform: uppercase;
    }

    /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

    .openbtn.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .openbtn.active span:nth-of-type(3) {
        top: 26px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(3)::after {
        content: "Close";
        /*3つ目の要素のafterにClose表示を指定*/
        transform: translateY(0) rotate(-45deg);
        top: 5px;
        left: 4px;
    }


    .main-copy {
        text-align: center;
        margin-top: 140px;
        padding: 10px;

    }

    .hero-logo {
        text-align: center;
        width: 150px;
        margin: auto;
        margin-top: 150px;

    }

    .catch-copy {
        text-align: center;
        line-height: 2.5;
        position: relative;
        top: -80px;
    }

    /*What is Rattan?*/
    .section-title {
        text-align: center;
        margin-top: 100px;
    }

    .h2-title {
        font-size: 30px;
        line-height: 1.2;
        position: relative;
    }

    .h2-title:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        display: block;
        width: 200px;
        height: 1px;
        background-color: #3C2B2B;
        translate: -50% 0;
    }


    .sub-title {
        font-size: 18px;
    }

    .whatisrattan-image {
        object-fit: contain;
        margin: 10px;
    }

    .content-flex {
        display: flex;
        width: 100%;
        margin: auto;
        margin-top: 50px;
        gap: 10px;
    }

    .content {
        width: 100%;
        margin-top: 10px;
        padding: 20px;
    }

    /*Workshop*/

    .reverse {
        flex-direction: column-reverse;
    }

    .btn-workshop {
        margin-left: 100px;
    }

    .workshop-image {
        padding: 10px;
    }

    .content p {
        padding: 10px 0px;
        line-height: 2.5;

    }

    .button-1 {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 200px;
        margin: 0 auto;
        border-radius: 20px;
        background-color: #B9D1C5;
        color: #fff;
        font-size: 20px;
        padding: 5px;
        margin-top: 50px;
        margin-bottom: 50px;
    }

    .button-1::after {
        transform: rotate(45deg);
        width: 5px;
        height: 5px;
        margin-left: 10px;
        border-top: 2px solid #fff;
        border-right: 2px solid #fff;
        content: '';
    }

    .button-1:hover {
        opacity: 0.7;
    }


    /*Shoooing*/
    .base-wrapper {
        margin-right: 20px;
    }

    .grid-a {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
        margin-top: 20px;
        margin-left: 3px;
    }

    .grid-a a {
        width: 31%;
    }

    .grid a:hover {
        opacity: 0.7;
    }

    .content-b {
        width: 100%;
        margin-top: 10px;
        padding: 20px;

    }

    .comment-b {
        line-height: 2.5;
        margin-bottom: 70px;
    }

    .content-c {
        margin-left: 0px;
        width: 100%;
        margin-top: 30px;

    }

    .grid-b {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
        margin-top: 20px;
        margin-right: 8px;
    }

    .grid-b a {
        width: 31%;
    }

    .comment-gallery {
        padding: 20px;

    }

    /*Contact*/

    .line-or-mail {
        margin: 50px 20px;
    }

    .line-comment {
        display: none;
    }

    .line-comment-sp {
        display: block;
        width: 250px;
        margin-left: 80px;
    }

    .line {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hover:hover {
        opacity: 0.7;
    }

    .contact-form {
        text-align: center;
        margin-top: 17px;
    }

    .contact-p {
        margin-top: 10px;
    }

    .content-flex-ex {
        display: flex;
        gap: 30px;
        margin-top: 10px;
        justify-content: center;
        margin-bottom: 50px;
        margin-right: 30px;
    }

    /*Footer*/


    .main-nav-footer {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 30px;
        padding: 10px;
        text-align: center;
        margin: auto;

    }

    .main-nav-footer a {
        font-size: 20px;
        padding: 10px;
    }

    .main-nav-footer a :hover {
        opacity: 0.5;
    }

    .footer {
        display: block;
        background-color: #FAF7ED;
        padding: 20px;
    }

    .sns-icon {
        display: flex;
        gap: 30px;
        justify-content: center;
        margin-left: 10px;

    }

    .line-small {
        width: 70px;
        margin-top: 20px;
    }

    .insta-small {
        width: 78px;
        margin-top: 17px;
    }

    /*2Pめ、WORKSHOP*/
    /*Header*/
    .h2-title {
        width: 100%;

    }

    .section-title {
        width: 100%;
        margin-top: 50px;
    }

    .sub-title {
        width: 100%;
        margin: auto;
    }


    .header-2nd {
        display: flex;
        background-color: #FAF7ED;
        padding: 10px 0px;
        justify-content: space-around;
    }

    .sns-icon-2nd {
        display: none;
    }


    .workshop-comment {
        text-align: left;
        margin: 30px 10px;
    }

    .wp-post {
        width: calc(100% - 20px);
        background-color: #ccc;
        margin: 10px;
        text-align: center;
    }

    .title-2nd {
        display: flex;
        gap: 20px;
        margin-left: 10px;
        margin-top: 50px;
        position: relative;

    }

    .clip {
        object-fit: contain;
        position: absolute;
        bottom: -3%;
    }

    .title-2nd p {
        font-size: 20px;
        margin-left: 50px;
        line-height: 1.2;

    }


    .title-2nd:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 1%;
        display: block;
        width: 180px;
        height: 1px;
        background-color: #B9D1C5;
    }

    .kit {

        display: flex;
        flex-direction: column-reverse;
        margin: 20px;
    }

    .button-kit {
        margin: auto;
        margin-top: 20px;
    }

    .content-2nd p {
        width: 100%;
    }

    /*にまいめのSHOPPING*/
    .shopping-comment {
        text-align: center;
        margin-bottom: 50px;
    }

    /*SHOPPING*/


    .shopping-gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        width: 380px;
        margin: auto;
        margin-bottom: 40px;
    }

    .shopping-gallery a:hover {
        opacity: 0.7;
    }

    .button-1 {
        margin: 0 auto;
        margin-bottom: 50px;

    }

    /*Gallery*/

    /*クリップのタイトル*/
    .title-wrapper {
        display: flex;
        gap: 100px;
        margin-top: 100px;
    }

    .clip-gallery {
        margin-left: 50px;
    }

    .clip-gallery p {
        margin-left: 60px;
    }

    .target {
        display: flex;
        align-items: flex-end;
    }

    /*写真集*/

    .gallery-pic-wrapper {
        position: relative;
    }

    .gallery-pic {
        width: 230px;
        padding: 20px;
        background-color: #FAF7ED;
        vertical-align: bottom;
    }

    .item {
        width: 230px;
        background-color: #B9D1C5;
        color: #fff;
        text-align: center;
    }

    .beginerclass {
        display: flex;
        flex-wrap: wrap;
        width: 1050px;
        justify-content: space-between;
        gap: 40px;
        margin: auto;
        margin-top: 50px;
        margin-bottom: 150px;
    }

    /*Gallery*/

    /*クリップのタイトル*/
    .title-wrapper {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 1px;
        padding-left: 20px;
    }

    .clip-gallery {
        margin-left: 1px;
    }

    /*写真集*/

    .gallery-pic-wrapper {
        position: relative;
    }

    .gallery-pic {
        width: 180px;
        padding: 10px;
        background-color: #FAF7ED;
        vertical-align: bottom;
    }

    .item {
        width: 180px;
        background-color: #B9D1C5;
        color: #fff;
        text-align: center;
    }

    .beginerclass {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-around;
        gap: 10px;
        margin: auto;
        margin-top: 50px;
        margin-bottom: 100px;
    }

    /*コンタクトフォーム*/
    .contact-section {
        display: flex;
        justify-content: center;

        width: 100%;
    }

    .contact-container {
        width: 360px;
        margin: 0 auto;
        padding: 40px;
        background-color: #dfeee6;
        margin-bottom: 50px;
        margin-top: 50px;
        color: #3e3838;
    }

    .toiawase-ttl {
        text-align: center;
        margin-top: 0;
        margin-bottom: 30px;

    }

    input,
    textarea {
        padding: 10px;
        border: none;
        margin-top: 5px;
        background-color: #fff;
        width: 100%;
        box-sizing: border-box;
    }

    .form-item {
        width: 100%;

    }

    .textarea-message {
        height: 250px;
    }


    .submit-btn {
        display: block;
        margin: 30px auto 0;
        padding: 12px 60px;
        background-color: #FAF7ED;
        color: #3a312c;
        border: none;
        border-radius: 4px;
        font-weight: bold;
        cursor: pointer;
        transition: opacity 0.3s;
    }

    .submit-btn:hover {
        opacity: 0.5;
    }

    /*line*/
    .line-contact {
        margin: auto;
        margin-top: 50px;
        margin-bottom: 100px;
    }

    /*ブログSP*/
    /*ブログ*/
    .blog-wrapper {
        display: flex;
        flex-direction: column;
        margin: 0px;
        gap: 50px;
        margin: auto;
    }

    .blog-archive {
        width: 100%;
    }

    .blog-flex {
        display: flex;
        flex-direction: column;
        margin-top: 20px;
    }

    .blog-image {
        width: 100%;
    }

    .blog-text {
        width: 100%;
    }


    .blog-text {
        margin: 0px;
    }

    .blog-text p {
        width: 350px;
        margin: auto;

    }


    .continue {
        color: #74b796;
        margin-left: 20px;
    }

    .continue-flex {
        display: flex;
        margin-top: 5px;
    }

    .blog-title {
        margin-top: 60px;
        margin-left: 15px;
        line-height: 1.5;

    }


    .post-date margin-left: 180px;
}


.pagination {
    margin: 50px 40px;
}

.pagination .page-numbers {
    color: #7a7777;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    line-height: 1.2rem;
    position: relative;
    display: inline-block;
    border: solid 1px #777777;
    padding: 6px 11px 5px;
    margin: 0 6px;
}

.pagination .current {
    color: #fff;
    background-color: #777777;
    margin-bottom: 5px;

}

.pagination .dots {
    border: none;
    margin: 0 3px;
}

.pagination .prev {
    position: relative;
    padding-left: 23px;
}

.pagination .prev::after {
    display: block;
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10px;
    border-top: solid 1px #777777;
    border-right: solid 1px #777777;
    transform: rotate(225deg);
    margin: auto;
}

.pagination .next {
    position: relative;
    padding-right: 23px;
}

.pagination .next::after {
    display: block;
    content: '';
    width: 5px;
    height: 5px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    border-top: solid 1px #777777;
    border-right: solid 1px #777777;
    transform: rotate(45deg);
    margin: auto;
}

.pagination a:hover {
    opacity: 0.7;
}

.pagination .prev:hover::after,
.pagination .next:hover::after {
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
}

.title-3rd {
    position: relative;
    font-size: 26px;
    margin-left: 35px;

}

.title-3rd:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    display: block;
    width: 90%;
    height: 1px;
    border-bottom: 4px double #B9D1C5;
    translate: -58% 0;
}

.search-form-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border: 1px solid #777777;
    border-radius: 3px;
    margin-bottom: 50px;
}

.search-form-3 input {
    width: 250px;
    height: 45px;
    padding: 5px 15px;
    border: none;
    box-sizing: border-box;
    font-size: 1em;
    outline: none;
}

.search-form-3 input::placeholder {
    color: #777777;
}

.search-form-3 button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 45px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.search-form-3 button::after {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z' fill='%23777777'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: '';
}

.side-menu {
    padding: 20px;
}

.list-12 {
    list-style-type: none;
    padding: 1.5rem;
    margin-bottom: 30px;
    margin-left: 25px;
}

.list-12 li {
    display: flex;
    align-items: center;
    gap: 0 20px;
    position: relative;
    padding: .5em .5em .5em 2em;
}

.list-12 li:hover {
    opacity: 0.6;
}


.list-12 li::before,
.list-12 li::after {
    position: absolute;
    content: '';
}

.list-12 li::before {
    left: 0;
    width: 1.2em;
    height: 1.2em;
    border-radius: 50%;
    background-color: #B9D1C5;
}

.list-12 li::after {
    left: .6em;
    transform: translateX(-75%) rotate(-45deg);
    width: .3em;
    height: .3em;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
}

.pick-article {
    margin-left: 48px;
}

.pick-title {
    margin-top: 20px;
}


.pick-image {
    width: 250px;
}

.header-logo {
    margin-left: 100px;
}

.header-logo-2nd {
    margin-left: 73px;
}

.post-image {
    width: 100%;
    padding: 10px;
}

.blog-post {
    margin-top: 30px;
    width: 100%;
}

.post-title {
    margin: 30px 10px;
}

.post-paragraph {
    width: 90%;
    margin: auto;
}

.blog-wrapper {
    gap: 5px;
}

.pagination {
    margin: 30px 40px;
}