<!--

:root {
  --red:#c40018;
  --gold:#d4af37;
  --blue:#003f8e;
}

html{
  overflow-x: hidden;
}

body{
  margin: 0;
  position: relative;
}
*{
  box-sizing: border-box;
}
img{
  max-width: 100%;
  height: auto;
}

/* 背景専用レイヤー */
html::before{
  content:"";
  position: fixed;
  inset: 0;
  background-image: url("48.jpg");
  background-size: cover;
  background-position: center;
  opacity:0.5;
  pointer-events:none;
  z-index:-1;
}

/* コンテンツはそのまま表示 */
body{
  position: relative;
  z-index: 1;
}


/* ファーストビュー */
.hero{
  background-image: url("top_pc.png");
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  height: 100vh;
}


@media (max-width: 768px) {
  .hero{
    background-image: url("top_sc.png");
    background-size: contain;
    background-position: center center;
  }
}



/* スクロール */
.scroll{
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  z-index:5; /* 紙吹雪より上 */
}

.scroll span{
  display:block;
  width:2px;
  height:40px;
  background:#fff;
  margin:auto;
  animation:scroll 1.5s infinite;
}

@keyframes scroll {
  0%{height:0;}
  100%{height:40px;}
}



/* 6つの相談会セクション（背景を白に） */
section.consultation{
  background-color: #fff; /* 背景白 */
  padding: 60px 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.05);
  margin-bottom: 50px;
}

section.consultation .grid {
  gap: 24px;
}

section.consultation h2{
  border-bottom: none;
  margin-bottom: 15px;
  color: var(--blue);
  text-align: center;
}



/* セクション */
section{
  padding:50px 20px;
  max-width:1100px;
  margin:auto;
}

h2 {
  border-bottom:3px solid var(--gold);
  color:var(--blue);
}

/* プレゼント */
.present-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:15px;
}

.present-item{
  border:1px solid var(--gold);
  padding:15px;
  text-align:center;
}

/* 相談会 */
.grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

.card{
  border:1px solid #ddd;
  padding: 20px 20px; /* 上下40px、左右30pxに変更 */
}

.card img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.card h3{
  color:var(--red);
  padding:10px;
}

/* フェードイン */
.fade {
  opacity:0;
  transform:translateY(30px);
  transition:1s;
}

.fade.show {
  opacity:1;
  transform:none;
}

.falling{
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.confetti{
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: red;
  opacity: 0.8;
  pointer-events: none;
  border-radius: 3px;
  animation: fall linear forwards;
}

@keyframes fall {
  0% {
    transform: translateY(-10%) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}



/* スマホ */
@media(max-width:768px){
  .grid,
  .present-grid {
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:1.6rem;
  }
}

/* プレゼント画像対応 */
.present-card{
  background:#fff;
  border:1px solid var(--gold);
  border-radius:8px;
  overflow:hidden;
  text-align:center;
  transition:0.3s;
}

.present-card img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.present-card p{
  padding:12px;
  font-weight:500;
}

.present-card:hover {
  transform:translateY(-5px);
}



/* セミナー内のレイアウト */
/* セミナー内の写真とテキスト */
.seminar-inner{
  text-align: center;
  max-width: 800px;
  margin: 20px auto 0 auto;
}

.seminar-inner img{
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin: 15px 0;
}

.seminar-text h2{
  margin-top: 0;
  color: var(--blue);
}

.seminar{
  background: #F5F0EE;          /* 薄い背景色 */
  border: 2px solid #1b2d61;    /* 枠線 */
  border-radius: 10px;          /* 角丸 */
  padding: 40px 30px;           /* 内側余白（重要） */
  margin: 60px auto;            /* 外側余白 */
  max-width: 900px;             /* 横幅制限 */
}

/* スマホ対応：縦並び */
@media(max-width:768px){
  .seminar-inner{
    flex-direction: column;
    text-align: center;
  }

  .seminar-img img{
    width: 100%;
    max-width: 400px;
  }
}



/* 通常フッター */
.main-footer{
  background-color:#242f42; /* 濃いブルー */
  color:#fff;
  text-align:center;
  padding:25px 10px;
  font-family:"Noto Sans JP", sans-serif;
}

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

.main-footer .footer-logo img{
  max-width:250px;
  height:auto;
  margin-bottom:10px;
}

.main-footer a{
  color:#d4af37; /* ゴールド */
  text-decoration:none;
}

.main-footer a:hover{
  text-decoration:underline;
}

.main-footer p{
  margin:5px 0;
  font-size:14px;
}



/* お問い合わせボタン群（スマホ用） */
.footer-buttons{
  display:none;
  position: fixed;
  bottom:0;
  left:0;
  width:100%;
  justify-content:space-around;
  background-color:#001f4d;
  padding:10px 0;
  z-index:999;
  font-family: "Noto Serif JP", serif; /* 明朝体 */
  box-shadow: 0 -2px 5px rgba(0,0,0,0.3);
}

.footer-buttons .btn{
  flex:1;
  text-align:center;
  color:#d4af37; /* ゴールド */
  text-decoration:none;
  font-weight:500;
  padding:12px 0;
  font-size:16px;
  position:relative;
  transition:0.8s;
}

.footer-buttons .btn:hover{
  background: rgba(212,175,55,0.2); /* 半透明ゴールド */
}

/* ボタン間の区切り線（半透明） */
.footer-buttons .btn:not(:last-child)::after{
  content:"";
  position:absolute;
  top:15%;
  right:0;
  width:1px;
  height:70%;
  background: rgba(212,175,55,0.5); /* 半透明ゴールド */
}

/* スマホのみ表示 */
@media(max-width:768px){
  .footer-buttons {
    display:flex;
  }
}

/* スマホ用余白確保 */
@media(max-width:768px){
  .main-footer{
    padding-bottom:60px; /* フッター下にボタン分の余白を追加 */
  }
}

-->



/* PC専用の右縦型固定お問い合わせボタン */
.pc-fixed-contact{
  display: none;                 /* スマホでは非表示 */
  position: fixed;
  top: 40%;
  right: 0;
  transform: translateY(-50%);
  writing-mode: vertical-rl;      /* 文字を縦書きに */
  text-orientation: upright;
  background-color: #c40018;     /* 赤 */
  color: #fff;
  padding: 12px 20px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  z-index: 1000;
  border-radius: 8px 0 0 8px;     /* 左側だけ丸角 */
  box-shadow: -2px 2px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s ease;
}

/* ホバー時 */
.pc-fixed-contact:hover{
  background-color: #a50015;
  transform: translateY(-50%) scale(1.05);
}

/* PCのみ表示 */
@media (min-width: 769px) {
  .pc-fixed-contact{
    display: block;
  }
}

/* スマホでは非表示 */
@media (max-width: 768px) {
  .pc-fixed-contact{
    display: none;
  }
}



/* イベント情報テーブル */
.event-info{
  background: #fff;
  padding: 40px 20px;
  margin: 40px auto;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.event-info h2{
  color: var(--blue);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 8px;
  margin-bottom: 18px;
  font-size: 1.6rem;
  text-align: center;
}

.info-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.info-table th,
.info-table td{
  padding: 12px 15px;
  border: 1px solid #ccc;
}

.info-table th{
  width: 30%;
  background: var(--gold);
  color: #000;
  font-weight: 600;
  text-align: left;
}

.info-table td{
  background: #fafafa;
}

/* スマホ対応 */
@media (max-width:768px) {
  .info-table th,
  .info-table td{
    display: block;
    width: 100%;
  }
  .info-table th{
    margin-top: 15px;
  }
}

-->

