@charset "UTF-8";
:root {
    /* タイポグラフィ（フォントサイズ） */
    --display: clamp(45rem, 29.9674rem + 31.2772vw, 67.5rem); /* 720 - 1080px */
    --body: clamp(0.875rem, 0.4583rem + 0.8681vw, 1.5rem);/* 14-24px */
    --heading: calc(var(--body) * 1.25); /* 17.5-40px */
    --small-heading: calc(var(--body) * 1.125); /* 15.75-36px */
    --small-p: clamp(1rem, 0.9165rem + 0.1738vw, 1.125rem);/* 16-18px */
    /* スペース（余白・間隔） */
    --space-xs: clamp(1.25rem, 1rem + 0.98vw, 1.875rem); /* 20-30px */
    --space-sm: calc(var(--space-xs) * 1.5); /* 30-45px */
    --space-md: calc(var(--space-xs) * 2); /* 40-60px */
    --space-lg: calc(var(--space-xs) * 3); /* 60-90px */
    --space-xl: calc(var(--space-xs) * 4); /* 80-120px */
    --space-jump: clamp(1.25rem, 0.35rem + 3.8vw, 3.75rem); /* 20-60px */

    --yellow: #998913;
    --green: #1b5e30;
    --blue: #004870;
    --purple: #443670;
    --gray: #666666;
    --red: #a71813;
}

@font-face {
    font-family: 'Montserrat';
    font-weight: 500;
    src: url(../fonts/Montserrat-Medium.woff2) format("woff2");
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    font-weight: 600;
    src: url(../fonts/Montserrat-SemiBold.woff2) format("woff2");
    font-display: swap;
}
@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/NotoSansJP-Medium_subset.woff2) format("woff2");
}
@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/NotoSansJP-SemiBold_subset.woff2) format("woff2");
    font-display: swap;
}
@font-face {
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/NotoSansJP-Bold_subset.woff2) format("woff2");
}

body {
    background-color: #fff;
    color: #333;
    font-size: var(--body);
    font-family: 'Montserrat', 'Noto Sans JP', "Arial", "Meiryo", sans-serif;
    font-weight: 600;
    -webkit-text-size-adjust: 100%;
    line-height: 1.6;
    text-align: center;
}

* {
    scroll-behavior: smooth;
}

a {
    cursor: pointer;
    color: var(--blue);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}
small {
    font-size: 0.8125em;
}
.pc {
    display: block;
}
.sp {
    display: none;
}
.red {
    color: var(--red);
    font-size: 112%;
    font-weight: 700;
}
.txt_lg {
    font-size: 125%
}
.under {
    position: relative;
    z-index: 1;
}
.under::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: .4em;
    background: #fbff1b;
    z-index: -1;
}
@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}

@media(hover: hover) {
    a, button{
        transition: .4s;
    }
    a:hover, button:hover {
        opacity: .6;
    }
}

h2 {
    width: 100%;
    color: #fff;
    padding: .3em 0;
    font-size: var(--heading);
}
.section-wrapper {
    width: 93%;
    margin: auto;
    padding: var(--space-sm) 0 var(--space-md);
}
p.frame {
    position: relative;
    border-top: 3px solid;
    border-right: 3px solid;
    border-left: 3px solid;
    margin-bottom: 2rem;
    padding: .5em 1em .6em;
    font-size: 107%;
}
p.frame::before {
    content: "";
    position: absolute;
    top: calc(100% - 3px);
    left: 4px;
    transform: skew(40deg);
    height: 1rem;
    width: 47%;
    border-top: 3px solid;
    border-right: 4px solid;
}
p.frame::after {
    content: "";
    position: absolute;
    top: calc(100% - 3px);
    right: 0;
    height: 1rem;
    width: 48%;
    border-top: 3px solid;
}
@media screen and (min-width: 769px) {
    h2 {
        padding: .4em 0;
    }

    .section-wrapper {
        width: var(--display);
        max-width: 100%;
        padding: var(--space-md) 0 var(--space-lg);
    }

    p.frame {
        width: clamp(43.75rem, 33.75rem + 20.8333vw, 58.75rem);
        margin: 0 auto var(--space-sm);
        border-top: 4px solid;
        border-right: 4px solid;
        border-left: 4px solid;
        font-size: 100%;
    }
    p.frame::before {
        top: calc(100% - 4px);
        left: 8px;
        height: 1.8rem;
        border-top: 4px solid;
        border-right: 5px solid;
    }
    p.frame::after {
        top: calc(100% - 4px);
        border-top: 4px solid;
    }
}

