@charset "utf-8";

/* ==========================================================================
   CSS Variables
========================================================================== */

:root {

  /* text */
  --color-text: #2B2B2B;

  /* background */
  --color-base: #F7F7F5;

  /* accent */
  --color-accent: #E60012;

  /* sub */
  --color-blue: #5E81AC;

}

/* ==========================================================================
   Global
========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  color: var(--color-text);
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  line-height: 1.6;
  letter-spacing: .05em;
}

#wrapper {
  width: 100%;
}

.inner {
  max-width: 1020px;
  padding: 0 24px;
  margin: 0 auto;
}

a {
  color: var(--color-text);
  text-decoration: none;
  /* デフォルトのテキストの下線を消す */
  transition: 0.3s;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Header
========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  padding: 32px 0;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}

/* スクロール後 */
header.is-scroll {
  background: rgba(247, 247, 245, .82);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(43, 43, 43, .06);
}

header .inner {
  /* logoとグローバルナビ */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* logoの調整 */
header h1 img {
  width: 100px;
  height: auto;
  display: block;
}

header ul {
  display: flex;
  gap: 0 24px;
  padding-top: 8px;
}

/* スマホ用のメニュー間隔を調整 */
header ul.sp-menu {
  gap: 32px 0;
}

a:hover {
  color: var(--color-accent);
}

.pc-menu a,
.sp-menu a {
  display: inline-block;
  /* これがないとリンク範囲が全幅になる */
  position: relative;
  /* 相対位置指定 */
}

/* 下線のスタイル */
.pc-menu a::after,
.sp-menu a::after {
  background-color: var(--color-accent);
  /* 下線の色 */
  bottom: -4px;
  /* 要素の下端からの距離 */
  content: "";
  /* 要素に内容を追加 */
  height: 1px;
  /* 下線の高さ */
  left: 0;
  /* 要素の左端からの距離 */
  position: absolute;
  /* 絶対位置指定 */
  transform: scale(0, 1);
  /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
  transform-origin: left top;
  /* 変形の原点を左上に指定 */
  transition: transform .3s ease;
  /* 変形をアニメーション化 */
  width: 100%;
  /* 要素の幅 */
}

/* リンクにホバーした際の下線の表示 */
.pc-menu a:hover::after,
.sp-menu a:hover::after {
  transform: scale(1, 1);
  /* 下線を横方向に1倍、縦方向に1倍に変形（表示） */
}

header ul.sp-menu {
  /* スマホメニュー */
  padding-top: 72px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s linear;
}

header ul.sp-menu.is-active {
  /* スマホメニューが開いた時 */
  pointer-events: auto;
  /* クリックできるようにする */
  opacity: 1;
  /* 透明度100％ */
}


/* ==========================================================================
  Main
========================================================================== */
main section {
  margin-bottom: 100px;
}

main h2 {
  margin-bottom: 30px;
  letter-spacing: .2em;
}

/* ------------------------------------------
Loading
----------------------------------------- */
.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--color-base);
  transition: opacity .8s ease, visibility .8s ease;
}

.loading-logo {
  color: var(--color-text);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  animation: loadingLogo 2.4s cubic-bezier(.16, .84, .34, 1) forwards;
  transition: opacity .4s ease;
}

.loading-logo span {
  color: var(--color-accent);
}

/* ローディング終了 */
.loading.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.08);
  filter: blur(32px);
  transition: opacity 1.2s ease, filter 1.4s ease, transform 1.4s cubic-bezier(.22, 1, .36, 1), visibility .8s;
}

/* ロゴの残像防止 */
.loading.is-hide .loading-logo {
  opacity: 0;
  animation: none;
  transform: scale(1.15);
  filter: blur(20px);
  transition: opacity 1s ease, transform 1.2s ease, filter 1.2s ease;
}

/* 2回目以降は非表示 */
.loading.is-skip {
  display: none;
}

/* ロゴアニメーション */
@keyframes loadingLogo {
  0% {
    opacity: 0;
    transform: translateY(32px) scale(.94);
    filter: blur(8px);
  }

  20% {
    opacity: 0;
    transform: translateY(32px) scale(.94);
    filter: blur(8px);
  }

  55% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  75% {
    transform: scale(1.03);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ------------------------------------------
first view
----------------------------------------- */
/* FV本体 */
.fv {
  height: 100vh;
  /* 画面高さの100％ */
  background-image: url("../images/main-visual.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  margin-bottom: 100px;
}

/* FV表示アニメーション */
.fv_sub,
.fv_title,
.fv_copy,
.fv_btn {
  opacity: 0;
  transform: translateY(16px);
}

.fv_sub.is-show,
.fv_title.is-show,
.fv_copy.is-show,
.fv_btn.is-show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

/* FV背景リビール */
.fv {
  position: relative;
  overflow: hidden;
}

.fv_content {
  position: relative;
  z-index: 2;
}

/* 背景マスク */
.fv::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--color-base);
  pointer-events: none;
  transform-origin: left;
}

.fv.is-show::after {
  transform: skewX(-18deg) translateX(120%);
  transition: transform 1.4s cubic-bezier(.77, 0, .18, 1);
}

/* タイピング */
.js-type-title {
  display: inline-block;
  white-space: pre-line;
}

.js-type-title::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 6px;
  vertical-align: -4px;
  background: var(--color-text);
  animation: typingCursor .8s infinite;
}

.js-type-title.is-done::after {
  display: none;
}

@keyframes typingCursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* アクセントライン */
.fv::before {
  content: "";
  position: absolute;
  top: 42%;
  left: -40vw;
  z-index: 3;
  width: 30vw;
  height: 1px;
  background: var(--color-accent);
  opacity: 0;
  pointer-events: none;
}

