/*
Theme Name: condesign
Theme URI: https://condesign.jp
Author: Hanako Kobayashi
Author URI: https://condesign.jp
Description: condesign official theme
Version: 2.1
*/


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

:root {
  --terracotta: #9d3724;
  --terracotta-dark: #7a2a1a;
  --bg: #f7f5f1;
  --bg-warm: #f0ebe4;
  --text: #1e1a16;
  --text-muted: #6a6058;
  --text-light: #a09080;
  --line: #d8cec4;
  --serif: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  --serif-en: 'Georgia', 'Athelas', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--text);
  background: #e8e4de;
  font-size: 16px;
  line-height: 2.0;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── WRAPPER ─── */
.wrapper {
  width: 100%;
  background: var(--bg);
  box-shadow: 0 0 80px rgba(0,0,0,0.08);
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #B35336;
  width: 100%;
  box-sizing: border-box;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 56px 20px;
  background: #B35336;
  box-sizing: border-box;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  align-self: center;
  padding-top: 8px;
  padding-left: 12px;
}

.nav-logo img {
  height: auto;
  width: 240px;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.05);
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: 0;
}

.nav-menu a {
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-menu a:hover { opacity: 0.7; }charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>condesign | インテリアコーディネーター 小林華子</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --terracotta: #9d3724;
  --terracotta-dark: #7a2a1a;
  --bg: #f7f5f1;
  --bg-warm: #f0ebe4;
  --text: #1e1a16;
  --text-muted: #6a6058;
  --text-light: #a09080;
  --line: #d8cec4;
  --serif: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  --serif-en: 'Georgia', 'Athelas', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--text);
  background: #e8e4de;
  font-size: 16px;
  line-height: 2.0;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── WRAPPER ─── */
.wrapper {
  width: 100%;
  background: var(--bg);
  box-shadow: 0 0 80px rgba(0,0,0,0.08);
}

/* ─── NAV ─── */


.nav-logo {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.nav-logo-sub {
  font-family: var(--serif);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-light);
  font-weight: 300;
}

.nav-menu {
  display: flex;
  gap: 32px;
  font-family: var(--serif-en);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  list-style: none;
}

.nav-menu a:hover { color: var(--terracotta); transition: color 0.2s; }

/* ─── HERO ─── */
.hero {
  position: relative;
  background: var(--bg);
}

/* テラコッタ帯：上部固定、写真の60%あたりまで */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: #B35336;
  z-index: 0;
}

.hero-slider-wrap {
  position: relative;
  z-index: 1;
  width: 74%;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 0;
}

.hero-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active { opacity: 1; }

/* スライドプレースホルダー（写真未設定時） */
.hero-slide-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #cfc5b8, #b0a090);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
}