section li {
    position: relative;
    padding-left: 0.2em;
    margin-left: 1.2em;
    text-indent: -1em;
}
section li::before {
    content: "";
    display: inline-block;
    width: .5em;
    height: .5em;
    margin-right: .4em;
    margin-bottom: .1em;
    background-color: #333;
    transform: rotate(45deg);
}
@media screen and (min-width: 769px) {
    li:not(:first-child) {
        margin-top: .8em;
    }
}
section {
    background-size: cover;
    background-position: center;
}

/* -- アニメーション関連 -- */
.animateElement--fv {
    opacity: 0;
    animation: fv 1s forwards;
}
@keyframes fv {
    from {
        opacity: 0;
        transform: translate(0, 100px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}
.animateElement {
    opacity: 0;
    transition-duration: 1s;
    transition-delay: .2s;
    -webkit-transform: translateZ(0);
    transform: translate(0, 100px);
}
.animated {
    opacity: 1;
    transform: translate(0, 0);
}


/* -------- SECTION00 -------- */
#section00 {
    position: relative;
    padding-bottom: 20vw;
    background-image: url(../img/section00-bg.jpg);
}
h1 {

}
.introduction {
    width: 93%;
    margin: var(--space-sm) auto;
    padding: var(--space-xs) var(--space-xs) var(--space-sm);
    background-color: rgba(153, 137, 19, 0.7);
}
.introduction .frame {
    color: #fff;
}

.introduction-voice__wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(7, 1fr);
    grid-row-gap: 1em;
}

.introduction-voice:nth-of-type(1) { grid-area: 1 / 1 / 2 / 3; transition-delay: .2s; }
.introduction-voice:nth-of-type(2) { grid-area: 2 / 2 / 3 / 5; transition-delay: .6s; }
.introduction-voice:nth-of-type(3) { grid-area: 3 / 1 / 4 / 4; transition-delay: 1s; }
.introduction-voice:nth-of-type(4) { grid-area: 4 / 3 / 5 / 5; transition-delay: 1.4s; }
.introduction-voice:nth-of-type(5) { grid-area: 5 / 1 / 6 / 3; transition-delay: 1.8s; }
.introduction-voice:nth-of-type(6) { grid-area: 6 / 2 / 7 / 5; transition-delay: 2.2s; }
.introduction-voice:nth-of-type(7) { grid-area: 7 / 1 / 8 / 3; transition-delay: 2.6s; }

.introduction-voice {
    position: relative;
    height: fit-content;
    padding: .5em 0;
    background-color: #fff;
    transition-duration: 1s;
}
.introduction-voice::after {
    content: "";
    position: absolute;
    top: 100%;
    width: 0;
    height: 0;
    border-style: solid;
}

@media screen and (max-width: 768px) {
    .introduction-voice:nth-of-type(odd)::after {
        left: 2em;
        border-width: 1em 0 0 1em;
        border-color: #fff transparent transparent transparent;
    }
    .introduction-voice:nth-of-type(even)::after {
        right: 2em;
        border-width: 1em 1em 0 0;
        border-color: #fff transparent transparent transparent;
    }
}

@media screen and (min-width: 769px) {
    #section00 {
        min-height: 50rem;
    }
    .introduction {
        width: calc(var(--display) + 6.25vw);
        margin: var(--space-md) auto var(--space-md);
        padding: var(--space-xs) var(--space-sm) var(--space-sm);
    }

    .introduction-voice__wrapper {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: var(--space-xs);
        grid-row-gap: var(--space-sm);
    }
    .introduction-voice {
        padding: 1em 0;
    }
    .introduction-voice:nth-of-type(1) { grid-area: 1 / 1 / 2 / 2; }
    .introduction-voice:nth-of-type(2) { grid-area: 1 / 2 / 2 / 4; }
    .introduction-voice:nth-of-type(3) { grid-area: 2 / 1 / 3 / 2; }
    .introduction-voice:nth-of-type(4) { grid-area: 2 / 2 / 3 / 3; }
    .introduction-voice:nth-of-type(5) { grid-area: 2 / 3 / 3 / 4; }
    .introduction-voice:nth-of-type(6) { grid-area: 3 / 1 / 4 / 3; }
    .introduction-voice:nth-of-type(7) { grid-area: 3 / 3 / 4 / 4; }

    .introduction-voice::after {
        left: 0;
        right: 0;
        margin: auto;
    }
    .introduction-voice:nth-of-type(1)::after,
    .introduction-voice:nth-of-type(3)::after,
    .introduction-voice:nth-of-type(6)::after {
        border-width: 1em 0 0 1em;
        border-color: #fff transparent transparent transparent;
    }
    .introduction-voice:nth-of-type(2)::after,
    .introduction-voice:nth-of-type(5)::after,
    .introduction-voice:nth-of-type(7)::after {
        border-width: 1em 1em 0 0;
        border-color: #fff transparent transparent transparent;
    }
    .introduction-voice:nth-of-type(4)::after {
        border-width: 1em .7em 0 .7em;
        border-color: #fff transparent transparent transparent;
    }
}

