@charset "utf-8";

/* カスタム変数（プロパティ） */			
:root{			
--kuro: rgba(83, 63, 71, 1);	
--pinkfont:rgba(228, 136, 153, 1);
--yellow:rgba(255, 238, 179, 1);
--bulue:rgba(206, 232, 236, 1);
--violet:rgba(197, 154, 197, 1);
--pink:rgba(244, 174, 187, 1);
--aiboly:rgba(255, 253, 249, 1);

--size3L:34px;
--sizeLL:30px;			
--sizeL:24px;			
--sizeM:20px;			
--sizeS:16px;
--sizeSSS:10px;			
}			

/* ========== 基本レイアウト（スマホ前提） ========== */

/* 全体の横幅をスマホで気持ちよく。PCでも中央に細長く表示 */
body > header,
body > main,
body > footer {
  width: min(100%, 420px);   /* 画面が狭い時は100%、広い時は420pxまで */
  margin: 0 auto;
  padding: 12px 16px;
}

/* 本文と見出しの基本サイズ（変数を活用） */
body {

  color: var(--kuro);
  font-size: var(--sizeS);   /* 16px */
  line-height: 1.8;
  background: var(--aiboly); /* 背景色はお好みで */
}

/* ========== ヘッダー：ロゴとタイトルを横並び ========== */

header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;

}

/* ロゴ画像 */
header > p {
  margin: 0;                 /* ブラウザのデフォ余白を消す */

}
header img {
  width: 42px;               /* ロゴの見やすい固定幅 */
  height: auto;
  display: block;
  flex: 0 0 42px;            /* 幅を固定してタイトルとのバランスを保つ */
  
}

/* タイトル */
header h1 {

  margin: 0;
  font-size: var(--sizeLL);   /* 30px */
  font-weight: 700;
  letter-spacing: .06em;
  flex: 1;                   /* 余白を吸収して一列に収める */
  color: var(--kuro);

}


h1, h2, h3 {

  font-weight: 600;
  letter-spacing: 0.05em;
}






/* （将来ハンバーガーを置く場合の右端スペース確保例）
header .menu-btn { margin-left: auto; }
*/

/* ヘッダー直下のナビはモバイルでは非表示（後でハンバーガーに差し替え） */
header nav {
  display: none;
}

/* ========== ヒーロー写真：max-widthでフィット ========== */

/* 画像のはみ出し防止の保険（全画像） */
img { max-width: 100%; height: auto; }

/* ヒーロー写真専用の調整 */
.classimg {
  display: block;
  width: 100%;        /* 親の幅に合わせて伸縮 */
  max-width: 100%;    /* 親幅を超えない（=はみ出さない） */
  border-radius: 16px;
}

/* ========== セクション見出しなど ========== */


main h2 {
  font-size: var(--sizeM);          /* 20px */
  margin: 16px 0 8px;
  
}



/* 下部のナビ（ボタン化は後で） */
main nav ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}
main nav li {
  background: var(--bulue);         /* 変数名そのまま使っています */
  color: #103640;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  text-align: center;
}

/* カレンダー */

.callender ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr; /* 縦 */
  gap: 32 px;
}

.callender img{
  width: 80%;
  display: block;
  margin: 0 auto;
  margin-bottom: 16px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
 
}

.callender p{
 margin-top: 16px;

}




