/*
Theme Name: Lightning Child
Description: Yasugi Igo
Author: Ayako
Template: lightning
Version: 1.0
*/

:root {
    --beige:#fffbef;
    --yellow:#ffdd7a;
    --red:#ee3d3c;
    --lightblue:#1bc2f1;
    --green:#44b5ae;
    --palegreen:#91b5b3;
}

.zen-maru-gothic-light {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-maru-gothic-medium {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
}
/* Googleフォントの読み込みを拒否し、端末の標準フォントにする設定 */
html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
}

*{
  margin: 0;
  padding: 0;
  box-sizing:border-box;
}


body {
    font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  background:var(--beige);
}
section{

  padding: 10rem 0;
  margin-top: -5rem;
}
h1 {
  margin: 0 2rem;
}
span {
  font-size: 1.2rem;
}
p {
  margin: 0;
  font-size: 1.2rem;
}
h2.sec-title {
    border-top: none;
    text-align: center;
    border-bottom: none;
}
.slim {
    width: 80%;
    margin: 0 auto;
    max-width: 1600px;
        min-width: 350px;
}

ul.nav-list {
    display: flex;
    gap: 2rem;
    margin: 0 2rem;
    font-weight: 600;
}

header#header {
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    max-width: 1600px;
    margin:2rem 0;
    position: relative;
}
nav.pc-nav {
    margin-right: 3rem;
}

ul.sns-list {
    display: flex;
    justify-content: flex-end;
    margin: 1rem 2rem 0 0;
    gap: 1rem;
    /* color: #fff; */
}

ul.sns-list a {
    color: #fff;
}

li.sns-item {
    background: var(--green);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    outline-offset: -3px;
    outline: 1px solid #fff;
    transition  : all 0.3s ease;
}

li.sns-item:hover {
    background: var(--palegreen);
}
.mobile {
  display: none;
}

/* ハンバーガーボタン */
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* 三本線 */
.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ナビゲーションメニュー */
.menu {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  min-width: 200px;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* アニメーション設定 */
.hamburger-menu span {
  transition: all 0.3s ease;
}

/* 1本目の線 */
.hamburger-menu.is-active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

/* 2本目の線 */
.hamburger-menu.is-active span:nth-child(2) {
  opacity: 0;
}

/* 3本目の線 */
.hamburger-menu.is-active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu li {
  border-bottom: 1px solid #eee;
}

.menu li:last-child {
  border-bottom: none;
}

.menu a {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
}

.menu a:hover {
  background-color: #f5f5f5;
}
.sticky-btn {
    position: fixed;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    top: 3rem;
    right: 0px;
    background-color: var(--green);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    z-index: 1000;
    width: max-content;
    height: 15rem;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.sticky-btn:hover {
    background-color: var(--palegreen); 
}

figure.form-fig {
    width: 3rem;
    height: 3rem;
}
/* メニュー表示時 */
.menu.is-active {
  display: block;
}

section.eyecatch {
      margin: 0;
    padding: 0;
    position:relative;
    box-sizing: border-box;
}

section.eyecatch .slim{
  height:58vh;
  display: flex;
  align-items: center;
}

section.eyecatch::after {
    position: absolute;
    width: 10rem;
    /* height: 10rem; */
    background: url(img/bird.webp) no-repeat;
    background-size: contain;
    background-position: bottom right;
    content: "";
    bottom: 0;
    right: 0;
    aspect-ratio: 317 / 225;}

/* 初期状態での画像やスライドの縦積みを防ぐ */
.swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}

.swiper.mySwiper.swiper-initialized.swiper-horizontal.swiper-android.swiper-backface-hidden {
    flex: 0 0 50%;
    max-width: 380px;
    aspect-ratio:380/424;
	background: transparent;
	}
.catch-cont {
  max-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.catch-cont p {
    display: inline;
    font-size: 3rem;
    flex: 0 0 35%;
    font-weight: 600;
}
p.red{
  color: var(--red);
}
p.white {
    color: #fff;
    text-shadow: 0px 0px 5px #333;
}
p.black {
  color: #333;
}
/* section.notice */ 

section.event {
    margin-top: 0;
    background: var(--yellow);
    mask: radial-gradient(50px at bottom, #0000 calc(100% - 1px), #000) 50% / 92.5px 100%;
    padding-bottom: 15rem;
    position: relative;
}

#event .event-child {
    position: absolute;
    width: 20rem;
    aspect-ratio: 80 / 53;
    content: "";
    right: 0;
    bottom: 0;
}
/* section.lesson */
section.lesson{
    background: var(--beige);
    border-bottom-left-radius: 50% 5rem;
    border-bottom-right-radius: 50% 5rem;
    padding-bottom: 15rem;
}

span.lesson-info {
    display: block;


  }
/* section#103 */
  section#charm {
    background: var(--lightblue);
    border-top-right-radius: 50% 5rem;
    position: relative;
        border-bottom-left-radius: 50% 5rem;
}
section#charm::before {
    content: "";
    background: url(img/kyodai.webp) no-repeat;
    background-size: contain;
    background-position: bottom;
    width: 16rem;
    height: 13rem;
    position: absolute;
    top: 0;
    left: 3rem;
    transform: translate(0, -79%);
    aspect-ratio: 317 / 225;
}
#charm h2.sec-title {
    color: #fff;
}
table.lesson-table th, table.lesson-table td {
    border: none;
    font-size: 1.2rem;
}

