@charset "UTF-8";

/* ==========================================================
   株式会社ゴールドピース コーポレートサイト 共通スタイル
   全ページで読み込む共通CSSです。
   ========================================================== */
:root {
  color-scheme: light;
  --ink: #141414;
  --ink-2: #1E1D1B;
  --paper: #F4F4F1;
  --white: #FFFFFF;
  --gold: #B8924A;
  --gold-lt: #D8BD84;
  --muted: #6B675F;
  --line: #DCD9D2;
  --line-dk: #34322E;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --latin: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --wrap: 1120px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 40px)
}

/* header */
.hdr {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  color: var(--ink);
  border-bottom: 1px solid var(--line)
}

.hdr .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px
}

.hdr .logo {
  display: block;
  height: 26px;
  color: var(--ink)
}

.hdr .logo img {
  height: 100%;
  width: auto;
  display: block
}

.nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 32px);
  font-family: var(--latin);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding-block: 6px;
  border-bottom: 1px solid transparent
}

.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--gold)
}

.menu-btn {
  display: none
}

@media (max-width:760px) {
  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0 10px;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--ink)
  }

  .menu-btn span {
    display: block;
    height: 1.5px;
    background: currentColor;
    transition: transform .25s ease, opacity .2s ease
  }

  .menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg)
  }

  .menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0
  }

  .menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg)
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px clamp(16px, 5vw, 40px) 20px;
    font-size: 14px;
    letter-spacing: .2em;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none
  }

  .nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block: 14px;
    border-bottom: 1px solid var(--line);
    color: var(--ink)
  }

  .nav a::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--gold);
    flex: none
  }

  .nav a:last-child {
    border-bottom: 0
  }
}

@media (prefers-reduced-motion:reduce) {

  .menu-btn span,
  .nav {
    transition: none
  }
}

/* hero */
.hero {
  background: var(--white);
  color: var(--ink);
  position: relative;
  overflow: hidden
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .5fr);
  align-items: center;
  gap: 40px;
  padding-block: clamp(72px, 11vw, 140px)
}

.eyebrow {
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--gold);
  flex: none
}

.hero h1 .ln {
  display: inline-block;
  white-space: nowrap
}

.hero h1 {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(22px, 3.4vw, 44px);
  line-height: 1.6;
  letter-spacing: .06em;
  margin: 0 0 28px;
  text-wrap: balance
}

.hero h1 .en {
  font-family: var(--latin);
  font-weight: 300;
  font-size: 1em;
  letter-spacing: .06em;
  color: var(--gold);
  margin-inline: .12em
}

.hero p.lead {
  color: #4A4741;
  max-width: 36em;
  margin: 0
}

.hero .mark {
  justify-self: end;
  width: min(100%, 240px);
  color: var(--ink)
}

.hero .mark img {
  width: 100%;
  height: auto;
  display: block
}

@media (max-width:760px) {
  .hero .wrap {
    grid-template-columns: 1fr
  }

  .hero .mark {
    justify-self: start;
    width: 120px;
    order: -1
  }
}

/* sections */
section {
  padding-block: clamp(72px, 10vw, 120px)
}

.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 48px
}

.sec-head .en {
  font-family: var(--latin);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0
}

.sec-head .en::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--gold);
  flex: none
}

.sec-head h2 {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.6;
  letter-spacing: .06em;
  margin: 0;
  text-wrap: balance
}

@media (max-width:760px) {
  .sec-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px
  }
}

.body-col {
  margin-left: calc(220px + 48px);
  max-width: 40em
}

.body-col p {
  margin: 0 0 1.2em
}

@media (max-width:760px) {
  .body-col {
    margin-left: 0
  }
}

/* about */
.about {
  background: var(--white)
}

.names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  margin-top: 40px
}

.names div {
  padding: 28px 28px 28px 0
}

.names div+div {
  border-left: 1px solid var(--line);
  padding-left: 28px
}

.names b {
  display: block;
  font-family: var(--latin);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: .12em;
  margin-bottom: 6px
}

.names b span {
  color: var(--gold)
}