.fv_line {
  position: absolute;
  top: 48%;
  left: -30vw;
  z-index: 3;
  width: 18vw;
  height: 1px;
  background: #5E81AC;
  opacity: 0;
  pointer-events: none;
}

.fv.is-show::before {
  animation: lineMove 1.1s cubic-bezier(.22, 1, .36, 1) forwards;
}

.fv.is-show .fv_line {
  animation: lineMove .9s .12s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes lineMove {
  0% {
    opacity: 0;
    transform: translateX(0);
  }

  15% {
    opacity: .9;
  }

  100% {
    opacity: 0;
    transform: translateX(160vw);
  }
}

/* 説明文のbox ---------- */
.fv_content {
  max-width: 1020px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 24px;
  /* 以下レスポンシブ対応。画面の高さに対して縦中央に配置 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Web Design / Coding */
.fv_sub {
  font-size: 14px;
  letter-spacing: .08em;
  margin-bottom: 24px;
}

/* MINA　PORTFOLIO */
.fv_title {
  font-size: clamp(42px, 5vw, 72px);
  /* 文字サイズの調整。clamp(最小値、可変値、最大値) */
  line-height: 1.25;
  letter-spacing: .18em;
  font-weight: 700;
  margin-bottom: 40px;
  min-height: 2.2em;
}

/* 心を動かすデザインをシンプルに、強く、美しく。 */
.fv_copy {
  font-size: 16px;
  line-height: 2;
  letter-spacing: .08em;
  margin-bottom: 80px;
}



/* ------------------------------------------
Button Common
----------------------------------------- */
.fv_btn,
.works-btn,
.about_btn,
.contact_btn {
  position: relative;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
}

/* 線 */
.fv_btn::before,
.works-btn::before,
.about_btn::before,
.contact_btn::before {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  background: var(--color-accent);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

/* 矢印 */
.fv_btn::after,
.works-btn::after,
.about_btn::after,
.contact_btn::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--color-accent);
  border-right: 1px solid var(--color-accent);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

/* hover */
.fv_btn:hover::before,
.works-btn:hover::before,
.about_btn:hover::before,
.contact_btn:hover::before {
  transform: translateX(6px);
}

.fv_btn:hover::after,
.works-btn:hover::after,
.about_btn:hover::after,
.contact_btn:hover::after {
  transform:
    translateX(6px) rotate(45deg);
}

/*==========================
Box Button
About / Contact
==========================*/
.about_btn,
.contact_btn {
  display: inline-block;
  border: 1px solid #333;
  padding: 16px 72px 16px 32px;
}

/* 線の位置 */
.about_btn::before,
.contact_btn::before {
  width: 42px;
  right: 24px;
}

/* 矢印の位置 */
.about_btn::after,
.contact_btn::after {
  top: calc(50% - 4px);
  right: 24px;
  transform: rotate(45deg);
}

/*==========================
Text Link
FV / Works
==========================*/
.fv_btn,
.works-btn {
  padding-right: 65px;
}

.fv_btn::before,
.works-btn::before {
  width: 52px;
  right: 0;
}

.fv_btn::after,
.works-btn::after {
  top: calc(50% - 4px);
  right: 0;
  transform: rotate(45deg);
}



/* ---------------------------fv end */
/*==========================
Scroll Fade Up
スクロール表示
==========================*/
.js-fadeup {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.js-fadeup.is-show {
  opacity: 1;
  transform: translateY(0);
}


/* 左右から入るスクロールアニメーション */
.js-fade,
.js-fade-left,
.js-fade-right {
  opacity: 0;
  transition: opacity .9s ease, transform .9s cubic-bezier(.22, 1, .36, 1);
  will-change: opacity, transform;
}

.js-fade {
  transform: translateY(40px);
}

.js-fade-left {
  transform: translateX(-48px);
}

.js-fade-right {
  transform: translateX(48px);
}

.js-fade.is-show,
.js-fade-left.is-show,
.js-fade-right.is-show {
  opacity: 1;
  transform: translate(0, 0);
}

/* ------------------------------------------
Works
----------------------------------------- */
.works {
  padding: 120px 0;
}

/* Works一覧ページだけ */
.works-page .works {
  padding-top: 180px;
}

/*==========================
Section Heading
大きい数字＋タイトル
==========================*/

.section-heading {
  position: relative;
  padding-top: 64px;
  max-width: 100%;
}

/* 背景数字 */
.section-number {
  position: absolute;
  top: -36px;
  left: -12px;
  z-index: 0;
  color: rgba(230, 0, 18, .05);
  font-size: clamp(90px, 9vw, 100px);
  font-weight: 800;
  line-height: 1;
}

/* 赤線消す */
.section-number::after {
  display: none;
}

/* タイトル */
.section-heading h2 {
  position: relative;
  z-index: 1;
  color: var(--color-accent);
  font-size: clamp(36px, 4.2vw, 40px);
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 60px;
  margin-top: -40px;
  line-height: 1;
}

/* .section-headingの直下のpで.section-numberのクラス名が付いてないp */
.section-heading>p:not(.section-number) {
  max-width: 100%;
  font-size: 16px;
  line-height: 2;
  margin-top: 16px;
  border-bottom: 1px solid var(--color-accent);
  margin-bottom: 60px;
}


.works-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.works-item {
  display: flex;
  align-items: center;
  gap: 48px;
}

.works-img {
  display: block;
  transition:
    transform .45s cubic-bezier(.22, 1, .36, 1),
    box-shadow .45s ease;
}

.works-img:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(43, 43, 43, .10);
}

.works-img {
  width: 55%;
}

.works-img img {
  width: 100%;
  display: block;
}

.works-text {
  width: 45%;
}

.works-category {
  color: #3867A8;
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.works-text h3 {
  font-size: 22px;
  letter-spacing: .12em;
  margin-bottom: 24px;
}

.works-text p {
  line-height: 1.8;
  margin-bottom: 24px;
}

.works-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.works-tags li {
  color: #3867A8;
  border: 1px solid #3867A8;
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 12px;
}

.works-btn {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
}

/*==========================
Stagger
順番表示 共通
==========================*/
/* 1番目 */
.delay-01 {
  transition-delay: 0s;
}

/* 2番目 */
.delay-02 {
  transition-delay: .1s;
}

/* 3番目 */
.delay-03 {
  transition-delay: .2s;
}

/* 4番目 */
.delay-04 {
  transition-delay: .3s;
}


/* ---------------------------works end */
/* ------------------------------------------
info(グラフィックデザイン・ヒアリング)
----------------------------------------- */
/* 共通 */
.info-box {
  background: var(--color-base);
  border: 1px solid #000;
  margin-top: 100px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* まるアイコン */
.info-box_icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* アイコン画像 */
.info-box_icon img {
  width: 56px;
}

/* タイトル */
.info-box_text h3 {
  font-size: 32px;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

/* 本文 */
.info-box_text p {
  line-height: 1.9;
}


/* ---------------------------info end */
/* ------------------------------------------
workflow
----------------------------------------- */
.workflow {
  background: var(--color-base);
  padding: 120px 0;
}

.workflow-list {
  /* 1020pxを最大値にする。画面小さい時は100% */
  width: min(1020px, 100%);
  /* 上 左右 下 */
  margin: 80px auto 0;
}

.workflow-item {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}

.workflow-item:not(:last-child) {
  margin-bottom: 64px;
}

.workflow-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.workflow-icon img {
  width: 42px;
}

/* 縦線 -------------------- */
.workflow-item:not(:last-child)::after {
  /* .workflow-item の中で最後以外の要素に対して疑似要素(::after)を追加する */
  content: "";
  /* 疑似要素を表示 */
  width: 1px;
  height: 40px;
  background: var(--color-text);
  opacity: 0.3;
  position: absolute;
  left: 48px;
  top: 115px;
}

/* workflowの赤い丸 --------------------*/
.workflow-item:not(:last-child)::before {
  content: "";
  /* 疑似要素を表示 */
  width: 8px;
  /* 丸のサイズ */
  height: 8px;
  /* 丸のサイズ */
  border-radius: 50%;
  /* 円形にする */
  background: var(--color-accent);
  /* 赤色 */
  position: absolute;
  /* workflow-itemを基準に配置 */
  left: 44.5px;
  /* 縦線中央に合わせる（線中央48px - 丸半径4px） */
  top: 155px;
  /* 縦線の一番下に配置。topとheigthの合計px */
}

.workflow-number {
  color: var(--color-accent);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
}

.workflow-text h3 {
  display: inline-block;
  font-size: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-accent);
}

.workflow-text p {
  line-height: 1.8;
}


/* ---------------------------workflow end */

/* ------------------------------------------
about
----------------------------------------- */
.about {
  padding: 120px 0;
  overflow: hidden;
}

.about_layout {
  display: grid;
  grid-template-columns: 36% 64%;
  grid-template-areas:
    "text image"
    "profile strength";
  gap: 80px 64px;
  align-items: center;
}

/* 左側テキスト */
.about_text {
  grid-area: text;
  position: relative;
  z-index: 2;
}

.about-name {
  position: relative;
  display: inline-block;
  margin-bottom: 56px;
  color: var(--color-text);
  /* 手書きフォント */
  font-family: "Caveat", cursive;
  /* サイズ少し大きめ */
  font-size: clamp(78px, 8vw, 120px);
  /* 細すぎない */
  font-weight: 600;
  /* 手書きは詰める */
  letter-spacing: .02em;
  /* 少し低め */
  line-height: .8;
  text-transform: none;
}

/* MINA下の赤ライン：表示時に左から伸びる */
.about-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  width: min(70vw, 780px);
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s ease .35s;
}

.about-name.is-show::after {
  transform: scaleX(1);
}

.about-lead {
  margin-bottom: 40px;
  font-size: 17px;
  font-weight: 600;
  line-height: 2.1;
}

.about-desc {
  font-size: 16px;
  line-height: 2;
}

/* メイン画像 */
.about_img {
  grid-area: image;
  position: relative;
  z-index: 1;
  width: 100%;
  margin-left: -24px;
}

.about_img img {
  width: 100%;
  display: block;
  transform: scale(1.04);
  transition: transform 1.5s ease;
}

.about_img.is-show img {
  transform: scale(1);
}

/* 左下の抽象写真 */
.about_profile {
  grid-area: profile;
  position: relative;
  z-index: 2;
  width: 82%;
}

.about_profile img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.5s ease;
}

.about_profile.is-show img {
  transform: scale(1);
}

/* 装飾の薄い四角 */
.about_profile::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  z-index: -1;
  width: 96px;
  height: 96px;
  background: color-mix(in srgb, var(--color-accent) 6%, transparent);
}

/* strength */
.about_bottom {
  grid-area: strength;
  width: calc(100% + 120px);
  margin-left: -120px;
  position: relative;
  z-index: 3;
  padding: 48px 0 48px 56px;
  background: transparent;
}

.about_strength {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
  color: var(--color-accent);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2em;
}

.about_strength::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-accent);
}

