@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Serif JP", serif;
    color: #363427;
    background: #FFFCF7;
    font-size: 1rem;
}

img {
    width: 100%;
    vertical-align: bottom;
    object-fit: cover;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #363427;
}

.js-area {
    overflow: hidden;
}

.js-wrap {
    height: 100vh;
    display: flex;
}

.js-item {
    width: 100%;
    height: 100vh;
    position: relative;
}

.wrapper {
    padding: 12vh 3% 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
}

h2 {
    position: relative;
    letter-spacing: 0.15px;
    font-weight: 500;
    font-size: 2rem;
    display: inline-block;
}

h2::before {
    position: absolute;
    content: "";
    width: 25px;
    height: 1px;
    background: #363427;
    left: -32px;
    top: 50%;
    transform: translateY(-50%);
}

h2::after {
    position: absolute;
    content: "";
    width: 160px;
    height: 180px;
    background-image: url(../img/story-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    bottom: -70px;
    right: -130px;
    z-index: -1;
}

.flex {
    display: flex;
}

.common-scrollbar {
    position: fixed;
    width: 330px;
    height: 2px;
    background: #363427;
    bottom: 5vh;
    right: 100px;
    z-index: 50;
}


.slide-coin {
    width: 60px;
    position: absolute;
    top: -28px;
    left: 0px;
}

@media(max-width: 1050px) {
    .js-area {
        overflow: visible;
    }

    .js-wrap {
        flex-direction: column;
        overscroll-behavior: none;
        overflow: visible;
    }

    .js-item {
        height: auto;
    }

    .common-scrollbar {
        display: none;
    }
}

@media(max-width: 850px) {
    .wrapper {
        padding: 100px 24px 40px;
    }

    h2 {
        font-size: 1.25rem;
    }

    h2::after {
        width: 80px;
        height: 80px;
        bottom: -17px;
        right: -60px;
    }

    .section-title {
        margin-bottom: 40px;
    }

}



/*-------------------------
    top
---------------------------*/
.top {
    display: flex;
}

.mainvisual {
    width: 60vw;
    height: 100vh;
    object-position: right;
}

.mainvisual-sp {
    display: none;
}

.logo {
    width: 40vw;
    position: relative;
}

.green-line {
    width: 120px;
    height: 80vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: fadeIn 3s ease forwards;

}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.circle {
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: fadeIn2 3s ease 0.8s forwards;
}

@keyframes fadeIn2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    letter-spacing: 0.5px;
    font-size: 48px;
    white-space: nowrap;
    opacity: 0;
    animation: fadeIn2 5s ease 2.5s forwards;
}

span {
    display: inline-block;
}

@media(max-width: 1050px) {
    .green-line {
        width: 70px;
    }

    .circle {
        width: 310px;
    }

    h1 {
        font-size: 40px;
    }
}

@media(max-width: 850px) {
    .mainvisual {
        width: 70vw;
        height: 60vh;
    }

    .green-line {
        width: 60px;
        height: 55vh;
    }

    .circle {
        width: 185px;
        left: 48%;
    }

    h1 {
        font-size: 1.25rem;
        font-weight: bold;
        text-align: center;
        inline-size: 110px;
        overflow-wrap: break-word;
        white-space: normal;
    }
}

@media(max-width: 550px) {
    .mainvisual {
        display: none;
    }

    .mainvisual-sp {
        display: block;
        width: 70vw;
        height: 60vh;
        object-position: right;
    }


    .logo {
        width: 10vw;
    }
}


/*----------------------
    our-story
----------------------*/
.our-story {
    position: relative;
}

.our-story .slide-coin {
    left: 30px;
}


.green-back {
    width: 30%;
    height: 100vh;
    background: linear-gradient(90deg, rgba(255, 252, 247, 0.5), rgba(124, 145, 127, 0.6));
    position: absolute;
    left: 0;
    z-index: -1;
}

.our-story .flex {
    justify-content: space-between;
    gap: 10%;
}

.our-story .wrapper {
    margin-left: 13%;
    width: 50vw;
}

.our-story_text {
    line-height: 160%;
    text-align: justify;
}

.our-story_img {
    width: 50vw;
    padding-top: 5%;
}

