@charset "UTF-8";

/* =========================================================
   ぶぃまーるdesign
   ========================================================= */

:root {
  --text: #403933;
  --text-light: #756d65;
  --gold: #b58b45;
  --gold-dark: #9c7436;
  --paper: rgba(255, 253, 249, 0.95);
  --paper-soft: rgba(255, 253, 249, 0.90);
  --line: rgba(181, 139, 69, 0.22);
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.04em;

  /* 大理石背景をbody全体に表示 */
  background-color: #eee9e1;
  background-image: url("images/back.jpeg");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-attachment: fixed;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}


/* =========================================================
   全体
   ========================================================= */

.site {
  width: min(88%, var(--max-width));
  margin: 0 auto;
  background: transparent;
}


/* =========================================================
   Header
   ========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 249, 0.97);
  border-bottom: 1px solid rgba(181, 139, 69, 0.13);
  box-shadow: 0 3px 15px rgba(73, 61, 47, 0.04);
}

.header-inner {
  min-height: 88px;
  padding: 0 70px;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand img {
  width: 58px;
  height: 58px;
  max-width: 58px;
  flex: 0 0 58px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-sub {
  margin-top: 8px;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: 0.18em;
}

/* ナビゲーションを右寄せ */
.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 42px;
}

.nav a {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}


/* =========================================================
   First View
   ========================================================= */

.hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #eee5d9;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 249, 241, 0.98) 0%,
      rgba(255, 249, 241, 0.90) 32%,
      rgba(255, 249, 241, 0.48) 58%,
      rgba(255, 249, 241, 0.08) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 500px;
  padding: 60px 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-style: italic;
  letter-spacing: 0.1em;
}

