@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  background: var(--base-color);
  cursor: none; /*もともとあるカーソルは非表示に*/
  height: 100vh;
}

#cursor {
  position: fixed;
  background: #aaa;
  border-radius: 10px;
  width: 10px;
  height: 10px;
  margin: -10px 0 0 -10px;
  z-index: 9999;
  pointer-events: none; /* マウス操作を無効化 */
  opacity: 0;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease; /* ふわっと変化させる */
}

*,
*::before,
*::after {
  cursor: none;
}

/* ホバー時に付与するクラス */
#cursor.is-hover {
  transform: scale(7);
  background: rgba(132, 181, 197, 0.5);
}

/* ========================================
common
======================================== */

/* 横スクロール防止 */
.page-wrap {
  overflow-x: hidden;
}

:root {
  --base-color: #fff;
  --main-color: #272343;
  --accent-color: #84b5c5;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--main-color);
  background-color: var(--base-color);
}

h2 {
  font-family: "Lato", sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  color: var(--main-color);
}

h2::first-letter {
  color: var(--accent-color);
}

/* ------- heading-arch(見出しをアーチで囲む) ------- */

/* 見出しを中央配置 */
.heading-arch,
.heading-arch__banner {
  position: relative;
  width: 100%;
  /* max-width: 1440px; */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* アーチを見出しの背面に配置 */
.heading-arch__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* SVGを横幅いっぱいに表示 */
.heading-arch__bg svg {
  display: block;
  width: 100%;
  height: auto;
}

/* 見出しをアーチより前面に表示 */
.heading-arch h2,
.heading-arch__banner h2 {
  position: relative;
  z-index: 1;
  margin: 0; /* 元のh2のmarginは親.heading-arch(__banner)の余白で調整 */
}

/* アニメーションの初期設定 */
.heading-arch__grey,
.heading-arch__blue {
  stroke-opacity: 1;
  stroke-dasharray: 1; /* 線の長さを設定 */
}

/* グレーのアーチを描画 */
.heading-arch__grey {
  stroke-dashoffset: -1; /* 線を左側へ隠す */
  animation: drawGrey 1.2s ease-out 0s 1 forwards;
  animation-play-state: paused; /* スクロールで見えるまで再生しない */
}

/* ブルーのアーチを描画 */
.heading-arch__blue {
  stroke-dashoffset: 1; /* 線を右側へ隠す */
  animation: drawBlue 1.2s ease-out 1s 1 forwards;
  animation-play-state: paused;
}

/* アニメーションを開始 */
.heading-arch.is-animate .heading-arch__grey,
.heading-arch.is-animate .heading-arch__blue,
.heading-arch__banner.is-animate .heading-arch__grey,
.heading-arch__banner.is-animate .heading-arch__blue {
  animation-play-state: running;
}

/* モーションを軽減 */
@media (prefers-reduced-motion: reduce) {
  .heading-arch__grey,
  .heading-arch__blue {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ここまでheading-arch */

/* SVGの線を一度見えない位置へずらし、stroke-dashoffsetを0まで動かすことで、線が描かれるようなアニメーションを実装 */

/* ------- header ------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 5.6%;
}

.header__nav ul {
  display: flex;
  gap: 40px;
  font-family: "Lato", sans-serif;
  line-height: 1;
}

.logo {
  width: 152px;
}

.header__nav-sp,
.hamburger {
  display: none;
}

/* ここまでheader */

/* ------- footer ------- */

footer {
  position: relative;
  height: 306px;
  background-color: #ecf6f9; /* 水色 */
  clip-path: ellipse(65% 100% at 50% 100%);
}

.footer__nav ul {
  display: flex;
  gap: 80px;
  width: 440px;
  margin: 0 auto;
  padding-top: 152px;
  font-family: "Lato", sans-serif;
  color: var(--main-color);
}

.copy {
  padding-top: 64px;
  font-size: 12px;
  text-align: center;
  color: var(--main-color);
}
/* ここまでfooter */

/* ========================================
index.html
======================================== */

/* ------- loading ------- */

.text-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  background-color: var(--base-color);
  z-index: 10000;
  font-family: "Lato", sans-serif;
  font-size: 240px;
  font-weight: 300;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

/* 2回目以降(即座に消す)用:トランジションなし */
.text-loader.no-transition {
  transition: none !important;
}

.text-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.text-loader::after {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: currentColor; /* 現在の文字色を使用 */
  margin-left: 3px;
  animation: text-dot 2.8s infinite; /* アニメーションを繰り返す */
}

@keyframes text-dot {
  0%,
  20% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-5px);
  }
  60% {
    opacity: 1;
    transform: translateY(0);
  }
  80%,
  100% {
    opacity: 0;
  }
}

/* テキスト自体を前面に固定 */
.text-loader > *:not(.loader-arch-bg) {
  position: relative;
}

/* アーチの背景 */
.loader-arch-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100vw, 100%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

.loader-arch-bg svg {
  display: block;
  width: 100vw;
  height: auto;
}

.loader-arch-grey,
.loader-arch-blue {
  stroke-opacity: 1;
  stroke-dasharray: 1;
}

.loader-arch-grey {
  stroke-dashoffset: -1;
  animation: drawGrey 1.2s ease-out 0.3s 1 forwards;
}

.loader-arch-blue {
  stroke-dashoffset: 1;
  animation: drawBlue 1.2s ease-out 1.3s 1 forwards;
}

@media (prefers-reduced-motion: reduce) {
  .loader-arch-grey,
  .loader-arch-blue {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ここまでloading */

/* ------- main-visual ------- */

.mv-wrap {
  position: relative;
  max-width: 1280px;
  width: 90%;
  margin: 100px auto 0;
}

.sp-br {
  display: none;
}

.lead__text .spBr {
  display: block;
}

.main-visual {
  overflow: hidden;
  border-radius: 16px;
}

.main-visual picture,
.main-visual img {
  display: block;
  width: 100%;
  margin-bottom: 362px;
  height: 648px;
  object-fit: cover;
  border-radius: 16px;
}

.mv__catch-copy {
  display: block;
  background-color: var(--base-color);
  border-radius: 8px;
  padding: 32px 16px;
  color: var(--main-color);
  font-size: 40px;
  writing-mode: vertical-lr;
  letter-spacing: 0.04em;
  font-weight: 400;
  position: absolute;
  top: 62px;
  right: 65px;
}

.lead {
  position: absolute;
  top: 612px;
  left: -8px;
  z-index: 2;
}

.lead__text {
  font-size: 20px;
  line-height: 3;
  color: var(--main-color);
  padding: 20px;
  border-radius: 8px;
  background: #fff;
}

/* ここまでmain-visual */

/* ------- scroll ------- */

.scroll {
  position: absolute;
  top: 650px;
  right: -45px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll__text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--main-color);
  margin-bottom: 10px;
}

.scroll__line {
  position: relative;
  width: 1px;
  height: 80px;
  overflow: hidden;
}

.scroll__line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: var(--main-color);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    transform: translateY(-30px);
  }

  100% {
    transform: translateY(80px);
  }
}