/* 矢印 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.hero-arrow svg {
  width: 36px;
  height: 36px;
}

.hero-arrow.left  { left: -68px; }
.hero-arrow.right { right: -68px; }

/* インジケーター */
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 32px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(179,83,54,0.35);
  cursor: pointer;
  transition: background 0.2s;
}
.hero-dot.active { background: #B35336; }

/* ─── SECTION LAYOUT ─── */
.section {
  display: grid;
  grid-template-columns: 267px 48px 1fr;
  align-items: stretch;
  width: 100%;
  writing-mode: horizontal-tb;
}

/* ラベルが右側：body=col3, side=col4手前 */
.section .section-body { grid-column: 3; padding: 88px 320px 88px 0; writing-mode: horizontal-tb; }
.section .section-side { grid-column: 4; justify-self: start; padding: 88px 0; }

/* ラベルが左側：side=col1, body=col3 */
.section.label-left .section-side { grid-column: 1; justify-self: end; padding: 88px 0; }
.section.label-left .section-body { grid-column: 3; padding: 88px 320px 88px 40px; writing-mode: horizontal-tb; }

.section-side {
  width: 48px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.section-line {
  flex: 1;
  width: 0.5px;
  background: var(--terracotta);
  align-self: center;
}

.section-label {
  writing-mode: vertical-rl;
  font-family: 'athelas', 'Georgia', serif;
  font-style: normal;
  font-weight: 400;
  font-size: 43px;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  white-space: nowrap;
  padding: 0;
  margin-bottom: 0;
}

.section-line-w { background: rgba(255,255,255,0.35); }
.section-label-w { color: rgba(255,255,255,0.38); }

.section-body {
  flex: 1;
  padding: 88px 267px;
  min-width: 0;
  writing-mode: horizontal-tb;
}

.concept-section {
  position: relative;
  width: 100%;
  padding: 88px clamp(48px, 18vw, 267px);
}

.concept-label-wrap {
  position: absolute;
  right: clamp(48px, 18vw, 267px);
  top: 88px;
  bottom: 88px;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.concept-content {
  display: inline-block;
  text-align: center;
}

.concept-content p {
  text-align: center;
}

/* ─── CONCEPT ─── */
.concept-lead {
  font-size: 27px;
  font-weight: 400;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 56px;
  letter-spacing: 0.03em;
  text-align: center;
}

.concept-body {
  font-size: 17px;
  font-weight: 400;
  line-height: 2.4;
  color: var(--text);
  margin-bottom: 40px;
  letter-spacing: 0.03em;
  text-align: center;
}

.concept-em {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  line-height: 2.4;
  letter-spacing: 0.03em;
  margin-top: 48px;
  text-align: center;
}

/* ─── JOURNAL ─── */
#journal .section-side {
  padding-bottom: 0;
}

.journal-list { margin-bottom: 12px; }

.journal-item {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 0.5px solid #b35336;
  max-width: 600px;
  transition: opacity 0.2s;
  max-width: 100%;
}
.journal-item:first-child { padding-top: 0; }
.journal-item:last-child { border-bottom: none; }
.journal-item:hover { opacity: 0.7; }

.journal-thumb {
  width: 180px;
  height: 136px;
  background: #d4c5b5;
  flex-shrink: 0;
}

.journal-meta { flex: 1; padding-top: 8px; min-width: 0; }

.journal-cat {
  display: inline-block;
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: #fff;
  background: #b35336;
  padding: 1px 14px;
  margin-bottom: 14px;
  font-weight: 400;
  border-radius: 4px;
}

.journal-title {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.journal-body {
  font-size: 13px;
  line-height: 2.0;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.03em;
}

.journal-arrow {
  font-family: var(--serif-en);
  font-size: 22px;
  color: #b35336;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 16px;
}

.all-link-wrap { text-align: right; margin-top: 24px; }

.all-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 17px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #fff;
  background: #b35336;
  padding: 7px 64px;
  border-radius: 999px;
  transition: background 0.2s;
}
.all-link:hover { background: #9d3724; }

/* ─── SERVICE ─── */
.service-section {
  position: relative;
  width: 100%;
  background: #b35336;
}

.service-label-wrap {
  position: absolute;
  right: clamp(48px, 18vw, 267px);
  top: 40px;
  bottom: 0;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.service-label-wrap .section-line {
  background: rgba(255,255,255,0.4);
}

.service-label-wrap .section-label {
  color: #fff;
}

.service-body {
  padding: 88px clamp(48px, 18vw, 267px) 88px clamp(24px, 8vw, 267px);
}

/* ─── SERVICE NUMS ROW ─── */
.service-nums-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 0;
}
.service-num-label {
  font-family: var(--serif-en);
  font-size: 44px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  text-align: center;
  padding-bottom: 14px;
}

/* ─── SERVICE CARDS ─── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.service-card {
  background: #9d3724;
  border: 1.5px solid transparent;
  padding: 32px 24px 28px;
  border-radius: 0 72px 0 72px;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-32px);
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1),
              opacity 0.5s ease,
              background 0.22s ease,
              border-color 0.22s ease,
              box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-card.flipped {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
  background: #E35336;
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}

/* アイコンエリア */
.service-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.service-icon-wrap img {
  width: 72px;
  height: 72px;
  object-fit: contain;

}

/* カード本文 */
.service-ja {
  font-family: var(--serif);
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
}

.service-en {
  font-family: var(--serif-en);
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-align: left;
}

.service-desc {
  font-family: var(--serif);
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  line-height: 2.0;
  font-weight: 300;
  margin-bottom: 0;
  letter-spacing: 0.03em;
  flex: 1;
  text-align: left;
}

/* 区切り線 */
.service-divider {
  width: 100%;
  height: 0.5px;
  background: rgba(238,224,218,0.45);
  margin: 20px 0 16px;
}

/* 詳細リスト */
.service-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 0;
}

.service-list li {
  font-family: var(--serif);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.8;
}

/* ホバー時のview detail */
.service-view-detail {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #E35336;
  font-style: normal;
  margin-top: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  background: #ffffff;
  border-radius: 999px 0 0 999px;
  padding: 3px 0px 3px 12px;
  margin-right: -24px;
  margin-bottom: -4px;
  width: fit-content;
  align-self: flex-end;
}

.service-card:hover .service-view-detail {
  opacity: 1;
  transform: translateX(0);
}
/* view-moreはPC版でも常時表示 */

/* service flow */
.service-flow-wrap { text-align: center; padding-top: 8px; margin-top: 8px; }

.service-flow-note {
  font-family: var(--serif);
  font-size: 17px;
  color: #ffffff;
  font-weight: 300;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

.service-flow-btn {
  display: inline-block;
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 26px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #ffffff;
  background: #9d3724;
  border: 1px solid #eee0da;
  padding: 14px 80px;
  border-radius: 48px 0 48px 0;
  transition: opacity 0.2s;
}
.service-flow-btn:hover { opacity: 0.85; }

/* ─── WORKS ─── */
#works .section-side {
  padding-bottom: 0;
  padding-top: 120px;
}

#works .section-body {
  padding-top: 120px;
  padding-bottom: 160px;
}

.works-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 10px;
  margin-bottom: 28px;
}