.our-story_img img {
    padding-right: 50px;
    height: 35vh;
}

.kubote {
    position: absolute;
    width: 30vw;
    height: 35vh;
    right: 0;
    bottom: 13vh;
    object-fit: fill;
}

.kubote-sp {
    display: none;
}

.deco-under {
    position: absolute;
    content: "";
    width: 20%;
    height: 10%;
    background-image: url(../img/deco-under.png);
    background-size: contain;
    left: 0;
    bottom: 12vh;
}

.deco-top {
    position: absolute;
    content: "";
    width: 10%;
    height: 7%;
    background-image: url(../img/deco-top.png);
    background-size: contain;
    bottom: 40vh;
    left: 65%;
}

@media(max-width: 1050px) {
    .green-back {
        width: 100%;
        height: 30vh;
        background: linear-gradient(0deg, rgba(255, 252, 247, 0.5), rgba(124, 145, 127, 0.6));
    }

    .our-story_img {
        padding-top: 50px;
    }

    .our-story_img img {
        padding-right: 0;
    }

    .deco-top {
        bottom: 38vh;
    }

    .kubote {
        bottom: 0;
    }
}

@media(max-width: 850px) {
    .green-back {
        display: none;
    }

    .our-story .flex {
        flex-direction: column;
    }

    .our-story .wrapper {
        margin-left: 0;
        width: 100%;
    }

    .our-story_text {
        padding-top: 0;
    }

    .our-story_img {
        padding-top: 0;
        width: 70vw;
    }

    .our-story_img img {
        height: 30vh;
    }

    .kubote-ps {
        display: none;
    }

    .kubote-sp {
        display: block;
        display: block;
        position: static;
        width: 80%;
        height: 25vh;
        margin-left: auto;
        margin-top: 24px;
    }

    .deco-under {
        left: 78%;
        bottom: 22vh;
    }

    .deco-top {
        width: 136px;
        height: 54px;
        bottom: 58vh;
    }
}

/*-------------------------
    history
--------------------------*/
.history {
    position: relative;
}

.history .slide-coin {
    left: 60px;
}

.history .flex {
    justify-content: center;
    gap: 12%;
}

.history_img {
    position: relative;
    padding-left: 35px;
    width: 40vw;
    margin-top: 5%;
    margin-left: 20px;
}

.history_img img {
    height: 35vh;
    object-fit: fill;
}

.gold-back {
    position: absolute;
    width: 10vw;
    height: 35vh;
    bottom: 8vh;
    left: 23vw;
    z-index: -1;
}

.history_img::before {
    position: absolute;
    content: "";
    width: 90%;
    height: 40%;
    background-image: url(../img/back-gold.png);
    background-size: cover;
    z-index: -1;
    left: 0;
    top: -40px;
}

.kubote_img {
    position: absolute;
    width: 30vw;
    height: 35vh;
    left: -20px;
    bottom: 13vh;
    object-fit: fill;
}

.history .wrapper {
    width: 50vw;
}


.history .section-title {
    text-align: left;
}

.history h2::after {
    background-image: url(../img/history-icon.png);
}


.history_text {
    line-height: 160%;
    text-align: justify;
}

.history_text p:first-child {
    max-width: 506px;
}

.history_text p:nth-child(2) {
    padding: 20px 0 20px 40px;
    max-width: 546px;
}

.history_text p:last-child {
    padding-left: 80px;
    max-width: 586px;
}

@media(max-width: 1050px) {
    .gold-back {
        bottom: 8vh;
        display: none;
    }

    .history_img {
        margin-top: 15%;
    }

    .kubote_img {
        display: none;
    }
}

@media(max-width: 850px) {
    .history .flex {
        flex-direction: column-reverse;
    }

    .history_img {
        width: 90%;
        padding-left: 27px;
        margin: 0 0 24px 24px;
    }

    .history_img::before {
        width: 94%;
        height: 100%;
        top: 24px;
    }

    .gold-back {
        display: block;
        opacity: 0.5;
        width: 125px;
        height: 200px;
        bottom: calc(100vh - 200px);
        left: 67vw;
    }

    .history .wrapper {
        width: 100%;
    }

    .history .section-title {
        margin-left: 34px;
    }

    .history_text p:first-child {
        max-width: 85%;
    }

    .history_text p:nth-child(2) {
        max-width: 90%;
        padding-left: 32px;
    }

    .history_text p:last-child {
        max-width: 100%;
        padding-left: 64px;
    }

}


