/*
Theme Name: kajiwara
*/
@import url("css/style.css");

*,
::before,
::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td {
  padding: 0;
  margin: 0;
  border: 0;
}
a:hover{
  opacity: 0.7;
  transition: all 0.3s;
}

body{
    font-family: "YuGothic", "ヒラギノ角ゴ ProN W3", sans-serif;

}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

ol,
ul {
  list-style: none;
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}
    @media (max-width: 768px) {
    body{
  font-size: 12px;
}
    }

    

/* --------------------
       Layout Utility
    -------------------- */
    .container {
      width: 100%;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 16px;
    }

    .section {
    }

    .title-wrapper{
      text-align: center;
    }
    .section h2{
      text-align: center;
    }

    .section-title {
      text-align: center;
      font-size: 40px;
      font-weight: 700;
      letter-spacing: 0.2em;
      margin:50px 0 8px;
      position: relative;
      display:inline-block;
      padding: 0 150px;
      font-family: "calibri", sans-serif;
      font-style: italic;
    }
    .section-title:before, .section-title:after {
      content: '';
      position: absolute;
      top: 50%;
      display: inline-block;
      width: 100px;
      height: 2px;
      background-color: black;
      }

      .section-title:before {
      left:0;
      }
      .section-title:after {
      right: 0;
      }

    .section-subtitle {
      text-align: center;
      font-size: 14px;
      margin-bottom: 20px;
    }

    .divider {
      width: 80px;
      height: 1px;
      background: #000;
      margin: 20px auto 40px;
    }

    @media (max-width: 768px) {
      .section{
        margin: 30px 0;
      }

      .section-title{
        font-size: 30px;  
        padding: 0 40px;
        margin: 8px 0 8px;
        letter-spacing: 0;
      }
      .section-title:before,.section-title:after{
        width: 20px;
      }

      .container{
        padding: 0 30px;
      }

    }

    /* --------------------
       Header / Navigation
    -------------------- */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: #ffffff;
      z-index: 1000;
    }

    .header-inner {
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      max-width: 1100px;
      margin: 0 auto;
    }

    .site-logo {
      font-family: "cc-highjinkies-open","CCHighJinkies Bold",sans-serif;
      font-size: 40px;
      letter-spacing: 0.15em;
      text-align: center;
    }

    nav ul {
      display: flex;
      gap: 24px;
      font-size: 13px;
      letter-spacing: 0.15em;
      justify-content: center;
      list-style: none;
      padding: 10px;
    }

    nav a {
      position: relative;
      padding-bottom: 4px;
    }

    nav a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 1px;
      background: #000;
      transition: width 0.2s ease;
    }

    nav a:hover::after {
      width: 100%;
    }

    .hamburger{
      display: none;
    }
    #header-sns{
      display: none;
    }
    @media (max-width: 768px) {

    .site-logo{
      font-size: 15px;
    }
    
    nav ul{
      padding: 0;
    }

    /* hamburger (SP) */
      /* 初期状態：非表示 */
  .global-nav {
    display: none;
  }

  /* active のとき全画面で表示 */
  .global-nav.open {
    display: block;
    position: fixed;
    inset: 0;               /* top:0; right:0; bottom:0; left:0 と同じ  */
    background: #fff;       /* 背景色（好みで変更） */
    z-index: 999;
    /* 中央寄せレイアウト */
    align-items: center;
    justify-content: center;
    padding: 100px 0 0 0;
  }

  .global-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .global-nav li + li {
    margin-top: 20px;
  }

  .global-nav a {
    font-size: 16px;
    text-decoration: none;
    color: #000;
  }
    .hamburger {
    position: absolute;
    top: 18px;
    right:15px;
    cursor: pointer;
    width: 25px;
    height: 24px;
    z-index: 1000;
    display: block;
    }

    #header-menu{
      display: none;
      width: 100%;
      font-weight: 700;
    }
    .hamburger span {
        /*3本の線を作る*/
        transition: all .3s;
        position: absolute;
        height: 2px;
        background-color: #333;
        width:100%;
        z-index: 10;
    }
    .hamburger span:nth-of-type(1) {
        /*上の線の位置*/
        top: 4px;
    }
    .hamburger span:nth-of-type(2) {
        /*真ん中の線の位置*/
        top: 12px;
    }
    .hamburger span:nth-of-type(3) {
        /*下の線の位置*/
        top: 20px;
    }
    .hamburger.open span:nth-of-type(1) {
        /*openのとき、上の線を右斜めにする*/
        top: 10px;
        transform: translateY(6px) rotate(-33deg);
    }
    .hamburger.open span:nth-of-type(2) {
        /*真ん中の線を消す*/
        opacity: 0;
    }
    .hamburger.open span:nth-of-type(3) {
        /*下の線を左斜めにする*/
        top: 22px;
        transform: translateY(-6px) rotate(33deg);
    }
    #header-sns{
      display: flex;
      margin:0;
    }
    .header-inner{
      display: flex;
      padding: 20px;
      align-items: unset;
    }
    .header-inner .sns-row{
      gap: 10px;
      font-size: 0;
      padding: 0;
    }
    .header-inner .sns-row a img{
      width: 25px;
    }
    
    #header-sns{
      margin-right: 50px;
    }
        } 

    /* 余白補正（固定ヘッダーぶん） */
    .page-offset {
      padding-top: 50px;
    }

    /* --------------------
       Hero
    -------------------- */
    .hero {
      position: relative;
      height: 70vh;
      min-height: 420px;
      background: url("../img/top.png") center center / cover no-repeat;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.1));
    }

    .hero-content {
      position: relative;
      z-index: 1;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: #fff;
      text-align: center;
    }

    .hero-title {
      font-family: "Impact", "Arial Black", sans-serif;
      font-size: 34px;
      letter-spacing: 0.25em;
      margin-bottom: 16px;
    }

    .hero-sub {
      font-size: 13px;
      letter-spacing: 0.3em;
    }

    /* slider */

    .slider {
      width: 100%;
      height: 100%;
    }

    .slider img {
      width: 100%;
      object-fit: cover;
    }


    /* SNS icons row */
    .sns-row {
      padding: 24px 0;
      text-align: center;
      display: flex;
      justify-content: center;
      gap: 24px;
      font-size: 24px;
    }

    .sns-row a img {
      width: 60px;
    
    }
    @media (max-width: 768px) {
    .sns-row a img {
      width: 40px;
    }
    .sns-row{
      display: none;
    }
    }

    /* --------------------
       PROFILE section
    -------------------- */
    .profile-hero {
      position: relative;
      height: 500px;
      background: url("../img/profile.webp") center center / cover no-repeat;
      margin-bottom: 40px;
    }
    .profile-hero a{
      background: #fff;
      display: inline-block;
      padding: 3px 10px;
      width: 150px;
      color: #333;
      font-weight: 700;
    }
    .profile-btn{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-weight: 700;
    }

    .profile-hero-title {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 40px;
      font-weight: bold;
      letter-spacing: 0.3em;
      color: #fff;
    }

    .profile-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    .profile-photo {
      border-radius: 4px;
      overflow: hidden;
    }

    .profile-text h3 {
      font-size: 20px;
      letter-spacing: 0.15em;
      margin-bottom: 8px;
    }

    .profile-text .en-sub {
      font-size: 13px;
      color: #666;
      margin-bottom: 16px;
    }

    .profile-list {
      font-size: 14px;
    }

    .profile-list dt {
      font-weight: bold;
      margin-top: 6px;
    }

    .profile-list dd {
      margin-left: 0;
    }

    .profile-bio {
      margin-top: 40px;
      font-size: 14px;
    }

    @media (max-width: 768px) {
      .profile-grid {
        grid-template-columns: 1fr;
      }
      .profile-hero{
        height: 200px;
      }
      .profile-hero-title{
        font-size: 25px;
        letter-spacing: 0;
      }
      .profile-hero-title h2{
        line-height: 1;
      }
      .profile-hero a{
        width: 100px;
        margin-top: 20px;
      }
      .profile-btn{
        top: 65%;
      }

    }

    /* --------------------
       GUIDE SERVICE section
    -------------------- */
    #guide{
      position: relative;
      height: 500px;
      background: url("../img/guide.webp") center center / cover no-repeat;
      margin-bottom: 40px;
    }
    .guide-hero{
      background: rgba(255, 255, 255, 0.8);
      text-align: center;
      max-width: 920px;
      margin: 0 auto;
      width: 80%;
      height: 80%;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .guide-hero-title {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 40px;
      font-weight: bold;
      letter-spacing: 0.3em;
      color: #333;
    }
       .guide-hero a{
      background: #fff;
      display: inline-block;
      padding: 3px 10px;
      font-weight: 700;
      width: 150px;
      color: #333;
    }
    .guide-btn{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    }

    .guide-block + .guide-block {
      margin-top: 40px;
    }

    .guide-block h3 {
      text-align: center;
      font-size: 18px;
      letter-spacing: 0.3em;
      margin-bottom: 8px;
    }

    .guide-block .divider {
      margin-bottom: 20px;
    }

    .guide-price-table {
      margin: 0 auto;
      max-width: 640px;
      font-size: 14px;
    }

    .guide-price-table table {
      width: 100%;
      border-collapse: collapse;
    }

    .guide-price-table th,
    .guide-price-table td {
      padding: 8px 4px;
      border-bottom: 1px solid #ddd;
      text-align: left;
    }

    .guide-note {
      margin-top: 8px;
      font-size: 12px;
      color: #666;
      text-align: center;
    }

    .guide-columns {
      max-width: 800px;
      margin: 0 auto;
      font-size: 14px;
    }

    .guide-columns h4 {
      margin-top: 16px;
      margin-bottom: 6px;
      font-weight: bold;
    }

    .guide-columns ul {
      padding-left: 1em;
    }

    .guide-columns li {
      margin-bottom: 4px;
      list-style: disc;
    }
    @media (max-width: 768px) {

      #guide{
      height: 200px;
    }
    .guide-hero-title{
      font-size: 25px;
      letter-spacing: 0;
    }

    .guide-btn{
      top: 65%;
    }
    .guide-hero a{
      width: 100px;
    }
    }

    /* --------------------
       SCHEDULE section
    -------------------- */
    .schedule-wrap {
      margin-top: 100px;
    }

    /* 実際のカレンダーは外部埋め込みやJSで置き換え想定 */


    /* Googleカレンダーのレスポンシブ対応 */

      .schedule-placeholder iframe {
          width: 100%;
          max-width: 800px;
          height: 400px;
      }


    .schedule-placeholder {
      height: 320px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #999;
      font-size: 14px;
      text-align: center;
    }

    .reserve-wrap{
      text-align: center;
      margin-top: 100px;
    }
     .reserve-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 30px;
      background: #111;
      color: #fff;
      font-size: 16px;
      font-family: "YuGothic", "ヒラギノ角ゴ ProN W3", sans-serif;
      text-decoration: none;
      border: none;
      cursor: pointer;
    }

    .reserve-btn .arrow {
      margin-right: 8px;
      font-size: 18px;
    }

      @media (max-width: 768px) {

        .schedule-wrap {
      margin-top: 70px;
    }

        .schedule-placeholder iframe {
              height: 400px;
        }
        .reserve-wrap{
          margin-top: 70px;
        }
      }

    /* --------------------
       NOTICE section
    -------------------- */
    .notice-box {
      max-width: 900px;
      margin: 60px auto 0;
      font-size: 13px;
    }

    .notice-wrapper{
      margin-top: 20px;
      background: #f4f4f4;
      padding: 10px 20px;
    }

    .notice-wrapper h3{
      font-weight: 700;
      font-size: 20px;
      margin: 10px 0 20px;
    }
    .notice-wrapper p{
      margin: 10px 0;
    }

    .notice-lead{
      text-align: center;
    }

    .notice-box h3 {
      font-size: 20px;
      letter-spacing: 0.2em;
      margin-bottom: 4px;
    }

    .notice-box small {
      display: block;
      text-align: center;
      margin-bottom: 16px;
      color: #666;
    }

    .notice-box p + p {
      margin-top: 8px;
    }

    .notice-box ul {
      margin-top: 12px;
      padding-left: 1.2em;
    }

    .notice-box li {
      list-style: disc;
      margin-bottom: 4px;
    }

    .notice-box h3{
      font-size: 16px;
      letter-spacing: 0;
    }
    @media (max-width: 768px) {

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

    }    
    /* --------------------
       SPONSOR section
    -------------------- */
    .sponsor-grid {
      max-width: 900px;
      margin: 0 auto;
      /* display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); */
      /* gap: 32px 24px; */
      /* align-items: center;
      justify-items: center; */
    }
    
    .sponsor-grid img {
      width: 100%;
      height: auto;
      /* object-fit: contain; */
      max-width: 100%;
  max-height: 150px; /* 好きな高さ */
  width: auto;
  height: auto;
  display: block;
    }

    .sponsor-list{
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      align-items: center;
      gap: 40px;
    }
    .sponsor-list li{
      width: 25%;
    }
    .sponsor-list li img{
      margin-top: 20px;
      width: 100%;
      max-height: 150px;
      object-fit: contain;
    }
    
    @media (max-width: 768px) {

      .sponsor-list{
        margin-top: 20px;
      }
      .sponsor-list li{
        width: 35%;
      }
      .sponsor-list li img{
        margin-top: 5px;
        width: 100%;
        max-height: 150px;
      }

    }

    /* --------------------
       CONTACT section
    -------------------- */
    .contact-hero {
      position: relative;
      height: 260px;
      background: url("images/contact-hero.jpg") center center / cover no-repeat;
      margin-bottom: 40px;
    }

    .contact-hero-title {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 34px;
      letter-spacing: 0.3em;
      color: #fff;
    }

    

    /* --------------------
       Footer
    -------------------- */
    footer {
      margin-top: 60px;
      background: #e4302e;
      color: #fff;
      padding: 32px 16px 16px;
      font-size: 13px;
    }

    .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
    }

    .footer-title {
      font-size: 26px;
      font-weight: bold;
      margin-bottom: 12px;
    }

    .footer-menu-title {
      font-weight: bold;
      margin-bottom: 4px;
    }

    .footer-menu {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 24px;
    }

    .footer-sns {
      display: flex;
      gap: 16px;
      margin-bottom: 8px;
    }

    .footer-sns a {
      font-size: 22px;
      display: inline-flex;
      width: 32px;
      height: 32px;
      border: 1px solid #fff;
      align-items: center;
      justify-content: center;
    }

    .footer-copy {
      font-size: 11px;
      color: rgba(255,255,255,0.8);
      text-align: center;
    }

    @media (max-width: 768px) {
    .footer-title{
      font-size: 16px;
    }
    .footer-menu{
      display: block;
    }
    .footer-menu a{
      display: block;
    }
    }
