@charset "UTF-8";

html {
  font-size: 62.5%;
}

*,
*::before,
*::after,
h1 {
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
  margin: 0;
}

p {
  line-height: 28px;
}

a,
button {
  color: #111;
}

/* Google Fonts から読み込む場合 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap");

.en {
  font-family: "Inter", "Noto Sans JP", sans-serif;
}

body {
  width: 100%;
  max-width: 100%;
  font-size: 1.6rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.center {
  text-align: center;
}

.underline {
  text-decoration: underline;
}

:root {
  --bg: #fff;
  --text: #111;
  --muted: #666;
  --brand-row-height: 56px;
  --container: 90%;
}
html,
body {
  height: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid #eee;
}
.header-inner {
  max-width: var(--container);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 2.4rem;
  letter-spacing: 0.02em;
}

.brand a {
  color: #111;
}
.brand small {
  color: var(--muted);
  font-size: 13px;
  border-left: 1px solid #ddd;
  padding-left: 16px;
  margin-left: 6px;
}
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.entry-btn {
  padding: 8px 16px;
  border: 1px solid #111;
  border-radius: 999px;
  text-decoration: none;
  color: #111;
}

/* ===== Hamburger button ===== */
.hamburger {
  display: none; /* PCで非表示 */
  width: 40px;
  top: 8px;
  right: 12px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 8px;
  position: fixed;
  cursor: pointer;
  z-index: 1101; /* ドロワーより前面 */
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #111;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease,
    bottom 0.25s ease;
}
.hamburger span + span {
  margin-top: 6px;
}

/* 変形(X) */
.menu-open .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-open .hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-open .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== Mobile drawer ===== */
.mobile-nav {
  position: fixed;
  right: 0;
  top: 0;
  height: 100dvh;
  width: 78%;
  max-width: 340px;
  background: #fff;
  padding: 80px 24px 24px; /* 上はヘッダー分+余白 */
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 1100;
}
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  row-gap: 20px;
}
.mobile-nav-list a {
  color: #111;
  text-decoration: none;
  font-size: 1.6rem;
}
.mobile-nav-list a:hover {
  text-decoration: underline;
}

.mobile-sns {
  margin-top: 20px;
  display: flex;
  gap: 16px;
}
.mobile-sns img {
  width: 22px;
  height: 22px;
  display: block;
}

/* オーバーレイ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1099;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* 開いた状態 */
.menu-open .mobile-nav {
  transform: translateX(0);
}
.menu-open .mobile-overlay {
  opacity: 1;
}

/* スクロールロック */
.menu-open {
  overflow: hidden;
}

/* ====== Breakpoints ====== */
@media (max-width: 960px) {
  /* スマホ：ハンバーガーを表示、PCナビを隠す */
  .hamburger {
    display: inline-block;
  }
  .main-nav {
    display: none;
  } /* 既存PC用ナビを非表示 */

  /* 固定ヘッダー上の見やすさ調整（任意） */
  .site-header .container {
    padding-right: 8px;
  }
}

/* お好みでさらに小さい幅での調整 */
@media (max-width: 600px) {
  .mobile-nav {
    width: 86%;
  }
}