@media(max-width: 550px) {
    .gold-back {
        bottom: calc(100% - 250px);
        left: 63vw;
    }
}

/*--------------------
    info
--------------------*/
.info .slide-coin {
    left: 100px;
}

.info-grid {
    width: 50vw;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    position: relative;
}

.info-grid::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 252, 247, 1), rgba(253, 253, 253, 0.4));
    filter: blur(7px);
    left: -8px;
    z-index: 10;
}

.info-grid::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, rgba(253, 253, 253, 0.4), rgba(255, 252, 247, 1));
    filter: blur(12px);
    right: -5px;
}

.grid-item {
    display: flex;
    gap: 16px;
    transform-origin: left center;
    opacity: 0;
}



.is-show {
    animation: bg 20s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bg {
    0% {
        opacity: 0;
        transform: scaleX(0) translateX(-5%);
    }

    30% {
        transform: scaleX(1) translateX(0);
    }

    100% {
        transform: scaleX(1) translateX(0);
    }

    30%,
    100% {
        opacity: 1;
    }
}

.grid-item img {
    height: calc(96vh / 3);
}

.grid-item1 li:first-child {
    width: 55%;
}

.grid-item1 li:last-child {
    width: 50%;
}

.grid-item2 li:first-child {
    width: 15%;
}

.grid-item2 li:nth-child(2) {
    width: 55%;
}

.grid-item2 li:last-child {
    width: 30%;
}

.grid-item3 li:first-child {
    width: 45%;
}

.grid-item3 li:last-child {
    width: 55%;
}

.seminer-info {
    width: 50vw;
    height: 100vh;
    line-height: 150%;
    padding-inline: 5%;
}

.seminer-info h2::after {
    background-image: url(../img/info-icon.png);
    bottom: -87px;
}


.seminer-info p:first-of-type {
    margin-bottom: 10px;
}

.seminer-info dl {
    margin: 3vh auto;
    width: 400px;
    font-size: 1.25rem;
    display: flex;
    flex-wrap: wrap;
}

.seminer-info dt {
    width: 20%;
    line-height: 140%;
}

.seminer-info dd {
    width: 80%;
    line-height: 140%;
}

table {
    border-collapse: collapse;
    border: 1px solid #363427;
    width: 100%;
    font-size: 1.25rem;
    line-height: 180%;
}

th {
    text-align: center;
    font-weight: normal;
}

thead th:first-child {
    width: 30%;
}

thead {
    border-bottom: 1px solid #363427;
}

th:first-of-type {
    border-right: 1px solid #363427;
}

td {
    padding-inline: 10px;
    white-space: nowrap;
}

.btn {
    text-align: right;
    margin-top: 1vh;
}

.seminer-btn {
    position: relative;
    padding-left: 40px;
}

.seminer-btn::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-left: 16px solid #E3C789;
    left: 0px;
    top: 3px;
}

.seminer-btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-left: 16px solid #E3C789;
    left: 19px;
    top: 3px;
}

.seminer-img {
    display: none;
}

@media(max-width: 1050px) {
    .seminer-info h2::after {
        right: -100px;
    }

    .grid-item {
        opacity: 1;
    }
}

@media(max-width: 850px) {
    .info .flex {
        flex-direction: column;
    }

    .info-grid {
        display: none;
    }

    .seminer-info {
        width: 100%;
        height: auto;
    }

    .seminer-info h2::after {
        right: -60px;
        bottom: -27px;
    }

    .seminer-info p {
        padding-inline: 0;
    }

    .seminer-info p:first-of-type {
        margin-bottom: 16px;
    }

    .seminer-info dl {
        margin: 24px 0 48px;
        width: 100%;
        font-size: 1rem;
    }

    table {
        font-size: 1rem;
        line-height: 250%;
    }

    td {
        white-space: wrap;
    }

    .btn {
        margin-block: 24px 56px;
    }

    .seminer-img {
        display: block;
    }
}


