@charset "UTF-8";

/* === Reset / overflow guard (3QQ page only) === */
*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; }

/* --- 3QQ POP Design (Character Edition) --- */
:root {
    --primary-color: #1a2b49; /* ネイビー */
    --accent-gold: #ffc400;   /* ゴールド（ロゴ色） */
    --accent-red: #e63946;    /* アクセント赤 */
    --bg-light: #fffdf5;      /* アイボリー */
    --text-color: #333;
    --white: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.8;
    /* CSSで作るポップなドット背景 */
    background-image: 
        radial-gradient(var(--accent-gold) 2px, transparent 2px),
        radial-gradient(var(--accent-gold) 2px, transparent 2px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    overflow-x: hidden;
}

/* 画像などのはみ出しで横スクロールが出るのを防ぐ */
img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

h1, h2, h3 { font-weight: 800; letter-spacing: 0.05em; margin: 0; }
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #fff 0%, #fffbe0 100%);
    text-align: center;
    padding: 60px 20px;
    border-bottom: 5px solid var(--accent-gold);
    position: relative;
    overflow: hidden;
}
.hero-bg-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* 集中線のような効果をCSSで（薄く） */
    background: repeating-conic-gradient(from 0deg, rgba(255,196,0,0.05) 0deg 10deg, transparent 10deg 20deg);
}
.hero-container { position: relative; z-index: 2; }
.logo-box { max-width: 500px; margin: 0 auto 20px; }
.main-logo { width: 100%; height: auto; filter: drop-shadow(0 5px 0px rgba(0,0,0,0.1)); }
.catch-copy {
    display: inline-block;
    background: var(--primary-color);
    color: var(--accent-gold);
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 900;
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.lead-text { font-size: 1.2rem; font-weight: bold; color: var(--primary-color); }

/* --- Common Title --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    text-shadow: 2px 2px 0 #fff;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
.section-title::after {
    content: ''; display: block; width: 100%; height: 8px;
    background: repeating-linear-gradient(-45deg, var(--accent-gold), var(--accent-gold) 10px, var(--accent-red) 10px, var(--accent-red) 20px);
    border-radius: 4px; margin-top: 5px;
}

/* --- About Section --- */
.summary-cards { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.summary-card {
    background: var(--white);
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    padding: 25px;
    width: 260px;
    text-align: center;
    box-shadow: 7px 7px 0 var(--accent-gold);
    transition: transform 0.2s;
}
.summary-card:hover { transform: translateY(-5px); }
.summary-card .icon { font-size: 3rem; display: block; margin-bottom: 10px; }
.summary-card h3 { color: var(--primary-color); margin-bottom: 10px; font-size: 1.3rem; }

/* --- Story Section (KING as background) --- */
.story-section{
  position: relative;
  background-color: var(--primary-color);
  color: var(--white);
  background-image: none;
  overflow: hidden;
  min-height: 520px;
  padding: 90px 0;
}

/* 背景のKING（セクション背景として表示） */
.story-section::before{
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('./img/king_shadow.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.32;
  pointer-events: none;
  filter: saturate(0.9) contrast(1.05);
}

@media (min-width: 769px){
  .story-section::before{
    background-position: center left;
  }
}

.story-section .container{
  position: relative;
  z-index: 1;
}

.story-box {
    display: flex; align-items: center; justify-content: center; gap: 40px;
    max-width: 800px; margin: 0 auto;
}
.story-title { color: var(--accent-gold); margin-bottom: 20px; font-size: 2rem; border-bottom: 3px dashed #fff; display: inline-block;}
/* KINGメッセージ（吹き出し無し：テキストのみで可読性を確保） */
.king-text{
    max-width: 760px;
    margin: 18px auto 0;
    padding: 0;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}

.king-text p{
    margin: 0 0 14px;
}

.king-lead{
    margin: 0 0 18px;
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--accent-gold);
    letter-spacing: 0.02em;
    text-shadow: 0 2px 14px rgba(0,0,0,0.65);
}

/* ダーク背景上では赤よりゴールドの方が読みやすいので上書き */
.story-section .highlight{
    color: var(--accent-gold);
}
.highlight { font-weight: bold; color: var(--accent-red); font-size: 1.2em; }

/* --- Features (Characters) --- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px 30px; }
.feature-item {
    background: var(--white);
    border-radius: 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 7px 7px 0 rgba(0,0,0,0.1);
    position: relative;
  margin-top: 56px;          /* 40px → */
  padding: 62px 20px 20px;   /* 50px → */
    text-align: center;
}


.char-badge {
    position: absolute; top: -50px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 100px;
    z-index: 2;
      top: -64px;                /* -50px → */
  width: 128px;              /* 100px → */
  height: 128px;             /* 100px → */
}
.char-img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #fff;
    box-shadow: 0 6px 0 rgba(0,0,0,0.15);
    width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 0 rgba(0,0,0,0.12));
}
.f-num {
    display: inline-block;
    background: var(--accent-gold); color: var(--primary-color);
    font-weight: 900; padding: 2px 10px; border-radius: 50px;
    margin-bottom: 10px; font-size: 0.9rem;
}
.feature-content h3 { color: var(--primary-color); margin-bottom: 15px; font-size: 1.3rem;}