.section00-people {
    position: absolute;
    bottom: 0;
}

/* -------- SECTION01 -------- */
#section01 {
    background-image: url(../img/section01-bg.jpg);
}
#section01 h2 {
   background-color: var(--yellow); 
}
p.underbar {
    position: relative;
    margin: 0 auto 1em;
    padding-bottom: .8em;
    width: fit-content;
    border-bottom: 1px solid;
}
p.underbar::after {
    content: "";
    position: absolute;
    width: 32%;
    height: 4px;
    background-color: var(--blue);
    bottom: -2px;
    left: 0;
    right: 0;
    margin: auto;
}
#section01 h3 {
    font-size: calc(var(--heading)* 1.2);
    margin-bottom: var(--space-xs);
 }

/* -- pwm-content共通 ---*/ 
.pwm-content {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.pwm-content__left {
    position: relative;
    height: 6rem;
}
.pwm-content__img {
    position: absolute;
    width: 6rem;
    height: auto;
    z-index: 5;
}
.pwm-content__right {
    width: calc(100% - 3rem);
    margin-left: auto;
    padding: 1rem 1em 1em 4.5em;
    background-color: #fff;
    font-weight: 500;
    text-align: left;
    font-size: 13px;
    -moz-clip-path: polygon(100% 0, 100% 80%, 90% 100%, 0 100%, 0 0);
    clip-path: polygon(100% 0, 100% 80%, 90% 100%, 0 100%, 0 0);
}
.pwm-content__img--right {
    display: none;
}

@media screen and (min-width: 769px) {
    .pwm-content__left {
        height: clamp(10rem, 6.6594rem + 6.9505vw, 15rem);
    }
    .pwm-content__img {
        width: clamp(10rem, 6.6594rem + 6.9505vw, 15rem);
    }
    .pwm-content__right {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
        min-height: 9.167vw;
        margin-left: 11%;
        padding: 2em 38% 2em 13%;
        font-size: var(--small-p);
        overflow: hidden;
        -moz-clip-path: polygon(100% 0, 100% 70%, 93% 100%, 0 100%, 0 0);
        clip-path: polygon(100% 0, 100% 70%, 93% 100%, 0 100%, 0 0);
    }
    .pwm-content__img--right {
        display: block;
        width: 38%;
        height: 100%;
        position: absolute;
        right: 0;
    }
    .pwm-content__img--right img {
        max-inline-size: unset;
        max-block-size: unset;
        object-fit: cover;
        width: 100%;
        height: 100%
    }
}

 #section01 .pwm-content__left h4 {
    position: absolute;
    width: 3.5rem;
    height: 3.5rem;
    top: 0;
    bottom: 0;
    left: .5rem;
    margin: auto;
    background-color: rgba(153, 137, 19, 0.9);
    opacity: .9;
    color: #fff;
    transform: rotate(45deg);
    font-weight: 500;
    line-height: 1;
    font-size: 12px;
    z-index: 10;
}
#section01 .pwm-content__left h4 > span {
    display: block;
    transform: rotate(-45deg);
    margin-left: 0.6em;
    margin-top: 1.2em;
}
#section01 .pwm-content__left h4 > span > span {
    display: block;
    font-size: 200%;
}
#section01 .pwm-content__img {
    margin-left: 1rem;
}
#section01 .pwm-content__right {
    width: calc(100% - 4rem);
}
.pwm-content__right h5 {
    font-size: 14px;
    color: var(--yellow);
}

@media screen and (min-width: 769px) {
    #section01 h4 {
        font-size: var(--small-heading);
    }

    .introduce-merritt__wrapper {
        margin-bottom: var(--space-md);
    }
    #section01 .pwm-content {
        margin-left: .8em;
    }
    #section01 .pwm-content:nth-of-type(2) {
        width: 88%;
        margin-left: auto;
    }
    #section01 .pwm-content__img {
        margin-left: 2rem;
    }
    #section01 .pwm-content__left h4 {
        width: clamp(6rem, 4.6638rem + 2.7802vw, 8rem);
        height: clamp(6rem, 4.6638rem + 2.7802vw, 8rem);
        font-size: var(--body);
    }
    #section01 .pwm-content__right {
        width: 100%;
        margin-left: 14.5%;    
        padding: 2em 4em 2em 14%;
    }
    #section01 .pwm-content:nth-of-type(2) .pwm-content__right {
        width: 88%;
        margin-left: 16.5%;
        padding-left: 15.5%;
    }
    #section01 .pwm-content__left h4 > span {
        margin-left: 0.5em;
        margin-top: 1.6em;
    }
    .pwm-content__right h5 {
        font-size: calc(var(--small-p) * 1.25);
        color: var(--yellow);
    }
}

