@charset "UTF-8";

/* ================= 変数・基本設定 ================= */
:root {
  --primary-color: #2b4f80;
  --bg-color: #f6f9ff;
  --text-main: #333;
  --font-base: "Yu Gothic", "YuGothic", "Hiragino Sans", "Meiryo", sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background: var(--bg-color);
  color: var(--text-main);
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

/* スマホ入力時のズーム防止 */
input, textarea, button {
  font-size: 16px;
  font-family: inherit;
}

.about-app {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 16px 60px;
}

/* ================= ナビゲーション ================= */
.about-nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 16px 0;
}
.about-nav a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.about-nav a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ================= ヘッダー ================= */
.about-header {
  text-align: center;
  margin-bottom: 32px;
  margin-top: 10px;
}

.about-header h1 {
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--primary-color);
}

.about-header .lead {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* ================= 水彩挿絵 ================= */
.about-hero-illustration {
  text-align: center;
  margin: 10px 0 32px;
}

.about-hero-illustration img {
  width: 92%;
  max-width: 480px;
  height: auto;
  opacity: .95;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ================= セクション ================= */
section {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  margin-bottom: 48px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

/* 薄い背景 */
section.alt {
  background: #f9fbff;
  box-shadow: none;
  border: 1px solid #eef3ff;
}

/* 見出し */
h2 {
  font-size: 22px;
  margin: 0 0 20px;
  color: var(--primary-color);
  text-align: center;
}

h3 {
  font-size: 17px;
  margin: 32px 0 10px;
  color: #444;
}

/* テキスト装飾クラス */
.marker-orange {
  text-decoration: underline;
  text-decoration-color: orange;
  text-decoration-thickness: 4px;
}
.marker-green {
  text-decoration: underline;
  text-decoration-color: green;
  text-decoration-thickness: 4px;
}

.marker-line-orange {
  text-decoration: underline;
  text-decoration-color: orange;
  text-decoration-thickness: 8px;
}
.marker-line-green {
  text-decoration: underline;
  text-decoration-color: greenyellow;
  text-decoration-thickness: 8px;
}
.marker-line-yellow {
  text-decoration: underline;
  text-decoration-color: yellow;
  text-decoration-thickness: 8px;
}

/* テキスト */
p { margin: 14px 0; }
ul { padding-left: 1.4em; margin: 14px 0; }
li { margin: 8px 0; }

/* ================= フロー（矢印付き・中央揃え） ================= */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin: 24px 0;
}

.flow-step {
  background: #fffbe0;
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 16px;
  
  /* 中央揃えの設定 */
  text-align: center;      /* テキストの行揃え */
  justify-content: center; /* Flexbox内の横方向中央 */
  display: flex;
  align-items: center;     /* Flexbox内の縦方向中央 */
  
  font-size: 14px;
  font-weight: bold;
  color: #554400;
  position: relative;
}

/* 右矢印（PC用） */
.flow-step:not(:last-child)::after {
  content: "➡";
  position: absolute;
  color: #ffd700;
  font-size: 24px;
  font-weight: 900;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
}

/* ================= 注意書きボックス ================= */
.attention-box {
  background: #fff8f8;
  border: 1px solid #ffcccc;
  border-radius: 12px;
  padding: 20px;
  margin-top: 30px;
}
.attention-box h3 {
  margin-top: 0;
  color: #cc0000;
  font-size: 16px;
  text-decoration: none;
}
.attention-box p {
  font-size: 14px;
  margin-bottom: 0;
}

/* ================= 制作者セクション ================= */
.creator-section {
  background: #fff;
  border: 2px dashed #dbe5f3;
  box-shadow: none;
}

.creator-section h2 {
  font-size: 20px;
  color: #556b8d;
  margin-bottom: 24px;
}

.creator-profile {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.creator-text h3 {
  font-size: 18px;
  margin: 0 0 16px;
  color: #333;
  display: inline-block;
  background: linear-gradient(transparent 70%, #e2f0fb 70%);
}

.creator-text p {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ================= CTA ================= */
.about-cta {
  text-align: center;
  background: none;
  box-shadow: none;
  padding-top: 10px;
  border: none;
}

.cta-note {
  font-size: 14px;
  color: #555;
  margin: 0 0 16px;
}

.cta-link {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 99px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(43, 79, 128, 0.3);
  transition: opacity 0.3s, transform 0.2s;
}

.cta-link:hover {
  opacity: .85;
  transform: translateY(-2px);
}

/* ================= フッター ================= */
.about-footer {
  text-align: center;
  padding: 24px 0;
  font-size: 12px;
  color: #666;
  border-top: 1px solid #eee;
}

/* ================= スマホ調整 ================= */
@media (max-width: 480px) {
  .about-app {
    padding: 20px 16px 40px;
  }
  section {
    padding: 24px 20px;
  }
  h2 { font-size: 20px; }
  
  .creator-profile { flex-direction: column; }

  /* フローのスマホ調整 */
  .flow {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  /* 下矢印に変更（スマホ用） */
  .flow-step:not(:last-child)::after {
    content: "⬇"; 
    right: auto;
    left: 50%;
    bottom: -32px;
    top: auto;
    transform: translateX(-50%);
  }
}