/*------------------
    voice
------------------*/
.voice {
    position: relative;
    align-items: center;
}

.voice .slide-coin {
    left: 140px;
}

.gold-backimg {
    width: 50vw;
}

.gold-backimg img {
    height: 100vh;
    width: 55%;
}

.voice .section-title {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 25%;
}

.voice h2::after {
    background-image: url(../img/voice-icon.png);
}

.voice-text {
    width: 50vw;
    padding: 2% 5% 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: justify;
}

.voice-text dt {
    width: 10%;
    margin-right: 30px;
    margin-bottom: 5vh;
}

.voice-text dd {
    width: 80%;
    margin-bottom: 5vh;
}


.voice-text dt:last-of-type,
.voice-text dd:last-of-type {
    margin-bottom: 0;
}

@media(max-width: 1050px) {
    .gold-backimg img {
        width: 35%;
    }

    .voice .section-title {
        left: 14%;
    }
}

@media(max-width: 850px) {
    .voice {
        flex-direction: column;
    }

    .gold-backimg {
        display: none;
    }

    .voice .section-title {
        top: 60px;
        left: 0;
        right: 0;
        margin-inline: auto;
    }

    .voice-text {
        width: 100%;
        padding: 120px 24px 0;
    }

    .voice-text dt {
        margin-right: 20px;
    }

    .voice-text dd {
        margin-bottom: 20px;
    }
}


/*-----------------------------
    about_us
-----------------------------*/
.about_us {
    justify-content: center;
    gap: 3%;
    position: relative;
}

.about_us .section-title{
    margin-bottom: 30px;
}

.about_us .slide-coin {
    left: 200px;
}

.about {
    width: 50vw;
}

.about h2::after {
    background-image: url(../img/about-icon.png);
    right: -310px;
}

.about h2::before {
    display: none;
}

.about-flex {
    display: flex;
    gap: 5%;
    text-align: justify;
    align-items: center;
}

.about-flex:nth-of-type(2) {
    margin-bottom: 4vh;
}

.about-img img {
    width: 177px;
}

.under-border {
    display: inline-block;
    border-bottom: 1px solid #363427;
    padding-bottom: 5px;
    padding-right: 7px;
    margin-bottom: 15px;
    white-space: nowrap;
}

.teacher-name {
    padding-right: 50px;
}

.about-text dl {
    display: flex;
    gap: 16px;
}

.about-text dt,
.about-text dd {
    white-space: nowrap;
}


/*contact*/
.contact {
    width: 50vw;
}

.contact h2::after {
    background-image: url(../img/contact-icon.png);
}

.form {
    max-width: 570px;
    margin: auto;
}

.contact p {
    margin-bottom: 15px;
}

.inputbox,
.textarea {
    position: relative;
    height: 50px;
    margin: 0 auto 15px;
}

.hurf {
    display: flex;
    gap: 10px;
    margin: 0 auto;
}

.hurf .inputbox {
    width: 280px;
}

.hurf:last-of-type {
    margin-right: 0;
}

input,
textarea {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #F1EED8;
    outline: none;
    padding: 23px 10px 10px;
    color: #363427;
}

.inputbox span,
.textarea span {
    position: absolute;
    width: 100%;
    top: 2px;
    left: 0;
    transition: 0.6s;
    z-index: 10;
    padding: 3px 0 0 10px;
}



.textarea {
    height: 25vh;
    margin-bottom: 15px;
}

textarea {
    height: 25vh;
    padding: 5px 10px;
    resize: none;
}

.textarea textarea:focus~span {
    transform: translateX(0px)translateY(-20px);
}

.send {
    text-align: right;
}

.button {
    width: 120px;
    line-height: 56px;
    text-align: center;
    background-color: #1a430c83;
    position: static;
    padding: 0;
    color: #FFFCF7;
    margin-right: -73px;
}

.button:hover {
    color: #1a430c83;
    font-weight: bold;
    border: 1px solid #1a430c83;
    background: #FFFCF7;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 5em 1em 6rem;
    border: 2px solid #791516;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #1a430c83;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #791516;
}


/*footer*/
.footer {
    text-align: center;
    font-size: 0.875rem;
    position: absolute;
    bottom: 25px;
}


