@charset "UTF-8";
/*
Theme Name: sakurai-jodo
Description: 桜井杖道会 公式サイトテーマ
version: 1.0
author: Hissa Hasegawa
url: https://leitweb.com/
*/

/* ==========
general
========== */
@font-face {
    font-family: "mousitsu font";
    src: 
        url("fonts/mousitsu_font.woff2") format("woff2"),
        url("fonts/mousitsu_font.woff") format("woff");
    font-weight: 600;
    font-display: swap;
}

:root {
    --red: #F45A5A;
    --base-pink: #FFCEC0;
    --accent-color: #FFFEC0;
    --blue: #9CBFE7;
    --text-color: #000;
    --text-gray: #505050;
    --yomogi: 'Yomogi', cursive;
    --mousitu-font: "mousitsu font", cursive;
    --num-font: 'Roboto Condensed', sans-serif;
}

a,
a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none;
    color: var(--text-color);
}

body {
    background-color: var(--base-pink);
    font-family: var(--yomogi);
    position: relative;
}

.yomogi-font {
    font-family: var(--yomogi);
}

.mousitsu {
    font-family: var(--mousitu-font);
    color: var(--text-gray);
}

.num-font {
    font-family: var(--num-font);
    font-weight: 700;
}

* {
    font-weight: 100;
}

li {
    list-style: none;
}

.fs-20 {
    font-size: 20px;
}

.fs-16 {
    font-size: 16px;
}

.fs-15 {
    font-size: 15px;
}

.fs-12 {
    font-size: 12px;
}

.text-left {
    text-align: left;
}

/* ==========
header.php
========== */
header {
    background-color: white;
    height: 100vh;
    width: 75.4px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

header > .inner {
    margin: 0 15px;
    padding: 60px 0;
    height: 100%;
    position: relative;
}

header .main-text {
    display: flex;
    padding-left: .4em;

}

header h1 {
    font-size: 27px;
    /* writing-mode: vertical-lr; */
    /* letter-spacing: .35em; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 1;
}

header h1 span {
    display: block;
}

header h1 span:not(:last-child) {
    margin-bottom: 0.6em;
}

header p {
    font-size: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-left: .2em;
}

header .sns-box {
    width: 100%;
    position: absolute;
    bottom: 0;
    /* border-top: 1.5px solid #000; */
    padding: 10px 5px 0;
    margin-bottom: 60px;
}

header .sns-box a {
    display: block;
}

header .sns-box svg {
    width: 100%;
}


/* ==========
nav.php
========== */
#nav-btn {
    width: 60px;
    /* height: 20px; */
    position: fixed;
    top: 60px;
    right: 25px;
    cursor: pointer;
    z-index: 999;
    border-radius: 50%;
    height: 60px;
}

#nav-btn > .inner {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 100%;
    height: 20px;
}

#nav-btn span {
    background-color: var(--text-color);
    width: 100%;
    height: 1.5px;
}

#nav-btn span:first-child {
    position: absolute;
    top: 0;
}

#nav-btn span:last-child {
    width: 70%;
    position: absolute;
    bottom: 0;
    right: 0;
}

#nav-btn.bg-show {
    animation: bg-show 1s both;
}

@keyframes bg-show {
    from {
        background-color: transparent;
    }
    to {
        background-color: white;
        
    }
}

#nav-btn.bg-hide {
    animation: bg-hide 1s both;
}

@keyframes bg-hide {
    from {
        background-color: white;
    }

    to {
        background-color: transparent;

    }
}

#nav-container {
    background-color: white;
    position: fixed;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    box-shadow: 0 0 10px 0px #0000002b,
        0 0 11px 0px #0000002b;
    z-index: 50;
    max-width: 450px;
}

#nav-container.open {
    animation: navShow 1s both;
}

#nav-container.close {
    animation: navClose 1s both;
}

#nav-container ul li a:hover {
    transform: translateX(0.5em);
    display: block;
    transition: all .3s;
}

@keyframes navShow {
    from {
        left: -100%;
    }
    to {
        left: 0;
    }
}

@keyframes navClose {
    from {
        left: 0;
    }
    to {
        left: -100%;
    }
}


#nav-btn.open span:first-child {
    position: absolute;
    top: 0;
    animation: btnSpan1 1s both;
}

#nav-btn.open span:last-child {
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    animation: btnSpan2 1s both;
}

@keyframes btnSpan1 {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(45deg);
        top: 10px;
    }
}

@keyframes btnSpan2 {
    0% {
        /* width: 70%; */
        transform: rotate(0);
    }
    100% {
        /* width: 100%; */
        transform: rotate(-45deg);
        top: 10px;
    }
}


#nav-btn.close span:first-child {
    animation: btnSpan1Close 1s both;
}