.hero {
  position: relative;
}
.hero-media {
  position: relative;
  width: 100%;
  height: 62vh;
  min-height: 420px;
  max-height: 780px;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 単一ボックスの定義を置き換え */
.catch {
  position: absolute;
  left: clamp(16px, 5vw, 64px);
  bottom: clamp(16px, 7vh, 96px);
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  z-index: 2;
}
.catch--split {
  display: flex;
  flex-direction: column;
}
.catch-line {
  display: inline-block;
  background: #fff;
  border: 1px solid #222;
  padding: 14px 0px 14px 24px;
  font-size: clamp(18px, 3.6vw, 38px);
  letter-spacing: 0.02em;
  width: fit-content;
}

.catch-line-2nd {
  margin-left: 40px;
}

.brand-row {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: #fff;
}
.ticker {
  height: var(--brand-row-height);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.track {
  display: flex;
  gap: 32px;
  animation: marquee 24s linear infinite;
}
.logo {
  height: 60px;
  object-fit: contain;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===== Message ===== */
.message {
  padding: 120px 0 80px;
  width: 90%;
  margin: 0 auto;
}
.message-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 0px;
  padding: 0 40px 80px;
}
.message-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 1px;
  margin: 0 0 12px;
}
.message-sub {
  font-size: 14px;
}
.message-body {
  line-height: 2;
  color: #222;
}

/* Photo rail：左 → 右に流れる */
.photo-rail {
  margin-top: 40px;
  overflow: hidden;
  padding: 22px 0;
  /* 両端をフェードさせて切れ目を隠す */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}
.rail-track {
  display: flex;
  gap: 20px;
  align-items: center;
}
.rail-track img {
  height: 180px;
  width: auto;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* 無限ループ（左→右）*/
.rail-right {
  animation: marqueeL 24s linear infinite;
}
@keyframes marqueeL {
  from {
    transform: translateX(0);
  } /* 右から開始 */
  to {
    transform: translateX(-50%);
  } /* 左へ流れる */
}

/* jobs */
.jobs {
  background: #faf7ee;
  padding: 120px 0;
}
.jobs-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.jobs-head {
  margin-bottom: 28px;
}
.jobs-head h2 {
  font-size: 34px;
  font-weight: 400;
  margin: 0 0 12px;
}
.jobs-head .sub {
  font-size: 14px;
}

.jobs-divider {
  border: 0;
  border-top: 1px solid #ded7c8;
  margin: 28px 0;
}
.job-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  padding: 18px 0;
}
.job-info {
  padding-top: 20px;
  padding-right: 10px;
}
.job-title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 20px;
  color: #bf9f4f;
}
.job-lead {
  margin: 0 0 20px;
  line-height: 1.8;
}
.job-points {
  margin: 0 0 32px;
  padding: 0;
}
.job-points li {
  margin: 0 0 8px;
}
.job-thumb img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.btn-outline {
  appearance: none;
  border: 1px solid #111;
  border-radius: 999px;
  background: #fff;
  padding: 12px 28px;
  font-size: 14px;
  cursor: pointer;
}
.btn-outline:hover {
  background: #111;
  color: #fff;
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
}
.modal[aria-hidden="false"],
.modal.open {
  display: block;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.modal-dialog {
  position: relative;
  max-width: 920px;
  margin: 3vh auto;
  background: #f7f5ef;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 32px;
  max-height: 90vh; /* 画面の9割までに制限 */
  overflow-y: auto; /* ダイアログ全体をスクロール */
  display: block; /* flex不要 */
}

.modal-close {
  position: absolute;
  position: fixed;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-size: 20px;
  line-height: 36px;
  z-index: 9999;
}

.modal-hero img {
  width: 100%;
  display: block;
  border-radius: 10px;
  margin-bottom: 12px;
}

.modal-body h4 {
  color: #bf9f4f;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #bf9f4f;
}

.modal-body p {
  margin: 0 0 2em;
  line-height: 1.8;
  font-size: 15px;
}

.modal-body ul {
  line-height: 1.8;
}

.modal-body {
  padding: 8px 4px 14px;
}
.modal-title {
  color: #bf9f4f;
  font-size: 24px;
  font-weight: 500;
  margin: 12px 0;
  text-align: center;
  margin-bottom: 40px;
}
.modal-points {
  margin: 0 0 24px;
  padding: 0;
}

.btn-entry {
  display: block;
  margin: 24px auto 0;
  text-align: center;
  width: 80%;
  max-width: 320px;
  background: #111;
  color: #fff;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}
.btn-entry:hover {
  background: #333;
}

/* モーダル最前面（ヘッダーより手前に来ない場合の保険） */
.modal {
  z-index: 10000;
}

/* モーダル表示中はハンバーガーを見えなくする（クリック不可） */
@media (max-width: 960px) {
  body.modal-open .hamburger {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease;
  }
  /* ハンバーガーの黒幕がある場合も隠す */
  body.modal-open .mobile-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  /* ドロワーメニュー自体も操作できないようにする */
  body.modal-open #mobileMenu {
    pointer-events: none;
  }
}

/* ===== Showroom ===== */
.showroom {
  background: #fbf7ec; /* 画像の外側の淡いアイボリー */
  padding-top: 16px; /* 上の余白（お好みで） */
  padding-bottom: 32px;
  height: 700px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden; /* 角の“えぐれ”を見せるため */
}

/* 写真本体 */
.showroom img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 100px 100px 0 0;
}