/* ここまでscroll */

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

#about,
#works {
  margin: 0 auto 272px;
}

.about .section__inner {
  position: relative;
}

.about__content {
  max-width: 1048px;
  margin: 0 auto;
  padding: 0 24px;
}

.about__h2 {
  margin-bottom: 112px;
}

.about__box01 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  margin-top: 112px;
}

.h3__sub {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1;
  color: var(--accent-color);
}

.h3__name {
  margin-bottom: 32px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.about__text01 {
  line-height: 2;
  margin-bottom: 64px;
}

.about__btn-outer {
  display: flex;
}

.about__btn {
  margin-left: auto;
}

.about__btn-inner {
  text-align: start;
}

.about__btn-text {
  display: inline-block;
  transition: transform 0.3s ease;
  will-change: transform; /* ホバー時の残像を消す */
}

.about__btn:hover .about__btn-text {
  transform: translateX(10px);
}

.about__btn img {
  display: block;
  width: 165px; /* SVGのwidth属性と合わせる */
  height: 8px; /* SVGのheight属性と合わせる */
  margin-top: 8px;
}

.about__img01 {
  width: 32%;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
}
/* ここまでabout */

/* ------- works ------- */

.works__h2 {
  margin-bottom: 168px;
}

.works__slider01 {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1440px;
  margin: 168px auto 72px;
  padding: 0 24px;
}

.works__list-slick {
  display: block;
  flex: 1; /* スライダーを残り幅いっぱいに広げる */
  min-width: 0; /* flexによる横幅の崩れを防ぐ */
  overflow: hidden; /* はみ出したスライドを隠す */
}

.works__list-slick .slick-slide {
  margin: 0 16px; /* スライド間の余白 */
}

.works__list-slick .slick-list {
  margin: 0 -16px; /* 左右の余白を相殺 */
  overflow: hidden;
}

.works__list-slick img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}