.strength_list {
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.strength_list li {
  width: 33.333%;
  padding: 0 20px;
  text-align: center;
  border-right: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent);
}

.strength_list li:last-child {
  border-right: none;
}

.strength_list img {
  width: 32px;
  margin-bottom: 16px;
}

.strength_title {
  display: block;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.strength_desc {
  max-width: 100%;
  margin: 0 auto;
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
}

/* ---------------------------about end */

/* ------------------------------------------
contact
----------------------------------------- */

.contact_btn {
  display: block;
  /* ブロック要素にする。margin: auto を効かせるため */
  width: fit-content;
  /* 中の文字サイズに合わせた幅にする。ボタン幅が横100％にならないようにする */
  margin: 60px auto 0;
}

/* ---------------------------contact end */




/* ==========================================================================
  Footer
========================================================================== */
footer {
  padding: 88px 0 56px;
  background: var(--color-base);
}

.footer_layout {
  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: center;
  gap: 80px;
}

.footer_contact {
  text-align: left;
}

.footer_title {
  margin-bottom: 20px;
  color: var(--color-accent);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: .04em;
  line-height: 1;
}

.footer_text {
  margin-bottom: 32px;
  line-height: 2;
}

.footer_contact .contact_btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 185px;
  padding: 18px 32px;
  margin-top: 8px;
  border: 1px solid var(--color-text);
  transition:
    transform .3s ease,
    background .3s ease;
}