/* ===== Appeal Points ===== */
.appeal {
  padding: 100px 0;
}
.appeal-inner {
  width: min(80%, 92vw);
  margin: 0 auto;
}

.appeal-head {
  text-align: center;
  margin-bottom: 28px;
}
.appeal-head .en {
  font-size: 46px;
  font-weight: 400;
  margin-bottom: 20px;
}
.appeal-sub {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 500;
}

.appeal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #ddd; /* 外枠 */
  border-right: 0;
  border-bottom: 0;
  background: #fff;
}
.appeal-item {
  padding: 40px 28px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  text-align: left;
}
.appeal-ico {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto 24px;
}
.appeal-ttl {
  font-size: 24px;
  text-align: center;
  font-weight: 400;
  margin: 0 0 20px;
  line-height: 1.4;
}
.appeal-txt {
  color: #333;
  line-height: 1.9;
  font-size: 14px;
}

/* ===== Work Style ===== */
.workstyle {
  padding: 72px 0 0;
  background: #fff;
}
.workstyle-inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr; /* 左：大見出し / 右：内容 */
}

/* 左の大見出し */
.workstyle-aside {
  border: 1px solid #999999;
  padding: 40px;
}
.workstyle-aside .en {
  font-size: 40px;
  font-weight: 400;
  margin: 0 0 12px;
}
.workstyle-aside .sub {
  font-size: 15px;
  margin: 0;
}

/* 右側コンテンツ全体 */
.workstyle-content {
  display: flex;
  flex-direction: column;
}

/* 各行（枠線＆余白） */
.ws-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* テキスト：画像 */
  gap: 28px;
  align-items: center;
  padding: 40px;
  border: 1px solid #999999;
  border-left: 0;
  border-right: 0; /* 上下だけの線に見せる */
}

.ws-row-2nd {
  border-top: none;
}

/* テキスト側 */
.ws-ttl {
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 24px;
}
.ws-label {
  font-weight: 700;
  margin: 16px 0 0;
}
.ws-text p {
  color: #222;
}

/* リスト */
.ws-list {
  margin: 0;
  padding: 0;
  line-height: 1.9;
  color: #222;
}
.ws-list li {
  margin: 0.1em 0;
}

/* 画像側 */
.ws-thumb img {
  width: 90%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* お問い合わせフォーム */
#entry {
  background: #faf8f0;
  padding: 100px 0;
}
.entry-card {
  width: 70%;
  margin: 48px auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  padding: 28px 26px 32px;
}
.entry-head {
  text-align: center;
  margin-bottom: 18px;
}
.entry-head .en {
  font-size: 36px;
  font-weight: 400;
  margin: 8px;
}
.entry-head .sub {
  margin: 6px 0 0;
  color: #666;
  font-size: 14px;
}
.entry-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label,
.field {
  display: block;
}
.req {
  color: #d75c3c;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  background: #fcfcfc;
  font-size: 14px;
}
input:focus {
  outline: none;
  border-color: #bdbdbd;
  background: #fff;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
.wpcf7-radio .wpcf7-list-item {
  display: inline-block;
  margin: 0 14px 6px 0;
}
.wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  cursor: pointer;
  background: #fff;
  font-size: 14px;
}
.wpcf7-list-item input[type="radio"] {
  accent-color: #111;
}