.works-item { background: #d0c4b4; overflow: hidden; }

/* 上段：左=横長(5:4)大、右=横長(5:4)小・少し下げる */
.works-row-top {
  display: grid;
  grid-template-columns: 6fr 3fr;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}
.works-item.a { aspect-ratio: 5/4; }
.works-item.b { aspect-ratio: 5/4; margin-top: 60px; }

/* 下段：左=横長+縦長、右=横長大 */
.works-row-bottom {
  display: grid;
  grid-template-columns: 3fr 6fr;
  gap: 10px;
  align-items: start;
}
.works-col-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.works-item.c { aspect-ratio: 5/4; } /* 横長 */
.works-item.d { aspect-ratio: 4/5; } /* 縦長 */
.works-item.e { aspect-ratio: 5/4; } /* 横長大 */

.works-right-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.works-all-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 80px;
}

.works-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 17px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #fff;
  background: #b35336;
  padding: 7px 64px;
  border-radius: 999px;
  transition: background 0.2s;
}
.works-all:hover { background: #9d3724; }

/* ─── PROFILE ─── */
.profile-bg { background: #b35336; }
.profile-section-wrap {
  position: relative;
  width: 100%;
  background: #b35336;
  overflow: hidden;
}




.profile-body {
  padding: 88px clamp(48px, 18vw, 267px) 88px clamp(24px, 8vw, 267px);
  min-width: 0;
}
#profile .section-side {
  padding-top: 48px;
  padding-bottom: 0;
}
#profile .section-line {
  background: rgba(255,255,255,0.5);
}
#profile .section-label {
  color: #ffffff;
}

.profile-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.profile-img {
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.14);
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.profile-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 400px;
  width: 100%;
}

.profile-text-top {
  display: flex;
  flex-direction: column;
}

.profile-name-ja {
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 32px;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.18em;
  margin-bottom: 4px;
  line-height: 1.3;
}

.profile-name-en {
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 18px;
  letter-spacing: 0.35em;
  color: #ffffff;
  margin-bottom: 4px;
  line-height: 1.3;
}

.profile-role {
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: #ffffff;
  font-style: normal;
  margin-top: 40px;
  margin-bottom: 0;
}




/* ─── CONTACT ─── */
.contact-lead {
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.06em;
  line-height: 2.0;
  text-align: center;
  margin-bottom: 48px;
  writing-mode: horizontal-tb;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-body {
  flex: 1;
  padding: 88px clamp(40px, 8vw, 267px);
  writing-mode: horizontal-tb;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.contact-form {
  display: block;
  text-align: left;
  width: 560px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: #b35336;
  letter-spacing: 0.06em;
  writing-mode: horizontal-tb;
}

.contact-input {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 0.5px solid #b35336;
  max-width: 600px;
  padding: 12px 0;
  outline: none;
  letter-spacing: 0.04em;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  writing-mode: horizontal-tb;
}

.contact-input:focus {
  border-bottom-color: var(--terracotta);
}

.contact-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23a09080' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 32px;
}

.contact-textarea {
  resize: vertical;
  min-height: 160px;
  border: 0.5px solid #b35336;
  max-width: 600px;
  padding: 12px;
  border-radius: 2px;
}

.contact-submit-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
}

