@charset "UTF-8";
/* ===================== 共通 / 変数 ===================== */ :root {
  --header-h: 64px;
}
/* ===================== 改行制御（初期設定） =============== */
.sp-only {
  display: none;
}
.pc-tab-only {
  display: inline;
}
/* ======================== 固定ナビ ===================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h); /* 高さを厳守 */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px; /* 余白は左右のみ */
  z-index: 100;
  background: #fff;
  backdrop-filter: blur(6px);
  color: #000;
}
.site-header .logo {
  font-family: "Cormorant Garamond", serif;
  font-size: 16pt;
  font-weight: 300;
  letter-spacing: 0.05em;
}
.site-header nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header nav a {
  color: #000;
  text-decoration: none;
  font-size: 15pt;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  letter-spacing: .05em;
}
.logo a {
  text-decoration: none; /* 下線を消す */
  color: inherit; /* 文字の色を親要素（ロゴの元の色）に合わせる */
  display: block; /* クリックできる範囲を広げる */
}
/* スムーズスクロールを有効にする */
html {
  scroll-behavior: smooth;
}
#profile {
  scroll-margin-top: 80px;
}
#portfolio {
  scroll-margin-top: 80px;
}
#about {
  scroll-margin-top: 80px;
}
/* ===================== ハンバーガー / ドロワー ===================== */
.hamburger {
  display: none;
  background: none;
  border: 0;
  color: #000;
  font-size: 28px;
}
.drawer {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 9999;
  background: #fff;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .25s ease, visibility .25s ease;
}
.drawer.open {
  transform: translateY(0);
    visibility: visible;
}
.drawer ul {
  font-family: "Cormorant Garamond", serif;
  font-size: 15pt;
  list-style: none;
  letter-spacing: .05em;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawer a {
  color: #000;
  text-decoration: none;
  display: block;
  padding: 12px 4px;
}
/* ===================== 固定ヘッダー下スペーサー ===================== */
.spacer {
  height: var(--header-h);
}
/* ===================== メディアスライダー（16:9） ===================== */
/* --- TOP画像エリアの囲い（コンテナ） --- */
.top-image-container {
  position: relative; /* これが重要！中の画像を重ねるための基準点になります */
  width: 100%; /* 幅は画面いっぱい */
  height: 80vh; /* 高さは画面の60%（お好みで調整してください。例: 500px） */
  overflow: hidden; /* はみ出した部分は隠す */
  /* 画像が読み込まれるまでの背景色（1枚目の色に近い色） */
}
/* --- 画像の共通設定 --- */
.fade-item {
  position: absolute; /* コンテナの左上を基準に絶対配置で重ねます */
  top: 0;
  left: 0;
  width: 100%; /* 幅をコンテナに合わせる */
  height: 100%; /* 高さをコンテナに合わせる */
  object-fit: cover; /* 画像の比率を崩さず、エリア全体を隙間なく埋める */
  opacity: 0; /* 最初は透明にしておきます */
  /* アニメーションの設定：名前は'fadeLoop'、1周12秒、無限に繰り返す */
  animation: fadeLoop 12s infinite linear;
}
/* --- 個別の設定 --- */
/* 1枚目の画像（オレンジ：image_0.png） */
.item-1 {
  /* 遅延なしでアニメーション開始 */
  /* ページを開いた瞬間に表示させたい場合は、ここだけ opacity: 1; を追加しても良いですが、今回はアニメーションの流れを優先して最初は透明から始めます */
  opacity: 1;
}
/* 2枚目の画像（緑：image_1.png） */
.item-2 {
  /* アニメーション全体の半分の時間（12秒 ÷ 2 = 6秒）遅らせてスタート */
  animation-delay: 6s;
}
/* --- アニメーションの動きを定義（設計図） --- */
@keyframes fadeLoop {
  /* 0%〜20%: フェードイン（2.4秒かけて現れる） */
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  /* 20%〜50%: 表示キープ（3.6秒間そのまま） */
  50% {
    opacity: 1;
  }
  /* 50%〜70%: フェードアウト（2.4秒かけて消える） */
  70% {
    opacity: 0;
  }
  /* 70%〜100%: 透明のまま待機（次の出番まで3.6秒待つ） */
  100% {
    opacity: 0;
  }
}
/* ==================== ヒーロー（中央重ね） ==================== */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 10;
  text-shadow: 0 2px 2px rgba(0, 0, 0, .2);
}
.hero-overlay .title {
  font-family: "Cormorant Garamond", serif;
  font-size: 72pt;
  font-weight: 300;
  margin: 0;
  line-height: 1.2;
}
.hero-overlay .sub {
  font-family: "Cormorant Garamond", serif;
  font-size: 20pt;
  font-weight: 300;
  margin-top: 10px;
  line-height: 1.2;
}
/* ===================== Main Copy 共通 ===================== */
.catch {
  font-size: 26pt;
  letter-spacing: .1em;
}
.body-copy {
  line-height: 40px;
  margin-top: 50px;
}
.main-copy {
  max-width: 544px;
  margin: 0 auto;
  text-align: left;
  padding-left: 100px;
  margin-top: 120px;
}
/* ===================== Profile 共通 ===================== */
.title-profile {
  font-size: 24pt;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  text-align: center;
  letter-spacing: .04em;
  border-bottom: 1px solid #000;
}
.services {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  max-width: 900px;
}
.client-service {
  font-size: 16pt;
  font-weight: 300;
  letter-spacing: .04em;
  width: 300px;
  flex-shrink: 0;
  margin: 0;
  line-height: 1.6;
}
.service-box {
  flex: 1;
  max-width: 420px;
  display: block;
}
.service-title {
  font-size: 16pt;
  margin-top: 0;
}
.services .copy {
  font-size: 12pt;
  line-height: 30px;
}
.service1 {
  margin-top: 0;
}
.service2, .service3, .service4 {
  margin-top: 70px;
}
/* ===================== Portfolio 共通 ===================== */
.portfolio {
  text-align: center;
  padding: 0px 0 100px;
  background: #fff;
  color: #333;
}
.title-portfolio {
  font-size: 24pt;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  text-align: center;
  letter-spacing: .04em;
  margin-top: 210px;
  margin-left: 50px;
  margin-right: 50px;
  border-bottom: 1px solid #000;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr; /* SP：1列 */
  gap: 24px;
  margin: 0 80px;
}
.portfolio-item {
  margin-top: 35px;
}
.portfolio-item p {
  margin: .5em 0;
  line-height: 1.6;
}
.section-title {
  font-size: 14pt;
  margin-top: 22px;
  margin-bottom: 20px;
  letter-spacing: 0;
  text-align: center;
  line-height: 24px;
}
.portfolio-copy {
  font-size: 12pt;
  font-weight: 300;
  line-height: 30px;
  text-align: justify;
}
.arrow-btn01 {
  margin-top: 5px;
}
.arrow-btn02 {
  margin-top: 30px;
}
.arrow-btn03 {
  margin-top: 26px;
}
.thumb {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  margin: 0 auto;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.btn-wrap {
  text-align: center;
  box-sizing: content-box;
  display: block;
}
.btn {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid #999;
  border-radius: 30px;
  font-family: "Zen Old Mincho";
  font-weight: 300;
  font-size: 16px;
  text-decoration: none;
  color: #333;
  transition: all .3s ease;
  text-align: center;
  letter-spacing: 0.5px;
  margin: 80px auto;
}
.btn:hover {
  background: #000;
  color: #fff;
}
/* =============== About：共通（SP/TABは縦積み） ================= */
.title-about {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-style: normal;
  font-optical-sizing: auto;
  letter-spacing: 0.04em;
  text-align: center;
  border-bottom: 1px solid #000;
}
.hizashi-tokyo-copy {
  display: flex; /* ← 基本は縦積み */
  max-width: 760px;
  gap: 20px;
  margin: 0 auto;
}
.hizashi-tokyo {
  font-family: "Cormorant Garamond", serif;
  font-size: 18pt;
  letter-spacing: .05em;
  margin: 0 0 0px 0; /* 下に少し空ける */
  max-width: 270px;
}
.about-copy-box {
  margin: 0 0px; /* 共通は左余白なし */
  text-align: left;
}
.about-name {
  font-size: 13pt;
  padding-top: 6px;
}
.about-copy {
  font-size: 12pt;
  line-height: 30px;
  margin-top: 16px;
}
/* ===================== 得意先・協力先 ===================== */
.cliants-partners {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 120px;
  flex-wrap: wrap;
  margin-top: 100px;
  max-width: 1400px;
  text-align: left;
}
.cliants {
  display: flex;
  gap: 30px;
}
.partners {
  display: flex;
  gap: 30px;
}
.title-cliants, .title-partners {
  font-size: 16pt;
  font-weight: 400;
  letter-spacing: .04em;
  text-align: left;
}
.cliants-copy, .partners-copy {
  font-size: 12pt;
  font-weight: 400;
  line-height: 1.8;
  margin-top: 20px;
}
/* ======================= スマホ（〜440px） ======================= */
@media screen and (max-width: 440px) {
  :root {
    --header-h: 46px;
  }
  .site-header .logo {
    margin-left: -20px;
  }
  .hamburger {
    display: block;
    position: absolute; /* ← header内で絶対配置 */
    right: 16px;
    bottom: 7px;
  }
  .site-header nav {
    display: none;
  }
  .sp-only {
    display: inline;
  }
  .pc-tab-only {
    display: none;
  }
  body {
    margin: 60px 40px;
  }
  .top-image-container {
    height: 600px;
  }
  .hero-overlay {
    height: 700px;
  }
  .hero-overlay .title {
    font-size: 36pt;
    line-height: 1.1;
  }
  .hero-overlay .sub {
    font-size: 20pt;
    margin-top: 0;
    line-height: 1.2;
    position: relative;
    top: 10px;
  }
  .catch {
    font-size: 20pt;
    text-align: center;
  }
  .body-copy {
    font-size: 12pt;
    text-align: justify;
    margin-top: 30px;
    line-height: 30px;
  }
  .main-copy {
    display: block;
    gap: 40px;
    align-items: flex-start;
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px;
  }
  /* ===================== Profile（〜440px） ===================== */
  .title-profile {
    margin: 140px 20px 0;
    border-bottom: 1px solid #000;
  }
  .services {
    display: block;
    gap: 30px;
    margin: 60px 40px 0;
    text-align: left;
  }
  .client-service {
    font-size: 18pt;
    margin-top: 0px;
    margin-bottom: 50px;
  }
  .service-box {
    max-width: 380px;
    display: block;
    margin-top: -10px;
  }
  .service-title {
    font-size: 16pt;
    margin: 0 0 0 5px;
  }
  .services .copy {
    font-size: 13pt;
    line-height: 30px;
  }
  .service2, .service3, .service4 {
    margin-top: 60px;
  }
  /* ==================== Prtfolio（〜440px） ================== */
  .title-portfolio {
    margin: 140px 20px 0;
    border-bottom: 1px solid #000;
  }
  .portfolio-grid {
    gap: 24px;
    margin: 0 40px;
  }
  .portfolio-item {
    margin-top: 50px;
    width: 100%;
  }
  .thumb {
    width: 100%;
  }
  .section-title {
    font-size: 14pt;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .btn {
    font-size: 14px;
    letter-spacing: 1px;
    margin: 80px auto;
  }
  /* ================== About（〜440px） ==================== */
  .title-about {
    font-size: 20pt;
    margin: 20px 20px 0;
    border-bottom: 1px solid #000;
  }
  .hizashi-tokyo-copy {
    display: block;
    margin-top: 60px;
    padding: 0 40px;
  }
  .hizashi-tokyo {
    font-size: 22pt;
  }
  .about-name {
    font-size: 14pt;
    line-height: 25px;
  }
  .about-copy-box {
    margin-top: 30px;
  }
  .about-copy {
    font-size: 12pt;
    line-height: 30px;
    margin-top: 30px;
  }
  .cliants-copy {
    font-size: 12pt;
    line-height: 30px;
  }
  .partners-copy {
    font-size: 12pt;
    line-height: 30px;
  }
  .cliants-partners {
    gap: 90px;
  }
  .cliants {
    display: block;
    width: 100%;
    margin-left: 40px;
  }
  .partners {
    display: block;
    width: 100%;
    margin-left: 40px;
  }
}
/* ===================== タブレット（441px〜1024px） ===================== */
@media screen and (min-width:441px) and (max-width:1024px) {
  .hamburger {
    display: none;
  }
  .site-header nav {
    display: block;
  }
  .hero-overlay .title {
    font-size: 56pt;
    line-height: 1.1;
  }
  .hero-overlay .sub {
    font-size: 20pt;
    margin-top: 4px;
    line-height: 1.2;
    position: relative;
    top: 10px;
  }
  .catch {
    font-size: 26pt;
  }
  .body-copy {
    line-height: 40px;
    margin-top: 50px;
  }
  .main-copy {
    max-width: 544px;
    margin: 120px auto 0;
    text-align: left;
    padding-left: 50px;
  }
  .title-profile {
    font-size: 24pt;
    margin-top: 200px;
    margin-left: 40px;
    margin-right: 40px;
    border-bottom: 1px solid #000;
  }
  .services {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 35px;
    max-width: 750px;
    margin: 80px auto 0;
  }
  .client-service {
    font-size: 16pt;
    width: 240px;
    flex-shrink: 0;
    margin-top: 0;
  }
  .service-box {
    flex: 1;
    max-width: 420px;
  }
  .service-title {
    font-size: 16pt;
    margin-top: 0;
    margin-bottom: -5px;
  }
  .services .copy {
    font-size: 12pt;
    line-height: 30px;
  }
  /* Portfolio：2カラム固定 */
  .portfolio {
    padding: 70px 0;
  }
  .title-portfolio {
    margin: 110px 40px 0;
    border-bottom: 1px solid #000;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 0 140px;
    margin-top: 60px;
    padding: 0;
  }
  .title-about {
    font-size: 24pt;
    margin: 90px 40px 0;
    border-bottom: 1px solid #000;
  }
  .hizashi-tokyo-copy {
    max-width: 760px; /* ほどよい読み幅 */
    margin-top: 80px;
  }
  .hizashi-tokyo {
    font-size: 19pt;
  }
  .about-name {
    font-size: 13pt;
  }
  .about-copy {
    font-size: 11.5pt;
  }
}
.title-cliants, .title-partners {
  font-size: 16pt;
}
.cliants-copy, .partners-copy {
  font-size: 12pt;
  margin-top: 25px;
}
.cliants-partners {
  justify-content: center;
  align-items: flex-start;
  gap: 100px;
  flex-wrap: wrap;
  text-align: left;
}
/* ========================= PC（1025px〜） ========================= */
@media screen and (min-width:1025px) {
  body {
    margin: 0 60px;
  }
  .hamburger {
    display: none;
  }
  .site-header nav {
    display: block;
  }
  .hero-overlay .title {
    font-size: 72pt;
  }
  .hero-overlay .sub {
    font-size: 24pt;
    margin-top: 10px;
  }
  /* Main Copy（既定をPCに合わせているため追加変更なし） */
  .title-profile {
    font-size: 24pt;
    font-family: "Cormorant Garamond", serif;
    font-weight: 300;
    text-align: center;
    letter-spacing: .04em;
    margin-top: 240px;
    margin-left: 50px;
    margin-right: 50px;
    border-bottom: 1px solid #000;
  }
  .services {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 60px;
    max-width: 900px;
    margin: 80px auto 0;
    text-align: left;
  }
  .portfolio {
    margin-top: 200px;
  }
  /* Portfolio：4カラム固定 */
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0px;
    justify-items: center;
  }
  .portfolio-item {
    max-width: 245px;
  }
  /* About（既定をPCに合わせ済み） */
  .title-about {
    font-size: 24pt;
    margin: 110px 50px 0;
  }
  .hizashi-tokyo-copy {
    display: flex; /* 横並び */
    align-items: flex-start;
    gap: 48px; /* カラム間 */
    max-width: 840px;
    margin-top: 80px;
    padding: 0;
  }
  .hizashi-tokyo {
    margin: 0; /* 左マージンは使わずgapで調整 */
    font-size: 18pt;
  }
  .about-copy-box {
    max-width: 568px;
  }
}