@charset "UTF-8";

/* ============================================================
   からふるひゃっかてん スタイルシート

   色や文字の大きさは、このすぐ下の「設定」でまとめて変えられます。
   ここの数値を書き替えると、ページ全体に反映されます。
   ============================================================ */

:root {
  /* --- 色の設定（ロゴイラストから取った色です） --- */
  --color-bg:        #FBF7F0;  /* 全体の背景。やわらかいクリーム色 */
  --color-bg-alt:    #F3EDE2;  /* 一段濃い背景。セクションの区切りに使う */
  --color-card:      #FFFFFF;  /* カードの背景 */
  --color-text:      #3D3730;  /* 本文の文字 */
  --color-text-soft: #7A6F60;  /* 補足の文字。少し薄い */
  --color-navy:      #2F4A6B;  /* 見出しなどに使う濃い藍色 */
  --color-gold:      #C9A227;  /* 差し色のゴールド。線や飾りに */
  --color-sky:       #A8CBE3;  /* 淡い空色 */

  /* ロゴの文字の色。飾りのラインに使っています */
  --c1: #E24A4A;  /* 赤 */
  --c2: #E87BA6;  /* ピンク */
  --c3: #3B7DC4;  /* 青 */
  --c4: #F2B33D;  /* 黄 */
  --c5: #4EBCD4;  /* 水色 */
  --c6: #F08A3C;  /* 橙 */
  --c7: #7BB661;  /* 緑 */
  --c8: #8E6FB8;  /* 紫 */

  /* --- 大きさの設定 --- */
  --width-page:   1080px;  /* ページの最大の横幅 */
  --width-narrow:  760px;  /* 文章だけのセクションの横幅 */
  --radius:         18px;  /* 角の丸み */
  --shadow: 0 6px 24px rgba(61, 55, 48, .07);
}

/* ------------------------------------------------------------
   全体の土台
   ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  /* 日本語を文節の切れ目で改行する。Chrome以外では無視されるだけなので安全 */
  word-break: auto-phrase;

  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
  background-color: var(--color-bg);

  /* 背景にうっすら光を置いて、水彩画のような空気感を出す */
  background-image:
    radial-gradient(ellipse 60% 40% at 15% 0%,   rgba(168, 203, 227, .30), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 8%,   rgba(232, 123, 166, .16), transparent 70%),
    radial-gradient(ellipse 60% 35% at 50% 100%, rgba(201, 162, 39,  .10), transparent 70%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-navy); }

ul { list-style: none; margin: 0; padding: 0; }

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

p { margin: 0; }

/* キーボードで操作したときに、今どこにいるか分かるようにする */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 中身の横幅をそろえる箱 */
.container {
  width: 100%;
  max-width: var(--width-page);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: var(--width-narrow); }

.icon { display: block; }
.icon--tiny { display: inline-block; vertical-align: -2px; }


/* ------------------------------------------------------------
   ボタン
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
  text-decoration: none;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn--primary {
  background-color: var(--color-navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(47, 74, 107, .26);
}
.btn--primary:hover { background-color: #243953; transform: translateY(-2px); }

.btn--outline {
  background-color: #fff;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}
.btn--outline:hover { background-color: #EEF3F8; transform: translateY(-2px); }

.btn--small { padding: 10px 18px; font-size: 14px; }
.btn--wide  { min-width: 260px; }


/* ------------------------------------------------------------
   ヘッダー
   ------------------------------------------------------------ */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(251, 247, 240, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 39, .28);
}

.header__inner {
  width: 100%;
  max-width: var(--width-page);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-navy);
  margin-right: auto;
}

.header__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--color-bg-alt);
}

.header__name {
  font-size: 17px;
  font-weight: bold;
  letter-spacing: .02em;
}

/* スマートフォン用のメニューボタン。パソコンでは隠す */
.header__toggle {
  display: none;
  padding: 8px;
  background: none;
  border: 1px solid rgba(47, 74, 107, .25);
  border-radius: 10px;
  color: var(--color-navy);
  cursor: pointer;
}

.nav { display: flex; align-items: center; gap: 22px; }

.nav__list { display: flex; gap: 20px; }

.nav__list a {
  font-size: 15px;
  text-decoration: none;
  color: var(--color-text);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav__list a:hover {
  color: var(--color-navy);
  border-bottom-color: var(--color-gold);
}


/* ------------------------------------------------------------
   セクション1　ヒーロー
   ------------------------------------------------------------ */

.hero {
  padding: 48px 20px 72px;
  text-align: center;
}

.hero__inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero__image {
  width: min(420px, 86vw);
  height: auto;
  margin: 0 auto 28px;

  /* ロゴ画像の四すみが白いので、そのままだと背景に白い四角が浮いて見える。
     multiply を指定すると、白い部分が背景となじんで消える */
  mix-blend-mode: multiply;
}

.hero__title { margin-bottom: 22px; }

.hero__shop {
  display: block;
  font-size: 15px;
  letter-spacing: .28em;
  color: var(--color-text-soft);
  margin-bottom: 14px;
}

.hero__catch {
  display: block;
  font-size: clamp(23px, 5vw, 36px);
  font-weight: bold;
  color: var(--color-navy);
}

/* キャッチコピーの下に、ロゴの色のラインを1本引く */
.hero__title::after {
  content: "";
  display: block;
  width: 200px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg,
    var(--c1), var(--c2), var(--c3), var(--c4),
    var(--c5), var(--c6), var(--c7), var(--c8));
}