table.lesson-table {
    border: none;
    width: 80%;
    margin: 0 auto 3rem;
    min-width: 300px;
}

table.lesson-table tr {
    border-bottom: 1px solid #eee;
    /* font-size: 1.2rem; */
}

span.lesson-info {
    display: block;
    font-size: 1.2rem;
    width: 80%;
    min-width: 300px;
    margin: 0 auto 1rem;
}

span.lesson-info:first-child {
    display: block;
    margin: 2rem 0 0;
}

ul.merit-list {
    list-style: none;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-items: center;
}

li.merit-card {
    background: #fff;
    min-width: 300px;
    flex: 0 0 32%;
    padding: 1rem;
        outline: 3px solid var(--green);
    outline-offset: -6px;
    clip-path: polygon(0 14.66px,10px 10px,14.66px 0,calc(100% - 14.66px) 0,calc(100% - 10px) 10px,100% 14.66px,100% calc(100% - 14.66px),calc(100% - 10px) calc(100% - 10px),calc(100% - 14.66px) 100%,14.66px 100%,10px calc(100% - 10px),0 calc(100% - 14.66px));

}
.merit-card figure {
    width: 64%;
    display: block;
    margin: 2rem auto;
}

span.merit-title {
    text-align: center;
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.4rem;

}
figure.merit-fig {
    position: absolute;
    bottom: 0;
    right: 0;
    aspect-ratio: 583/290;
    width: 20rem;
}
th,td {
  border: transparent;
  
}
.access-flex {
    display: flex;
    flex-wrap: wrap;
}

.g-map {
    flex: 1 0 40%;
        display: flex;
    justify-content: center;
    overflow: hidden;
    min-width: 300px;
}

table.access-info {
    flex: 1 0 50%;
    border:transparent;
    min-width: 300px;
}


a.sns-btn {
    display: inline-block;
    width: 3rem;
    background: var(--lightblue);
    padding: 8px;
    border-radius: 15px;
}

a.sns-btn figure {
  display: flex;
  position: relative;
}
a.sns-btn figure::before {
content: "";
background: url(img/mail.svg) no-repeat;
background-size: contain;
width: 2rem;
left: 0;
top: 50%;
transform: translate(50%,-50%);
}
/* section.access */
section.access {
  background:var(--green);
}
table.access-info th, table.access-info td {
    font-size: 1.2rem;
}
table.access-info th,table.access-info td {
    font-size: 1.2rem;
}
a.tel-btn,
a.form-btn {
    background: var(--beige);
    display: flex;
    width: fit-content;
    padding: 0 2rem 0 4rem;
    border-radius: 2rem;
    position: relative;
    min-height: 4rem;
    align-items: center;}

a.tel-btn::before {
    content: "";
    background: url(img/tel.svg) no-repeat;
    background-size: contain;

    aspect-ratio: 1/1;
    width: 2rem;
    display: block;
    left: 0;
    top: 50%;
    position: absolute;
    transform: translate(50%,-50%);
}
a.form-btn::before {
    content: "";
    background: url(img/mail.svg) no-repeat;
    background-size: contain;

    aspect-ratio: 1/1;
    width: 2rem;
    display: block;
    left: 0;
    top: 50%;
    position: absolute;
    transform: translate(50%,-50%);
}