input[type="file"] {
  display: block;
  width: 100%;
  border: 1px dashed #ddd;
  border-radius: 8px;
  padding: 10px;
  background: #fcfcfc;
  font-size: 13px;
}
.hint {
  display: block;
  color: #888;
  font-size: 12px;
  margin-top: 6px;
}

.field.accept {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  line-height: 2;
  color: #333;
}
.field.accept input[type="checkbox"] {
  accent-color: #111;
  transform: translateY(2px);
}

.btn-primary {
  appearance: none;
  border: 0;
  background: #caa85b;
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  width: 220px;
  display: inline-block;
  text-align: center;
  box-shadow: 0 8px 18px rgba(202, 168, 91, 0.25);
  transition: filter 0.2s, transform 0.02s;
}
.btn-primary:hover {
  filter: brightness(0.95);
}
.btn-primary:active {
  transform: translateY(1px);
}
.actions {
  display: flex;
  justify-content: center;
  margin: 12px 0 6px;
}

/* ===== Footer ===== */
.footer {
  background: #fff;
  border-top: 1px solid #e6e0d0;
}
.footer-inner {
  width: min(1080px, 94vw);
  margin: 0 auto;
  padding: 48px 16px 60px;
  text-align: center;
}

.footer-logo {
  width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.footer-title {
  font-size: 22px;
  font-weight: 400;
  margin: 12px 0 8px;
}
.footer-sub {
  color: #666;
  font-size: 13px;
  margin: 0 0 24px;
}

/* SNSアイコン */
.footer-sns {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin: 6px 0 32px;
}
.sns-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  background: #fff;
  padding: 0;
  line-height: 0;
  transition: background 0.2s, transform 0.02s, border-color 0.2s;
}
.sns-btn img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  pointer-events: none;
}
.sns-btn:hover {
  background: #111;
  border-color: #111;
}
.sns-btn:hover img {
  filter: invert(1) brightness(2);
}
.sns-btn:active {
  transform: translateY(1px);
}

/* フッターリンク */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 8px 0 40px;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-links a {
  color: #222;
  text-decoration: none;
  font-size: 13px;
}
.footer-links a:hover {
  text-decoration: underline;
}

/* コピーライト */
.footer-copy {
  color: #888;
  font-size: 12px;
  letter-spacing: 0.6px;
}

/* エントリーフォーム */
.field {
  margin-bottom: 18px;
}

.wpcf7-select {
  width: 220px;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #e3e3e3;
}

.must {
  color: #d14;
}

.wpcf7-not-valid-tip {
  color: #d14;
}

.screen-reader-response p {
  display: none;
}

.screen-reader-response ul {
  display: none;
}

.wpcf7-response-output {
  color: #d14;
}

.btn-primary {
  display: inline-block;
  font-weight: 400;
  min-width: 220px;
  padding: 14px 28px;
  border: 1px solid #222;
  border-radius: 9999px;
  background: #222;
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.btn-primary:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.fileup-note {
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}

/* ===== Contact Page ===== */
.contact-page {
  padding: 120px 0 140px;
}

.contact-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-heading {
  margin: 0 0 32px;
  text-align: center;
  font-size: 2.6rem;
  font-weight: 500;
  color: #222;
}

.thanks-p {
  text-align: center;
}

.top-button {
  margin: 40px auto 0;
  text-align: center;
}

.top-button a {
  display: inline-block;
  font-weight: 400;
  min-width: 220px;
  padding: 14px 28px;
  border: 1px solid #222;
  border-radius: 9999px;
  background: #222;
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.top-button a:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

/* アニメーション */
/* 初期状態：非表示＋下に少しずらす */
.fadeup {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示されたとき */
.fadeup.show {
  opacity: 1;
  transform: translateY(0);
}

/* 1文字ずつ表示アニメーション */
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpChar 0.6s ease forwards;
}

@keyframes fadeUpChar {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