.footer_contact .contact_btn:hover {
  transform: translateX(8px);
}

.footer_nav {
  justify-self: end;
  text-align: right;
}

.footer_nav ul {
  display: flex;
  justify-content: flex-end;
  gap: 0 32px;
  margin-bottom: 28px;
}

.footer_line {
  width: 100%;
  height: 1px;
  margin-bottom: 24px;
  background: var(--color-text);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .9s ease;
}

.footer_line.is-show {
  transform: scaleX(1);
}

.footer_nav p {
  text-align: right;
}


/* ==========================================================================
  01 Works
========================================================================== */
.works-fv {
  padding: 80px 0 120px;
  margin-top: 60px;
  margin-bottom: 60px;
}

.works-fv_inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

/* タイトル */
.works-fv_title {
  font-size: clamp(48px, 7vw, 60px);
  line-height: 1.25;
  letter-spacing: .18em;
  font-weight: 700;
  margin-bottom: 10px;
}

/* 説明 */
.works-fv_text {
  line-height: 2;
}

/* 画像 */
.works-fv_visual {
  margin-top: 50px;
}

.works-fv_img {
  width: 100%;
  display: block;
}

/* SP */


/* ------------------------------------------
works detail common
----------------------------------------- */
/* 各セクションの上下余白 */
.work-pages,
.work-thinking,
.work-technical,
.work-next {
  padding: 50px 0;
}

.works-fv_content {
  position: relative;
  width: 100%;
}

.works-fv_title {
  position: absolute;
  top: -30px;
  left: -4px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px #F7F7F5;
  /* 水平、垂直、ぼかし、色 */
}

/* 03など背景を少し変えたいセクション */
.work-pages,
.work-technical {
  background: #f8f8f8;
}

/* 見出しと本文を横並びにする基本レイアウト */
.work-section-side {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
}

/* セクション見出し */
.work-section_heading h2,
.work-pages .section-heading h2 {
  color: var(--color-accent);
  font-size: 16px;
  letter-spacing: .08em;
  margin-bottom: 10px;
  text-shadow: none;
}

.project-overview {
  margin-top: 80px;
}

.project-table {
  width: 100%;
  border-collapse: collapse;
}

.project-table tr {
  border-bottom: 1px solid #E5E5E5;
}

.project-table th {
  width: 220px;
  padding: 24px 0;
  text-align: left;
  font-size: 14px;
  color: #888;
  font-weight: 500;
  vertical-align: top;
}

.project-table td {
  padding: 24px 0;
  line-height: 1.8;
}

/* ------------------------------------------
02 Concept
----------------------------------------- */
.work-concept {
  padding-top: 80px;
}

.concept-copy {
  max-width: 700px;
  margin-bottom: 48px;
  font-size: 32px;
  line-height: 1.8;
  font-weight: 500;
}

/* ------------------------------------------
03 All Pages
----------------------------------------- */
.work-pages {
  padding: 120px 0;
}

.work-pages .section-heading {
  margin-bottom: 80px;
}

.allpage_copy {
  max-width: 560px;
  line-height: 1.9;
}

/* PC・SP横並び */
.allpage {
  display: grid;
  /* PC広め、SP細め */
  grid-template-columns:
    minmax(0, 72%) minmax(220px, 280px);
  gap: 56px;
  align-items: start;
}

/* 共通 */
.allpage_item {
  display: flex;
  flex-direction: column;
}

.allpage_label {
  font-size: 13px;
  letter-spacing: .14em;
  color: #666;
  margin-bottom: 24px;
}

/* 画像 */
.allpage_item img {
  width: 100%;
  display: block;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, .06);
}

/* PC */
.allpage_item:first-child img {
  max-width: 100%;
}

/* SP */
.allpage_item:last-child {
  justify-self: center;
}

.allpage_item:last-child img {
  width: 240px;
}

.page-scroll {
  width: 100%;
  height: 600px;
  overflow: scroll;
}

/* ------------------------------------------
04 Design Thinking
----------------------------------------- */
.thinking-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.thinking-list li {
  list-style: none;
  z-index: 10;
}