.introduce-example__wrapper .frame,
.introduce-example__wrapper .frame::before,
.introduce-example__wrapper .frame::after {
    border-color: var(--yellow);
}

.introduce-example__inner {
    display: flex;
    flex-direction: column;
}
.introduce-example__inner a {
    position: relative;
    width: 13rem;
    margin: auto;
    margin-bottom: 1rem;
}
.introduce-example__inner p {
    position: absolute;
    margin: .5em;
    color: #fff;
    bottom: 0;
    right: 0;
    font-weight: 500;
    text-align: right;
    line-height: 1.4;
}
.introduce-example__inner p span {
    font-size: 70%;
}
@media screen and (min-width: 769px) {
    .introduce-example__wrapper p.frame {
        margin-bottom: var(--space-lg);
    }
    .introduce-example__inner {
        flex-direction: row;
        gap: var(--space-xs);
        margin-bottom: var(--space-sm);
    }
    .introduce-example__inner a {
        width: 100%;
    }
    .introduce-example__inner a:nth-of-type(2) {
        transition-delay: .2s;
    }
    .introduce-example__inner a:nth-of-type(3) {
        transition-delay: .3s;
    }
}

/* -------- SECTION02 -------- */
#section02 {
    background-image: url(../img/section02-bg.jpg);
}
#section02 h2,
#section02 ul li::before {
    background-color: var(--green);
}

.kanataLogo {
    width: 14rem;
    margin: 0 auto 1rem;
}

.event-img {
    position: relative;
}
.event-img--top {
    padding-top: 1.5rem;
}
.event-img--bottom {
    width: 32%;
    margin: -30% 2% 0 auto;
}

.fukidashi {
    position: absolute;
    padding: .8em .5em;
    background-color: #fff;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
}
.fukidashi--downward::before,
.fukidashi--upward::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    left: 0;
    right: 0;
    margin: auto;
    border-style: solid;
}
.fukidashi--downward::before {
    top: 100%;
    border-width: .8em .6em 0 .6em;
    border-color: #fff transparent transparent transparent;
}
.fukidashi--upward::before {
    bottom: 100%;
    border-width: 0 .6em .8em .6em;
    border-color: transparent transparent #fff transparent;
}

.event-img--top .fukidashi:nth-of-type(1) {
    top: 0;
    left: 5%;
}
.event-img--top .fukidashi:nth-of-type(2) {
    bottom: 9%;
    left: -2%;
}
.event-img--top .fukidashi:nth-of-type(3) {
    bottom: -20%;
    left: 11%;
}

.event-img--bottom .fukidashi{
    bottom: 108%;
    left: 0;
    right: 0;
    margin: auto;
    width: fit-content;
}


@media screen and (min-width: 414px) {
    .event-img--top .fukidashi:nth-of-type(1) {
        top: 10%;
        left: 15%;
    }
    .event-img--top .fukidashi:nth-of-type(2) {
        bottom: 22%;
        left: 9%;
    }
    .event-img--top .fukidashi:nth-of-type(3) {
        bottom: 4%;
        left: 20%;
    }
}

@media screen and (min-width: 769px) {
    .kanataLogo {
        width: 100%;
        margin-bottom: var(--space-sm);
    }

    .event-img--top {
        padding-top: 0;
    } 
    .event-img--bottom {
        margin: -31% 2% 0 auto;
    }
    .fukidashi {
        padding: .8em 1em;
        font-size: var(--small-p);
    }

    .event-img--top .fukidashi:nth-of-type(1) {
        top: 5%;
        left: 15%;
    }
    .event-img--top .fukidashi:nth-of-type(2) {
        bottom: 24%;
        left: 8%;
    }
    .event-img--top .fukidashi:nth-of-type(3) {
        bottom: 4%;
        left: 21%;
    }
}


/* -------- SECTION03 -------- */
#section03 {
    background-image: url(../img/section03-bg.jpg);
}
#section03 h2,
#section03 ul li::before {
    background-color: var(--blue);
}
#section03 h2 span {
    font-weight: 500;
}

