@charset "UTF-8";

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

: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.20);
  --shadow: rgba(73, 61, 47, 0.08);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--text);
  background-color: #eee9e1;
  background-image: url("images/back.jpeg");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 100% auto;
  background-attachment: fixed;
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

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

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

ul {
  list-style: none;
}


/* =========================================================
   Site
   ========================================================= */

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


/* =========================================================
   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;
  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;
  gap: 38px;
}

.nav a {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  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%;
}


/* =========================================================
   Common
   ========================================================= */

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

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

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

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

.title-line {
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 14px;
  background: var(--gold);
}


/* =========================================================
   Portfolio Hero
   ========================================================= */

.portfolio-hero {
  min-height: 430px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      135deg,
      rgba(255, 253, 249, 0.98),
      rgba(248, 244, 236, 0.90)
    );
  border: 1px solid rgba(181, 139, 69, 0.12);
  box-shadow: 0 8px 30px var(--shadow);
}

.portfolio-hero-inner {
  width: 100%;
  padding: 70px;
}

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

.portfolio-hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.gold-line {
  display: block;
  width: 50px;
  height: 1px;
  margin: 22px 0;
  background: var(--gold);
}

.hero-copy {
  color: var(--text-light);
  font-size: 14px;
  line-height: 2.1;
}


/* =========================================================
   Intro
   ========================================================= */

.intro-inner {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 80px;
  align-items: start;
}

.intro-lead {
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 27px;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

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

.intro-text p + p {
  margin-top: 18px;
}


/* =========================================================
   Work
   ========================================================= */

.work + .work,
.work-group + .work,
.work + .work-group,
.work-group + .work-group {
  margin-top: 90px;
}

.work {
  padding-top: 10px;
}

.work-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}

.work-number,
.banner-number {
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.work-heading h3 {
  margin-top: 7px;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.work-category {
  color: var(--text-light);
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.75fr);
  gap: 42px;
  align-items: start;
}

.work-main-image,
.single-image,
.lp-image {
  overflow: hidden;
  background: #f4f0e9;
  border: 1px solid rgba(181, 139, 69, 0.12);
}

.work-main-image img,
.single-image img,
.lp-image img {
  height: auto;
  transition: transform 0.6s ease;
}

.work-main-image:hover img,
.single-image:hover img,
.lp-image:hover img {
  transform: scale(1.015);
}

.work-info {
  padding-top: 6px;
}

.work-label {
  margin-bottom: 9px;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  letter-spacing: 0.08em;
}

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

.work-details {
  margin-top: 28px;
  border-top: 1px solid rgba(181, 139, 69, 0.15);
}

.work-details > div {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(181, 139, 69, 0.12);
  font-size: 11px;
  line-height: 1.7;
}

.work-details dt {
  color: var(--gold-dark);
}

.work-details dd {
  color: var(--text-light);
}

.sub-images {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.sub-images.four {
  grid-template-columns: repeat(4, 1fr);
}

.sub-images.three {
  grid-template-columns: repeat(3, 1fr);
}

.sub-images img {
  border: 1px solid rgba(181, 139, 69, 0.10);
  background: #f4f0e9;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.sub-images img:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}


/* =========================================================
   Single Works
   ========================================================= */

.single-work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.8fr);
  gap: 60px;
  align-items: center;
}

.single-work-layout.reverse {
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.05fr);
}

.single-work-layout.reverse .single-image {
  order: 2;
}

.single-work-layout.reverse .work-info {
  order: 1;
}


/* =========================================================
   Banner Group
   ========================================================= */

.group-heading {
  max-width: 620px;
  margin-bottom: 35px;
}

.group-heading h3 {
  margin-top: 7px;
  font-size: 25px;
  font-weight: 400;
}

.group-heading > p:last-child {
  margin-top: 14px;
  color: var(--text-light);
  font-size: 13px;
  line-height: 2;
}

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

.banner-work {
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(181, 139, 69, 0.13);
  box-shadow: 0 5px 18px rgba(73, 61, 47, 0.05);
}

.banner-image {
  overflow: hidden;
  background: #f3efe8;
}

.banner-image img {
  transition: transform 0.5s ease;
}

.banner-work:hover .banner-image img {
  transform: scale(1.02);
}

.banner-number {
  margin-top: 18px;
  font-size: 13px;
}