/* まるアイコン */
.works01-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  background-color: var(--color-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.thinking-list img {
  width: 36px;
  height: 36px;
}

.thinking-list h3 {
  font-size: 16px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  letter-spacing: .04em;
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
}

.thinking-list p {
  line-height: 2;
}

/* ------------------------------------------
05 Technical Point
----------------------------------------- */
.technical-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.technical-list li {
  list-style: none;
  border: 1px solid #dddddd;
  padding: 28px 20px;
  text-align: center;
  background-color: #fff;
}

.technical-list h3 {
  font-size: 17px;
  margin-bottom: 12px;
}

.technical-list p {
  font-size: 14px;
}

/* ------------------------------------------
06 Next Work
----------------------------------------- */
.next-text {
  font-size: 18px;
  line-height: 2;
}

/* ==========================
   Works Navigation
========================== */

.works-nav {
  max-width: 1020px;
  margin: 120px auto 0;
  padding-top: 40px;
  padding-left: 24px;
  padding-right: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 100px;
}

.works-nav-card {
  position: relative;
  display: block;
  padding: 32px;
  text-decoration: none;
  color: #2B2B2B;
  background: #FFFFFF;
  border: 1px solid rgba(43, 43, 43, .08);
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

/* 上の青ライン */

.works-nav-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 32px;
  height: 2px;
  background: #5E81AC;
}

.works-nav-card:hover {
  transform: translateY(-4px);
  border-color: rgba(94, 129, 172, .3);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, .05);
}

.works-nav-label {
  display: block;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #E60012;
}

.works-nav-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.works-nav-content img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  display: block;
}

.works-nav-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

@media (max-width: 768px) {

  .works-nav {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 80px;
  }

  .works-nav-card {
    padding: 24px;
  }

  .works-nav-content {
    gap: 16px;
  }

  .works-nav-content img {
    width: 110px;
    height: 70px;
  }

  .works-nav-title {
    font-size: 16px;
  }
}

/* ------------------------------------------
Banner Collection
----------------------------------------- */
.banner-collection {
  padding: 120px 0;
}

/* Overview説明文 */
.banner-intro {
  max-width: 560px;
  line-height: 2;
}

/* バナー作品リスト */
.banner-list {
  gap: 120px;
}

/* 作品ごとの補足 */
.works-detail {
  color: #888;
  font-size: 13px;
  letter-spacing: .08em;
  margin-bottom: 20px;
}

/* works03 hover無効 */
.works03-page .works-img:hover {
  transform: none;
  box-shadow: none;
}

/* 作品説明文 */
.banner-item .works-text>p:not(.works-category):not(.works-detail) {
  line-height: 1.9;
}

/* タグの下余白を消す */
.banner-item .works-tags {
  margin-bottom: 0;
}

/* ------------------------------------------
Banner Section
Concept / Learning / Next Work
----------------------------------------- */
.banner-section {
  margin-top: 120px;
  padding-top: 80px;
}

.banner-section-text {
  max-width: 720px;
  line-height: 2;
}

.banner-learning-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.banner-learning-list li {
  list-style: none;
  padding-right: 32px;
  border-right: 1px solid var(--color-base);
}

.banner-learning-list li:last-child {
  border-right: none;
}

.banner-learning-list h3 {
  color: var(--color-accent);
  font-size: 18px;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.banner-learning-list p {
  line-height: 1.9;
}

/* SP */
/* ベージュ背景 */
.works03-page .banner-concept-section,
.works03-page .banner-learning-section {
  background: var(--color-base);
}

/* 白背景 */
.works03-page .works03-hero,
.works03-page .banner-collection,
.works03-page .works-nav {
  background: #fff;
}

/* グレー背景 */
.works03-page .work-next,
.works03-page .footer {
  background: var(--color-bg);
}

/* ==========================================================================
   Responsive Overrides / About Strength Fix
   ここより下をスマホ表示の最終上書きとして管理
========================================================================== */

/* ==========================================================================
   Responsive
   ブレイクポイントはここに集約
   - 1020px以下：Aboutの並び順をスマホ寄りに変更
   - 768px以下：スマホレイアウト
   - 428px以下：小さいスマホの微調整
========================================================================== */
@media (min-width: 769px) and (max-width: 1020px) {
  .section-heading {
    padding-top: 48px;
  }

  .section-number {
    top: -28px;
    left: -12px;
    font-size: 120px;
  }

  .section-heading h2 {
    font-size: 40px;
    margin-top: 0;
  }

  .about_layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "image"
      "profile"
      "strength";
    gap: 64px;
  }

  .about_img {
    margin-left: 0;
  }

  .about_profile {
    width: 70%;
    opacity: .72;
    position: relative;
    z-index: 1;
  }

  .about_bottom {
    width: 100%;
    margin: 0 auto;
    background: transparent;
  }

  .strength_list {
    margin: 0 auto;
    gap: 32px;
  }

  .strength_list li {
    padding: 0 20px;
  }
}

