/* css/style.css */
/* リセット & ベース */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.6;
	font-feature-settings: "palt";
}
a {
  text-decoration: none;
  color: inherit;
}

.point{
	color: #F88F1C;
	font-weight: bold;
}

.mb20{
	margin-bottom: 20px;
}

/* カラー変数 */
:root {
  --primary: #0A4C6E;
  --accent: #FFC107;
  --bg-light: #F0F4F8;
  --text-dark: #333;
}

/* コンテナ */
.container {
  width: 90%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* ヘッダー */
.site-header {
  background: var(--primary);
  color: #fff;
  padding:1rem 0;
  text-align:left;
	margin-bottom: 30px;
}
.eyebrow {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.site-title {
  font-size: 2.8rem;
  font-weight: 700;
}

.size-title{
	font-size: 1.4rem;
}

.bold{
	font-weight: bold;
}

/* 比較セクション */
.compare-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0 0;
  background: none;
  align-items: stretch;
}
.compare-section .card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  padding: 3rem 1.5rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	font-size: 1.2rem;
}
.compare-section .card.digital {
  background: #DEE5F0;
}
.compare-section .card.analog {
  background: #D2DFE6;
}

@media (max-width: 767px) {
	.compare-section .card.digital {
		margin-bottom: 2em;
	}
}
.compare-section .card-title {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 1.25rem;
  color: #fff;
  white-space: nowrap;
}
.compare-section .card.digital .card-title {
  background: #043C56;
}
.compare-section .card.analog .card-title {
  background: #377489;
}

/* 特典リスト */
.benefits {
  list-style: none;
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* 矢印 */
.arrow-down {
  text-align: center;
  margin:0 auto 1em;
  font-size: 2rem;
	width: 85%;
}

.arrow-down img{
	width: 100%;
	margin-left: 1em;
}

@media (max-width: 767px) {
	.arrow-down {
		width: 100%;
	}
	
	.arrow-down img{
	margin-left: 0;
	}
}


/* ハイライト */
.highlight {
  background: var(--accent);
  text-align: center;
  padding: 2rem 0;
}
.highlight-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

/* テキストセクション */
.text-section p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* 理由セクション */
.reasons-section {
  padding: 2rem 0;
  text-align: center;
}
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.reasons-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.reason-card {
  background: var(--primary);
  color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
}

.reason-card p{
	font-size: 1.3rem;
}

.container .event_logo{
	display: block;
	width: 90%;
	margin: 0 auto;
}

/* CTA セクション */
.cta-section {
  padding: 2rem 0;
}
.cta-cards {
  display: flex;
  flex-direction: column; /* モバイルでは縦並び */
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .cta-cards {
    flex-direction: row;
  }
}

.cta-card {
  background-color: #F88F1C;
	color: #fff;
  border-radius: 8px;
  padding: 1rem;
  transition: transform .2s;
  display: flex;
  flex-direction: column;
	border: #FFBE00 4px solid;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.cta-card:hover {
  transform: translateY(-4px);
}
.cta-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.cta-content p {
  font-size: 1.2rem;
  line-height: 1.4;
}

.cta-card-link {
  flex: 1;              /* 均等幅 */
  display: block;       /* ブロック化 */
  text-decoration: none;
  color: inherit;
}

.cta-card-link:hover .cta-card {
  transform: translateY(-4px);
}

/* 再生アイコン */
.cta-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  position: relative;
  align-self: flex-end;
  margin-top: 1rem;
}
.cta-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #F88F1C;
}

/* CTAボタン（横長タイプ） */
.cta-button {
	width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F88F1C;            /* オレンジ背景 */
  color: #fff;
  font-weight: bold;
  padding: 2rem;
  border-radius: 8px;
  border: 3px solid #FFEB3B;      /* 外枠の黄色 */
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s;
	margin: 0 auto;
	transition: transform .2s;
}

/* hover時の色変化 */
.cta-button:hover {
  transform: translateY(-4px);
}

/* 矢印部分（白丸＋オレンジ三角） */
.cta-arrow {
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  position: relative;
}

.cta-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #F88F1C;
}