.contact-submit {
  margin-top: 1.5em;
  display: inline-flex;
  align-items: center;
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 17px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #fff;
  background: #b35336;
  padding: 7px 64px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-submit:hover { background: #9d3724; }

/* ─── FOOTER ─── */
footer {
  background: #B35336;
  padding: 32px 80px;
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
}

.footer-nav {
  display: flex;
  gap: 40px;
  justify-content: center;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-nav a:hover { opacity: 0.6; }

.footer-divider {
  width: 100%;
  height: 0.5px;
  background: rgba(255,255,255,0.3);
  margin-bottom: 28px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.85);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .service-body {
    padding: 64px clamp(40px, 10vw, 340px) 64px clamp(24px, 8vw, 267px);
  }
  .service-label-wrap {
    right: clamp(48px, 18vw, 267px);
  }
  .concept-section {
    padding: 88px clamp(24px, 8vw, 267px);
  }
  .concept-label-wrap {
    right: clamp(24px, 8vw, 267px);
  }
  /* section全体の左固定列を縮める */
  .section {
    grid-template-columns: clamp(20px, 8vw, 267px) 48px 1fr;
  }
  .section-body {
    padding: 88px clamp(20px, 8vw, 267px) 88px 40px;
  }
  .section.label-left .section-body {
    padding: 88px clamp(20px, 8vw, 267px) 88px 40px;
  }
  .concept-section {
    padding: 88px clamp(20px, 8vw, 267px);
  }
  .concept-label-wrap {
    right: clamp(20px, 8vw, 267px);
  }
  
  .contact-body {
    padding: 88px clamp(20px, 8vw, 267px) !important;
  }
}

@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-menu { display: none; }
  .hero { height: 260px; }
  .section-side { width: 32px; margin: 0 10px; }
  .section-body { padding: 48px 24px; }
  .contact-lead {
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.06em;
  line-height: 2.0;
  text-align: center;
  margin-bottom: 48px;
  writing-mode: horizontal-tb;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


  .concept-lead { font-size: 16px; }
  .service-cards { grid-template-columns: 1fr; }
  .service-nums-row { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .works-item.a { grid-column: 1/-1; height: 220px; }
  .works-item.b,.works-item.c,.works-item.d,.works-item.e { grid-column: auto; height: 150px; }
  .profile-inner { flex-direction: column; gap: 24px; }
  footer { flex-direction: column; gap: 8px; text-align: center; }

  /* section を縦積みに切り替え */
  .section {
    display: flex;
    flex-direction: column;
  }
  .section-side {
    width: 100% !important;
    flex-direction: row !important;
    height: 40px;
    margin: 0 !important;
    padding: 0 20px !important;
  }
  .section-line {
    flex: 1;
    width: auto !important;
    height: 0.5px !important;
  }
  .section-label {
    writing-mode: horizontal-tb !important;
    font-size: 24px !important;
    padding: 0 12px;
  }
  .section-body {
    padding: 40px 24px 56px !important;
    writing-mode: horizontal-tb !important;
  }
  .section.label-left .section-body {
    padding: 40px 24px 56px !important;
  }
  .concept-section {
    padding: 56px 24px;
  }
  
  .journal-item { gap: 16px; }
  .journal-thumb { width: 100px; height: 80px; }
  .journal-title { font-size: 15px; }
  .journal-body { display: none; }
  .profile-body {
    padding: 40px 24px 56px !important;
  }
  .contact-body {
    padding: 40px 24px 56px !important;
  }
}

/* ─── NAV SCROLLED ─── */
.nav-logo img {
  width: 200px;
  height: auto;
  display: block;
  transition: width 0.3s ease;
}
.nav-menu {
  transition: margin-top 0.3s ease;
}

.nav.scrolled .nav-inner {
  padding: 8px 56px;
}
.nav.scrolled .nav-menu {
  margin-top: 0;
}
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 500px) {
  /* ロゴ小さく */
  .nav-logo img {
    width: 120px !important;
  }
  .nav-inner {
    padding: 8px 20px !important;
  }

  /* 写真上の余白を詰めて大きく */
  .hero-slider-wrap {
    width: 92% !important;
    padding-top: 12px !important;
  }

  /* <>を小さく */
  .hero-arrow {
    padding: 4px !important;
  }
  .hero-arrow svg {
    width: 20px !important;
    height: 20px !important;
  }
  .hero-arrow.left  { left: -28px !important; }
  .hero-arrow.right { right: -28px !important; }
}

@media (max-width: 500px) {
  /* フォント変数を筑紫Aに上書き */
  :root {
    --serif: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  }
  /* navをスマホではstickyではなく通常フローに */
  .nav {
    position: relative !important;
  }
  /* wrapperのpadding-topリセット */
  .wrapper {
    padding-top: 0 !important;
  }
  /* ロゴを左上に */
  .nav-inner {
    padding: 4px 16px !important;
    align-items: flex-start !important;
  }
  .nav-logo {
    padding-top: 4px !important;
    padding-left: 0 !important;
  }
  /* メニューを非表示 */
  .nav-menu {
    display: none !important;
  }
}

@media (max-width: 500px) {
  /* <>非表示 */
  .hero-arrow {
    display: none !important;
  }

  /* ハンバーガーボタン */
  .hamburger {
    display: flex !important;
  }

  /* ドロワーメニュー */
  .drawer {
    display: flex !important;
  }
}

/* ハンバーガーボタン（PC非表示） */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #ffffff;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ドロワー */
.drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #B35336;
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer.open {
  opacity: 1;
  pointer-events: all;
}
.drawer a {
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ffffff;
  text-decoration: none;
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

@media (max-width: 500px) {
  .hamburger {
    position: fixed !important;
    top: 16px;
    right: 16px;
    z-index: 300;
  }
}

@media (max-width: 500px) {
  /* section-sideを横帯に */
  .section-side {
    width: 100% !important;
    flex-direction: row !important;
    height: auto !important;
    padding: 20px 24px 0 !important;
    justify-content: center !important;
  }
  .section-line {
    flex: 1;
    width: auto !important;
    height: 0.5px !important;
  }
  .section-label {
    writing-mode: horizontal-tb !important;
    font-size: 28px !important;
    padding: 0 16px !important;
    letter-spacing: 0.2em !important;
  }
  /* concept-label-wrapも横書きに */
  .concept-label-wrap {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: auto !important;
    padding: 20px 24px 0 !important;
    align-items: center !important;
  }
  .concept-label-wrap .section-line {
    flex: 1;
    height: 0.5px !important;
    width: auto !important;
  }
  .concept-label-wrap .section-label {
    writing-mode: horizontal-tb !important;
    font-size: 28px !important;
    padding: 0 16px !important;
  }
  /* service縦線ラベルも */
  .service-label-wrap {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: auto !important;
    padding: 20px 24px 0 !important;
    align-items: center !important;
  }
  .service-label-wrap .section-line {
    flex: 1;
    height: 0.5px !important;
    width: auto !important;
  }
  .service-label-wrap .section-label {
    writing-mode: horizontal-tb !important;
    font-size: 28px !important;
    padding: 0 16px !important;
  }
}

@media (max-width: 500px) {
  /* service-bodyのpadding縮小 */
  .service-body {
    padding: 24px 0 40px !important;
  }

  /* 番号行を非表示（カード内で表示） */
  .service-nums-row {
    display: none !important;
  }

  /* カードをスライダーに */
  .service-cards-wrapper {
    position: relative;
    display: flex !important;
    align-items: center;
    padding: 0 0 16px;
  }

  .service-cards {
    display: flex !important;
    flex-direction: row !important;
    overflow: hidden !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
    width: calc(100vw - 80px) !important;
    margin: 0 auto !important;
  }

  .service-card {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 48px 0 48px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    transition: none !important;
    transform: none !important;
  }

  /* <>丸ボタン */
  .service-slider-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #B35336 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    z-index: 10 !important;
  }
  #svc-prev { left: 0 !important; }
  #svc-next { right: 0 !important; }

  /* カード内に番号を表示 */
  .service-card::before {
    content: attr(data-num);
    display: block;
    font-family: 'athelas', 'Georgia', serif;
    font-size: 36px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 24px;
  }

  /* スライダーナビ */
  .service-slider-nav {
    display: flex !important;
  }

  /* ドット */
  .service-dots {
    display: flex !important;
  }
}

/* スライダーナビ（PC非表示） */
.service-slider-nav {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 12px 0 8px;
}

.service-slider-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: rgba(255,255,255,0.85);
}
.service-slider-btn svg {
  width: 24px;
  height: 24px;
}

.service-dots {
  display: none;
  gap: 8px;
  justify-content: center;
  padding: 12px 0 0;
}
.service-dot-item {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s;
}
.service-dot-item.active {
  background: #ffffff;
}

@media (max-width: 500px) {
  /* worksセクションをフラットな縦並びに */
  .works-row-top,
  .works-row-bottom,
  .works-col-left,
  .works-right-col {
    display: contents !important;
  }

  #works .section-body {
    padding: 16px 20px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .works-item {
    width: 100% !important;
    height: 220px !important;
    grid-column: auto !important;
    flex-shrink: 0 !important;
    display: block !important;
  }

  .works-all-wrap {
    text-align: center !important;
    padding: 8px 0 0 !important;
  }

  .works-all {
    font-size: 14px !important;
    padding: 10px 36px !important;
  }
}

@media (max-width: 500px) {
  /* worksの一番上(a)を非表示 */
  .works-item.a {
    display: none !important;
  }

  /* プロフィール画像を小さく */
  .profile-img {
    width: 200px !important;
    height: 200px !important;
  }
}

@media (max-width: 500px) {
  /* contactセクション全体をリセット */
  .contact-body {
    padding: 24px 20px 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    writing-mode: horizontal-tb !important;
  }
  .contact-lead {
  text-align: center;
    font-size: 15px !important;
    line-height: 2.0 !important;
    margin-bottom: 32px !important;
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
  }
  .contact-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .contact-input,
  .contact-textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    writing-mode: horizontal-tb !important;
    font-size: 16px !important;
  }
  .contact-label {
    writing-mode: horizontal-tb !important;
    font-size: 15px !important;
  }
  .contact-submit-wrap {
    justify-content: center !important;
  }
}