@media (max-width: 1020px) {

  /* About：タブレットでもスマホ版と同じ順番にする */
  .about_layout {
    display: flex;
    flex-direction: column;
    gap: 56px;
  }

  .about_text {
    order: 1;
  }

  .about_img {
    order: 2;
    width: 100%;
    margin-left: 0;
  }

  .about_bottom {
    order: 3;
    width: 100%;
    margin-left: 0;
    padding: 0;
  }

  .about_profile {
    order: 4;
    width: min(72%, 520px);
    margin: -16px auto 0;
    opacity: .72;
  }

  .strength_list {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .strength_list li {
    width: 100%;
    padding: 48px 0;
    text-align: center;
    border-right: none;
    border-bottom: 1px solid rgba(43, 43, 43, .12);
  }

  .strength_list li:last-child {
    border-bottom: 1px solid rgba(43, 43, 43, .12);
  }

  .strength_list img {
    display: block;
    margin: 0 auto 24px;
  }

  .strength_title,
  .strength_desc {
    text-align: center;
  }

  .strength_desc {
    line-height: 2;
  }
}

@media (max-width: 768px) {

  /* 768px以下の場合 */
  .js-fade-left,
  .js-fade-right {
    transform: translateY(32px);
  }

  .js-fade-left.is-show,
  .js-fade-right.is-show {
    transform: translateY(0);
  }

  .footer_line {
    transform-origin: left;
  }

  header {
    padding: 16px 0;
  }

  header ul.pc-menu {
    display: none;
  }

  .ham-menu {
    display: inline-block;
    cursor: pointer;
    position: fixed;
    right: 20px;
    top: 36px;
    z-index: 200;
    width: 40px;
    height: 24px;
  }

  .ham-line {
    position: absolute;
    transition: 0.3s;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    opacity: 0.5;
  }

  .line-top {
    top: 0;
  }

  .line-middle {
    top: calc(50% - 1px);
  }

  .line-bottom {
    bottom: 0;
  }

  .ham-menu-active>.line-top {
    top: calc(50% - 1px);
    transform: rotate(45deg);
  }

  .ham-menu-active>.line-middle {
    width: 0;
    height: 0;
  }

  .ham-menu-active>.line-bottom {
    top: calc(50% - 1px);
    transform: rotate(-45deg);
  }

  .fv_content {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .works {
    padding: 80px 0;
  }

  .works-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .works-img,
  .works-text {
    width: 100%;
  }

  .info-box {
    padding: 32px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .info-box_icon {
    width: 88px;
    height: 88px;
  }

  .info-box_icon img {
    width: 40px;
  }

  .info-box_text h3 {
    font-size: 24px;
  }

  .workflow {
    padding: 80px 0;
  }

  .workflow-list {
    margin-top: 56px;
  }

  .workflow-item {
    gap: 20px;
    align-items: flex-start;
  }

  .workflow-icon {
    width: 72px;
    height: 72px;
  }

  .workflow-icon img {
    width: 32px;
  }

  .workflow-item:not(:last-child)::after {
    left: 36px;
    top: 84px;
    height: 48px;
  }

  .workflow-item:not(:last-child)::before {
    left: 32px;
    top: 132px;
  }

  .about {
    padding: 80px 0;
  }

  .about_layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .about_text {
    order: 1;
  }

  .about_img {
    order: 2;
  }

  .about_bottom {
    order: 3;
  }

  .about_profile {
    order: 4;
    width: 72%;
    margin: -24px auto 0;
    opacity: .72;
  }

  .about_text,
  .about_img,
  .about_profile,
  .about_bottom {
    width: 100%;
  }

  .about_img {
    margin-right: 0;
  }

  /* strength（強み） -------------------- */
  .strength_list {
    flex-direction: column;
    gap: 40px;
  }

  .strength_list li {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(43, 43, 43, .12);
  }

  .strength_list li:last-child {
    border-right: none;
  }

  .strength_list li {
    text-align: center;
  }

  .strength_title {
    text-align: center;
  }

  /* リンクbtn -------------------- */
  .about_btn {
    display: block;
    /* ブロック要素にする。margin: auto を効かせるため */
    width: fit-content;
    /* 中の文字サイズに合わせた幅にする。ボタン幅が横100％にならないようにする */
    margin: 0 auto;
    margin-top: 100px;
  }

  .section-heading {
    padding-top: 24px;
  }

  .section-number {
    position: relative;
    top: 0;
    left: 0;
    display: block;
    margin-bottom: 8px;
    font-size: 72px;
  }

  .section-heading h2 {
    font-size: 34px;
    margin-bottom: 24px;
  }

  .section-heading>p:not(.section-number) {
    font-size: 14px;
    line-height: 2;
  }

  footer {
    padding: 72px 0 40px;
  }

  .footer_layout {
    grid-template-columns: 1fr;
    gap: 56px;
    justify-items: center;
  }

  .footer_contact {
    text-align: center;
  }

  .footer_contact .contact_btn {
    margin: 0 auto;
  }

  .footer_nav {
    justify-self: center;
    text-align: center;
  }

  .footer_nav ul {
    justify-content: center;
    gap: 24px;
  }

  .footer_nav p {
    text-align: center;
  }

  .works-fv {
    padding: 64px 0;
  }

  .works-fv_content {
    margin-bottom: 48px;
  }

  .works-fv_title {
    font-size: 42px;
  }

  .works-fv_visual {
    margin-top: 40px;
  }

  .work-pages {
    padding: 80px 0;
  }

  .allpage {
    grid-template-columns:
      1fr;
    gap: 72px;
  }

  .allpage_item:last-child img {
    width: 220px;
  }

  .work-detail,
  .work-pages,
  .work-thinking,
  .work-technical,
  .work-next {
    padding: 72px 0;
  }

  .work-section-side {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-table {
    width: 100%;
    margin-left: 0;
    border-collapse: collapse;
  }

  .project-table th,
  .project-table td {
    display: block;
    width: 100%;
  }

  .project-table th {
    padding: 20px 0 4px;
  }

  .project-table td {
    padding: 0 0 20px;
  }

  .page-list {
    grid-template-columns: 1fr 1fr;
  }

  .page-item--sp {
    grid-column: span 2;
  }

  .thinking-list,
  .technical-list {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .technical-list {
    gap: 30px;
  }

  .next-text br {
    display: none;
  }

  .banner-collection {
    padding: 80px 0;
  }

  .banner-intro br {
    display: none;
  }

  .banner-list {
    gap: 80px;
  }

  .works-detail {
    margin-bottom: 16px;
  }

  .banner-section {
    margin-top: 88px;
    padding-top: 64px;
  }

  .banner-learning-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .banner-learning-list li {
    padding-right: 0;
    padding-bottom: 32px;
    border-right: none;
    border-bottom: 1px solid #E5E5E5;
  }

  .banner-learning-list li:last-child {
    border-bottom: none;
  }

  .about_bottom {
    width: 100%;
    margin-left: 0;
    padding: 0;
  }

  .about_strength {
    justify-content: flex-start;
    width: 100%;
  }

  .strength_list {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .strength_list li {
    width: 100%;
    padding: 48px 0;
    text-align: center;
    border-right: none;
    border-bottom: 1px solid rgba(43, 43, 43, .12);
  }

  .strength_list li:last-child {
    border-bottom: 1px solid rgba(43, 43, 43, .12);
  }

  .strength_list img {
    display: block;
    margin: 0 auto 24px;
  }

  .strength_title {
    display: block;
    text-align: center;
  }

  /* About / Strength：最終上書き */
  .about_layout {
    display: flex;
    flex-direction: column;
    gap: 56px;
  }

  .about_text,
  .about_img,
  .about_bottom,
  .about_profile {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
  }

  .about_text {
    order: 1;
  }

  .about_img {
    order: 2;
  }

  .about_bottom {
    order: 3;
    padding: 0;
  }

  .about_profile {
    order: 4;
    width: 72%;
    margin: -24px auto 0;
  }

  .about_strength {
    justify-content: flex-start;
    margin-bottom: 40px;
  }

  .strength_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .strength_list li {
    width: 100%;
    padding: 56px 0;
    text-align: center;
    border-right: none;
    border-bottom: 1px solid rgba(43, 43, 43, .12);
  }

  .strength_list li:first-child {
    padding-top: 0;
  }
}

@media (max-width: 428px) {
  .fv {
    background-image: url(../images/main-visual-sp.png);
    height: 100vh;
    /* 高さの1画面表示 */
    min-width: 375px;
  }
}

/* ==========================================================================
Works Detail Page Fix
個別Worksページ専用
========================================================================== */



/* Overview */
.work-detail-page .works-fv_title {
  font-size: clamp(48px, 5vw, 56px);
  /* clamp(最小値, 可変値, 最大値) 1vw = 画面幅の1% */
  letter-spacing: .08em;
}

.work-detail-page .works-fv_text {
  width: 100%;
  line-height: 2;
}

/* section余白 */
.work-detail-page section {
  padding: 100px 0;
}

/* Contact */
.work-detail-page .contact {
  background: var(--color-base);
  padding: 120px 0;
}

.work-detail-page .contact .section-heading {
  margin-bottom: 48px;
}

.work-detail-page .contact_btn {
  margin-top: 40px;
}

/* Footer */
.work-detail-page footer {
  padding: 88px 0 56px;
  background: var(--color-base);
}

.work-detail-page .footer_layout {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 80px;
  align-items: center;
}

.work-detail-page footer ul {
  display: flex;
  gap: 32px;
  justify-content: flex-end;
}

/* スクロール表示 */
.work-detail-page .js-fadeup {
  opacity: 0;
  transform:
    translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}

.work-detail-page .js-fadeup.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* SP */
@media (max-width:768px) {

  .work-detail-page section {
    padding: 40px 0;
  }

  .work-detail-page .section-number {
    position: relative;
    top: 0;
    left: 0;
    font-size: 72px;
    margin-bottom: 8px;
  }

  .work-detail-page .section-heading h2 {
    font-size: 34px;
  }

  .work-detail-page .works-fv_title {
    font-size: 35px;
  }

  .work-detail-page .footer_layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .work-detail-page footer ul {
    justify-content: center;
  }
}

/* ==============================
works03.html 修正
============================== */

/* works03の上詰まり防止 */
.work-detail-page .banner-collection {
  padding-top: 180px;
}

/* ==========================================================================
   Works03 Rebuild Fix
   works03.html 専用：カード・背景・余白・フッターライン
========================================================================== */

/* works03だけに効かせる */
.works03-page main section {
  margin-bottom: 0;
}

/* ヘッダー潜り込み防止 */
.works03-page .works03-hero {
  padding-top: 180px;
  padding-bottom: 120px;
}

/* 02 / 03 / 04 section */
.works03-page .banner-section {
  width: 100%;
  margin-top: 0;
  padding: 120px 0;
  background: #fff;
}

.works03-page .banner-learning-section {
  background: var(--color-base);
}

.works03-page .banner-section-text {
  max-width: 100%;
  margin-bottom: 56px;
  line-height: 2;
}

/* カード一覧 */
.works03-page .banner-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
}

/* カード本体 */
.works03-page .banner-card {
  min-height: 260px;
  padding: 36px 32px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(43, 43, 43, .08);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(43, 43, 43, .06);
}

/* 上段：アイコン＋カテゴリ名 */
.works03-page .banner-card_header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.works03-page .banner-card_icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 0, 18, .06);
}

.works03-page .banner-card_icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.works03-page .banner-card h3 {
  position: relative;
  margin: 0;
  padding-bottom: 14px;
  color: var(--color-accent);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.4;
}

.works03-page .banner-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 1px;
  background: var(--color-accent);
}

/* 下段：文章 */
.works03-page .banner-card>p {
  margin: 0;
  line-height: 1.95;
  font-size: 15px;
}

/* 既存のLearning用CSSを打ち消し */
.works03-page .banner-learning-list li,
.works03-page .banner-learning-list li:last-child {
  padding-right: 32px;
  border-right: 1px solid rgba(43, 43, 43, .08);
  border-bottom: none;
}

.works03-page .banner-learning-list li:last-child {
  border-right: 1px solid rgba(43, 43, 43, .08);
}

/* フッターのナビ下線アニメーション */
.works03-page .footer_line {
  width: 100%;
  height: 1px;
  margin: 0 0 24px;
  background: var(--color-text);
  opacity: 1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .9s ease;
}

.works03-page .footer_line.is-show {
  opacity: 1;
  transform: scaleX(1);
}

/* footer_lineにjs-fadeupを併用してもtransformが崩れないようにする */
.works03-page .footer_line.js-fadeup {
  opacity: 1;
  transform: scaleX(0);
}

.works03-page .footer_line.js-fadeup.is-show {
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .works03-page .works03-hero {
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .works03-page .banner-section {
    padding: 80px 0;
  }

  .works03-page .banner-section-text {
    margin-bottom: 40px;
  }

  .works03-page .banner-card-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .works03-page .banner-card {
    min-height: auto;
    padding: 32px 24px;
    gap: 24px;
  }

  .works03-page .banner-card_header {
    gap: 18px;
  }

  .works03-page .banner-card_icon {
    width: 58px;
    height: 58px;
  }

  .works03-page .banner-card_icon img {
    width: 28px;
    height: 28px;
  }

  .works03-page .banner-card h3 {
    font-size: 18px;
  }

  .works03-page .banner-learning-list li,
  .works03-page .banner-learning-list li:last-child {
    border-right: 1px solid rgba(43, 43, 43, .08);
    border-bottom: none;
  }

  .works03-page .footer_line,
  .works03-page .footer_line.js-fadeup {
    transform-origin: center;
  }
}

/* ==============================
Page Top Button
============================== */

.page-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 90;

  width: 52px;
  height: 52px;

  border: none;
  border-radius: 50%;

  background: var(--color-accent);
  box-shadow: 0 6px 16px rgba(43, 43, 43, .10);

  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);

  transition:
    opacity .35s ease,
    visibility .35s ease,
    transform .35s ease,
    box-shadow .35s ease;
}

.page-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(230, 0, 18, .28);
}

