/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/
@charset "UTF-8";


body {
  line-height:1;
  /* background: #fdf9f3; */
  background-image: url('../../images/bg_base_300_300.jpg');
  background-repeat: repeat;
  letter-spacing: 0.1rem;
}

.home h1,
.home h2,
.home h3,
.home h4,
.home h5,
.home h6,
.home p {
margin: 0;
padding: 0;
border: 0;
background: transparent;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
  display:block;
}
ul {
  list-style:none;
}
blockquote, q {
  quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}
a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
  text-decoration: none;
}
ins {
  background-color:#fff;
  color:#000;
  text-decoration:none;
}
mark {
  background-color:#fff;
  color:#000; 
  font-style:italic;
  font-weight:bold;
}
del {
  text-decoration: line-through;
}
abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}
table {
  border-collapse:collapse;
  border-spacing:0;
}
hr {
  display:block;
  height:1px;
  border:0;   
  border-top:1px solid #cccccc;
  margin:1em 0;
  padding:0;
}
input, select {
  vertical-align:middle;
}

body, html {
margin: 0;
padding: 0;
}

.font-mincho-bold {
font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", "Noto Serif JP", serif;
font-weight: 700; 
}

.page-header-title {
font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", "Noto Serif JP", serif;
font-weight: 700;
font-size: 2.2rem;
}







/*----- header -----*/

.header {
  display: none;
}

#site-header {
  display: none;
}

.header_custom {
  position: fixed;
  top: 0;
  left: 0; 
  transform: none;
  width: 100%;
  height: 70px;
  z-index: 1000;
  /* background-color: rgba(253, 249, 243, 0.9); */
  background-color: rgba(245, 243, 238, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1366px;
}

.header-logo img {
  width: auto;
  height: 70px;
  margin-left: 20px;
}

@media screen and (max-width: 767px) {
  .header-logo img {
    width: auto;
    height: 55px;
    margin-left: 0;
  }
}

.header-nav-wrapper {
  display: flex;
  align-items: center;
  height: 70px;
}

 

.global-nav {
  height: 70px;
}

.global-nav ul {
  display: flex;
  height: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.global-nav ul li {
  display: flex;
  align-items: center;
  padding: 0 15px;
  position: relative;
  height: 100%;
}

.global-nav ul li::before {
  /* background: #f0749b; */
  background: #9c1c1c;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scaleX(0);
  transition: transform .3s ease-in-out;
}

.global-nav ul li:hover::before {
  transform-origin: left top;
  transform: scaleX(1);
}

.global-nav ul li a {
  display: flex; 
  align-items: center; 
  justify-content: center;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
  width: 100%;
  height: 100%;
}

.global-nav ul li:hover a {
  /* color: #f0749b; */
  color: #9c1c1c;
}

/*----- 体験教室申込みボタンのデザイン -----*/
.apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px; 
  margin-left: 10px;
  padding: 0 20px;
  /* background-color: #f0749b; */
  background-color: #9c1c1c;
  transition: all 0.3s;
}

.apply-btn a {
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: white;
  font-weight: bold;
  width: 100%;
  height: 100%;
}

.apply-btn:hover {
  /* background-color: #e64b87; */
  background-color: #9c1c1c;
  transition: all 0.7s;
}


/*----- humburger-menu -----*/

/* 元々あるハンバーガーメニュー非表示 */
.vk-mobile-nav-menu-btn {
  display: none;
}


 @media screen and (max-width: 1060px) {
  .header-nav-wrapper {
    display: none; 
  }
  .header {
    display: flex;
  }
  .apply-btn {
    display: none;
  }
}

@media screen and (min-width: 1061px) {
  .header-nav-wrapper {
    display: flex;
  }
  .header {
    display: none;
  }
  .apply-btn {
    display: flex;
  }
}


.hamburger-overlay {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 1000;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger-overlay__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #333;
  transition: all .6s;
  z-index: 10000;
}

.hamburger-overlay__line:nth-of-type(1) { top: 14px; }
.hamburger-overlay__line:nth-of-type(2) { top: 23px; }
.hamburger-overlay__line:nth-of-type(3) { top: 32px; }

.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

.nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 80vw;
  height: 100vh;
  background-image: url('images/hamburger-bg.webp');
  background-size: cover;
  opacity: 0.97;
  visibility: hidden;
  transition: all .6s;
  z-index: 900;
}

.nav-overlay.active {
  visibility: visible;
}

.nav-overlay__content {
  width: 100%;
  margin-top: 30%;
  text-align: center;
}

.nav-overlay__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-overlay__item {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s;
}