#nav-btn.close span:last-child {
    animation: btnSpan2Close 1s both;
}

@keyframes btnSpan1Close {
    0% {
        transform: rotate(45deg);
        top: 10px;
    }
    100% {
        transform: rotate(0);
        top: 0;
    }
}

@keyframes btnSpan2Close {
    0% {
        width: 100%;
        transform: rotate(-45deg);
        top: 10px;
    }
    100% {
        width: 70%;
        transform: rotate(0);
        bottom: 0;
    }
}

#nav-container ul {
    padding-top: 160px;
    padding-left: 45px;
    font-size: 20px;
    margin-bottom: 100px;
}

#nav-container ul li {
    margin-bottom: 22px;
}


/* ==========
free-trial-cta.php
========== */
.free-trial {
    text-align: center;
    margin: 0 auto;
    max-width: 1000px;
}

.free-trial .main-text {
    font-size: 20px;
    margin-bottom: .1em;
}

.free-trial .micro-copy {
    font-size: 12px;
    margin-bottom: .3em;
}

.free-trial .btn-box {
    text-align: center;
}

.free-trial .btn-box a {
    display: block;
    background-color: var(--accent-color);
    font-size: 20px;
    border-radius: 50px;
    width: 80%;
    margin: 0 auto;
    padding: .4em 0;
    border: 1.5px solid var(--text-color);
    box-shadow: 0 4px 1px 0 rgba(0, 0, 0, 0.2);
}

.free-trial .btn-box a:active {
    transform: translateY(4px);
    box-shadow: none;
}


/* ==========
front-page.php
========== */
#main_container > .inner {
    padding: 230px 25px 0;
    max-width: 800px;
    margin: 0 auto;
}

#main_container .main-ttl-box {
    position: relative;
}

#main_container .fukidasi-box {
    position: absolute;
    right: 0;
    bottom: 92%;
}

#main_container .fukidasi-box p {
    display: block;
    text-align: center;
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1.3;
}

#main_container .fukidasi-box img {
    width: 130px;
    height: 90.224px;
}

#main_container .top-vis h1 {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 70px;
}

#main_container h1 span:first-child {
    font-size: 43px;
}

#main_container h1 span:last-child {
    font-size: min(35vw, 373px);
    margin-top: 0.05em;
    text-shadow: 0px 5px 0px white;
}

#main_container .top-vis h1::after {
    content: "じょうどう";
    font-size: min(3.6vw, 22px);
    letter-spacing: 1.2em;
    display: inline-block;
    transform: translateY(-1em);
    font-weight: bold;
}

#main_container .img-box {
    width: 100%;
    height: 126px;
}

#main_container .img-box img {
    width: 126px;
    height: 126px;
}

#main_container .text-box {
    text-align: right;
    font-size: 15px;
}

#main_container .top-vis {
    margin-bottom: 80px;
}

/* news */
#news {
    margin-bottom: 60px;
}

#news h2 {
    font-size: 15px;
    text-align: center;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--text-color);
    margin: 0 auto 35px;
    width: 30%;
}

#news .news-list {
    margin-bottom: 20px;
}

#news .info-box {
    display: flex;
    align-items: center;
    font-size: 10px;
    margin-bottom: 0.1em;
}

#news .info-box .post-categories {
    display: inline-block;
    margin-right: 1em;
    display: flex;
}

#news .info-box .post-categories li {
    margin-right: .5em;
}

#news .info-box .post-categories a {
    background-color: white;
    padding: .05em .8em;
    display: inline-block;
}

#news .news {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--text-color);
}

#news .news .ttl {
    font-size: 16px;
}


.btn-box1 {
    text-align: right;
}

.btn1 {
    padding-bottom: .1em;
    border-bottom: 1px solid var(--text-color);
}


/* ↓ 「杖道とは？」 */
#whats-jodo .jo-tati-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 27px auto;
    max-width: 350px;
}

#whats-jodo .text-box {
    font-size: 20px;
    text-align: center;
    margin-top: 60px;
}

#whats-jodo .text-box h3 {
    margin-bottom: 25px;
}

#whats-jodo .jo-tati-box .circle {
    background-color: white;
    border-radius: 100%;
    width: 100px;
    height: 100px;
    text-align: center;
    position: relative;
}

#whats-jodo .jo-tati-box .circle > .inner {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#whats-jodo .jo-tati-box .circle .mousitsu {
    display: block;
}

#whats-jodo .jo-tati-box .circle:first-child .mousitsu {
    font-size: 50px;
    line-height: 0.6;
}

#whats-jodo .jo-tati-box .circle:last-child .mousitsu {
    white-space: pre;
    font-size: 40px;
    line-height: 0.6;
}

/* ↓ 「お稽古」 */
.section>.inner {
    padding: 0 25px;
    margin-bottom: 30px;
    text-align: center;
}