.names small {
  color: var(--muted);
  font-size: 13px
}

@media (max-width:560px) {
  .names {
    grid-template-columns: 1fr
  }

  .names div+div {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0
  }
}

.gp {
  font-family: var(--latin);
  font-weight: 500;
  font-size: 1.3em;
  letter-spacing: .12em;
  margin-inline: .15em;
  white-space: nowrap
}

.gp span {
  color: var(--gold)
}

/* service */
.svc-list {
  border-top: 1px solid var(--line)
}

.svc {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px 48px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line)
}

.svc h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.6
}

.svc h3 small {
  display: block;
  font-family: var(--latin);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px
}

.svc p {
  margin: 0;
  color: #3D3A35;
  max-width: 40em
}

.svc ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.svc li {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 2px 12px;
  color: var(--muted);
  background: var(--white)
}

@media (max-width:760px) {
  .svc {
    grid-template-columns: 1fr
  }
}

/* policy + value (dark band) */
.policy {
  background: var(--ink-2);
  color: var(--white)
}

.policy .sec-head h2 {
  color: var(--white)
}

.policy .body-col p {
  color: #C9C4BA
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dk);
  border: 1px solid var(--line-dk);
  margin-top: 56px
}

.value {
  background: var(--ink-2);
  padding: 32px 28px
}

.value .en {
  font-family: var(--latin);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .1em;
  color: var(--gold-lt);
  margin: 0 0 4px
}

.value .ja {
  font-size: 13px;
  color: #A9A398;
  margin: 0 0 16px
}

.value p {
  margin: 0;
  color: #D6D1C7;
  font-size: 14px
}

@media (max-width:760px) {
  .values {
    grid-template-columns: 1fr
  }
}

/* representative */
.rep {
  background: var(--ink);
  color: var(--white)
}

.rep .sec-head h2 {
  color: var(--white)
}

.rep-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px 48px
}

.rep-name .role {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--gold-lt);
  margin: 0 0 10px
}

.rep-name .ja {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: .14em;
  line-height: 1.4;
  margin: 0
}

.rep-name .en {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  letter-spacing: .2em;
  color: #A9A398;
  margin: 6px 0 0
}

.rep-body {
  max-width: 40em
}

.rep-body p {
  margin: 0 0 1.2em;
  color: #D6D1C7
}

.career {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-dk)
}

.career li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 4px 24px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line-dk);
  color: #D6D1C7;
  font-size: 14px
}

.career .y {
  font-family: var(--latin);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--gold-lt);
  font-variant-numeric: tabular-nums
}

@media (max-width:760px) {
  .rep-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:560px) {
  .career li {
    grid-template-columns: 1fr
  }
}

/* profile */
.profile {
  background: var(--white)
}

.tbl {
  width: 100%;
  border-collapse: collapse
}

.tbl th,
.tbl td {
  text-align: left;
  vertical-align: top;
  padding: 14px 0;
  font-weight: 400
}

.tbl th {
  width: 200px;
  color: var(--muted);
  font-size: 13px;
  padding-right: 24px
}

.tbl td ol {
  margin: 0;
  padding-left: 1.4em
}

@media (max-width:560px) {

  .tbl th,
  .tbl td {
    display: block;
    width: auto;
    padding: 0
  }

  .tbl th {
    padding-top: 18px
  }

  .tbl td {
    padding: 4px 0 18px
  }
}

/* news */
.news {
  background: var(--ink);
  color: var(--white)
}

.news .news-list,
.news .news-list li {
  border-color: var(--line-dk)
}

.news time {
  color: #A9A398
}

.news .tag {
  color: var(--gold-lt);
  border-color: var(--gold-lt)
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line)
}

.news-list li {
  display: grid;
  grid-template-columns: 140px 110px minmax(0, 1fr);
  gap: 8px 24px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  align-items: baseline
}

.news-list time {
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums
}

.tag {
  font-size: 11px;
  letter-spacing: .1em;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 1px 10px;
  justify-self: start
}

@media (max-width:560px) {
  .news-list li {
    grid-template-columns: auto auto;
  }

  .news-list li span.t {
    grid-column: 1/-1
  }
}