.banner-work h4 {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 400;
}

.banner-work > p:last-child {
  margin-top: 8px;
  color: var(--text-light);
  font-size: 11px;
  line-height: 1.9;
}


/* =========================================================
   LP
   ========================================================= */

.lp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.7fr);
  gap: 55px;
  align-items: center;
}

.lp-image {
  background: #f4f0e9;
}


/* =========================================================
   Social
   ========================================================= */

.social-work {
  padding-top: 10px;
}

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

.social-grid > div {
  overflow: hidden;
  background: #f4f0e9;
  border: 1px solid rgba(181, 139, 69, 0.12);
  box-shadow: 0 5px 18px rgba(73, 61, 47, 0.05);
}

.social-grid img {
  transition: transform 0.5s ease;
}

.social-grid > div:hover img {
  transform: scale(1.025);
}


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

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

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

.contact-content {
  max-width: 680px;
  color: var(--text-light);
  font-size: 13px;
  line-height: 2.1;
}

.contact-content p + p {
  margin-top: 14px;
}

.contact-content .gold-button {
  margin-top: 30px;
}


/* =========================================================
   Button
   ========================================================= */

.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:
    background 0.3s ease,
    color 0.3s ease,
    transform 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);
}


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

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

.footer-brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.footer p {
  margin-top: 4px;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.footer small {
  display: block;
  margin-top: 18px;
  color: var(--text-light);
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: 0.08em;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1000px) {

  .header-inner {
    padding: 0 45px;
  }

  .section {
    padding: 55px 45px;
  }

  .portfolio-hero-inner {
    padding: 55px 45px;
  }

  .intro-inner {
    gap: 40px;
  }

  .work-grid,
  .single-work-layout,
  .single-work-layout.reverse,
  .lp-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .single-work-layout.reverse .single-image,
  .single-work-layout.reverse .work-info {
    order: initial;
  }

  .banner-feature-grid {
    grid-template-columns: 1fr;
  }

  .banner-work {
    padding: 20px;
  }

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

  .contact-inner {
    grid-template-columns: 210px 1fr;
    gap: 35px;
  }
}


@media (max-width: 700px) {

  body {
    background-attachment: scroll;
    background-size: auto 100%;
    font-size: 14px;
  }

  .site {
    width: 94%;
  }

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

  .brand {
    gap: 7px;
  }

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

  .brand-name {
    font-size: 14px;
    letter-spacing: 0.03em;
  }

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

  .nav ul {
    gap: 13px;
  }

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

  .portfolio-hero {
    min-height: 390px;
    margin-top: 12px;
  }

  .portfolio-hero-inner {
    padding: 48px 22px;
  }

  .eyebrow {
    font-size: 20px;
  }

  .portfolio-hero h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 12px;
  }

  .section {
    margin-top: 12px;
    padding: 40px 22px;
  }

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

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

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

  .intro-inner {
    display: block;
  }

  .intro-lead {
    margin-bottom: 24px;
    font-size: 22px;
  }

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

  .work + .work,
  .work-group + .work,
  .work + .work-group,
  .work-group + .work-group {
    margin-top: 62px;
  }

  .work-heading {
    display: block;
    margin-bottom: 20px;
  }

  .work-heading h3 {
    font-size: 18px;
  }

  .work-category {
    margin-top: 7px;
    font-size: 13px;
  }

  .work-grid {
    gap: 24px;
  }

  .work-info {
    padding-top: 0;
  }

  .work-label {
    font-size: 16px;
  }

  .work-concept {
    font-size: 12px;
  }

  .work-details {
    margin-top: 22px;
  }

  .sub-images.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .sub-images.three {
    grid-template-columns: 1fr;
  }

  .single-work-layout {
    gap: 25px;
  }

  .single-work-layout.reverse {
    display: flex;
    flex-direction: column;
  }

  .single-work-layout.reverse .single-image {
    order: 1;
  }

  .single-work-layout.reverse .work-info {
    order: 2;
  }

  .group-heading h3 {
    font-size: 21px;
  }

  .banner-feature-grid {
    gap: 16px;
  }

  .banner-work {
    padding: 14px;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .contact-inner {
    display: block;
  }

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

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

  .gold-button {
    width: 100%;
  }

  .footer {
    padding: 30px 15px;
  }
}