/* STEPページ共通スタイル */
.step-section {
  padding: 2rem 0;
}

.step-block {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 3rem;
}

.step-number {
  position: absolute;
  top: -40px;
  left: -20px;
  font-size: 8rem; /* PCサイズ */
  font-weight: 400;
  color: rgba(221, 221, 221, 0.8);
  line-height: 1;
  z-index: -1; /* 最背面配置 */
}

@media (max-width: 767px) {
  .step-number {
    font-size: 7rem; /* スマホはさらに大きく */
    left: -40px; /* 少し画面外へオフセット */
  }
}

/* リンク全体を右寄せ */
.link-container {
  text-align: right;
  margin-top: 1rem;
}

/* 横並びのリンク */
.link-arrow {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  gap: 0.5rem;
}

/* 左側のオレンジ丸アイコン */
.arrow-circle {
  width: 32px;
  height: 32px;
  background: #F88F1C;
  border-radius: 50%;
  position: relative;
  /* 丸自体は動かさないのでtransitionなし */
}

/* 斜め部分（矢印の先端） */
.arrow-circle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transition: transform 0.3s ease;
}

/* 横棒部分 */
.arrow-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease;
}

/* hover時：矢印部分のみ右にスライド */
.link-arrow:hover .arrow-circle::before,
.link-arrow:hover .arrow-circle::after {
  transform: translate(calc(-50% + 3px), -50%) rotate(-45deg); /* before用 */
}

.link-arrow:hover .arrow-circle::after {
  transform: translate(calc(-50% + 3px), -50%); /* after用（横棒） */
}

.link-arrow:hover .arrow-circle {
	background: #e07c12;
}

/* テキスト部分に下線 */
.link-text {
  border-bottom: 1px solid #333;
  line-height: 1;
}

/* ダブル下矢印 */
.step-arrow {
  width: 100px;            /* 全体幅 */
  height: 50px;           /* 全体高さ */
  margin: 0.5rem auto 2.5rem;    /* 中央寄せと上下余白 */
  position: relative;
}

/* 1本目の矢印 */
.step-arrow::before,
.step-arrow::after {
  content: "";
  position: absolute;
  left: 50%;               /* 中央基準 */
  transform: translateX(-50%) rotate(45deg);
  width: 30px;             /* 矢印の長さ */
  height: 30px;            /* 矢印の長さ */
  border-bottom: 4px solid #5AB0D1;
  border-right: 4px solid #5AB0D1;
}

/* 上段矢印 */
.step-arrow::before {
  top: 0;
}

/* 下段矢印 */
.step-arrow::after {
  top:16px; /* 下にずらす */
}

/* まとめボックス */
.summary-box {
  background: #FDF6CF;
  padding: 2rem;
  border-radius: 8px;
  text-align: left;
}

.summary-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* STEP2ページ専用：角度付き見出し */
.step-block02 {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 0;
}

.block-title {
	width: 50%;
  position: relative;
  display: inline-block;
  background: #3F7B8D; /* 見出し背景色 */
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0.5rem 3rem 0.5rem 1rem;
  /* 右下カット */
  clip-path: polygon(0 0, calc(100% - 35px) 0, 100% 100%, 0 100%);
}

@media (max-width: 767px) {
	.block-title {
		width:inherit;
	}
}

.block-title + hr{
	border: none;
	border-bottom: 3px solid #3F7B8D;
	margin: -1px 0 1em 0;
	padding: 0;
}

/* 写真2枚横並び用 */
.photo-box {
  display: flex;
  gap: 1rem;              /* 画像間の余白 */
  margin-top: 0.5rem;
  justify-content: center; /* 中央揃え（必要に応じて変更可） */
}

.photo-item {
  flex: 1; 
  display: flex;
  align-items: center;
  justify-content: center;
}

/* imgへ置き換え時のスタイル */
.photo-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* セクション見出し */
.section-heading {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 2rem 0 1.5rem;
  position: relative;
	color: #F88F1C;
}

@media (min-width: 768px) {
	.section-heading::before,
	.section-heading::after {
  	content: "";
  	display: inline-block;
 	 width: 2rem;
 	 height: 2px;
 	 background: #F88F1C;
  	vertical-align: middle;
  	margin: 0 0.5rem;
	}
}