.kanata-txt p {
    font-size: 12px;
}
.kanata-button{
    position: relative;
    display: inline-block;
    margin: .5em 0 .3em;
    padding: .1em 2em .1em 1em;
    border: 2px solid var(--blue);
    box-shadow: 3px 2px 0px var(--blue);
    color: var(--blue);
    font-size: 14px;
}
.kanata-button::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 1.2em;
    margin: auto;
    width: .5em;
    height: .5em;
    border-top: 2px solid var(--blue);
    border-right: 2px solid var(--blue);
    transform: rotate(45deg);
}

@media screen and (min-width: 769px) {
    .kanata-txt {
        margin-top: .5em;
    }
    .kanata-txt p {
        font-size: 80%;
    }
    .kanata-button {
        font-size: var(--small-p);
    }
}

@media (hover: hover) {
    .kanata-button:hover {
        transform: translateX(.1em) translateY(.1em);
        box-shadow: none;
        opacity: 1;
    }
}


/* -------- SECTION04 -------- */
#section04 {
    background-image: url(../img/section04-bg.jpg);
}
#section04 h2,
#section04 ul li::before {
    background-color: var(--purple);
}


/* -------- CONTACT -------- */
#contact h2 {
    background-color: var(--gray);
}

form {
    text-align: left;
}
form > div {
    margin-bottom: 1rem!important;
}
label {
    position: relative;
    display: block;
    padding-left: .8em;
}
label::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: .3em;
    height: 0.7em;
    background-color: var(--gray);
}
label > span {
    margin-left: .5em;
    padding: .1em .4em 0;
    color: #fff;
    background-color: var(--red);
    font-size: 80%;
}
select, input, textarea {
    width: 100%!important;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: .5em;
    font-weight: 400;
    font-size: 14px;
    font-family: 'Noto Sans JP', "Arial", "Meiryo", sans-serif;
}
select, input {
    -webkit-appearance: none;
    appearance: none;
}
textarea {
    resize: vertical;
    min-height: 10em!important;
}
form button[type="submit"]{
    display: block;
    width: min(70%, 400px);
    margin: 2rem auto;
    padding: .8em;
    border-radius: 32px;
    color: #fff;
    background-color: var(--yellow);
    text-align: center;
    font-size: 18px;
    cursor: pointer;
}

@media screen and (min-width: 769px) {
    label {
        font-size: var(--small-p);
    }
    select, input, textarea {
        padding: .5em .8em;
        font-size: var(--small-p);
    }
    form button[type="submit"]{
        padding: 1em;
        font-size: var(--body);
        border-radius: 40px;
    }
}



/* -------- SIDEMENU -------- */
.sideMenu {
    position: fixed;
    top: 0;
    right: 0;
    width: 12rem;
    height: 100dvh;
    z-index: 100;
}

.nav {
    position: relative;
    width: 100%;
    height: 100dvh;
    padding: 6rem 0;
    color: #fff;
    background-color: var(--blue);
    transform: translateX(100%);
    z-index: 1000;
    transition: .4s
}
.nav.open {
    transform: translateX(0);
}
.nav > p {
    position: absolute;
    width: 8rem;
    height: 3rem;
    top: 20dvh;
    bottom: 0;
    left: -4rem;
    border-radius: 10px;
    background-color: var(--blue);
    font-size: 15px;
    transform: rotate(-90deg);
    cursor: pointer;
    z-index: 900;
}
.nav ul li {
    position: relative;
    display: block;
    padding: 1.5em 0;
    margin: 0 1rem;
    border-bottom: 1px dotted;
    z-index: 2000;
}
.nav ul li:first-of-type {
    border-top: 1px dotted;
}

.nav ul li a {
    color: #fff;
}

.contact-link {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 40vw;
}
@media screen and (min-width: 769px) {
    .sideMenu {
        width: 23rem;
    }

    .nav > p {
        top: 20vh;
        width: 10rem;
        height: 6rem;
        left: -5rem;
        font-size: var(--body);
    }
    .nav ul li {
        margin: 0 2.5em;
    }

    .contact-link {
        position: absolute;
        right: 2rem;
        bottom: 2rem;
        max-width: 17rem;
    }
}

.footer-top{
    margin-bottom: .5em;
}

.thanks h3 {
    margin-bottom: 1em;
    color: var(--yellow);
    font-size: var(--heading);
}
.thanks a {
    display: inline-block;
    width: min(70%, 400px);
    margin: var(--space-md) 0;
    padding: 1em;
    border-radius: 50px;
    color: #fff;
    background-color: var(--blue);
}