:root {
  --general_width:clamp(960px,75vw,1440px);
  --topbar_hegiht:72px;
  --phone:20px;
  --date:12px;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #F5F5F5;
  font-family: 'Noto Sans JP', system-ui, -apple-system, 'Segoe UI', Roboto, 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

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

.abs {
  position: absolute;
}

/* page wrapper */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  position: relative;
  width: var(--general_width);
  margin: 0 auto;
  background: #F5F5F5;
}

/* top bar */
.topbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
  width: var(--general_width);
  height: var(--topbar_hegiht);
  background: #333333;
  position:fixed;
  z-index:9999;
}

.logo {
  width: max-content;
  height: 40px;
  position: relative;
}

/* ここにロゴSVGを差し替え */
.logo img {
  inset: 0;
  width: max-content;
  height: 40px;
  object-fit: contain;
}

/* nav */
.nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  gap: 2em;
  width: max-content;
  height: max-content;
}

.nav .nav-contents {
  width: max-content;
  height: max-content;
      font-weight: 300;
      font-size: 16px;
      letter-spacing: .16em;
}

.nav a {
    text-decoration: none;
    color:#fff;
}

.nav .nav-2 {
  width: 71px;
}

/* お問い合わせボタン */
.btn-inquiry {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 12px;
  gap: 10px;
  margin: 0 auto;
  width: max-content;
  height: 40px;
  background: #FF9900;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .12em;
   transition-property: all;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: .16em;
  color: #323232 !important;
}

.btn-inquiry:hover {
  background: #111;
  color:#fff  !important;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease;
}

/* main area */
.main-area {
  position: relative;
  top:var(--topbar_hegiht);
  width: 100%;
  background: #FFFFFF;
  flex: none;
  flex-grow: 0;
  display: block;
}

/* Hero */
.hero .img {
  position: relative;
  width: 100%;
  height: 425px;
  background: #222 center/cover no-repeat;
}

/* 画像差し替え */
.hero .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.hero .bar {
  width: 100%;
  height: max-content;
  padding: 20px 20px;
  background: #333;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.layer {
  position:absolute;
  top:0; left:0;
  height:100%; width:100%;
  background:#0008;
}

.contact_set {
  display: flex;
  flex-direction:row;
  align-items:center;
  justify-content: center;
  gap:1em;
}

.contact_phone {
  color:#fff;
  font-weight:300;
  letter-spacing:0.1em;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content: center;
  gap:4px;
}

.date {
  font-size:var(--date);
  line-height: var(--date);
}

.phone {
  font-size:var(--phone);
  line-height: var(--phone);
}

.contact_us {
  position:fixed;
  bottom:30px;
  right:30px;
  z-index:9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact_us_sentence {
  width:140px;
  height:max-content;
  padding:5px;
  border-radius:5%;
  color:#000;
  font-size:16px;
  font-weight:300;
  z-index:9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact_us_qr {
  width:140px;
  padding:5px;
  border-radius:5%;
  aspect-ratio: 1;
  background:center / contain no-repeat url(images/L_gainfriends_2dbarcodes_BW.png),#fff;
  border:solid 1px #000;
  color:#000;
  font-size:28px;
  font-weight:300;
  z-index:9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-copy {
  position: absolute;
  width: max-content;
  height: max-content;
  right: 100px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 36px;
}

.hero .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.hero-title {
  width: max-content;
  height: max-content;
  font-weight: 700;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: .1em;
  color: #FFF;
  text-align: center;
}

.hero-lead {
  width: max-content;
  height: max-content;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: .1em;
  color: #FFF;
  text-align: left;
}

/* リード */
.lead-wrap {
  width: 983px;
  height: 49px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.lead-ttl {
  width: fit-content;
  height: fit-content;
  font-weight: 400;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: .1em;
  color: #000;
  text-align: center;
}

.lead-u {
  width: 226px;
  height: 5px;
  background: #FF9900;
}

.lead-desc {
  width: 100%;
  height: fit-content;
  font-weight: 350;
  font-size: 16px;
  line-height: 1.8em;
  text-align: left;
  letter-spacing: .1em;
  color: #000;
  padding: 0 100px;
}

/* セクション本体の共通ラッパー */
.section-body {
  width: 100%;
  height: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3em;
  padding-top: 5em;
}

/* ボタン：現在のラインナップ一例へ */
.btn-lineup {
  width: 315px;
  height: 54px;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-lineup span {
  color: #FFF;
  font-weight: 350;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: .1em;
}

/* 理由セクション */
.features {
  width: 100%;
  height: max-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.features-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  height: max-content;
  padding: 5em 100px 0 100px;
}

.features-inner-LR {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap:2em;
  width:100%;
}

.features-Sent, .features-Pic {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width:max-content;
}

.features-Sent {
  min-width: 400px;
}

#chirashi img {
  border:solid 1px #000;
}

.h2-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  width: max-content;
  height: 40px;
}

.bar6 {
  width: 6px;
  height: 40px;
  background: #FF9900;
}

.h2 {
  width: max-content;
  height: 38px;
  font-weight: 350;
  font-size: 32px;
  line-height: 38px;
  letter-spacing: .1em;
  color: #000;
}

.feature-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  height: max-content;
}

.b {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.h3 {
  font-weight: 350;
  font-size: 24px;
  line-height: 29px;
  color: #000;
  display: flex;
  align-items: center;
}

.u32 {
  width: 32px;
  height: 4px;
  background: #FF9900;
}

.p {
  font-weight: 350;
  font-size: 16px;
  line-height: 1.8em;
  color: #333;
  display: flex;
  align-items: center;
  width: fit-content;
}

/* 私たちの約束 */
.promise {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 767px;
  height: 584px;
}

/* 小見出しも共通の .h2-row / .h2 を再利用 */
.promise-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 100%;
  height: max-content;
}

.photo {
  position: absolute;
  width: 439px;
  height: 348px;
  left: 831px;
  top: 118px;
  background: #D9D9D9;
}

.photo-label {
  position: absolute;
  width: 192px;
  height: 38px;
  left: 963px;
  top: 260px;
  font-weight: 350;
  font-size: 16px;
  line-height: 19px;
  display: flex;
  align-items: center;
  color: #000;
}

/* Googleフォーム枠 */
.gform {
  position: relative;
}

.gform .box {
  width: 100%;
  background: #D9D9D9;
}

/* フッター */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7em 0;
  gap: 7em;
  width: 100%;
  height: max-content;
  background: #444444;
  position:relative;
  top:var(--topbar_hegiht);
}

.footer-link {
  width: max-content;
  height: max-content;
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  letter-spacing: .1em;
  color: #FFFFFF;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 80px;
  width: max-content;
  height: max-content;
}

.copyright {
  color: #FFFFFF;
  font-family: 'Bruno Ace', system-ui;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: .1em;
  text-align: center;
}

/* 追加の安定化（フッター位置／折り返し対策） */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

.hero {
      position: relative;
      display: block;
}

/* 主要見出しなどは折り返さない */
.hero-title,
.hero-lead,
.hero,
.nav a,
.lead-ttl,
.h2,
.headline-156,
.headline-133 {
  white-space: nowrap;
}