/*to-top ボタン*/
.to-top {
    width: 73px;
    height: 72px;
    background-image: url(../img/to-top.png);
    background-size: contain;
    cursor: pointer;
    position: fixed;
    bottom: 46px;
    right: 10px;
    display: none;
}

@media(max-width: 1050px) {
    .about_us {
        flex-direction: column;
    }

    .about {
        width: 100%;
    }

    .about_us .wrapper {
        max-width: 600px;
        margin: 0 auto 0;
    }

    .contact {
        width: 100%;
    }

    .contact.wrapper {
        margin-bottom: 120px;
    }

    .to-top {
        display: block;
    }

}


@media(max-width: 850px) {
    .about.wrapper {
        padding-bottom: 0;
    }

    .about_us .section-title {
        margin-bottom: 0;
    }

    .about h2::after {
        right: -130px;
    }

    .about-flex:nth-of-type(2) {
        margin-bottom: 56px;
        align-items: flex-start;
    }

    .about-img {
        width: 30%;
    }

    .about-img img {
        width: 100%;
    }

    .about-text {
        width: 70%;
    }

    .under-border {
        padding-bottom: 8px;
        margin-bottom: 8px;
        white-space: normal;
    }

    .teacher-name {
        padding-right: 0;
        display: block;
    }

    .about-text dl {
        flex-direction: column;
        gap: 0;
    }

    .about-text dd {
        padding-left: 1rem;
        white-space: normal;
    }

    .contact .section-title {
        margin-bottom: 32px;
    }

    .form p {
        text-align: center;
    }

    .hurf {
        flex-direction: column;
        gap: 0;
    }

    .hurf .inputbox {
        width: 100%;
    }

    .inputbox span,
    .textarea span {
        text-align: left;
    }

    .button {
        width: 80px;
        line-height: 40px;
    }

    .footer {
        left: 50%;
        transform: translateX(-50%);
    }
}


@media(max-width: 475px) {
    .name-border {
        inline-size: 180px;
        overflow-wrap: break-word;
        border: none;
        position: relative;
    }

    .name-border::after {
        position: absolute;
        content: "";
        width: 200px;
        height: 1px;
        background: #363427;
        bottom: 0;
        left: 0;
    }
}


/*------------------------
    sub-page
-------------------------*/
.sab-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 24px;
    min-height: 100vh;
    position: relative;
}

.sab-page h2 {
    margin-bottom: 50px;
    margin-left: 32px;

}

.sab-page h2::after {
    display: none;
}

.seminer-pic {
    margin-bottom: 50px;
}

.articl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
    margin-bottom: 80px;
}

.articl li {
    width: 48%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
}

.articl li:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.roop-img {
    height: 400px;
    object-fit: cover;
}

.articl li p {
    padding-block: 10px;
    font-size: 1.25rem;
    font-weight: bold;
    background: #fafafa;
}

.sab-page .footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.back-btn {
    text-align: center;
    width: 100%;
    margin-block: 100px;

}

.back-btn a {
    position: relative;
    display: inline-block;
    padding-left: 20px;
}

.back-btn a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: #363427;
    bottom: -5px;
    right: 0;
}

.back-btn a::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 1px;
    background: #363427;
    bottom: -1px;
    right: 89%;
    transform: rotate(-45deg);
}

.back-btn a:hover {
    font-weight: bold;
}

.back-btn a:hover::after {
    width: 140%;
    height: 2px;
}

.back-btn a:hover::before {
    height: 2px;
    right: 130%;
}


article {
    text-align: center;
}

h4 {
    font-size: 2rem;
    margin-block: 30px;
}


.article-img {
    width: 80%;
    height: 60vh;
    object-fit: cover;
}

.post-content {
    margin-block: 30px;
    text-align: left;
    padding-inline: 10px;
}


@media(max-width: 850px) {
    .sab-page{
        padding-top: 40px;
    }

    .articl{
        flex-direction: column;
        gap: 40px;
    }

    .articl li{
        width: 90%;
        margin-inline: auto;
    }

    .article-img{
        height: 40vh;
    }

    .articl li p{
        font-size: 1rem;
    }

    .roop-img{
        height: 30vh;
    }

    h4 {
        font-size: 1.75rem;
    }
}