.trial-btn {
  display: inline-block;
  margin-left: auto;          /* 右寄せのため */
  padding: 10px 18px;
  color: #555;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 14px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

/* 親要素をflexにする */
.trial-btn-wrap {
  display: flex;
  justify-content: flex-end;  /* 右端に配置 */
}

/* マウスを乗せたとき */
.trial-btn:hover {
  background-color: var(--pink);  /* やさしいピンク */
  color: #fff;
  border-color: var(--pink);
}



/* ===== お知らせ（最新3件カード） ===== */
.news-card{
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  padding: 16px;
  margin: 16px 0;
}

.news-title{
  font-size: var(--sizeM);         /* 20px */
  color: var(--kuro);
  margin: 0 0 8px;
  font-weight: 700;
}

.news-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li{
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.news-list li:last-child{ border-bottom: none; }

.news-list a{
  flex: 1;
  text-decoration: none;
  color: var(--kuro);
  font-weight: 700;
  line-height: 1.5;
}
.news-list a:focus-visible{ outline: 3px solid var(--bulue); border-radius: 6px; }
.news-list a:hover{ opacity: .8; }

.news-list time{
  font-size: var(--sizeSSS);       /* 10px */
  color: #7a7a7a;
  white-space: nowrap;
}

/* “過去のお知らせ”リンク */
.news-more{
  margin: 10px 0 0;
  text-align: right;
}
.news-more a{
  text-decoration: none;
  color: var(--pinkfont);
  font-weight: 700;
}


/* line insta */
.sns-links{
  display:flex;
  justify-content:center;
  gap:12px;
  margin:16px 0;
     

}






.site-footer {
  text-align: center;
  padding: 20px 0;
        
}
/* ===========================
   News Detail (単一記事ページ用 追記)
   =========================== */

/* コンテナ（トップの body > main 等と併用OK） */
.container{
  width: min(100%, 420px);
  margin: 12px auto;
  padding: 12px 16px;



}

/* カード枠（共通化） */
.card{
  background:#fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  padding: 16px;
}


/* ヘッダー：ロゴ＋タイトル横並び（トップ用headerと別クラスで衝突回避） */
.site-header{
  display:flex;
  align-items:center;
  gap:10px;
  padding-top:8px;
margin-bottom: var(--sizeSSS); /* 👈 これを追加！ロゴ下にすき間ができる */

}
.site-header p{ margin:0; }
.site-logo{ width:42px; height:auto; flex:0 0 42px; display:block; }
.site-title{
  margin:0;
  font-size: var(--sizeL);    /* 24px */
  font-weight:700;
  letter-spacing:.06em;
  flex:1;
}

/* タイトル行とメタ（日付） */
.page-title{
  font-size: var(--sizeM);    /* 20px */
  font-weight:700;
  text-align:center;
  margin:6px 0 14px;
}
.news-meta{
  display:flex;
  justify-content:center;
  gap:10px;
  font-size:12px;
  opacity:.75;
  margin-bottom:10px;
}

/* リード見出し（赤字） */
.lead{
  color: var(--pinkfont);
  font-weight:700;
  font-size: var(--sizeM);
  margin:8px 0;
}

/* 写真（max-width対応） */
.kv{ margin:8px 0 14px; }
.hero-img{
  display:block;
  width:80%;
  max-width:100%;
  height:auto;
  border-radius:12px;
}

/* 開催情報テーブル */
table.event{
  width:100%;
  border-collapse:collapse;
  margin:6px 0 10px;
}
.event th, .event td{
  padding:8px 6px;
  border-bottom:1px solid rgba(0,0,0,.08);
  text-align:left;
  vertical-align:top;
}
.event th{
  width:28%;
  color:#555;
  font-weight:700;
}

/* CTAボタン */
.cta{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:16px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:16px;
  font-weight:700;
  text-decoration:none;
  color:#103640;
  background: var(--bulue);
  box-shadow:0 2px 0 rgba(0,0,0,.06);
}
.btn.pink{ background: var(--pink); color:#fff; }

/* 一覧へ戻るリンク */
.news-more{
  margin-top:14px;
  text-align:right;
}
.news-more a{
  text-decoration:none;
  color: var(--pinkfont);
  font-weight:700;
}

/* フッター（中央寄せ） */
.site-footer{
  text-align:center;
  padding:20px 0;
  color: rgba(0,0,0,.6);
  font-size: var(--sizeSSS);
}

/* ===== Access page ===== */
.map-embed{
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
  margin:8px 0 12px;
}
/* ネイティブ対応：アスペクト比で自動伸縮 */
.map-embed iframe{
  width:100%;
  aspect-ratio: 16 / 9;
  height:auto;
  border:0;
}

/* ===== Trial (無料体験会) ===== */
.schedule{
  width:100%;
  border-collapse: collapse;
  margin: 6px 0 12px;
  background:#fff;
}
.schedule td{
  padding: 8px 10px;
  border-bottom: 1px solid rgba(0,0,0,.12);
  font-size: 18px;
}
.schedule tr:last-child td{ border-bottom: none; }

.schedule .no{ width: 2em; text-align: center; color: rgba(0,0,0,.55); }
.schedule .date{ white-space: nowrap; }
.schedule .time{ white-space: nowrap; text-align: left; color: var(--kuro); font-weight: 700; }
.schedule .classname{ white-space: nowrap; text-align: center; color: var(--kuro); font-weight: 300;
font-size: 10px; }
.schedule .status{
  text-align: right;
  font-size: 10px;
  font-weight: 700;
}

/* ここで色をかえている */

.schedule .status.full{ color:var(--kuro) }
.schedule .status.remain{ color: var(--pinkfont); }

/* ボタン全幅 */
.btn.block,
.cta .btn{ width:100%; justify-content:center; }

/* ===== Contact Form ===== */
.contact-form{ display:block; }
.form-row{ margin: 10px 0 14px; }
.form-row label{
  display:block;
  font-size: 13px;
  color: rgba(0,0,0,.75);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea{
  width:100%;
  border: none;
  background: var(--bulue);
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 16px;
  color: var(--kuro);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus{
  box-shadow: 0 0 0 3px rgba(206,232,236,.7);
}

/* 仕切り線（任意） */
.form-sep{
  border: none;
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 16px 0;
}



/* ===== Hamburger / Drawer (mobile first) ===== */
.menu-btn{
  margin-left: 8px; width:32px; height:24px; position:relative;
  border:0; background:transparent; padding:0; cursor:pointer;
}
.menu-btn span{
  position:absolute; left:0; right:0; height:2px; background:var(--kuro);
  border-radius:2px; transition:transform .25s ease, opacity .2s ease, top .25s ease;
}
.menu-btn span:nth-child(1){ top:2px; }
.menu-btn span:nth-child(2){ top:11px; }
.menu-btn span:nth-child(3){ top:20px; }
.menu-btn.is-open span:nth-child(1){ top:11px; transform:rotate(45deg); }
.menu-btn.is-open span:nth-child(2){ opacity:0; }
.menu-btn.is-open span:nth-child(3){ top:11px; transform:rotate(-45deg); }

.nav-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.3); z-index:30; }
.nav-drawer{
  position:fixed; top:0; right:0; width:min(78%,320px); height:100vh;
  background:#fff; box-shadow:-8px 0 30px rgba(0,0,0,.12);
  transform:translateX(100%); transition:transform .25s ease; z-index:40; padding:20px 16px;
}
.nav-drawer.open{ transform:translateX(0); }
.nav-drawer ul{ list-style:none; margin:0; padding:0; }
.nav-drawer li{ border-bottom:1px solid rgba(0,0,0,.08); }
.nav-drawer a{ display:block; padding:14px 6px; color:var(--kuro); text-decoration:none; font-weight:700; }
.nav-drawer a:hover{ opacity:.85; }

body.nav-lock{ overflow:hidden; }



/* ===== Tablet/PC: 横並びナビに切替 ===== */
@media (min-width: 1025px){
  .menu-btn{ display:none; }
  .nav-backdrop{ display:none !important; }

  /* hiddenが付いていても表示させる（UAの[hidden]{display:none}を上書き） */
  #global-nav[hidden]{ display:block !important; }

  .nav-drawer{
    position:static; transform:none; height:auto; width:auto;
    box-shadow:none; padding:0; background:transparent;
  }
  .nav-drawer ul{
    display:flex; gap:14px; align-items:center;
  }
  .nav-drawer li{ border:0; }
  .nav-drawer a{ padding:8px 0; }
}


/* Google　foam　を少し小さくする */

.google-form-size{
  transform: scale(0.9); /* ←ここで縮小率を指定（0.8〜1.0くらい） */
  transform-origin: top center;
  width: 100%;

  margin-top: var(--size3L);

} 


/* 大人クラスマージン追加 */
.lead{

margin-top: var(--size3L);

}

/* インフォメーション書初め写真の調整　おしらせ画面 */

.info-pic  {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.info-pic li{ flex-basis: 50%;
  margin: var(--sizeL);

}
/* 写真リスト：スマホは1列で大きく */
.info-pic{
  display: grid;
  grid-template-columns: 1fr;  /* スマホは1列 */
  gap: 16px;
  padding: 0;
  margin: 0;
}

.info-pic li{
  list-style: none;
  margin: 0;                  /* ← ここ重要：大きなmarginをやめる */
}

.info-pic img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;        /* お好み */
  margin-top: var(--sizeL);
}


.okeikohyou h2{
font-size: 20px;  
color: var(--pink);
}
.okeikohyou p{
  font-size: 14px;
}

.okeikojikan {
display: grid;
  grid-template-columns: 150px 1fr;

}

.muryotaiken p { 

margin-top: 16px;
margin-bottom: 16px;

}





























/* PC 対応　ここから＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾＾ */



@media screen and (min-width: 1025px) {

  /* 全体レイアウト */
  body > header,
  body > main,
  body > footer {
    width: min(90%, 960px);
    margin: 0 auto;
    padding: 32px 40px;
  }

  /* 🌸 ヘッダー全体：縦並びにして中央寄せ */
  .site-header {
    display: flex;
    flex-direction: column; /* ← 横並び→縦並びに変更 */
    align-items: center;    /* ← 中央寄せ */
    text-align: center;
    gap: 16px;
  }

  .site-logo {
    width: 70px;
    height: auto;
  }

  .site-title {
    font-size: var(--sizeLL); /* 30px */
    margin: 0;
    letter-spacing: 0.08em;
    color: var(--kuro);
  }

  /* 🍔 ハンバーガー非表示 */
  .menu-btn { display: none; }

  /* 🌸 ナビをタイトルの下に中央寄せ */
  #global-nav[hidden] {
    display: block !important;
  }

  .nav-drawer {
    position: static;
    transform: none;
    height: auto;
    width: 100%;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .nav-drawer ul {
    display: flex;
    justify-content: center; /* ← 中央寄せ！ */
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-drawer li {
    border: none;
  }

  .nav-drawer a {
    display: inline-block;
    padding: 8px 0;
    font-weight: 700;
    color: var(--kuro);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .nav-drawer a:hover {
    color: var(--pinkfont);
  }

/* 🖥️ PC版：スライダー画像の高さを小さくする */
.pickup-slider img.classimg {
  max-height: 450px;     /* ← お好みで200〜350pxくらいに調整OK */
  object-fit: cover;     /* はみ出さないようトリミング */
}



  /* 🌸 メイン・フッターなど（補足） */
  main {
    font-size: var(--sizeM);
    line-height: 1.8;
  }

  main h2 {
    font-size: var(--sizeL);
    margin-bottom: 16px;
  }

  .news-card,
  .calendar-wrapper,
  .form-section {
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 32px;
  }

  .google-form-size {
    transform: scale(1);
    margin-top: var(--sizeL);
  }

  .site-footer {
    text-align: center;
    padding: 30px 0;
    font-size: var(--sizeS);
    color: rgba(0,0,0,0.6);
  }


 /* カレンダー：横2枚 */
  .callender ul{
     grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .callender img{
    width: 100%;
    margin: 0;
    margin-bottom: 16px;  
  }






/* 大人クラスマージン追加 */
.lead{
margin-bottom: var(--sizeL);

}
/* 無料体験 */

.schedule td{
  font-size: 28px;
}
.schedule .classname{
font-size: 18px; }
.schedule .status{
  font-size: 18px;
}

/* インフォメーション　書初め結果報告 */

.info-pic{
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

















  }