@media (max-width: 500px) {
  #contact,
  #contact *,
  #contact .section-side,
  #contact .section-label,
  #contact .section-body,
  #contact .contact-body,
  #contact .contact-lead,
  #contact .contact-form,
  #contact .contact-field,
  #contact .contact-label,
  #contact .contact-input,
  #contact .contact-select,
  #contact .contact-textarea,
  #contact .contact-submit {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }
  #contact .contact-body {
    padding: 24px 20px 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  #contact .contact-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #contact .contact-input,
  #contact .contact-textarea,
  #contact .contact-select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
  }
}

@media (max-width: 500px) {
  footer {
    padding: 24px 20px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 6px !important;
    text-align: center !important;
    writing-mode: horizontal-tb !important;
    font-size: 12px !important;
  }
  .footer-bottom * {
    writing-mode: horizontal-tb !important;
  }
}

@media (max-width: 500px) {
  /* 本文・説明文 */
  .concept-lead, .concept-body, .concept-em,
  .service-desc, .service-ja, .service-list li,
  .profile-text, .profile-text p,
  .journal-title, .journal-body, .journal-cat,
  .contact-lead,
  .footer-bottom,
  p, li {
    font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif !important;
  }
  /* フォームラベル・入力 */
  .contact-label, .contact-input, .contact-select,
  .contact-textarea {
    font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif !important;
  }
  /* works-all */
  .works-all {
    font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif !important;
  }
}

