@charset "utf-8";					/*使用する文字コード*/

/* ===============================
   3歳・5歳・7歳
=============================== */
/* 全体 */
.age-section{
  text-align:center;
  padding:80px 20px;
  background-image : url(GARA12.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.age-section h2{
  margin-bottom: 30px;
}

.age-section{
  margin-bottom: 50px;
}

/* タイトル */
.age-title{
  display:block;
  margin:0 auto 50px;   /* ←完全中央＋下余白 */
  width:500px;
}

/* 横並び */
.age-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1500px;
  gap: 60px;
  margin: 0 auto;   /* ←これ超重要（中央に戻る） */
}

.age-card{
  width: 100%;
}

/* 画像 */
.age-img{
  width:100%;
}

/* 文章 */
.age-text{
  text-align:left;
  font-size:14px;
  line-height:1.7;
  margin:15px 0;
  color:#534741;
}

/* ボタン */
.age-btn img{
  width:70%;
  transition:0.3s;
}

.age-btn img:hover{
  transform:translateY(-5px) scale(1.05);
}

/*スマホ */
@media screen and (max-width: 768px) {

  .age-section{
    padding: 35px 15px;
    text-align:center;
  }

  /* タイトル */
  .age-title{
    width:92%;
    max-width:320px;
    margin-bottom:18px;
    height:auto;
  }

  /* 全体 */
  .age-grid{
    display:flex;
    flex-direction:column;
    gap:18px;
  }

  /* カード */
  .age-card{
    padding-bottom:18px;
    border-bottom:1px solid #ddd;
  }

  /* 写真 */
  .age-img{
    width:100%;
    display:block;
    margin-bottom:10px;
  }

  /* 文章 */
  .age-text{
    font-size:12px;
    line-height:1.9;
    text-align:left;
    margin-bottom:12px;
  }

  /* ボタン */
  .age-btn img{
    width:220px;
    max-width:88%;
  }

}



/* ===============================
   七五三キャンペーン
=============================== */
/* 全体 */
.campaign-box{
  text-align:center;
  padding:120px 20px 60px;
  background:#fdf2d6;
}

/* タイトル */
.campaign-title{
  width:400px;
  margin-bottom:20px;
}

/* テキスト */
.campaign-text{
  font-size:16px;
  color:#534741;
  margin:20px 0;
  line-height:1.7;
}

/* 画像3つ */
.campaign-images{
  display:flex;
  justify-content:center;
  gap:20px;
  max-width:1100px;   /* ←全体の最大幅（広げたければ1200でもOK） */
  margin:20px auto;
}

.campaign-images img{
  width:100%;         /* ←親に対して最大化 */
  max-width:33.33%;   /* ←3枚で均等に割る */
}

/* ボタン */
.campaign-btn img{
  width:400px;
  margin-top:20px;
  transition:0.3s;
}

.campaign-btn img:hover{
  transform:translateY(-5px) scale(1.05);
}

/* ▼スマホ▼ */
@media (max-width:768px){

.campaign-box{
  padding:100px 20px 50px;
}

.campaign-title{
  width: 75%;
}

.campaign-text{
  font-size: 14px;
  line-height: 1.8;
}

/* 画像を縦並び */
.campaign-images{
  flex-direction: column;
  gap: 15px;
}

/* 画像サイズ */
.campaign-images img{
  width: 100%;
  max-width: 100%;
  display: block;
}

.campaign-btn img{
  width: 80%;
}

}





/* ===============================
   第一弾（5・6月）を赤ピンク主役に
=============================== */
.col.first{
  border: 3px solid #eaa9aa;
  background: linear-gradient(180deg, #fff7f9 0%, #fff0f3 100%);
  transform: scale(1.02);
  z-index: 2;
  font-weight: normal;
  color: #5d5550;
}

/* バッジも赤ピンク */
.col.first .badge{
  color: #e96e7c;
  font-weight: bold;
}



/* 他は少し弱くする（重要） */
.col:not(.first) {
  opacity: 0.75;
}

/* 横並びの核 */
.row{
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  border-bottom: 1px solid #ccc;
}

/* 各マス */
.plan{
  text-align: left;
  padding-left: 12px;
  font-weight: bold;
  white-space: nowrap;
}


/* ===============================
   幅調整（ここ追加）
=============================== */
.campaign{
  max-width: 1000px;   /* ←ここで調整 */
  margin: 0 auto;
  padding: 60px 30px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #d8cbb0;  /* ←枠の色 */
  border-radius: 12px;        /* ←角丸（可愛さ） */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* ←うっすら影 */
}

/* 上書き（こっちを優先させる） */
.price-table{
  width: 100%;
  max-width: 1000px;  /* ←campaignに合わせる */
  margin: 0 auto;
}

/* 余白と文字サイズ調整 */
.row > div{
  padding: 18px 14px;
  font-size: 20px;
}

.title{
  margin-bottom: 28px;
}

.lead{
  margin-bottom: 16px;
}


/* おでかけ（ピンク） */
.plan-out{
  color: #e8a79a;
}

/* 貸衣装（グリーン） */
.plan-rental{
  color:  #9fb89c;
}

/* 持ち込み（ベージュ） */
.plan-bring{
  color: #ceb786;
}

/* スタジオ（ブルー） */
.plan-studio{
  color:  #839fb8;
}

.plan{
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: bold;
  border-left: 6px solid currentColor;
}

/* バッジ */
.focus-price::after{
  content: "今おすすめ";
  position: absolute;
  top: -12px;
  right: -10px;
  background: #e96e7c;
  color: #fff;
  font-size: 13px;
  padding: 5px 10px;
  border-radius: 20px;  /* ←丸くしてバッジ感UP */
  animation: badgeScale 1.5s infinite;
  font-weight: bold;
}

@keyframes badgeScale {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* 15700円だけ赤にする */
.focus-price{
  color: #e63946 !important;
  font-weight: bold;
  font-size: 24px !important;
}

/* キャンペーン価格表タイトル */
.campaign .title{
  padding-top: 0;
  font-size: 32px;
  margin-top: -10px;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 1px;
  font-weight: 600;
}

/* 上の小さい文字 */
.title .small{
  font-size: 20px;
  opacity: 0.6;
  margin-bottom: 2px;
  display: inline-block;
}

/* 下のライン */
.campaign .title::after{
  content: "";
  display: block;
  width: 100%;
  max-width: 400px;
  height: 3px;
  background:#ceb786;
  margin: 8px auto 0;
  border-radius: 2px;
}





.plan-img{
  width:20%;
  margin:0 1%;
}

.main-title{
  color:#fffdff;
  font-size: 1px !important;
}


/* スマホ*/
@media screen and (max-width: 768px) {

  .campaign{
    padding:35px 12px;
  }

  /* タイトル */
  .title{
    font-size:22px;
    line-height:1.4;
    margin-bottom:14px;
  }

  .title .small{
    font-size:12px;
  }

  /* 上の月一覧消す */
  .row.header{
    display:none;
  }

  /* 行 */
  .row{
    display:flex;
    flex-direction:column;
    border-bottom:1px solid #ddd;
    padding:8px 0;
  }

  /* プラン名 */
  .plan{
    width:100%;
    font-size:13px;
    font-weight:bold;
    text-align:left;
    margin-bottom:4px;
  }


  /* 月を左に追加 */
  .row .col.first::before{
    content:"5・6月　";
  }

  .row .col:nth-child(3)::before{
    content:"7・8月　";
  }

  .row .col:nth-child(4)::before{
    content:"9・10月 ";
  }

  .row .col.normal::before{
    content:"11月〜　";
  }

  /* 強調価格 */
  .focus-price{
    font-size:13px;
    font-weight:bold;
  }

/* 値段 */
.col{
  width:100%;
  font-size:12px;
  line-height:1.6;
  text-align:left;
  white-space:nowrap;
  padding-left:6px;
}

/* 月 */
.row .col.first::before,
.row .col:nth-child(3)::before,
.row .col:nth-child(4)::before,
.row .col.normal::before{
  display:inline-block;
  width:78px; /* ←広げる */
}

/* ピンク枠 */
.badge{
  font-size:7px;
  padding:1px 4px;
  white-space:nowrap;
}

/* ピンク枠やめる */
.col.first{
  background:none;
  border:none;
  box-shadow:none;
}

/* 5・6月の値段 */
.col.first{
  color:#e88f9a;
  font-weight:bold;
}

/* 今おすすめ */
.badge{
  position:static;     /* ←絶対配置やめる */
  display:inline-block;
  margin-left:8px;
  font-size:8px;
  padding:2px 6px;
  white-space:nowrap;
  vertical-align:middle;
}

}



/* ===============================
   七五三料金表デザイン
=============================== */

.campaign1{
  max-width: 1100px;
  margin: 80px auto;
  padding: 40px;
  background:#ffffff;
  border-radius: 12px;
}

/* 行 */
.row1{
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  align-items: center;
  border-bottom: 1px solid #ddd;
}

/* 各セル */
.row1 > div{
  padding: 18px 10px;
  font-size: 20px;
  text-align: center;
}

/* 左のプラン名 */
.plan1{
  text-align: left;
  font-weight: 500;
  color: #534741;
}

/* 上の年齢 */
.row1:first-child div{
  font-size: 24px;
  font-weight: bold;
}

/* オレンジライン */
.row1:first-child{
  border-bottom: 3px solid #f08a24;
}

/* 背景ストライプ */
.row1:nth-child(even){
  background: #f8f6f3;
}

/* 価格 */
.row1 div:not(.plan){
  font-size: 28px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  letter-spacing: 1px;
}

/* 円のサイズ */
.row1 div:not(.plan)::after{
  font-size: 15px;
}

/*スマホ*/
@media screen and (max-width: 768px) {

/* タイトル画像 */
.campaign-title{
  width:96% !important;
  max-width:360px;
  height:auto;
}

/* 全体 */
.campaign1{
  width:100%;
  margin-top:12px;
  padding:0 10px;
  box-sizing:border-box;
}

/* 1行 */
.row1{
  display:flex;
  flex-direction:column;
  border-bottom:1px solid #ddd;
  padding:4px 0; /* ←さらに詰める */
}

/* 最初の3歳5歳7歳行は消す */
.row1:first-child{
  display:none;
}


/* プラン名 */
.row1 .plan1{
  width:100%;
  font-size:12px !important;
  text-align:left !important;
  line-height:1.2 !important;
  font-weight:bold;
  margin-bottom:0; /* ←隙間なくす */
}

/* 値段 */
.row1 div:not(.plan1){
  width:100%;
  font-size:13px !important;
  text-align:left !important;
  line-height:1.05 !important; /* ←かなり詰める */
  white-space:nowrap;
  padding-left:30px;
  margin:0;
  padding-top:0;
  padding-bottom:0;
}

/* 年齢追加 */
.row1 div:nth-child(2)::before{
  content:"3歳　";
  font-weight:bold;
}

.row1 div:nth-child(3)::before{
  content:"5歳　";
  font-weight:bold;
}

.row1 div:nth-child(4)::before{
  content:"7歳　";
  font-weight:bold;
}

/* 年齢 */
.row1 div:nth-child(2)::before,
.row1 div:nth-child(3)::before,
.row1 div:nth-child(4)::before{
  font-weight:400; /* ←通常文字 */
}

}







/* ===============================
   七五三４つのプラン
=============================== */
.plan1-section{
  text-align: center;
  margin: 80px 0;
}

.plan1-title{
  width: 40%;
  max-width: 600px;
  margin-bottom: 40px;
}

/* 横並び＆中央 */
.plan1-list{
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* 画像サイズ */
.plan1-img{
  width: 25%;        /* ←4枚ちょうどいいサイズ */
  max-width: 320px;
}

/* スマホ*/
@media screen and (max-width: 768px) {

  .plan1-section{
    padding:35px 0;
    text-align:center;
  }

  /* タイトル */
  .plan1-title{
    width:92%;
    max-width:320px;
    margin-bottom:14px;
    height:auto;
  }

/* 一覧 */
.plan1-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;           /* ←少し余白 */
  padding:0 8px;     /* ←左右余白 */
}

  /* 画像 */
  .plan1-img{
    width:100%;
    display:block;
  }

}



/* ===============================
   七五三メッセージ
=============================== */

.shichi-message{
  text-align:center;
  padding:100px 20px;
  color:#4d3a33;
}

/* リボン */
.shichi-ribbon{
  display:inline-block;
  background:#efe3dc;
  padding:12px 70px;

  font-size:30px;
  letter-spacing:0.2em;

  font-family:'Zen Maru Gothic', sans-serif;

  position:relative;

  margin-bottom:50px;
}

/* リボン端 */
.shichi-ribbon::before,
.shichi-ribbon::after{
  content:"";
  position:absolute;
  top:0;
  width:30px;
  height:100%;
  background:#efe3dc;
}

.shichi-ribbon::before{
  left:-15px;
  clip-path:polygon(100% 0,0 50%,100% 100%);
}

.shichi-ribbon::after{
  right:-15px;
  clip-path:polygon(0 0,100% 50%,0 100%);
}

/* 悩みコピー */
.shichi-copy{
  font-size:36px;
  line-height:1.9;
  letter-spacing:0.12em;

  font-family:'Zen Maru Gothic', sans-serif;

  margin-bottom:70px;
}

/* 真ん中 */
.shichi-text{
  font-size:54px;
  line-height:1.7;
  letter-spacing:0.08em;

  font-family:'Zen Maru Gothic', sans-serif;
  font-weight:700;

  margin-bottom:70px;
}

/* 下線 */
.shichi-text span{
  position:relative;
}

.shichi-text span::after{
  content:"";
  position:absolute;
  left:0;
  bottom:8px;
  width:100%;
  height:12px;
  background:#efe3dc;
  z-index:-1;
}

/* ちゃいるど倶楽部では */
.shichi-lead{
  display:inline-block;

  font-size:42px;
  font-family:'Zen Maru Gothic', sans-serif;
  font-weight:700;

  position:relative;

  margin-bottom:60px;
}

.shichi-lead::after{
  content:"";
  position:absolute;
  left:0;
  bottom:5px;
  width:100%;
  height:14px;
  background:#f3d8d8;
  z-index:-1;
}

/* 最後 */
.shichi-bottom{
  font-size:30px;
  line-height:2.2;
  letter-spacing:0.08em;

  font-family:'Zen Maru Gothic', sans-serif;
}

}





/* ===============================
   タイトル全体
=============================== */
/* Googleフォント */
.plan-head{
  text-align:center;
  margin-bottom:40px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

/* メインタイトル */
.plan-head h2{
  margin:0;
  font-size:32px;
  font-weight:500;
  line-height:1.2;
  letter-spacing:0.08em;
  color:#5d4b43;   /* ←画像のブラウン */
font-family:'Zen Maru Gothic', sans-serif;
}

/* オレンジ部分 */
.plan-head .accent{
  color:#f29a4a;   /* ←画像のオレンジ */
font-family:'Zen Maru Gothic', sans-serif;
}

/* サブタイトル */
.plan-head p{
  margin-top:18px;
  font-size:18px;
  font-weight:400;
  line-height:1.6;
  letter-spacing:0.04em;
  color:#5d4b43;   /* ←少し薄いブラウン */
font-family:'Zen Maru Gothic', sans-serif;
}

/* ===============================
   スマホ
=============================== */
@media screen and (max-width:768px){

  .plan-head{
    margin-bottom:20px;
    padding:0 10px;
  }

  .plan-head h2{
    font-size:22px;
    line-height:1.4;
  }

  .plan-head p{
    font-size:12px;
    margin-top:10px;
    line-height:1.6;
  }

}

/* PCでは改行しない */
.sp-br{
  display:none;
}

/* スマホだけ改行 */
@media screen and (max-width:768px){

  .sp-br{
    display:block;
  }

}