/* section.schedule */
section.schedule{
  background:var(--yellow);
      border-bottom-left-radius: 50% 5rem;
   mask: conic-gradient(from 117.5deg at top,#0000,#000 1deg 124deg,#0000 125deg) 50%/7.68rem 100%
}

.g-calendar {
    display: flex;
    justify-content: center;
}


/* section.topics */
section.topics {

  mask: 
    linear-gradient(180deg,#0000 4rem,#000 0),
    radial-gradient(4rem,#000 calc(100% - 1px),#0000) top/7.4rem 8rem
}

ul.topics-list {
    list-style: none;
}
a.topics-flex {
    display: flex;
    align-items: center;
    gap: 1rem;

}

.thumb {
    flex: 1 1 13%;
}

.topic-info {
    flex: 0 0 85%;
}

figure.topic-fig {
    display: flex;
    aspect-ratio: 36/25;
    justify-content: center;
    background: #eee;
}

.topic-fig img {
    height: 100%;
    width: auto;
}

figure.topic-fig {
    display: flex;
    aspect-ratio: 4 / 3;
    justify-content: center;
    background: #eee;

}
.topic-info h3.title {
    font-size: 1.3rem;
}


.topic-fig img {
    height: 100%;
    width: auto;
}

.topics-list h3.title {
    border-bottom: none;
}

h3.title::after {
    display: none;
}
ul.topics-list {
    width: 80%;
    margin: 0 auto;
}

ul.topics-list li {
    background: var(--beige);
    padding: 1rem;
    border-radius: 1rem;
}

.topic-info h3.title {
    margin: 0;
    padding: 0;
}

section.topics ul.topics-list li {
    background: #fff;
    border: 1px solid var(--green);
}

/* section.coach */
.coach .slim {
  flex-wrap: wrap;
    display: flex;
    align-items: center;
        justify-content: center;
}

section.coach {
background-image: radial-gradient(circle at center, var(--palegreen) 4.5px, transparent 4.5px);
background-size: 20px 20px;
background-color: var(--green);
    border-top-right-radius: 50% 5rem;
}

span.coach-name {
    font-size: 1.6rem;
    border-bottom: 2px solid var(--green);
    margin: 0 0 1rem;
    display: block;
    width: max-content;

}

figure.coach-fig {
    max-width: 50%;
    flex: 0 0 38%;
}

article.coach-info {
  min-width: 300px;
    background: var(--beige);
    padding: 1rem;
    border: 5px solid var(--yellow);
    border-radius: 3rem 2rem 2.5rem 3rem;
    flex: 0 0 50%;
}
p.small {
    font-size: 0.9rem;
    display: inline-block;
    margin-left: 1rem;
}

p.coach-txt {
    display: block;
    width: 80%;
    margin: 0 auto;
}

.slim.footer-cont {
  display: flex;
justify-content: space-around;
    /* align-items: center; */
    margin: 5rem auto;
}

ul.footer-nav-list {
        list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

li.footer-nav-item {
    border: none;
}

.footer-nav-item a {
    text-decoration: none;
            font-weight: 600;

}

.footer-nav-list li.footer-nav-item:first-child {
    border: none;

}

.logo a.form-btn {
    border: 1px solid var(--green);
}

a.tel-btn {
    border: 1px solid var(--green);
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

a.footer-logo .logo {
    font-size: 2rem;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
  .pc-nav {
    display: none;

  }
	.mobile {
    display: block;
  }

  #header h1 {
    margin: 0;
    font-size: 1.5rem;
}

.eyecatch span.eyecatch-copy p {
    font-size: 1.7rem;
}

section#event {
    padding-top: 4rem;
}

section.schedule {
    padding-top: 6rem;
}

section.coach {
    padding-top: 4rem;
}
}

/* ブログページ */
.page-header {
    background: var(--green);
}

/* body.page header#header {
    display: none;
} */

/* お問い合わせページ */
h1.wp-block-site-title {
    padding: 2rem 0;
}


h2.wp-block-post-title {
    padding: 2rem 0;
    color: var(--green);
}

h2.wp-block-post-title {
    padding: 2rem 0;
    color: var(--green);
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.submit-btn {
    background: var(--green);
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.submit-btn {
    display: block;
    margin: 0 0 0 auto;
}

@media screen and (max-width: 600px) {
    section.eyecatch .slim {
        flex-direction: column;
        align-items: center;
    }
    .swiper.mySwiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden{
        max-width: 29vh;
    }
}