#lesson>.inner .text-box {
    margin-top: 60px;
    font-size: 20px;
    text-align: center;
}

#lesson>.inner .text-box ul li {
    /* list-style: circle !important; */
}

#lesson>.inner .text-box h3 {
    margin-bottom: 25px;
}

#lesson>.inner .img-box {
    width: 100%;
    text-align: right;
}

#lesson>.inner .img-box img {
    height: 91px;
    width: 91px;
}

.map-box {
    margin-top: 10px;
}

.map-box iframe {
    width: 100%;
}

/* ↓ 先生紹介 */
#instructor {
    
}

#instructor .img-box {
    position: relative;
    height: auto;
    width: 200px;
    background-color: #FFFEC0;
    margin: 0 auto;
}

#instructor .img-box > img {
    width: 100%;
    height: auto;
}

#instructor .fukidasi-box {
    position: absolute;
    right: -30%;
    z-index: 10;
}

#instructor .text-box {
    text-align: center;
}

#instructor .name {
    margin: 22px 0 30px;
}

/* ↓「入会案内」 */
#admission {
    margin-bottom: 55px;
}

#admission #price {
    max-width: 500px;
    margin: 0 auto 55px;
}

#admission h3 {
    text-align: center;
    margin-bottom: 5px;
}

#admission .price-box {
    background-color: white;
    width: 100%;
    position: relative;
    margin-bottom: 110px;
}

#admission .price-box.special {
    margin-bottom: 16px !important;
}

#admission .price-box table {
    margin: 0 auto;
}

#admission .price-box tr {
    vertical-align: baseline;
}

#admission .price-box th {
    text-align: right;
    margin-right: 10px;
    margin-bottom: 19px;
    display: block;
}

#admission .price-box td {
    text-align: left;
    margin: 10px 0;
}

#admission .price-box > .inner {
    padding: 20px 0;
}

#admission .price-box .under-line {
    font-size: 15px;
    position: relative;
    z-index: 0;
}

#admission .price-box tr:not(.under-line) th {
    margin-bottom: .5em;
}

#admission .price-box .under-line::after {
    content: "";
    background-color: var(--accent-color);
    width: 100%;
    height: 7px;
    position: absolute;
    top: 55%;
    left: 0;
    right: 0;
    display: inline-block;
    z-index: -1;
}

#admission .price {
    position: relative;
}

#admission .price .num-font {
    color: var(--red);
    font-size: 36px !important;
    text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.19);
}

#admission .ill-1 {
    position: absolute;
    bottom: 0;
    left: 3px;
    width: 50px;
    height: auto;
}

#admission .ill-2 {
    position: absolute;
    top: -56px;
    right: 3px;
    width: 50px;
    height: auto;
}

#admission .special-price-ttl::before {
    content: "お子様1人につき *2";
    font-size: 12px;
    display: block;
    transform: translateX(-20%);
}

#admission .pre-price {
    color: var(--red);
    font-size: 20px;
    text-decoration: line-through;
    position: relative;
}

#admission .pre-price::after {
    content: "";
    border-top: 5px solid var(--text-color);
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid transparent;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

#admission .ill-3 {
    position: absolute;
    top: 50%;
    left: 10px;
    width: 40px;
    height: auto;
    transform: translateY(-50%);
}

#admission .ill-4 {
    position: absolute;
    bottom: -6px;
    right: 3px;
    width: 50px;
    height: auto;
}

#admission .fukidasi-box {
    bottom: 120%;
    /* font-size: 12px; */
}

#admission .fukidasi-box p {
    /* white-space: pre; */
}

.note-box {
    width: 100%;
}

.note-box .note {
    display: flex;
    align-items: flex-start;
    font-size: 8px;
    text-align: left;
    margin-bottom: 1em;
}

.note-box .note p:first-child {
    margin-right: 1em;
}

/* contact form 7 */
#wpcf7-f11-o1 {
    
}

.wpcf7-form {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.wpcf7-form input,
.wpcf7-form textarea {
    background-color: white;
    width: 100%;
    border: 1px solid var(--text-color);
    font-size: 20px;
    line-height: 2;
    padding: .2em;
    margin-top: 5px;
}

.wpcf7-form textarea {
    height: 200px;
    line-height: 1.2;
    border-radius: 0 !important;
}

.wpcf7-form label {
    text-align: left;
    font-size: 20px;
}

.wpcf7-form .must {
    font-size: 11px;
    color: white;
    background-color: var(--red);
    padding: 0 .4em;
    border-radius: 3px;
    margin-left: 10px;
}

.wpcf7-form > p {
    margin-bottom: 25px;
}

.wpcf7-form input[type="radio"] {
    display: none;
}

.wpcf7-form .wpcf7-radio label {
    background-color: white;
    border-radius: 50px;
    border: 1px solid var(--text-color);
    font-size: 16px;
    padding: .4em .7em;
    box-shadow: 0 4px 1px rgba(0, 0, 0, 0.2);
}

.wpcf7-form .wpcf7-radio label.active {
    background-color: var(--accent-color);
    box-shadow: none;
    display: block;
    transform: translateY(2px);
}

.wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-form-control.wpcf7-radio {
    display: flex;
    justify-content: space-between;
}

.wpcf7-form .radio-box {
    font-size: 20px;
    margin-bottom: 25px;
}

.wpcf7-form .radio-box .wpcf7-form-control-wrap {
    margin-top: 5px;
    display: block;
}

#form .wpcf7-form {
    padding: 28px 0 0;
    border-top: 1px dashed var(--text-color);
    border-bottom: 1px dashed var(--text-color);
}