@media (max-width: 767px) {
  .section-heading {
    border-top: 2px solid #F88F1C;
    border-bottom: 2px solid #F88F1C;
    padding: 0.5rem 0; /* 上下ラインと文字の間に余白 */
  }

  .section-heading::before,
  .section-heading::after {
    content: none; /* 擬似要素を非表示にする */
  }
}

/* 歩き方ボックス */
.walk-box {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.2rem;
}
.walk-box .walk-icon {
 width: 3rem;
  flex-shrink: 0;
}

.walk-box .walk-icon > img{
	width: 100%;
}

.walk-box .walk-content h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

/* 色別背景 */
.walk-box.green { background: #E4F4E8; }
.walk-box.blue  { background: #E1EEF7; }
.walk-box.yellow{ background: #FFF3D6; }

/* Check! 見出しデザイン */
.check-box {
  margin-bottom: 2rem;
}

/* Check! とタイトルを横並び */
.check-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Check! ラベル（矢印型） */
.check-icon {
  display: inline-block;
  background: #4DB6AC;
  color: #fff;
  font-weight: bold;
  padding: 0.2rem 0.8rem 0.2rem 0.4rem;
  font-size: 0.9rem;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

/* タイトル（企業ブース等） */
.check-title {
  font-size: 1.1rem;
  font-weight: bold;
}

/* コンテンツ部分 */
.check-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.check-content p {
  flex: 1 1 60%;
  font-size: 1rem;
  line-height: 1.5;
}

/* 写真プレースホルダー */
.photo-placeholder {
  flex: 1 1 35%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* imgタグ用スタイル */
.photo-placeholder img {
  width: 100%;      /* 横幅いっぱい */
  height: auto;     /* 縦横比を保つ */
  display: block;   /* 余計な余白を消す */
}

/* スマホ表示時の調整 */
@media (max-width: 767px) {
  .check-content {
    flex-direction: column; /* 縦並びにする */
  }

  .photo-placeholder {
    order: -1;      /* 画像をテキストより上に表示 */
    flex: none;     /* flex幅を解除 */
    width: 100%;    /* 横幅いっぱい */
  }
}

/* 画像に差し替えた場合 */
.check-content img {
  width: 100%;
  height: auto;
  display: block;
}

/*********よくある質問**********/
/* 上部質問群 */
.faq-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .faq-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.faq-top-section {
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-top-title {
  background-color: var(--primary);
  padding: 0.75rem 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  color: #fff;
	border-radius: 8px;
}
.faq-top-title::before {
  content: attr(data-num);
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: bold;
  font-size: 1rem;
}
.faq-top-section ul {
  list-style: none;
  margin: 0 0 0 1rem;
  padding: 1rem;
}
.faq-top-section li {
  margin: 0.7rem 0;
}

.faq-top-section li:before{
	content: 'Q.';
	margin-left:-1rem;
}
.faq-top-section a {
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #bbb;
}
.faq-top-section a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* セクション見出し */
.faq-section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: #fff;
}
.faq-section-title .num {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #fff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

/* QA項目 */
.qa-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.qa-q,
.qa-a {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  align-items: flex-start;
}
.qa-q {
  background: #fdf5f5;
  border-bottom: 1px solid var(--border);
  font-weight: bold;
}
.qa-label {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.qa-q .qa-label {
  background:#D9534F;
  color: #fff;
}
.qa-a .qa-label {
  background: var(--primary);
  color: #fff;
}
.qa-body {
  flex: 1;
}
.qa-body p {
  margin-bottom: 0.5rem;
}
.qa-body ul {
  margin: 0.25rem 0 0.5rem 1.2rem;
  list-style: disc;
}
.qa-more {
  text-align: right;
  padding: 0 0.75rem 0.75rem;
}
.qa-more a {
  color: var(--primary);
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}
.qa-more a:hover {
  opacity: 0.8;
}

/*身だしなみチェック*/
.midashinami01 div::after{content:""; display:block; clear:both;}

/* PC用：回り込み画像（右上から始まるのが仕様なので、余白で整える） */
.float-box-pc { display: none; } /* 初期は非表示（スマホ） */
@media (min-width: 768px) {
  .float-box-pc {
    display: block;
    float: right;
    width: 200px;            /* 画像幅は調整可 */
    margin: 0 0 1rem 1rem;   /* 左下に余白 */
  }
  .float-box-pc img { display:block; width:100%; height:auto; }
}

/* スマホ用：文章の下・幅80%で中央 */
.img-sp { display: block; margin: 1rem auto 0; width: 80%; }
.img-sp img { display:block; width:100%; height:auto; }
@media (min-width: 768px) {
  .img-sp { display: none; } /* PCでは非表示 */
}

.must-items .checklist {
    list-style: none;
    padding: 0;
    margin: .5rem 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem .75rem;
  }

  @media (min-width: 768px) {
    .must-items .flexbox .checklist { grid-template-columns: repeat(3, 1fr); }
	.must-items .flexbox02 .checklist { grid-template-columns: repeat(4, 1fr); }
  }

.must-items .checklist li { padding: 0; }
.must-items .checklist .check-item{
  display:flex;
  align-items:center;
  gap:.55rem;
  padding:.65rem .8rem;
  border:1px solid #eee;
  border-radius:.75rem;
  background:#fff;
  width:100%;
  height:100%;
  cursor:pointer;
  transition: background-color .2s;
}

.must-items .checklist input[type="checkbox"]{
  width:1.05rem;
  height:1.05rem;
  accent-color:auto;
}

.must-items .check-item:has(input[type="checkbox"]:checked) {
background:#EDF9FC;
border-color:#0071bc;
}

@media (min-width: 768px) {
	.flexbox,.flexbox02{
	display: flex;
	justify-content: space-between;
	}

	.flexbox div{
	width: 26%;
	}
	
	.flexbox02 div{
	width: 16%;
	}
}

.flexbox div img,.flexbox02 div img{
	width: 100%;
}

.grooming-checks { --tile-bg:#E6F0F7; --accent:#F88F1C; }
.grooming-checks .blocks {
display:grid; gap:20px; grid-template-columns:1fr; align-items:start;
}
@media (min-width:768px){
.grooming-checks .blocks{ grid-template-columns:repeat(2,1fr); }
}
.grooming-checks .block {
background:var(--tile-bg); border-radius:12px; padding:16px 18px;
}
.grooming-checks .block-head {
display:flex; align-items:center; gap:.6rem; margin-bottom:.5rem;
}
.grooming-checks .block-title {
font-weight:700; font-size:1.05rem;
}
.grooming-checks input[type="checkbox"] {
width:1.1rem; height:1.1rem; accent-color:#F00;
}
.grooming-checks .dot-list { list-style:none; margin:0; padding:0; }
.grooming-checks .dot-list li {
position:relative; padding-left:1.1em; line-height:1.8; margin:.32rem 0;
}
.grooming-checks .dot-list li::before {
content:"・"; position:absolute; left:0; top:0;
}

.grooming-checks .image-row {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
margin-top: 2rem;
}
.grooming-checks .image-row figure {
margin: 0;
}
.grooming-checks .image-row img {
display: block;
width: 100%;
height: auto;
border-radius: 8px;
}
@media (min-width:768px){
.grooming-checks .image-row { grid-template-columns: 1fr 1fr; }
}

footer{
	text-align: center;
	padding: 1rem 0.5em;
	margin-top: 3rem;
	width: 100%;
	border-top: 1px solid #666;
}

/* レスポンシブ：768px以上 */
@media (min-width: 768px) {
	.sp{
		display:none;
	}
	
  .compare-section {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }
  .compare-section .card {
    flex: 1;
    margin: 0 1rem;
  }
  .reasons-cards {
    flex-direction: row;
  }
  .reason-card {
    flex: 1;
  }
  .cta-cards {
    flex-direction: row;
  }
  .cta-card {
    flex: 1;
  }
}

/* レスポンシブ：767px以下 */
@media (max-width: 767px) {
	.pc{
		display:none;
	}
}