.page-top span {
  position: absolute;
  top: 52%;
  left: 50%;

  width: 14px;
  height: 14px;

  border-top: 2px solid #fff;
  border-left: 2px solid #fff;

  transform: translate(-50%, -35%) rotate(45deg);
}

@media (max-width: 768px) {
  .page-top {
    right: 20px;
    bottom: 24px;

    width: 44px;
    height: 44px;
  }

  .page-top span {
    width: 12px;
    height: 12px;
  }

  /* Works一覧・個別ページのスマホだけ調整 */
  .works-page .section-heading,
  .work-detail-page .section-heading {
    padding-top: 24px;
  }

  .works-page .section-number,
  .work-detail-page .section-number {
    top: -8px;
  }

  /* Works一覧ページの最初の余白だけ少し詰める */
  .works-page .works {
    padding-top: 140px;
  }

  /* 個別ページの最初の余白だけ少し詰める */
  .work-detail-page .works-fv {
    padding-top: 55px;
  }
}

/* 個別Worksページ：section見出し調整 */
.work-detail-page .section-heading {
  position: relative;
  padding-top: 64px;
}

.work-detail-page .section-number {
  position: absolute;
  top: -36px;
  left: -12px;
  color: rgba(230, 0, 18, .05);
  font-size: clamp(90px, 9vw, 100px);
  font-weight: 800;
  line-height: 1;
}