.btn__arrow {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0; /* 矢印が縮まないようにする */
}

.btn__arrow .works__arrow,
.btn__arrow .hover__arrow {
  position: absolute;
  inset: 0; /* 親要素いっぱいに重ねる */
  width: 40px;
  height: 40px;
  transition: opacity 0.3s ease;
}

/* 通常時 */
.btn__arrow .works__arrow {
  opacity: 1;
}

.btn__arrow .hover__arrow {
  opacity: 0;
}

/* ホバー時 */
.btn__arrow:hover .works__arrow {
  opacity: 0;
}

.btn__arrow:hover .hover__arrow {
  opacity: 1;
}

.btn__primary {
  box-sizing: border-box; /* paddingとborderが内側に含まれる */
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 193px;
  height: 48px;
  margin: 0 auto;
  padding: 16px 32px;
  border: 1px solid #84b5c5; /* ホバー時の縁取り用に追加 */
  border-radius: 40px;
  color: var(--base-color);
  background: var(--accent-color);
  transition: 0.3s;
}

.btn__primary .btn__text {
  color: var(--base-color);
  transition: 0.3s;
}

.btn__primary img {
  width: 30px;
}

/* ホバー時 */
.btn__primary:hover {
  background: var(--base-color);
}

.btn__primary:hover .btn__text {
  color: var(--accent-color);
}

/* SVG切り替え */
.btn__primary .icon-blue {
  display: none;
}

.btn__primary:hover .icon-white {
  display: none;
}

.btn__primary:hover .icon-blue {
  display: block;
}

/* ここまでworks */

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

#contact {
  scroll-margin-top: 100px;
  margin: 0 auto 152px;
}

.contact__content {
  max-width: 648px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact__h2 {
  margin-bottom: 137px;
}

.contact__content p {
  line-height: 2;
  text-align: center;
  margin: 137px 0 48px;
}

.form__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.form__group:nth-of-type(4) {
  margin-bottom: 72px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--main-color);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

input {
  height: 40px;
}

textarea {
  height: 128px;
}

input,
textarea {
  padding: 10px 16px;
  box-sizing: border-box;
  font-size: 16px;
  font-family: inherit;
  line-height: 1;
  border: 1px solid #ddd; /* 罫線の色をここで指定 */
  border-radius: 4px;
}

input::placeholder,
textarea::placeholder {
  color: #ddd;
  opacity: 1; /* Safari対策 */
  letter-spacing: 0.04em;
}

/* ここまでcontact */

/* ------- サンクスページ ------- */

.thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 200px auto 0;
}

.thanks__h2 {
  margin: 120px 0;
}

.thanks p {
  font-size: 24px;
  line-height: 2;
  text-align: center;
}

.thanks__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 120px 0 64px;
}

.thanks img {
  display: block;
  width: 166px;
  height: 152px;
  margin: 0 auto;
}

.icon-thanks {
  margin-bottom: 64px;
}

/* ここまでサンクスページ */