/* contact */
.contact {
  background: var(--paper)
}

.form-slot {
  border: 1px dashed #B9B4AA;
  background: var(--white);
  padding: clamp(24px, 4vw, 48px)
}

.form-slot .note {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: .1em;
  margin: 0 0 16px;
  font-weight: 700
}

.form-slot ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  columns: 2;
  column-gap: 40px
}

@media (max-width:560px) {
  .form-slot ul {
    columns: 1
  }
}

.tel {
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted)
}

.tel b {
  font-family: var(--latin);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .08em;
  color: var(--ink);
  margin-left: 12px
}

/* footer */
.ftr {
  background: var(--white);
  color: var(--muted);
  font-size: 12.5px;
  border-top: 1px solid var(--line)
}

.ftr .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-block: 56px 40px
}

.ftr .logo {
  height: 26px;
  color: var(--ink);
  margin-bottom: 20px
}

.ftr .logo img {
  height: 100%;
  width: auto;
  display: block
}

.ftr address {
  font-style: normal;
  line-height: 1.9
}

.ftr .copy {
  font-family: var(--latin);
  letter-spacing: .12em;
  font-size: 11px;
  align-self: flex-end
}

/* ----------------------------------------------------------
   下層ページ（確認・完了ページなど）用
   ---------------------------------------------------------- */
body.subpage,
.page {
  background: var(--white)
}

.page-sec {
  min-height: 50vh
}

.page-body {
  max-width: 40em
}

.page-body p {
  margin: 0 0 1.2em
}

/* フォーム */
button, textarea, select, input {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  color: inherit;
  appearance: none;
}
input[type=radio],
input[type=checkbox] {
  position: absolute;
  opacity: 0;
}
.contact {
  select {
    display: inline-block;
    width: 500px;
    max-width: 100%;
    padding: 20px;
    background: #fff;
    font-size: 18px;
    line-height: 1.4;
    overflow: hidden;
  }
  .form_txt {
    width: 100%;
    padding: 20px;
    background: #fff;
    font-size: 18px;
    line-height: 1.4;
  }
  
  dt {
    margin: min(4%, 30px) 0 min(2%, 15px);
    font-weight: 400;
    span {
      color: var(--gold);
    }
  }
  dd {
    margin: 0;
  }
  .form_btn {
    display: block;
    width: min(86%, 300px);
    margin: min(4%, 60px) auto 0;
    padding: 0.8em;
    color: #fff;
    font-size: 18px;
    background: var(--gold);
    transition: all 0.3s linear;
    font-family: "游ゴシック", Yu Gothic, YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
    font-weight: 400;
    cursor: pointer;
    &:hover {
      opacity: 0.7;
    }
  }
}

/* フォーム下層 */
.confirm_area {
  max-width: 1000px;
  margin: auto;
  dt {
    margin: min(6%, 40px) 0 min(3%, 20px);
    font-weight: 400;
    span {
      color: var(--gold);
    }
  }
  .next_btn {
    display: block;
    width: min(86%, 300px);
    margin: min(4%, 60px) auto;
    padding: 0.8em;
    color: #fff;
    font-size: 18px;
    background: var(--gold);
    transition: all 0.3s linear;
    font-family: "游ゴシック", Yu Gothic, YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
    font-weight: 400;
    cursor: pointer;
    &:hover {
      opacity: 0.7;
    }
  }
  .prev_btn {
    display: block;
    width: min(50%, 150px);
    margin: auto;
    padding: 10px 0;
    background: #bbb;
    color: #fff;
    font-size: 18px;
    border: 1px solid #fff;
    transition: all 0.3s linear;
    cursor: pointer;
    &:hover {
      opacity: 0.7;
    }
  }
}

.complete_area {
  max-width: 800px;
  margin: auto;
  padding: min(18%, 138px) 6%;
  h2 {
    padding: 0 0 min(8%, 60px);
    font-size: 48px;
    text-align: center;
  }
  p {
    line-height: 1.8;
  }
}