.work-detail-page .section-heading h2 {
  position: relative;
  z-index: 1;
  color: var(--color-accent);
  font-size: clamp(36px, 4.2vw, 40px);
  font-weight: 700;
  letter-spacing: .12em;
  margin-top: -40px;
  margin-bottom: 60px;
  line-height: 1;
}

/* ==========================
   Works Submenu
========================== */

/* PCのみ */
@media (min-width: 769px) {

  .has-submenu {
    position: relative;
  }

  header ul.submenu,
  footer ul.submenu {
    display: block;
    margin: 0;
    padding: 18px 0;
    list-style: none;
    gap: 0;
  }

  .submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 999;
    width: 280px;

    background: #fff;
    border: 1px solid rgba(43, 43, 43, .08);
    box-shadow: 0 18px 40px rgba(43, 43, 43, .08);

    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);

    transition:
      opacity .3s ease,
      visibility .3s ease,
      transform .3s ease;
  }

  .has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .submenu li {
    display: block;
    width: 100%;
  }

  .submenu a {
    display: block;
    width: 100%;
    padding: 12px 24px;

    font-size: 13px;
    letter-spacing: .06em;
    line-height: 1.6;

    white-space: nowrap;
  }

  .submenu a:hover {
    background: var(--color-base);
    color: var(--color-accent);
  }

  /* フッター用 */
  .footer_nav .submenu {
    top: auto;
    bottom: calc(100% + 12px);
  }
}

@media (max-width: 768px) {
  .sp-menu .submenu,
  .footer_nav .submenu {
    display: none;
  }
}

@media (max-width: 768px) {
  .work-pages .section-heading,
  .work-technical .section-heading {
    margin-top: 64px;
  }
}