:root {
  /* メモ帳で編集するときは「変更:」を検索してください */
  /* 変更: サイト全体の色 */
  /* 色は # から始まる6文字のコードで指定します。例: #ffffff は白、#111111 は黒 */
  --ink: #16211b;
  --muted: #5d6962;
  --paper: #f8f8f3;
  --white: #ffffff;
  --green: #087443;
  --green-dark: #06472c;
  --line: #dfe4dc;
  --accent: #d8f75a;

  /* 変更: アイコンのユニフォーム色と文字色 */
  /* 上半分と下半分の背景色です */
  --uniform-top: #ffffff;
  --uniform-bottom: #111111;
  /* 背景色に合わせて、読みにくいときは文字色を変えてください */
  --uniform-top-text: #16211b;
  --uniform-bottom-text: #ffffff;
  --icon-top-font-size: 11px;
  --icon-bottom-font-size: 13px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px max(18px, calc((100% - 1100px) / 2));
  background: rgba(248, 248, 243, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(
    to bottom,
    var(--uniform-top) 0 50%,
    var(--uniform-bottom) 50% 100%
  );
  color: var(--uniform-top-text);
  font-size: var(--icon-top-font-size);
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.brand-mark span {
  display: block;
}

.brand-mark span:first-child {
  margin-top: 4px;
}

.brand-mark span:last-child {
  margin-top: -2px;
  color: var(--uniform-bottom-text);
  font-size: var(--icon-bottom-font-size);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  color: var(--muted);
  font-size: 15px;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  overflow: hidden;
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
  background: var(--green-dark);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 71, 44, 0.86), rgba(6, 71, 44, 0.34));
  content: "";
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1000px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 12vw, 132px) 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent);
}

h1,
h2 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  max-width: 760px;
  margin-top: 0;
  font-size: clamp(40px, 7vw, 74px);
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.instagram-callout {
  display: block;
  width: 100%;
  margin: 0;
  padding: 52px 0 46px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.instagram-callout > div {
  width: min(1000px, calc(100% - 36px));
  margin: 0 auto;
}

.instagram-callout h2 {
  font-size: clamp(28px, 3.5vw, 40px);
}

.instagram-callout p:last-child {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.instagram-button {
  margin-top: 18px;
  background: var(--accent);
  color: var(--green-dark);
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #142117;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.button.outline {
  border: 1px solid var(--green);
  color: var(--green-dark);
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  width: min(1000px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 50px;
}

.section:last-of-type {
  border-bottom: 0;
}

.info-list {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.info-list > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.info-list strong {
  color: var(--green-dark);
}

.info-list p {
  margin: 0;
  color: var(--muted);
}

.trial {
  background: var(--white);
  width: 100%;
  padding-left: max(18px, calc((100% - 1000px) / 2));
  padding-right: max(18px, calc((100% - 1000px) / 2));
}

.trial p:not(.section-kicker) {
  max-width: 720px;
  margin: 18px 0 26px;
  color: var(--muted);
}

.site-footer {
  padding: 32px 18px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    padding: 16px 18px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    width: 100%;
    margin: 0;
    aspect-ratio: 1776 / 876;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(6, 71, 44, 0.84), rgba(6, 71, 44, 0.18));
  }

  .hero-bg {
    object-fit: cover;
    object-position: center;
  }

  .hero-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(100% - 24px, 1000px);
    height: 100%;
    min-height: 0;
    padding: clamp(10px, 3vw, 18px) 0;
  }

  .hero .eyebrow {
    margin-bottom: 3px;
    font-size: clamp(9px, 2.8vw, 12px);
  }

  h1 {
    font-size: clamp(28px, 10vw, 44px);
  }

  .hero p:not(.eyebrow) {
    max-width: 58%;
    margin-top: clamp(6px, 2vw, 12px);
    font-size: clamp(10px, 3vw, 14px);
    line-height: 1.45;
  }

  .hero-actions {
    gap: 8px;
    margin-top: clamp(8px, 2.5vw, 14px);
  }

  .hero-actions .button {
    width: auto;
    min-height: 32px;
    padding: 6px 10px;
    font-size: clamp(10px, 3vw, 13px);
  }

  .info-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .instagram-callout {
    display: block;
  }

  .section {
    scroll-margin-top: 100px;
  }

  .hero-actions,
  .contact-buttons,
  .button {
    width: 100%;
  }
}