.hero h1 {
  font-size: clamp(38px, 4vw, 55px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.05em;
}

.gold-line,
.title-line {
  display: block;
  width: 43px;
  height: 1px;
  background: var(--gold);
}

.gold-line {
  margin: 19px 0 20px;
}

.hero-text {
  margin-bottom: 27px;
  color: var(--text-light);
  font-size: 14px;
  line-height: 2;
}

.gold-button {
  min-width: 205px;
  padding: 12px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

.gold-button span {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  line-height: 1;
}

.gold-button:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
}


/* =========================================================
   Section 共通
   各セクションを「ひとまとまり」に見せる
   ========================================================= */

.section {
  margin-top: 18px;
  padding: 48px 70px;
  background: var(--paper);
  border: 1px solid rgba(181, 139, 69, 0.12);
  box-shadow: 0 8px 30px rgba(73, 61, 47, 0.08);
}

.section-heading {
  margin-bottom: 32px;
}

.section-label {
  margin-bottom: 5px;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.section-heading h2 {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.section-heading .title-line {
  margin-top: 14px;
}


/* =========================================================
   About
   ========================================================= */

.about {
  display: grid;
  grid-template-columns: 260px 1fr;
  column-gap: 65px;
  align-items: start;
}

.about .section-heading {
  margin-bottom: 0;
}

.about-content {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 42px;
  padding-top: 3px;
}

.about-lead {
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 19px;
  line-height: 1.9;
}

.about-text {
  color: var(--text-light);
  font-size: 13px;
  line-height: 2.05;
}

.about-text p + p {
  margin-top: 16px;
}

.about-text strong {
  color: var(--gold-dark);
  font-weight: 500;
}


/* =========================================================
   Design
   ========================================================= */

.design {
  display: grid;
  grid-template-columns: 260px 1fr;
  column-gap: 65px;
  align-items: start;
}

.design .section-heading {
  margin-bottom: 0;
}

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

.design-card {
  min-height: 225px;
  padding: 27px 25px 23px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(181, 139, 69, 0.13);
  box-shadow: 0 5px 18px rgba(73, 61, 47, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.design-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(73, 61, 47, 0.10);
}

.card-icon {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 30px;
  line-height: 1;
}

.design-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.design-card p {
  color: var(--text-light);
  font-size: 11px;
  line-height: 1.9;
}

.card-link {
  margin-top: auto;
  padding-top: 16px;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  letter-spacing: 0.03em;
}

.card-link:hover {
  opacity: 0.65;
}


/* =========================================================
   Contact
   ========================================================= */

.contact {
  display: grid;
  grid-template-columns: 260px 1fr;
  column-gap: 65px;
  align-items: start;
}

.contact .section-heading {
  margin-bottom: 0;
}

.contact-content {
  max-width: 680px;
}

.contact-intro {
  margin-bottom: 28px;
  color: var(--text-light);
  font-size: 13px;
  line-height: 2;
}

.contact-intro p + p {
  margin-top: 10px;
}

/* 入力欄はすべて縦並び */
.contact-form {
  width: 100%;
}

.form-item {
  width: 100%;
  margin-bottom: 20px;
}

.form-item label {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.form-item input,
.form-item textarea {
  display: block;
  width: 100%;
  border: 1px solid rgba(181, 139, 69, 0.24);
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.form-item input {
  height: 46px;
  padding: 9px 13px;
}

.form-item textarea {
  min-height: 170px;
  padding: 11px 13px;
  resize: vertical;
}

.form-item input:focus,
.form-item textarea:focus {
  border-color: var(--gold);
  background: #fff;
}

.form-item input::placeholder,
.form-item textarea::placeholder {
  color: #b5ada5;
}

.submit-button {
  width: 170px;
  min-width: 170px;
  margin-top: 3px;
  margin-left: auto;
  display: flex;
}


/* =========================================================
   Footer
   ========================================================= */

.footer {
  margin-top: 18px;
  padding: 25px 20px;
  background: rgba(255, 253, 249, 0.94);
  border-top: 1px solid rgba(181, 139, 69, 0.12);
  text-align: center;
}

.footer p {
  color: var(--text-light);
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  letter-spacing: 0.08em;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1000px) {

  .site {
    width: 92%;
  }

  .header-inner,
  .hero-content,
  .section {
    padding-left: 45px;
    padding-right: 45px;
  }

  .brand img {
    width: 52px;
    height: 52px;
    max-width: 52px;
    flex-basis: 52px;
  }

  .brand-name {
    font-size: 23px;
  }

  .nav ul {
    gap: 28px;
  }

  .about,
  .design,
  .contact {
    grid-template-columns: 210px 1fr;
    column-gap: 35px;
  }

  .about-content {
    gap: 25px;
  }

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

  .design-card {
    min-height: auto;
  }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 700px) {

  body {
    background-attachment: scroll;
    background-size: auto 100%;
    background-position: center top;
  }

  .site {
    width: 94%;
  }

  /* =========================
     Header
     ========================= */

  .header-inner {
    min-height: 64px;
    padding: 0 14px;
  }

  .brand {
    gap: 6px;
  }

  /* ロゴを小さく */
  .brand img {
    width: 30px;
    height: 30px;
    max-width: 30px;
    flex-basis: 30px;
  }

  /* 屋号の文字を小さく */
  .brand-name {
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  .brand-sub {
    margin-top: 4px;
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  .nav {
    margin-left: auto;
  }

  .nav ul {
    gap: 11px;
  }

  .nav a {
    font-size: 12px;
  }


  /* =========================
     First View
     ========================= */

  .hero {
    min-height: 480px;
  }

  .hero-image img {
    height: 480px;

    /* 画像の右側を見せる */
    object-position: 70% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(255, 249, 241, 0.98) 0%,
        rgba(255, 249, 241, 0.88) 35%,
        rgba(255, 249, 241, 0.42) 62%,
        rgba(255, 249, 241, 0.08) 100%
      );
  }

  /* 文字を上部へ */
  .hero-content {
    min-height: 480px;
    padding: 55px 22px 30px;
    justify-content: flex-start;
  }

  .hero-label {
    margin-bottom: 8px;
    font-size: 17px;
  }

  .hero h1 {
    font-size: 29px;
    line-height: 1.5;
  }

  .gold-line {
    margin: 15px 0 17px;
  }

  .hero-text {
    margin-bottom: 22px;
    font-size: 12px;
    line-height: 1.9;
  }

  .gold-button {
    width: auto;
    min-width: 190px;
  }


  /* =========================
     Sections
     ========================= */

  .section {
    margin-top: 14px;
    padding: 35px 22px;
    display: block;
  }

  .section-heading {
    margin-bottom: 25px;
  }

  .section-label {
    font-size: 19px;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .about-content {
    display: block;
  }

  .about-lead {
    margin-bottom: 22px;
    font-size: 16px;
  }

  .about-text {
    font-size: 13px;
  }

  .about-text p + p {
    margin-top: 15px;
  }

  .design-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .design-card {
    min-height: 185px;
    padding: 25px 22px;
  }

  .contact-content {
    max-width: none;
  }

  .contact-intro {
    font-size: 12px;
  }

  .form-item {
    margin-bottom: 18px;
  }

  .form-item input {
    height: 48px;
  }

  .form-item textarea {
    min-height: 170px;
  }

  .submit-button {
    width: 100%;
    min-width: 0;
  }
}