@media (max-width: 500px) {
  body, body * {
    font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif !important;
  }
  /* 英字見出し（section-label）だけセリフに戻す */
  .section-label,
  .service-en {
    font-family: 'athelas', 'Georgia', 'Times New Roman', serif !important;
  }
}

@media (max-width: 500px) {
  /* all journal / all works / 送信 / view more系ボタン */
  .journal-all-btn,
  .works-all,
  .contact-submit,
  .profile-more-btn {
    font-size: 13px !important;
    padding: 10px 40px !important;
    display: block !important;
    margin: 0 auto !important;
    width: fit-content !important;
  }
  /* all journal wrapのセンター */
  .journal-all-wrap,
  .works-all-wrap,
  .contact-submit-wrap,
  .profile-more-wrap {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
  }
}

@media (max-width: 500px) {
  .journal-all-btn,
  .works-all,
  .contact-submit,
  .profile-more-btn {
    font-size: 12px !important;
    padding: 8px 28px !important;
    width: auto !important;
    display: inline-block !important;
  }
  .journal-all-wrap,
  .works-all-wrap,
  .contact-submit-wrap,
  .profile-more-wrap {
    text-align: center !important;
    display: block !important;
    margin-top: 20px !important;
  }
}

@media (max-width: 500px) {
  .all-link {
    font-size: 12px !important;
    padding: 8px 32px !important;
    letter-spacing: 0.16em !important;
  }
  .all-link-wrap {
    text-align: center !important;
    margin-top: 20px !important;
  }
}

@media (max-width: 500px) {
  
}

@media (max-width: 500px) {
  .profile-name-block {
    margin-bottom: 12px !important;
  }
}

@media (max-width: 500px) {
  /* 説明文を非表示 */
  .service-desc {
    display: none !important;
  }
  /* カード幅を狭く */
  .service-cards {
    width: calc(100vw - 120px) !important;
    margin: 0 auto !important;
  }
  .service-card {
    padding: 20px 16px 20px !important;
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  /* アイコン大きく */
  .service-icon-wrap {
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 16px !important;
  }
  .service-icon-wrap img {
    width: 80px !important;
    height: 80px !important;
  }
  /* 小見出し大きく */
  .service-ja {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }
  /* 英語タイトル */
  .service-en {
    font-size: 26px !important;
    margin-top: -8px !important;
    margin-bottom: 24px !important;
  }
  /* 番号小さく */
  .service-card::before {
    font-size: 28px !important;
    padding-bottom: 8px !important;
  }
  /* dividerとリストも詰める */
  .service-divider {
    margin: 12px 0 10px !important;
  }
}

@media (max-width: 500px) {
  /* アイコンを上に、下に余白 */
  .service-icon-wrap {
    margin-top: -32px !important;
    margin-bottom: 20px !important;
  }

  /* <>ボタンをwrapperの外側に表示 */
  .service-cards-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
  }
  #svc-prev, #svc-next {
    display: flex !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #B35336 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    z-index: 10 !important;
  }
  #svc-prev svg path, #svc-next svg path {
    stroke: #ffffff !important;
  }
  #svc-prev { left: 8px !important; }
  #svc-next { right: 8px !important; }
  .service-slider-nav {
    display: flex !important;
    justify-content: center !important;
  }
}

@media (max-width: 500px) {
  .service-card:hover,
  .service-card:active {
    transform: none !important;
    background: #9d3724 !important;
    box-shadow: none !important;
    border-color: rgba(238,224,218,0.7) !important;
  }
  .service-card:active {
    border-color: rgba(238,224,218,0.9) !important;
  }
}


@media (max-width: 500px) {
  .service-view-detail {
    display: none !important;
  }
  .service-card:hover,
  .service-card:active {
    transform: none !important;
    background: #9d3724 !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }
}

@media (max-width: 500px) {
  .service-view-detail {
    display: none !important;
  }
}

@media (max-width: 500px) {
  .service-view-detail {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: fit-content !important;
    margin: 20px auto 0 !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
    color: #ffffff !important;
    background: transparent !important;
    border: 0.8px solid rgba(255,255,255,0.7) !important;
    border-radius: 999px !important;
    padding: 4px 18px !important;
    font-size: 10px !important;
    letter-spacing: 0.14em !important;
  }
  .service-view-detail svg path {
    stroke: #ffffff !important;
  }
}

@media (max-width: 500px) {
  /* conceptセクション下余白 */
  #concept {
    margin-bottom: 32px !important;
  }
  /* journalセクション下余白を詰める */
  #journal .section-body {
    padding-bottom: 24px !important;
  }
  #journal .journal-list {
    gap: 0 !important;
  }
}