/* ========================================
about.html
======================================== */

/* ------- common ------- */

.section__inner {
  max-width: 1048px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.about {
  margin-top: 100px;
}

.about__heading {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--main-color);
  margin-bottom: 80px;
}

.about__heading:first-letter {
  color: var(--main-color);
}

.about__box02 {
  width: 49%;
}

.about__text02 {
  line-height: 2;
  margin-bottom: 0;
}

.about__img02 {
  width: 333px;
  border-radius: 8px;
  height: 500px;
}

.about__circle {
  position: relative;
}

.circle {
  width: 139px;
  height: 139px;
  position: absolute;
  top: -38px;
  right: -33px;
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ここまでabout */

/* ------- arch-wrap ------- */

.arch-wrap {
  width: 100%;
  /* max-width: 1440px; */
  margin: 120px auto;
}

svg {
  display: block;
  width: 100%;
  height: auto;
}

.arch-grey {
  stroke-dasharray: 1;
  stroke-dashoffset: -1;
  animation: drawGrey 1.2s ease-out 0s 1 forwards;
  animation-play-state: paused; /* ← 追加：見えるまで再生しない */
}

.arch-blue {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawBlue 1.2s ease-out 1s 1 forwards;
  animation-play-state: paused;
}

/* JSでこのクラスが付いたら再生開始 */
.arch-wrap.is-animate .arch-grey,
.arch-wrap.is-animate .arch-blue {
  animation-play-state: running;
}

@keyframes drawGrey {
  from {
    stroke-dashoffset: -1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawBlue {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .arch-grey,
  .arch-blue {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* ここまでarch-wrap */

/* ------- skill ------- */

.skill__list {
  display: flex;
  justify-content: space-between;
}

.skill__item {
  width: 29%;
}

.skill__item h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
}

.skill__item img {
  width: 100%;
  height: 80px;
  margin-bottom: 40px;
}

.skill__item p {
  line-height: 2;
}

/* ここまでskill */

/* ------- important ------- */

.important__item {
  display: flex;
  justify-content: space-between;
  padding: 56px;
  border-bottom: 1px solid #ddd;
}

.important__item:last-of-type {
  border-bottom: none;
}

.important__h3 {
  color: var(--accent-color);
  font-size: 24px;
  font-weight: 400;
  line-height: 2;
  width: 18%;
}

.important__item p {
  line-height: 2;
  width: 65%;
}

/* ここまでimportant */

/* ------- favorite ------- */

#favorite {
  margin: 0 auto 120px;
}

.favorite__list {
  display: flex;
  justify-content: space-between;
}

.favorite__item {
  width: 29%;
}

.favorite__item h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
}

.favorite__item img {
  width: 100%;
  height: 80px;
  margin-bottom: 40px;
}

.favorite__item p {
  line-height: 2;
}

/* ここまでfavorite */

/* ========================================
works.html
======================================== */

.works__all {
  max-width: 1048px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  padding: 0 24px;
}

.works__heading {
  margin: 220px 0 112px;
}

.menu__list {
  position: sticky; /* スクロール時に位置を固定 */
  top: 400px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 48px;
  flex-shrink: 0;
}

.menu__title {
  color: var(--accent-color);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 40px;
}

.works__list {
  width: 100%;
  display: block;
  margin: 0 auto;
}

.works__list img {
  width: 100%;
}

.mockup__link {
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

.mockup__link img {
  aspect-ratio: 650 / 433;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.mockup__link:hover img {
  width: 100%;
  transform: scale(1.1);
}

.works__list p {
  line-height: 1;
  text-align: center;
  margin: 32px 0 120px;
}

.works__content > .works__list:nth-of-type(1),
.works__content > .works__list:nth-of-type(2), 
.works__content > .works__list:nth-of-type(3) {
  margin-bottom: 168px;
}

.works__content > .works__list:nth-of-type(1) li:last-child p,
.works__content > .works__list:nth-of-type(2) li:last-child p, 
.works__content > .works__list:nth-of-type(3) li:last-child p {
  margin-bottom: 0;
}

.works__content {
  display: flex;
  flex-direction: column;
  width: 65%;
  margin: 112px auto 144px;
}

.works__decoration {
  position: sticky;
  top: 350px;
  align-self: flex-start;
  color: var(--accent-color);
  font-family: "Lato", sans-serif;
  font-size: 64px;
  font-weight: 300;
  writing-mode: vertical-lr; /* 縦書き */
  line-height: 1;
  flex-shrink: 0;
}

/* ========================================
works 個別ページ
======================================== */

/* ------- bridge-design ------- */

.works__detail-main {
  margin-top: 200px;
}

.works__slider02 {
  max-width: 1000px;
  margin: 160px auto 72px;
  border-radius: 16px;
}

.slick-initialized .slick-slide {
  border-radius: 16px;
}

/* ドット全体の配置 */
.slick-dots {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

/* 各ドットのli要素 */
.slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

/* デフォルトのbutton文字（数字）を消す */
.slick-dots li button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background-color: #ddd;
  border: none;
  text-indent: -9999px; /* 中の数字を見えなくする */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* デフォルトで付いている::before の飾り文字を消す */
.slick-dots li button::before {
  content: none;
}

/* アクティブなドットの色を変える */
.slick-dots li.slick-active button {
  background-color: #84b5c5;
}

/* ホバー時 */
.slick-dots li button:hover {
  background-color: #ddd;
}

.works__wrapper {
  max-width: 1048px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.works__item {
  display: flex;
  justify-content: space-between;
  padding: 48px;
  border-bottom: 1px solid #ddd;
}

dt {
  color: var(--accent-color);
  font-size: 20px;
  width: 20%;
  line-height: 2;
}

dd {
  width: 78%;
  line-height: 2;
}

.works__h3 {
  font-size: 24px;
  font-weight: 400;
  padding: 120px 0 48px;
  border-bottom: 1px solid #ddd;
}

.works__item:last-of-type {
  border-bottom: none;
}

.btn__secondary {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 222px;
  height: 48px;
  margin: 0 auto 144px;
  padding: 16px 32px;
  border: 1px solid #84b5c5;
  border-radius: 40px;
  color: var(--accent-color);
  background: #fff;
}

.btn__secondary img {
  width: 30px;
}

/* ここまでbridge-design */

/* ------- website共通 ------- */

.works__scroll {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 63px;
  margin: 0 auto 64px;
}

.works__scroll p {
  color: var(--main-color);
  font-size: 24px;
  line-height: 1;
}

.works__scroll img {
  width: 50px;
  height: 50px;
}

.scroll__img {
  max-width: 1000px;
  margin: 0 auto 120px;
  display: flex;
  gap: 96px;
}

.scroll__pc-wrap {
  border-radius: 20px;
  border: solid 10px #f2f2f2;
  aspect-ratio: 640 / 700;
  width: 73vw;
  overflow-y: scroll; /* スクロールは親(div)に指定 */
}

.scroll__sp-wrap {
  border-radius: 20px;
  border: solid 10px #f2f2f2;
  aspect-ratio: 270 / 700;
  width: 29vw;
  overflow-y: scroll;
}

.scroll__pc,
.scroll__sp {
  width: 100%;
  height: auto; /* 画像本来の縦横比を維持 → 枠より高くなる */
  display: block;
}

.accordion__img {
  display: none;
}

/* ここまでwebsite共通 */

/* ------- banner共通 ------- */

.heading-arch__banner {
  margin-top: 200px;
}

.mockup__banner {
  display: block;
  max-width: 1000px;
  border-radius: 16px;
  overflow: hidden;
  margin: 160px auto 0;
}

.banner__rectangle,
.banner__square,
.banner__square-border {
  display: block;
  max-width: 69%;
  height: 500px;
  margin: 0 auto 120px;
  object-fit: contain; /* 画像全体を枠内に表示 */
}

/* ここまでbanner */

/* ========================================
SP
======================================== */

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

  body {
    font-size: 14px;
    line-height: 1.75;
    letter-spacing: 0.02em;
  }

  h2 {
    font-size: 32px;
  }

  /* ------- header ------- */

  #header {
    padding: 16px 3.6% 16px 6.2%;
  }

  .logo {
    width: 88px;
  }

  .header__nav,
  .hamburger,
  .header__nav-sp {
    display: none;
  }

  .hamburger {
    display: block;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 99999;
  }

  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--main-color);
    position: absolute;
    top: 21px;
    left: 10px;
    transition: 0.3s;
  }

  .hamburger::before {
    content: "";
    width: 24px;
    height: 2px;
    background-color: var(--main-color);
    position: absolute;
    top: 12px;
    left: 10px;
    transition: 0.3s;
  }

  .hamburger::after {
    content: "";
    width: 24px;
    height: 2px;
    background-color: var(--main-color);
    position: absolute;
    top: 30px;
    left: 10px;
    transition: 0.3s;
  }

  /* openが付いた時の挙動 */
  .open span {
    background-color: transparent;
  }

  .open::before {
    transform: rotate(45deg);
    top: 21px;
  }

  .open::after {
    transform: rotate(-45deg);
    top: 21px;
  }

  .header__nav-sp {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: #ecf6f9;
  }

  .header__nav-sp a {
    color: var(--main-color);
    font-size: 32px;
    font-family: "Lato", sans-serif;
    letter-spacing: 0.02em;
  }

  .header__nav-sp ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 40px;
  }

  /* ここまでheader */

  /* ------- footer ------- */

  footer {
    height: 203px;
  }

  .footer__nav ul {
    gap: 32px;
    width: 268px;
    padding-top: 80px;
  }

  .copy {
    padding-top: 45px;
    font-size: 10px;
  }

  /* ここまでfooter */

  /* ======== index.html ======== */

  /* ------- loading ------- */

  .text-loader {
    font-size: 96px;
  }

  .text-loader::after {
    content: "";
    width: 12px;
    height: 12px;
  }

  /* ここまでloading */

  /* ------- mv-wrap ------- */

  .mv-wrap {
    width: 100%;
    margin: 76px auto 0;
  }

  .lead {
    position: absolute;
    top: 659px;
    padding: 0px 14% 0 21.1%;
    width: 100%;
  }

  .lead__text {
    color: var(--main-color);
    font-size: 16px;
    text-align: center;
    line-height: 1.75;
    padding: 40px 0;
  }

  .lead__text .spBr {
    content: "";
    display: block;
    margin-bottom: 1em; /* この数値分だけ改行の下に空白ができる */
  }

  .sp-br {
    display: block;
  }

  .main-visual {
    border-radius: 0;
  }

  .main-visual img {
    margin-bottom: 0;
    border-radius: 0;
    clip-path: ellipse(156% 100% at 50% 0%);
  }

  .mv__catch-copy {
    border-radius: 4px;
    padding: 16px 8px;
    font-size: 32px;
    top: 39px;
    right: 24px;
  }

  /* ここまでmv-wrap */

  /* ------- scroll ------- */

  .scroll {
    left: 68%;
    transform: translateY(-60%);
  }

  /* ここまでscroll */

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

  #about,
  #works {
    margin: 0 auto 144px;
  }

  .about__h2 {
    margin: 0 0 88px;
  }

  .about__box01 {
    flex-direction: column-reverse;
    padding: 0;
    margin-top: 88px;
  }

  .about__box01 div {
    width: 100%;
  }

  .about__img01 {
    width: 55%;
    margin-bottom: 48px;
  }

  .h3__sub {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .h3__name {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .pc-br {
    display: none;
  }

  .about__text01 {
    margin-bottom: 32px;
  }

  /* ここまでabout */

  /* ------- works ------- */

  .works__h2 {
    margin-bottom: 80px;
  }

  .works__slider01 {
    gap: 16px;
    margin: 96px auto 48px;
  }

  .btn__primary {
    width: 181px;
  }

  /* ここまでworks */

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

  #contact {
    margin: 0 auto 88px;
    scroll-margin-top: 76px;
  }

  .contact__content p {
    line-height: 1.75;
    margin: 88px 0 48px;
  }

  label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
  }

  input,
  textarea {
    font-size: 14px;
  }

  .form__group {
    margin-bottom: 32px;
  }

  .form__group:nth-of-type(4) {
    margin-bottom: 64px;
  }

  /* ここまでcontact */

  /* ------- サンクスページ ------- */

  .thanks {
    margin: 116px auto 0;
  }

  .thanks p {
    font-size: 16px;
    line-height: 1.75;
  }

  .thanks__text {
    margin: 64px 0 32px;
    gap: 20px;
  }

  .icon-thanks img {
    width: 138px;
    height: 125px;
  }

  /* ここまでサンクスページ */

  /* ======== about.html ======== */

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

  .about__heading {
    font-size: 32px;
    margin-bottom: 48px;
  }

  .section__inner {
    flex-direction: column-reverse;
  }

  .arch-wrap {
    margin: 88px auto;
  }

  .about__img02 {
    width: 100%;
    border-radius: 8px;
    height: auto;
    margin-bottom: 48px;
  }

  .about__circle {
    width: 70%;
  }

  .about__box02 {
    width: 100%;
  }

  .about__text02 {
    letter-spacing: 0.01em;
  }

  section {
    margin: 0 auto;
  }

  /* ここまでabout */

  /* ------- skill------- */

  .skill__list {
    display: block;
  }

  .skill__item {
    width: 100%;
    margin-bottom: 64px;
  }

  .skill__item img {
    margin-bottom: 32px;
  }

  .skill__item:nth-of-type(3) {
    margin-bottom: 0;
  }

  .skill__item h3 {
    font-size: 20px;
    margin-bottom: 32px;
  }

  .skill__item p {
    letter-spacing: 0.03em;
  }

  /* ここまでskill */

  /* ------- important------- */

  .important__item {
    display: block;
    padding: 0;
    margin-bottom: 32px;
  }

  .important__item:last-of-type {
    margin-bottom: 0;
  }

  .important__h3 {
    font-size: 20px;
    line-height: 1;
    width: 100%;
    margin-bottom: 16px;
  }

  .important__item p {
    line-height: 1.75;
    width: 100%;
    margin-bottom: 32px;
    letter-spacing: 0.01em;
  }

  .important__item:last-of-type p {
    margin-bottom: 0;
  }

  /* ここまでimportant */

  /* ------- favorite------- */

  #favorite {
    margin: 0 auto 88px;
  }

  .favorite__list {
    display: block;
  }

  .favorite__item {
    width: 100%;
  }

  .favorite__item h3 {
    font-size: 20px;
    margin-bottom: 32px;
  }

  .favorite__item img {
    margin-bottom: 32px;
  }

  .favorite__item p {
    margin-bottom: 64px;
  }

  .favorite__item:last-of-type p {
    margin-bottom: 0;
  }

  /* ここまでfavorite */

  /* ======== works.html ======== */

  .works__heading {
    margin: 132px 0 16px;
  }

  .heading-arch__banner {
    margin-top: 116px;
  }

  .works__all {
    display: block;
  }

  .menu__list {
    position: static; /* stickyを解除 */
    flex-direction: row;
    margin: 56px 0 48px;
    justify-content: space-around;
    top: 0;
    flex-wrap: wrap;
  }

  .works__content {
    width: 100%;
    margin: 0 auto 88px;
  }

  .works__detail-main {
    margin-top: 116px;
  }

  .menu__title {
    font-size: 20px;
    margin: 0 0 24px;
  }

  .works__list p:not(.works__title) {
    margin: 24px 0 64px;
  }

  .works__list p:not(.works__title):last-of-type {
    margin: 24px 0 64px;
  }

  .works__title {
    margin: 24px 0 108px;
  }

  .works__content > .works__list:nth-of-type(1),
  .works__content > .works__list:nth-of-type(2) {
    margin-bottom: 108px;
  }

  .works__content > .works__list:nth-of-type(1) li:last-child p,
  .works__content > .works__list:nth-of-type(2) li:last-child p {
    margin-bottom: 0;
  }

  .works__decoration {
    display: none;
  }

  /* ここまでworks */

  /* ------- bridge-design ------- */

  .works__heading {
    margin: 132px 0 64px;
  }

  .works__wrapper {
    margin: 0 auto 32px;
  }

  .works__slider02 {
    padding: 0 24px;
  }

  .slick-dots {
    gap: 24px;
    left: 0;
  }

  .slick-dotted.slick-slider {
    margin: 48px 0 30px;
  }

  .works__h3 {
    font-size: 20px;
    line-height: 1.75;
    padding: 48px 0 24px;
  }

  .works__item {
    padding: 24px 0;
  }

  .works__item {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  dt {
    font-size: 18px;
    width: 100%;
    line-height: 1;
  }

  dd {
    width: 100%;
    line-height: 1.75;
  }

  .btn__secondary {
    margin: 0 auto 88px;
  }

  .btn__secondary {
    width: 210px;
  }

  /* ここまでbridge-design */

  /* ======== works 個別ページ ======== */

  /* ------- website共通 ------- */

  .works__scroll {
    display: none;
  }

  .scroll__img {
    display: none;
  }

  .accordion__img {
    display: block;
    padding: 0 24px;
  }

  /* アコーディオン */

  /* 外枠(ボタン+中身)を一体化して囲む */
  .accordion__pc-wrap,
  .accordion__sp-wrap {
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    overflow: hidden; /* 角丸からのはみ出しを防ぐ */
    padding: 0 8px 8px;
  }

  /* 中身は初期状態で高さ0(非表示) */
  .accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  /* 画像は幅いっぱいに表示 */
  .accordion__pc,
  .accordion__sp {
    display: block;
    width: 100%;
  }

  /* 開閉ボタン */
  .accordion__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 14px 6px;
    background: #fff;
    border: none; /* ← 個別のボーダーは削除(外枠のwrapに統合) */
    cursor: pointer;
    font-size: 14px;
    color: var(--main-color);
  }

  /* ボタンのラベル文字色 */
  .accordion__label {
    color: var(--accent-color);
  }

  /* +アイコンの土台(横線・縦線を重ねて配置) */
  .accordion__icon {
    position: relative;
    width: 14px;
    height: 14px;
  }

  .accordion__icon::before,
  .accordion__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--accent-color);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
  }

  /* 横線 */
  .accordion__icon::before {
    width: 14px;
    height: 1px;
  }

  /* 縦線 */
  .accordion__icon::after {
    width: 1px;
    height: 14px;
  }

  /* 開いた時は縦線を消して「−」の見た目にする */
  .accordion__btn.is-open .accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
  }

  .accordion__pc-wrap {
    margin-bottom: 24px;
  }

  .accordion__sp-wrap {
    margin-bottom: 56px;
  }

  /* ここまでwebsite共通 */

  /* ------- banner共通 ------- */

  .mockup__banner {
    margin: 48px auto 0;
    width: 88%;
  }

  .banner__rectangle,
  .banner__square {
    max-width: 88%;
    height: auto;
    margin: 0 auto 56px;
  }
}

@media (max-width: 600px) {
  /* ------- アーチの高さ調整) ------- */
  .arch-wrap svg,
  .heading-arch__bg svg,
  .loader-arch-bg svg {
    transform: scaleY(1.8); /* ← この数値で高さを調整 */
    transform-origin: center;
  }
}

@media (max-width: 425px) {
  /* ------- サークルの大きさ調整 ------- */
  .circle {
    width: 80px;
    height: 80px;
    top: -24px;
    right: -23px;
  }

  /* ------- footerの高さ調整 ------- */
  footer {
    clip-path: ellipse(80% 100% at 50% 100%);
  }
}