#form {
    margin-top: 70px;
}

#form .wpcf7-form .wpcf7-submit {
    border-radius: 50px;
    background-color: var(--accent-color);
    box-shadow: 0 4px 1px rgba(0, 0, 0, 0.2);
    color: var(--text-color) !important;
}

#form .wpcf7-form .wpcf7-submit:active {
    box-shadow: none;
    transform: translateY(2px);
}

.wpcf7-spinner {
    display: block;
    margin: 5px auto;
}

.wpcf7-response-output,
.wpcf7-not-valid-tip {
    border: none !important;
    background-color: white;
    padding: .5em .8em !important;
    position: relative;
    font-size: 13px;
}

.wpcf7-not-valid-tip {
    margin-top: 15px;
}

.wpcf7-response-output::before,
.wpcf7-not-valid-tip::before {
    content: "";
    background-color: white;
    width: 2em;
    height: 2em;
    transform: rotate(45deg) translateX(-50%);
    position: absolute;
    top: 3px;
    left: 50%;
    border-radius: 5px;
    z-index: -1;
}


/* ==========
tmp/separator.php
========== */
.separator {
    height: 50px;
    
}

.separator span {
    display: block;
    background-color: var(--blue);
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.2);
}

.separator span:first-child {
    margin-bottom: 7px;
    height: 8px;
    width: 75%;
}

.separator span:last-child {
    height: 31px;
    width: 100%;
}

.separator span.right {
    margin-left: auto;
}

.separator span.left {
    margin-right: auto;
}


/* ==========
tmp/title.php
========== */
.section {
    max-width: 1000px;
    margin: 0 auto 100px;
}

.section h2 {
    font-size: 40px;
    margin: 60px auto 0;
    writing-mode: vertical-rl;
    position: relative;
}

.section h2 span:last-child {
    font-size: 15px;
    position: absolute;
    bottom: .5em;
    left: -1em;
}

.section .border {
    width: 55%;
    height: 1px;
    margin: 22px auto 70px;
    background-color: var(--text-color);
}


/* ==========
footer.php
========== */
footer {
    position: relative;
    background-color: var(--blue);
    margin-top: 100px;
}

footer::before {
    content: "";
    background: no-repeat center/102% url(images/wav.webp);
    display: inline-block;
    position: absolute;
    bottom: 100%;
    height: auto;
    width: 100%;
    aspect-ratio: 163/9;
}

footer > .inner {
    padding: 50px 25px;
    max-width: 1000px;
    margin: 0 auto;
}

footer > .inner li {
    font-size: 20px;
    margin-bottom: 22px;
}

footer .copy-box {
    font-size: 10px;
    padding: .5em;
    text-align: center;
    background-color: white;
    width: 100%;
    margin-top: 100px;
}

.wav {
    width: 100%;
}

@media screen and (min-width: 1000px) {
    footer > .inner ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    footer > .inner ul li {
        margin-left: 2em;
    }

}


/* ==========
archive.php
========== */
.news-archive h1 {
    text-align: center;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: .2em;
    margin: 0 auto 40px;
    width: 60%;
    font-size: 25px;
}

#main_container > #news.inner {
    padding-top: 150px;
}

.nav-links {
    text-align: center;
    font-size: 20px;
    margin-top: 45px;
}

.nav-links .prev {
    margin-right: 1em;
}

.nav-links .next {
    margin-left: 1em;
}

.nav-links .page-numbers {
    margin: 0 .5em;
}

.nav-links .page-numbers:not(.prev):not(.next) {
    color: var(--text-color);
}

.nav-links .current.page-numbers {
    color: white !important;
}


/* ==========
single.php
========== */
.single .title-box {
    font-size: 1.3rem;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 10px;
    margin-bottom: 45px;
}

.single .text-box {
    text-align: left !important;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 36px;
}

.btn-box2 {
    text-align: center;
    margin-top: 150px;
}

.btn2 {
    display: inline-block;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: .2em;
}