@charset "utf-8";

/* ===============================
   Base
================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans JP", sans-serif;
  color: #222;
  background: #f8f5ef;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===============================
   CENTRAL CONTROL（最重要）
================================= */

.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;          /* ← これが中央 */
  padding: 0 20px;
}

/* ===============================
   Header
================================= */

.header {
  padding: 60px 0;
}

.header .container {
  background: #ffffff;
  border-radius: 24px;
  padding: 60px 50px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

/* ===============================
   Main
================================= */

.main {
  padding: 60px 0;
}

.section {
  background: #ffffff;
  border-radius: 24px;
  padding: 60px 50px;
  margin: 60px 0;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

/* ===============================
   Typography
================================= */

.tag {
  font-size: 12px;
  letter-spacing: .1em;
  color: #777;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.h1 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 16px;
}

.lead {
  font-size: 15px;
  color: #555;
}

.h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.h3 {
  font-size: 15px;
  margin: 14px 0 6px;
}

.desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 24px;
}

.cap {
  font-size: 12px;
  color: #777;
}

/* ===============================
   Button
================================= */

.cta {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  background: #b56b2a;
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s;
}

.btn:hover {
  opacity: 0.85;
}

.cta-note {
  font-size: 12px;
  color: #777;
}

/* ===============================
   Grid
================================= */

.grid {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  text-align: center;
}

.imglink {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #f3f3f3;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.imglink img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ===============================
   List
================================= */

.list {
  padding-left: 20px;
}

.list li {
  margin: 10px 0;
}

/* ===============================
   Footer
================================= */

.footer {
  text-align: center;
  padding: 40px 0;
  color: #888;
}

/* ===============================
   Responsive
================================= */

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .imglink img {
    height: 230px;
  }
}

@media (max-width: 600px) {

  .section {
    padding: 40px 24px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .imglink img {
    height: 200px;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}


/* ===== Vertical process helpers ===== */

.header-card{
  background:#fff;
  border-radius:24px;
  padding:60px 50px;
  box-shadow:0 15px 40px rgba(0,0,0,0.05);
}

.figure{
  margin: 0;
}

.figure .imglink{
  display:block;
  border-radius:20px;
  overflow:hidden;
  background:#f3f3f3;
  box-shadow:0 8px 25px rgba(0,0,0,0.05);
}

.figure img{
  width:100%;
  height:auto;       /* ←縦スクロール向きに自然表示 */
  object-fit: initial;
}

.notes{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

/* スマホでヘッダーカードの余白調整 */
@media (max-width: 600px){
  .header-card{
    padding:40px 24px;
  }
}