.nav-overlay.active .nav-overlay__item {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.active .nav-overlay__item:nth-child(1) { transition-delay: 0.1s; }
.nav-overlay.active .nav-overlay__item:nth-child(2) { transition-delay: 0.2s; }
.nav-overlay.active .nav-overlay__item:nth-child(3) { transition-delay: 0.3s; }
.nav-overlay.active .nav-overlay__item:nth-child(4) { transition-delay: 0.4s; }
.nav-overlay.active .nav-overlay__item:nth-child(5) { transition-delay: 0.5s; }
.nav-overlay.active .nav-overlay__item:nth-child(6) { transition-delay: 0.6s; }
.nav-overlay.active .nav-overlay__item:nth-child(7) { transition-delay: 0.7s; }

.nav-overlay__link {
  display: inline-block;
  padding: 20px;
  font-size: 24px;
  text-decoration: none;
  transition: color .3s;
}

.nav-overlay__row a {
  color: inherit;
  transition: all 0.3s;
}

.nav-overlay__row a:hover .nav-overlay__link--ja,
.nav-overlay__row a:hover .nav-overlay__link--en {
  /* color: #f0749b; */
  color: #9c1c1c;
}

.nav-overlay__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 20vw;
  height: 100vh;
  background-color: #565656;
  opacity: 0.8;
  cursor: pointer;
  z-index: 1;
} 

/*------ ここからハンバーガーメニュー追加 ------*/

/* ロゴ画像サイズ */
.nav-overlay__logo img {
  width: 130px;
  margin: 24px 0 0 15px;
  display: inline-block;
}

/* ナビゲーションリスト */
.nav-overlay__list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  text-align: left;
}

/* 各項目 */
.nav-overlay__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 共通リンクスタイル */
.nav-overlay__link {
  text-decoration: none;
  color: #000;
}

.nav-overlay__row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
}

.nav-overlay__link--ja {
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  font-size: 0.8rem;
  text-align: left;
  min-width: 8em; /* 幅を揃えて1文字目を揃える */
}

.nav-overlay__link--en {
  font-family: "Helvetica Neue", "Arial", sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
  text-align: left;
}

/* タブレットレイアウト */
.apply-btn-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px; 
  margin: 50px 10% 0;
  /* background-color: #f0749b; */
  background-color: #9c1c1c;
  transition: all 0.3s;
}

.apply-btn-hamburger a {
  display: flex; 
  align-items: center; 
  justify-content: center;
  color: white;
  font-weight: bold;
  width: 100%;
  height: 100%;
  font-size: 1.2rem;
}

/* タブレットレイアウト */
@media screen and (min-width: 600px) and (max-width: 1060px) {
  .nav-overlay__logo img {
    width: 200px;
  }
  .nav-overlay__content {
    max-width: 70%;
    margin: 20% auto 10%;
  }
  .nav-overlay__link--ja {
    font-size: 1rem;
  }
  .nav-overlay__link--en {
    font-size: 1.7rem;
  }
  .apply-btn-hamburger a {
    font-size: 1.3rem;
  }
}


/* ---------------------------- フッター --------------------------- */

/* ---------------------------- */
/* -- footer-contact -- */

/* .footer-contact {
  background-image: url('/wp-content/themes/lightning-child/images/bg_footer-contact_w800×h600.png');
  background-repeat: repeat;
  margin-top: 60px;
  padding: 3rem;
}

.footer-contact-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  text-align: center;
  background-color: #fff;
  border-radius: 20px;
}

.footer-contact-buttons {
  margin-top: 30px;
}

.footer-btn-contact {
  display: inline-flex; 
  align-items: center; 
  padding: 0 1rem;
  border: 1px solid #111111;
  border-radius: 20px;
  line-height: 4rem;
  letter-spacing: 0.2rem;
}

.footer-btn-icon {
  width: 30px; 
  height: 30px; 
  object-fit: contain; 
  vertical-align: middle;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.footer-btn-contact:hover {
  background-color: #111111;
  color: #ffffff;
}

.footer-btn-line {
  margin-left: 3rem;
} */

/* ---------------------------- */
/* -- footer-main -- */
.footer-main {
  background: #e2d8c3;
}

.footer-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-logo img {
  width: auto;
  height: 50px;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
}

.footer-nav-inner {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-sns img {
  width: 45px;
}

.footer-copyright {
  text-align: center;
}

@media screen and (max-width: 767px) {
  .footer-nav li {
    padding: 0;
  }
}

/* -- lightningテーマのフッターを非表示 -- */
.site-footer {
  display: none;
}