/* POINT 01〜03：説明文は左寄せ */
.feature-content p{
  text-align: left;
}

/* --- Timeline (Icons) --- */
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
    content: ''; position: absolute; left: 40px; top: 20px; bottom: 20px; width: 6px;
    background: #ddd; border-radius: 3px;
}
.timeline-item { position: relative; padding-left: 100px; margin-bottom: 50px; }
.tl-time {
    position: absolute; left: 0; top: 10px;
    width: 80px; height: 80px;
    background: var(--primary-color); color: var(--white);
    border-radius: 50%;
    text-align: center; display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 1rem;
    z-index: 2; border: 4px solid var(--white);
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}
.tl-icon-box {
    position: absolute; left: -10px; top: -10px;
    width: 100px; height: 100px;
    z-index: 3;
}
.tl-icon-img {
    width: 100%; height: auto;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.3));
    transform: rotate(-5deg);
}
.tl-content {
    background: var(--white); padding: 20px 25px;
    border-radius: 20px; border: 3px solid #eee;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.05);
}
.stage-content {
    border-color: var(--accent-gold);
    box-shadow: 5px 5px 0 var(--accent-gold);
}
.stage-label {
    display: inline-block; background: var(--primary-color); color: var(--accent-gold);
    font-size: 0.9rem; padding: 4px 12px; border-radius: 50px;
    margin-bottom: 10px; font-weight: bold;
}
.stage-role{
  display: inline-block;
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  background: var(--accent-gold);
  color: var(--primary-color);
  vertical-align: middle;
}
.tl-content h3 { font-size: 1.4rem; color: var(--primary-color); margin-bottom: 10px; }