.hero__lead {
  font-size: 16px;
  color: var(--color-text-soft);
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}


/* ------------------------------------------------------------
   セクションの共通部分
   ------------------------------------------------------------ */

.section { padding: 76px 0; }

.section--about { background-color: var(--color-bg-alt); }
.section--works { background-color: transparent; }
.section--faq   { background-color: var(--color-bg-alt); }
.section--shop  { background-color: transparent; }

.section__label {
  text-align: center;
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.section__title {
  text-align: center;
  font-size: clamp(21px, 4vw, 29px);
  color: var(--color-navy);
  margin-bottom: 18px;
}

.section__lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
  color: var(--color-text-soft);
}


/* ------------------------------------------------------------
   セクション2　3つのこだわり（カード）
   ------------------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-sky);
}

/* カードごとに、上の線の色を変える */
.card:nth-child(1) { border-top-color: var(--c2); }
.card:nth-child(2) { border-top-color: var(--c5); }
.card:nth-child(3) { border-top-color: var(--c4); }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  color: var(--color-navy);
}

.card__title {
  font-size: 19px;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.card__text {
  font-size: 15px;
  color: var(--color-text-soft);
}


/* ------------------------------------------------------------
   セクション3　作品ギャラリー
   ------------------------------------------------------------ */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery__item {
  background-color: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery__caption {
  padding: 14px 16px;
  font-size: 14px;
  text-align: center;
  color: var(--color-text-soft);
}

.works__note {
  margin-top: 26px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-soft);
}


/* ------------------------------------------------------------
   セクション4　よくあるご質問
   ------------------------------------------------------------ */

.faq { display: grid; gap: 14px; }

.faq__item {
  background-color: var(--color-card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: bold;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
}
/* ブラウザが標準で付ける三角マークを消す */
.faq__q::-webkit-details-marker { display: none; }

.faq__mark {
  flex: 0 0 auto;
  color: var(--color-gold);
  transition: transform .22s ease;
}
.faq__item[open] .faq__mark { transform: rotate(180deg); }

.faq__a {
  padding: 0 22px 22px;
  font-size: 15px;
  color: var(--color-text-soft);
  border-top: 1px solid rgba(201, 162, 39, .22);
  padding-top: 16px;
}


/* ------------------------------------------------------------
   セクション5　ショップ・イベント
   ------------------------------------------------------------ */

.shop__ways {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 38px;
}

.shop__way {
  background-color: var(--color-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.shop__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  color: var(--color-navy);
}

.shop__wayTitle {
  font-size: 17px;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.shop__wayText {
  font-size: 15px;
  color: var(--color-text-soft);
}

.shop__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}


/* ------------------------------------------------------------
   フッター
   ------------------------------------------------------------ */

.footer {
  padding: 46px 0 34px;
  text-align: center;
  color: #fff;
  background-color: var(--color-navy);
}

/* フッターの上に、ロゴの色のラインを引く */
.footer {
  border-top: 5px solid transparent;
  border-image: linear-gradient(90deg,
    var(--c1), var(--c2), var(--c3), var(--c4),
    var(--c5), var(--c6), var(--c7), var(--c8)) 1;
}

.footer__name {
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 6px;
}

.footer__text {
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 22px;
}

.footer__links a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .5);
  padding-bottom: 2px;
}
.footer__links a:hover { border-bottom-color: var(--color-gold); }

.footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}


/* ------------------------------------------------------------
   スクロールしたときに、ふわっと出てくる動き
   （動きが苦手な方の設定は、一番下で無効にしています）
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* ============================================================
   タブレット（横幅 900px 以下）
   ============================================================ */

@media (max-width: 900px) {

  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  /* メニューボタンを表示する */
  .header__toggle { display: block; }

  /* メニューは、ボタンを押すまで隠しておく */
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background-color: var(--color-bg);
    border-bottom: 1px solid rgba(201, 162, 39, .3);
    box-shadow: 0 10px 24px rgba(61, 55, 48, .1);
  }
  .nav.is-open { display: flex; }

  .nav__list { flex-direction: column; gap: 0; }

  .nav__list a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(61, 55, 48, .1);
  }

  .nav .btn { margin-top: 16px; }

  .header__inner { position: relative; }
}


/* ============================================================
   スマートフォン（横幅 600px 以下）
   ============================================================ */

@media (max-width: 600px) {

  body { font-size: 15px; line-height: 1.85; }

  .section { padding: 56px 0; }

  .hero { padding: 32px 20px 56px; }
  .hero__image { width: min(320px, 82vw); margin-bottom: 22px; }

  /* ボタンは縦に並べて、指で押しやすい大きさにする */
  .hero__actions,
  .shop__actions { flex-direction: column; }

  .hero__actions .btn,
  .shop__actions .btn { width: 100%; padding: 16px 20px; }

  .btn--wide { min-width: 0; }

  .gallery { grid-template-columns: 1fr; gap: 16px; }

  .shop__ways { grid-template-columns: 1fr; }

  .faq__q { padding: 16px 18px; font-size: 15px; }
  .faq__a { padding: 14px 18px 18px; }

  .header__name { font-size: 15px; }
  .header__logo { width: 38px; height: 38px; }
}


/* ============================================================
   動きを減らす設定をしている方には、動きを止める
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
  .faq__mark { transition: none; }
}