@media (max-width: 500px) {
  /* conceptを上に */
  #concept {
    margin-top: -24px !important;
  }
  /* 見出しと本文の間に余白 */
  #concept .section-side,
  #concept .concept-label-wrap {
    margin-bottom: 24px !important;
  }
  .concept-section .section-label,
  #concept .section-label {
    margin-bottom: 0 !important;
  }
  #concept .section-body,
  .concept-section {
    padding-top: 24px !important;
  }

  /* journalは見出しと記事の間を詰める */
  #journal .section-side {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  #journal .journal-list {
    margin-top: 8px !important;
  }
}

@media (max-width: 500px) {
  #works .section-side {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  #works .section-body {
    padding-top: 8px !important;
  }
}

@media (max-width: 500px) {
  #works .section-side {
    padding-bottom: 0 !important;
    margin-bottom: -16px !important;
  }
}

@media (max-width: 500px) {
  /* works見出し→写真の間を詰める */
  #works .section-body {
    padding-top: 4px !important;
  }

  /* プロフィール見出しを表示 */
  #profile .section-side {
    display: flex !important;
  }

  /* Interior Coordinatorとview moreの間を詰める */
  .profile-role {
    margin-bottom: 8px !important;
  }
  .profile-name-block {
    margin-bottom: 8px !important;
  }
}

@media (max-width: 500px) {
  #works .section-side {
    padding-bottom: 0 !important;
    margin-bottom: -40px !important;
  }
}

@media (max-width: 500px) {
  /* profile見出しを横書きで表示 */

  /* profile-roleとview-moreの間を詰める */
  .profile-role {
    margin-top: 12px !important;
    margin-bottom: 8px !important;
  }
}

@media (max-width: 500px) {
  /* profile-roleの下余白を詰める（＝view moreボタンの上余白） */
  .profile-role {
    margin-top: 40px !important;
    margin-bottom: 0 !important;
  }
}

/* profile-label-wrap */
.profile-label-wrap {
  position: absolute;
  right: clamp(48px, 18vw, 267px);
  top: 40px;
  bottom: 0;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.profile-label-wrap .section-line { background: rgba(255,255,255,0.5); }
.profile-label-wrap .section-label { color: #ffffff; }

/* view-more */
.view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #ffffff;
  background: transparent;
  padding: 7px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  margin: 12px auto 0;
  transition: background 0.2s;
}
.view-more:hover { background: rgba(255,255,255,0.15); }

@media (max-width: 500px) {
  .profile-label-wrap {
    position: static;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: auto;
    padding: 20px 24px 0;
    align-items: center;
    right: auto;
    top: auto;
    bottom: auto;
  }
  .profile-label-wrap .section-line {
    flex: 1;
    height: 0.5px;
    width: auto;
    background: #b35336;
  }
  .profile-label-wrap .section-label {
    writing-mode: horizontal-tb;
    font-size: 28px;
    padding: 0 16px;
    color: #b35336;
  }
  .view-more {
    display: flex;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    font-size: 12px;
    padding: 6px 24px;
    border-radius: 999px;
    margin: 8px auto 0;
    justify-content: center;
  }
  .profile-role {
    margin-top: 40px;
    margin-bottom: 0;
  }
}

@media (max-width: 500px) {
  .profile-role {
    margin-top: 40px !important;
    margin-bottom: 0 !important;
  }
  .view-more {
    margin-top: 4px !important;
  }
}

@media (max-width: 500px) {
  .profile-role {
    margin-top: 8px !important;
    margin-bottom: 16px !important;
  }
  .view-more {
    margin-top: 0 !important;
  }
}

@media (max-width: 500px) {
  .profile-text {
    height: auto !important;
    justify-content: flex-start !important;
    gap: 12px !important;
  }
  .profile-role {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
  }
  .view-more {
    margin-top: 16px !important;
  }
}



@media (max-width: 500px) {
  .hamburger {
    background: rgba(179, 83, 54, 0.85) !important;
    border-radius: 6px !important;
    padding: 10px !important;
  }
  .hamburger span {
    background: #ffffff !important;
  }
}

@media (max-width: 500px) {
  #works .section-side {
    padding-top: 8px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  #works .section-body {
    padding-top: 4px !important;
  }
  .profile-role {
    margin-bottom: 0 !important;
    margin-top: 8px !important;
  }
}