/* --- Specs & Price --- */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.spec-box, .price-box {
    background: var(--white); padding: 30px;
    border-radius: 20px; border: 3px solid var(--primary-color);
    box-shadow: 7px 7px 0 rgba(0,0,0,0.1);
}
.spec-box h3, .price-box h3 {
    text-align: center; color: var(--primary-color); margin-bottom: 20px;
    border-bottom: 3px dashed var(--accent-gold); padding-bottom: 10px;
}
dl { display: grid; grid-template-columns: 100px 1fr; gap: 10px 0; }
dt { font-weight: bold; background: #eee; padding: 5px 10px; border-radius: 5px; margin-bottom: 5px;}
dd { margin-bottom: 5px; padding: 5px 10px; }

.price-row {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 2px dashed #ddd; padding: 10px 0;
}
.p-price { font-size: 1.4rem; font-weight: 900; color: var(--accent-red); }
.p-note { background: #f9f9f9; padding: 15px; border-radius: 10px; font-size: 0.9rem; margin-top: 20px;}

/* --- Contact（party/会社役員殺人事件と同じ白ベース） --- */
.contact-section{
    background: #fff;
    color: #333;
    text-align: center;
    padding: 90px 20px;
    background-image: none;
}

.contact-section .yk-container{
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 見出し：白背景用に調整（中央寄せを確実に） */
.contact-section{
    text-align: center;
}

.contact-section .section-title,
.contact-section h2.section-title,
.contact-section h2{
    color: #555;
    text-shadow: none;
    margin: 0 auto 42px !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    float: none !important;
}

.contact-section .section-title::after{
    background-color: #c84b4b;
    background-image: none;
    width: 120px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 4px;
}

/* 外枠（青枠カード） */
.contact-embed{
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border: 3px solid #7aa7c7;
    border-radius: 14px;
    padding: 52px 28px;
    color: #333;
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
}

.contact-embed p,
.contact-embed .embed-note,
.contact-embed .contact-helper__text,
.contact-embed .contact-helper__list,
.contact-embed .contact-helper__note{
    color: #444;
}

/* フォーム内タイトル */
.contact-embed .murecho-title{
    font-size: 1.25rem;
    font-weight: 800;
    margin: 18px 0 10px;
    color: #1f2937;
    text-align: left;
}

/* 説明ブロック（薄い水色の箱） */
.contact-embed .contact-helper{
    text-align: left;
    background: #eef7ff;
    border-radius: 10px;
    padding: 22px 22px;
    margin: 22px auto 26px;
}

.contact-embed .contact-helper__text{ margin: 0 0 10px; line-height: 1.7; }
.contact-embed .contact-helper__list{ margin: 0 0 10px; padding-left: 1.2rem; }
.contact-embed .contact-helper__list li{ margin: 6px 0; }
.contact-embed .contact-helper__note{ margin: 0; color: #4b5563; line-height: 1.7; font-size: 0.95rem; }

/* 二重枠や暗背景の影響を無効化 */
.contact-embed .contact-form{
    max-width: 740px;
    margin: 0 auto;
    text-align: left;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.contact-embed form,
.contact-embed fieldset{
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* ラベル */
.contact-embed .label,
.contact-embed label{
    display: inline-block;
    font-weight: 800;
    color: #374151;
    margin: 0 10px 10px 0;
    font-size: 1.05rem;
}

/* 入力欄 */
.contact-embed input,
.contact-embed textarea{
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    color: #111827;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    padding: 16px 16px;
    font-size: 1rem;
    line-height: 1.6;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-embed textarea{ resize: vertical; min-height: 170px; }

.contact-embed input::placeholder,
.contact-embed textarea::placeholder{ color: #9ca3af; }

.contact-embed input:focus,
.contact-embed textarea:focus{
    border-color: #7aa7c7;
    box-shadow: 0 0 0 4px rgba(122, 167, 199, 0.25);
}

/* 送信ボタン行：帯や線を消して中央寄せ */
.contact-embed .item,
.contact-embed .item.no-label{ background: transparent !important; border: none !important; }

.contact-embed .item.no-label{
    padding: 0 !important;
    margin: 34px 0 0 !important;
    text-align: center;
}

.contact-embed .item.no-label::before,
.contact-embed .item.no-label::after{ content: none !important; }

/* 送信ボタン（黄色・中央、青い影なし） */
.contact-embed input[type="submit"]{
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: #f3cd4e;
    color: #111827;
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 0.06em;
    padding: 18px 0;
    width: min(520px, 100%);
    border-radius: 999px;
    cursor: pointer;
    display: inline-block;
    margin: 0 auto;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.contact-embed input[type="submit"]:hover,
.contact-embed input[type="submit"]:focus{
    filter: brightness(0.99);
    outline: none;
}

@media (max-width: 768px){
    .contact-section{ padding: 70px 14px; }
    .contact-embed{ padding: 34px 16px; border-width: 2px; }
    .contact-embed input,
    .contact-embed textarea{ padding: 14px; }
    .contact-embed input[type="submit"]{ width: 100%; font-size: 1.15rem; }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .story-box { flex-direction: column; }
    .spec-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 30px; }
    .timeline-item { padding-left: 80px; }
    .tl-time, .tl-icon-box { width: 60px; height: 60px; font-size: 0.8rem; }
    /* スマホで右側に余白（横スクロール）が出る場合の対策 */
    .qqq-page {
      overflow-x: hidden;
    }

    /* パンくずが横にはみ出して全体幅を押し広げないように */
    .yk-bread-wrap .bread ol{
      display: flex;
      flex-wrap: wrap;
      gap: 6px 10px;
      max-width: 100%;
    }
    .yk-bread-wrap .bread li,
    .yk-bread-wrap .bread a{
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: break-word;
      max-width: 100%;
    }
}

/* 左ラベルを改行させない＋幅を確保 */
.p-label--nowrap{
  white-space: nowrap;
}

/* 行全体：左は固定幅、右は残り */
.price-row--note{
  align-items: flex-start;
}

.price-row--note .p-label{
  flex: 0 0 140px;   /* ここで左列幅を固定。必要なら 120〜160px で調整 */
}

/* 右側：縦積み＋右寄せ */
.price-row--note .p-right{
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 右寄せ */
  text-align: right;
}

/* 説明文：右側に寄せたまま読みやすく */
.p-sub-note{
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  max-width: 520px; /* 長すぎて横いっぱいにならないように。不要なら削除OK */
}

/* ヘッダーとパンくずを「必ず」前面へ */
header{
  position: relative;
  z-index: 9999;
}

.yk-bread-wrap{
  position: relative;
  z-index: 9000;
}

/* 3qqの装飾レイヤーはクリックを吸わない */
.hero-bg-pattern{
  pointer-events: none;
}

/* storyの背景も念のため */
.story-section::before{
  pointer-events: none;
}


.form-status{
  margin: 18px auto 0;
  padding: 12px 14px;
  max-width: 740px;
  background: #f0fff4;
  border: 1px solid #86efac;
  border-radius: 10px;
  color: #166534;
  font-weight: 700;
  text-align: center;
}