@media (max-width: 500px) {
  /* 小見出しの線を非表示 */
  .section-side .section-line,
  .concept-label-wrap .section-line,
  .service-label-wrap .section-line,
  .profile-label-wrap .section-line {
    display: none !important;
  }

  /* 文字アニメーション */
  @keyframes charSlideIn {
    from { opacity: 0; transform: translateX(80px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  .section-label .char {
    display: inline-block;
    opacity: 0;
    animation: charSlideIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .section-label,
  .section-label *,
  .section-label .char {
    font-family: 'athelas', 'Georgia', 'Times New Roman', serif !important;
  }

  /* body全体を筑紫Aに */
  body, body * {
    font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif !important;
  }
  .section-label,
  .section-label *,
  .section-label .char,
  .service-en,
  .service-en * {
    font-family: 'athelas', 'Georgia', 'Times New Roman', serif !important;
  }

  /* worksの余白を詰める */
  #works .section-side {
    padding-top: 8px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  #works .section-body {
    padding-top: 4px !important;
  }
}

/* PC版でスライダーナビ・ドット・矢印を非表示 */
@media (min-width: 501px) {
  .service-slider-nav,
  .service-dots,
  #svc-prev,
  #svc-next {
    display: none !important;
  }
}

@media (max-width: 500px) {
  /* concept小見出しを表示 */
  .concept-label-wrap {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    padding: 20px 24px 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 全小見出しをセンタリング */
  .section-label {
    text-align: center !important;
    width: 100% !important;
  }
  .section-side {
    justify-content: center !important;
  }

  /* worksの小見出し下余白を詰める */
  #works .section-side {
    padding-top: 8px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  #works .section-body {
    padding-top: 4px !important;
  }
}

@media (max-width: 500px) {
  /* concept小見出しを再表示 */
  .concept-label-wrap {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    padding: 20px 24px 0 !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .concept-label-wrap .section-line {
    display: none !important;
  }

  /* サービスカード内を筑紫A太字に */
  .service-ja,
  .service-en,
  .service-desc,
  .service-list li,
  .service-card::before,
  .service-view-detail {
    font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif !important;
    font-weight: 700 !important;
  }
  /* 英字タイトルだけセリフに戻す */
  .service-en {
    font-family: 'athelas', 'Georgia', serif !important;
  }

  /* worksの余白を詰める */
  #works .section-side {
    padding-top: 8px !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  #works .section-body {
    padding-top: 4px !important;
  }
}

@media (max-width: 500px) {
  /* worksの余白を詰める：section-sideのmargin-bottomで吸収 */
  #works .section-side {
    margin-bottom: -32px !important;
    padding-bottom: 0 !important;
  }

  /* サービスカード内を筑紫A丸ゴ太字に */
  .service-ja,
  .service-list li,
  .service-view-detail {
    font-family: 'fot-tsukuardgothic-std', 'Zen Maru Gothic', sans-serif !important;
    font-weight: 700 !important;
  }
}

/* ─── SCROLL ANIMATIONS ─── */

/* 文字が上から落ちてくる */
@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 要素が下からふわっと出る */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* journal/worksアイテムの初期状態 */
.journal-item.anim-ready,
.works-item.anim-ready {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.journal-item.anim-visible,
.works-item.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* section-labelの文字span */
.section-label .drop-char {
  display: inline-block;
  opacity: 0;
  animation: dropIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ─── SCROLL ANIMATIONS ─── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* section-label の文字が上から降ってくる */
.section-label .char {
  display: inline-block;
  opacity: 0;
  animation: fadeDown 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* journal各アイテム */
.journal-item {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.journal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* worksの各アイテム */
.works-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.works-item.visible {
  opacity: 1;
  transform: translateY(0);
}



/* contact全体をフル幅センタリング */
#contact .section-side {
  grid-column: 1 !important;
  justify-self: end !important;
}
#contact .contact-body {
  grid-column: 2 / -1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 88px clamp(48px, 18vw, 267px) 88px 0 !important;
  box-sizing: border-box !important;
}

@media (min-width: 501px) {
  .journal-title { font-size: 16px !important; }
  .journal-body  { font-size: 14px !important; }
  .journal-cat   { font-size: 12px !important; }
  .works-item    { font-size: 14px !important; }
}

@media (max-width: 500px) {
  #contact .section-side {
    display: block !important;
    width: 100% !important;
    padding: 20px 24px 0 !important;
    text-align: center !important;
  }
  #contact .section-side .section-line {
    display: none !important;
  }
  #contact .section-side .section-label {
    writing-mode: horizontal-tb !important;
    font-size: 28px !important;
  }
  #contact .contact-body {
    grid-column: auto !important;
    width: 100% !important;
    padding: 24px 20px 40px !important;
    align-items: stretch !important;
    writing-mode: horizontal-tb !important;
  }
  #contact .contact-lead {
    writing-mode: horizontal-tb !important;
    white-space: normal !important;
    text-align: center !important;
  }
  #contact .contact-form {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  #contact .contact-input,
  #contact .contact-select,
  #contact .contact-textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    writing-mode: horizontal-tb !important;
  }
  #contact .contact-label {
    writing-mode: horizontal-tb !important;
  }
}

@media (min-width: 501px) {
  #contact {
    display: grid;
    grid-template-columns: clamp(48px, 18vw, 267px) 48px 1fr;
  }
  #contact .contact-body {
    grid-column: 2 / -1;
  }
}

/* WordPress admin bar fix */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}
