@charset "UTF-8";

/* ---------- root ---------- */
:root {
  /* 色管理用の変数 */
  --white-color: #fff;
  --black-color: #001c2b;
  --gray-color: #fafafa;
  --gray-color02: #ccc;
  --gray-color03: #f2f2f2;
  --gray-color04: #707070;
  --primary-color: #0088ff;
  --accent-color: #ff9158;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 800px;
  --content-width: 936px;
  --content-width-lg: 1080px;
}

:root {
  /* z-index管理用の変数 */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-page-top: 50;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 800px;
  --content-width: 936px;
  --content-width-lg: 1080px;
}

/* ---------- base ---------- */
body {
  color: var(--black-color);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 2;
}
/* ---------- layout ---------- */
.l_container-sm,
.l_container-lg,
.l_container {
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .l_container-sm,
  .l_container-lg,
  .l_container {
    padding: 0 40px;
  }
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + 32px);
}

.l_container {
  max-width: calc(var(--content-width) + 32px);
}

.l_container-lg {
  max-width: calc(var(--content-width-lg) + 32px);
}

.l_contents {
  padding: 60px 0;
}

.l-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-index-header);
  width: 100%;
  padding-inline: 16px;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.l-header.is-scrolled {
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
@media (min-width: 768px) {
  .l-header {
    height: 140px;
    padding-inline: 40px;
  }
}
@media (min-width: 936px) {
  .l-header {
    padding-inline: 80px;
  }
}

.header-logo-img-box {
  width: 80px;
}
@media (min-width: 768px) {
  .header-logo-img-box {
    width: 150px;
  }
}

.l-header-logo_img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.l-header__nav {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100svh;
  background: rgba(0, 28, 43, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
@media (min-width: 768px) {
  .l-header__nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    pointer-events: auto;
    opacity: 1;
  }
}

.l-header__nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.l-header__nav-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  list-style: none;
  text-align: center;
}
@media (min-width: 768px) {
  .l-header__nav-list {
    flex-direction: row;
    gap: 40px;
  }
}

.l-header__nav-list a {
  font-size: 24px;
  color: var(--white-color);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (min-width: 768px) {
  .l-header__nav-list a {
    color: var(--primary-color);
    transition: color 0.3s ease;
  }
  /* KVの上(未スクロール時)は白で可読性を確保 */
  .l-header:not(.is-scrolled) .l-header__nav-list a {
    color: var(--white-color);
  }
}

/* footer */
.l-footer {
  padding-top: 60px;
  background-color: var(--white-color);
}

.l-footer__nav-list {
  display: flex;
  justify-content: center;
  gap: 32px;
  list-style: none;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-color02);
}

.l-footer__nav-item {
  display: flex;
  align-items: center;
}

.l-footer__nav-link {
  display: block;
  padding: 4px 0;
  font-size: 13px;
  color: var(--gray-color04);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
}

.l-footer__nav-link:hover {
  opacity: 0.6;
}

.l-footer__copyright {
  text-align: center;
  font-size: 12px;
  color: var(--gray-color02);
  padding-block: 16px;
}

/*---------- module ----------*/
.m-header-hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
}
@media (min-width: 768px) {
  .m-header-hamburger {
    display: none;
  }
}

.m-header-hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--primary-color);
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.m-header-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.m-header-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.m-header-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ーーーーーーボタンーーーーーー */

.m_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 12px 24px;
  font-size: 14px;
  color: var(--white-color);
  text-decoration: none;
  letter-spacing: 0.1em;
  border: 1px solid #fff;
  border-radius: 100vh;
  /* ↓ transitionをまとめて一箇所に */
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s,
    color 0.3s;
}
@media (min-width: 768px) {
  @media (min-width: 768px) {
    .m_button {
      min-width: 200px;
      padding: 16px 32px;
      font-size: 18px;
    }
  }
}

.m_button:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.m_button:hover::before {
  left: 150%;
}

.m_button__brack {
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.m_section-title {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .m_section-title {
    margin-top: 60px;
  }
}

.m_section-title__sub {
  position: absolute;
  bottom: 100%;
  left: 52px;
  font-size: 12px;
  font-style: italic;
  color: var(--gray-color04);
  letter-spacing: 0.1em;
}
@media (min-width: 768px) {
  .m_section-title__sub {
    font-size: 24px;
  }
}

.m_section-title__main {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: bold;
}
@media (min-width: 768px) {
  .m_section-title__main {
    font-size: 36px;
  }
}

.m_section-title__main::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--black-color);
}

/*---------- top ----------*/
.top-kv {
  position: relative;
  width: 100%;
  /* 画面いっぱいに引き伸ばさず、内容に合わせて上限を設ける(間延び防止) */
  min-height: min(100svh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 600px at 85% 0%, rgba(0, 136, 255, 0.28), transparent 60%),
    linear-gradient(160deg, #001c2b 0%, #06283d 55%, #0a3450 100%);
}
@media (min-width: 768px) {
  .top-kv {
    min-height: min(100svh, 780px);
  }
}

.top-kv__inner {
  width: 100%;
  max-width: calc(var(--content-width-lg) + 32px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: calc(72px + 24px) 16px 48px;
}
@media (min-width: 768px) {
  .top-kv__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: calc(140px + 16px) 40px 64px;
  }
}

.top-kv-copy_box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--white-color);
  text-align: left;
}
@media (min-width: 768px) {
  .top-kv-copy_box {
    flex: 1;
    max-width: 560px;
  }
}

.top-kv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #8fc5f0;
}
.top-kv-eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--primary-color);
}
@media (min-width: 768px) {
  .top-kv-eyebrow {
    font-size: 15px;
  }
}

.top-kv-copy-main {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  .top-kv-copy-main {
    font-size: 48px;
  }
}
@media (min-width: 936px) {
  .top-kv-copy-main {
    font-size: 60px;
  }
}

/* 2行ロックアップ: 左端は「」をぶら下げて揃え、2行目は均等割付で右端も揃える */
.top-kv-copy-main span {
  display: block;
}
.top-kv-copy-main span:first-child {
  text-indent: -0.5em;
}
.top-kv-copy-main__justify {
  letter-spacing: 0.5em;
  margin-right: -0.5em;
}

/* SPはコピー一式を中央配置。ロックアップはぶら下げなしで
   1行目(6文字=6em)と2行目(4文字+字間)を同幅に揃えて左右対称にする */
@media (max-width: 767px) {
  .top-kv-copy_box {
    align-items: center;
    text-align: center;
  }
  .top-kv-copy-main {
    width: fit-content;
    margin-inline: auto;
  }
  .top-kv-copy-main span:first-child {
    text-indent: 0;
  }
  .top-kv-copy-main__justify {
    letter-spacing: 0.6667em;
    margin-right: -0.6667em;
  }
  .top-kv-button-wrapper {
    width: 100%;
  }
}

.top-kv-copy-sub {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #c2d6e4;
}
@media (min-width: 768px) {
  .top-kv-copy-sub {
    font-size: 16px;
  }
}

.u-sp-only {
  display: inline;
}
@media (min-width: 768px) {
  .u-sp-only {
    display: none;
  }
}

.top-kv-button-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
/* SPはボタンを横並びで収める */
@media (max-width: 767px) {
  .top-kv-button-wrapper .m_button {
    flex: 1;
    min-width: 0;
    padding: 14px 8px;
    font-size: 14px;
    white-space: nowrap;
  }
}
@media (min-width: 768px) {
  .top-kv-button-wrapper {
    gap: 20px;
  }
}

/* KV上のゴーストボタン(無料相談)は白枠で可読性を確保 */
.top-kv-button-wrapper .m_button {
  border-color: rgba(255, 255, 255, 0.85);
}
.top-kv-button-wrapper .m_button__brack {
  border-color: var(--primary-color);
}
.top-kv-button-wrapper .m_button:hover {
  background: rgba(255, 255, 255, 0.1);
}
.top-kv-button-wrapper .m_button__brack:hover {
  background: var(--primary-color);
}

/* FVの実績チップ(SPでは非表示にして1画面に収める) */
.top-kv-points {
  display: none;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  list-style: none;
  padding: 0;
}
@media (min-width: 768px) {
  .top-kv-points {
    display: flex;
  }
}
.top-kv-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #9fc9ea;
}
.top-kv-points li::before {
  content: "✓";
  font-weight: 700;
  color: var(--primary-color);
}
@media (min-width: 768px) {
  .top-kv-points li {
    font-size: 13px;
  }
}

/* ヒーローの自作品モックアップ(主役1枚+スマホ1台) */
.top-kv-visual {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 16 / 10;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .top-kv-visual {
    flex-shrink: 0;
    width: 46%;
    max-width: 560px;
    margin: 0;
    aspect-ratio: 10 / 8.5;
  }
}

.top-kv-visual__screen {
  position: absolute;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.top-kv-visual__screen img {
  display: block;
  width: 100%;
  height: auto;
}

/* ブラウザ風フレーム(PC版スクショ) */
.top-kv-visual__browser {
  top: 0;
  left: 0;
  width: 88%;
  border-radius: 8px;
  z-index: 2;
}
@media (min-width: 768px) {
  .top-kv-visual__browser {
    top: 34%;
    width: 70%;
  }
}

/* 奥: CUE管理画面(SPでは非表示) */
.top-kv-visual__browser--back {
  display: none;
}
@media (min-width: 768px) {
  .top-kv-visual__browser--back {
    display: block;
    top: 0;
    left: auto;
    right: 0;
    width: 80%;
    transform: rotate(1.5deg);
    z-index: 1;
  }
}
.top-kv-visual__browser img {
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  object-position: top;
}

/* FV読み込み時のエントランスアニメーション
   コピー→奥(右から)→手前(左から)→スマホ(下から)の時間差 */
@media (prefers-reduced-motion: no-preference) {
  .top-kv-visual__browser {
    animation: kv-from-left 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
  }
  .top-kv-visual__browser--back {
    animation: kv-from-right 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .top-kv-visual__phone {
    animation: kv-phone-up 0.8s cubic-bezier(0.34, 1.3, 0.4, 1) 0.4s both;
  }
}

@keyframes kv-from-left {
  from {
    opacity: 0;
    transform: translateX(-160px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kv-from-right {
  from {
    opacity: 0;
    transform: translateX(160px) scale(0.94) rotate(6deg);
  }
  to {
    opacity: 1;
    transform: rotate(1.5deg);
  }
}

@keyframes kv-phone-up {
  from {
    opacity: 0;
    transform: translateY(110px) rotate(14deg);
  }
  to {
    opacity: 1;
    transform: rotate(3deg);
  }
}

/* スマホモックアップ(LINE予約画面) */
.top-kv-visual__phone {
  position: absolute;
  right: 0;
  bottom: -4%;
  width: 24%;
  z-index: 3;
  padding: 5px;
  background: #10151a;
  border-radius: 20px;
  transform: rotate(3deg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .top-kv-visual__phone {
    bottom: 0;
    width: 28%;
  }
}
.top-kv-visual__phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
}

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

.top-works__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  margin-top: 24px;
}
@media (min-width: 768px) {
  .top-works__list {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }
}

.top-works__item {
  border: 1px solid var(--gray-color02);
  border-radius: 4px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .top-works__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    border: none;
    border-radius: 0;
    overflow: visible;
  }
}

@media (min-width: 768px) {
  .top-works__item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.top-works__item-img-box {
  width: 100%;
  height: auto;
  background-color: #707070;
  position: relative;
}

/* wip badge */
.m_wip-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--accent-color);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.05em;
  z-index: 1;
}
@media (min-width: 768px) {
  .top-works__item-img-box {
    width: 50%;
    height: 300px;
    flex-shrink: 0;
  }
}

.top-works__item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.top-works__txt-wrapper {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 16px;
}
@media (min-width: 768px) {
  .top-works__txt-wrapper {
    width: 50%;
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }
}

.top-works__name {
  font-size: 16px;
  font-weight: 700;
}

.top-works__text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-color04);
}

.top-works__item .m_button {
  display: inline-flex;
  margin-top: 16px;
  color: var(--black-color);
  border-color: var(--black-color);
}

.top-works__button-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.top-works__button-wrapper .m_button {
  color: var(--white-color);
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

/* top-about */

.top-about {
  background-color: #f2f2f2;
}

.top-about__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .top-about__content {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
}

.top-about__img-box {
  width: 100%;
}
@media (min-width: 768px) {
  .top-about__img-box {
    width: 40%;
    flex-shrink: 0;
  }
}

.top-about__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.top-about__name {
  font-size: 24px;
  font-weight: 700;
}

.top-about__text {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
}

/* top-service */

.top-service {
  background-color: var(--gray-color);
}

.top-service__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .top-service__list {
    grid-template-columns: 1fr 1fr;
  }
}

.top-service__item {
  padding: 32px;
  background: var(--white-color);
  border: 1px solid var(--gray-color02);
  border-radius: 12px;
}

.top-service__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.top-service__text {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.top-service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.top-service__tag {
  padding: 4px 12px;
  background: var(--gray-color03);
  border-radius: 4px;
  font-size: 12px;
  font-family: "Roboto", sans-serif;
}

.top-service__item-btn {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.top-service__item .m_button {
  color: var(--black-color);
  border-color: var(--black-color);
}

.top-service__set {
  margin-top: 40px;
  padding: 40px 32px;
  background: var(--white-color);
  border: 1px solid var(--gray-color02);
  border-radius: 12px;
  text-align: center;
}

.top-service__set-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.top-service__set-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-color04);
  margin-bottom: 28px;
}

/* top-contact */

.top-contact__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.top-contact__text {
  font-size: 16px;
  line-height: 1.8;
}

.top-about__name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* .top-about__name::after {
  content: "Hiroki Kuga";
  color: var(--primary-color);
  font-size: 14px;
}
@media (min-width: 768px) {
  .top-about__name::after {
    font-size: 18px;
  }
} */

.top-contact .m_button {
  color: var(--white-color);
  border-color: var(--primary-color);
  margin-top: 24px;
  background-color: var(--primary-color);
}

/* LINEボタンは緑を優先 */
.top-contact .m_button__line {
  background-color: #06c755;
  border-color: #06c755;
}
.top-contact .m_button__line:hover {
  background-color: #05b04c;
  border-color: #05b04c;
}

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

.about-profile {
  padding-block: 120px 48px;
}
@media (min-width: 768px) {
  .about-profile {
    padding-block: 140px 64px;
  }
}

.about-profile .l_container {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .about-profile .l_container {
    flex-direction: row-reverse;
    align-items: center;
    gap: 48px;
  }
}
@media (min-width: 936px) {
  .about-profile .l_container {
    gap: 80px;
  }
}

.about-profile__img-box {
  width: 100%;
}
@media (min-width: 768px) {
  .about-profile__img-box {
    width: 40%;
    flex-shrink: 0;
  }
}
@media (min-width: 936px) {
  .about-profile__img-box {
    width: 35%;
  }
}

.about-profile__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--gray-color03);
}

.about-profile__txt-wrapper {
  margin-top: 24px;
}
@media (min-width: 768px) {
  .about-profile__txt-wrapper {
    margin-top: 0;
    width: 60%;
  }
}

.about-profile__en {
  font-size: 12px;
  color: var(--primary-color);
  letter-spacing: 0.1em;
}
@media (min-width: 768px) {
  .about-profile__en {
    font-size: 18px;
  }
}

.about-profile__name {
  font-size: 28px;
  font-weight: 700;
  margin-top: 4px;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .about-profile__name {
    font-size: 36px;
  }
}
@media (min-width: 936px) {
  .about-profile__name {
    font-size: 40px;
  }
}

.about-profile__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-color04);
  margin-top: 8px;
}

/* スキル */
.about-skill {
  padding-block: 48px 80px;
}
@media (min-width: 768px) {
  .about-skill {
    padding-block: 64px 100px;
  }
}

.about-skill__trigger-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.about-skill__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--black-color);
  background: transparent;
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
}

.about-skill__trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--black-color);
  border-radius: 50%;
  font-size: 16px;
  transition: transform 0.3s;
}

.about-skill__detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
  overflow: hidden;
}

.about-skill__detail.is-open {
  grid-template-rows: 1fr;
}

.about-skill__detail > * {
  overflow: hidden;
}

.about-skill__preview {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .about-skill__preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 16px 40px;
    align-items: start;
  }
}

.about-skill__category {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .about-skill__category {
    order: unset;
    grid-column: 1;
    grid-row: 1;
  }
}

.about-skill__img-box {
  width: 100%;
}
@media (min-width: 768px) {
  .about-skill__img-box {
    order: unset;
    grid-column: 2;
    grid-row: 1 / 3; /* 画像は2行分占有 */
    width: 100%;
  }
}

.about-skill__img-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  background: var(--gray-color03);
}

.about-skill__description {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-color04);
}
@media (min-width: 768px) {
  .about-skill__description {
    order: unset;
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
  }
}

/* アコーディオン */
.about-skill__list {
  list-style: none;
  border-top: 1px solid var(--gray-color02);
}
@media (min-width: 768px) {
  .about-skill__list {
    margin-top: 24px;
  }
}

.about-skill__item {
  border-bottom: 1px solid var(--gray-color02);
  overflow: visible;
}

.about-skill__accordion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.about-skill__item-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
}

.about-skill__accordion-body {
  display: grid;
  grid-template-rows: 10fr;
  transition: grid-template-rows 0.3s ease;
  overflow: hidden;
}

.about-skill__accordion-body.is-open {
  grid-template-rows: 1fr;
}

.about-skill__accordion-body p {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-color04);
  padding-bottom: 16px;
  padding-top: 4px;
}
/*---------- works/index ----------*/

/*---------- works page ----------*/
/*---------- works page ----------*/
.works-hero {
  padding-block: 120px 48px; /* ヘッダー分上に余白 */
}

.works-list {
  padding-block: 0 80px;
}

.works-list__items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 64px;
  list-style: none;
}
.works-list__item {
  padding-bottom: 64px;
  border-bottom: 1px solid var(--gray-color02);
}
@media (min-width: 768px) {
  .works-list__item {
    display: flex;
    align-items: center;
    gap: 48px;
  }
}
@media (min-width: 768px) {
  .works-list__item:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.works-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.works-list__img-box {
  width: 340px;
  height: 200px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .works-list__img-box {
    width: 50%;
    height: 300px;
    flex-shrink: 0;
  }
}

.works-list__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
  background: var(--gray-color03);
}

.works-list__txt-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .works-list__txt-wrapper {
    width: 50%;
    align-items: flex-start;
    text-align: left;
  }
}

.works-list__name {
  font-size: 18px;
  font-weight: 700;
  margin-top: 16px;
}

.works-list__tags {
  font-size: 12px;
  color: var(--gray-color04);
  letter-spacing: 0.05em;
}

.works-list__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-color04);
}

.works-list__txt-wrapper .m_button {
  margin-top: 8px;
  color: var(--black-color);
  border-color: var(--black-color);
}

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

.contact {
  padding-block: 120px 80px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

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

.contact__label {
  font-size: 14px;
  font-weight: 700;
}

.contact__required {
  font-size: 12px;
  color: var(--primary-color);
  font-weight: 400;
}

.contact__input,
.contact__textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--black-color);
  border: 1px solid var(--gray-color02);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s;
}

.contact__input:focus,
.contact__textarea:focus {
  border-color: var(--primary-color);
}

.contact__textarea {
  resize: vertical; /* 縦方向のみリサイズ可能 */
}

.contact__submit {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.contact__submit .m_button {
  min-width: 200px;
  color: var(--black-color);
  border-color: var(--primary-color);
}

.contact__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.contact__line-text {
  font-size: 14px;
  color: #666;
}

.m_button__line {
  min-width: 200px;
  background-color: #06C755;
  color: #fff;
  border-color: #06C755;
}

.m_button__line:hover {
  background-color: #05b04c;
  border-color: #05b04c;
  color: #fff;
}

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

.works-detail__kv {
  width: 100%;
  height: 260px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .works-detail__kv {
    height: 460px;
  }
}

.works-detail__kv-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.works-detail__title-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.works-detail__wip-badge {
  position: static;
  flex-shrink: 0;
}

.works-detail__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-block: 40px 32px;
  border-bottom: 2px solid var(--primary-color);
}

.works-detail__title a {
  color: var(--black-color);
  text-decoration: none;
}

.works-detail__title a:hover {
  opacity: 0.7;
}

.works-detail__list {
  display: flex;
  flex-direction: column;
}

.works-detail__item {
  padding-block: 24px;
  border-bottom: 1px solid var(--gray-color02);
}
@media (min-width: 768px) {
  .works-detail__item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 32px;
    align-items: start;
  }
}

.works-detail__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.08em;
  background: #e8f4ff;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .works-detail__label {
    margin-bottom: 0;
    margin-top: 2px;
  }
}

.works-detail__text {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
}

.works-detail__bullet {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.works-detail__bullet li::before {
  content: "・";
}

.works-detail__schedule {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.works-detail__schedule li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: var(--gray-color03);
  border-radius: 6px;
  font-size: 14px;
}

.works-detail__back {
  display: flex;
  justify-content: center;
  padding-block: 56px;
}

.works-detail__back .m_button {
  color: var(--black-color);
  border-color: var(--black-color);
}

/*---------- top: できること・料金 ----------*/
.top-plans__list {
  display: grid;
  gap: 24px;
  margin-top: 24px;
  list-style: none;
}
@media (min-width: 768px) {
  .top-plans__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.top-plans__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--gray-color02);
  border-radius: 8px;
}

.top-plans__item--cue {
  border: 2px solid var(--primary-color);
}

.top-plans__badge {
  position: absolute;
  top: -12px;
  left: 20px;
  padding: 2px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--primary-color);
  border-radius: 100vh;
}

.top-plans__name {
  font-size: 17px;
  font-weight: 700;
}

.top-plans__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.top-plans__note {
  font-size: 12px;
  color: var(--gray-color04);
}

.top-plans__desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray-color04);
}

.top-plans__disclaimer {
  margin-top: 20px;
  font-size: 12px;
  color: var(--gray-color04);
  text-align: center;
}

/*---------- top: 制作の流れ ----------*/
.top-flow {
  background: var(--gray-color03);
}

.top-flow__list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  list-style: none;
}
@media (min-width: 768px) {
  .top-flow__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.top-flow__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--gray-color02);
  border-radius: 8px;
}

.top-flow__num {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
}

.top-flow__name {
  font-size: 16px;
  font-weight: 700;
}

.top-flow__text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray-color04);
}

/*---------- top: contact ボタン並び ----------*/
.top-contact__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

/*---------- スクロール表示アニメーション ----------*/
@media (prefers-reduced-motion: no-preference) {
  .js-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
      opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js-reveal.is-revealed {
    opacity: 1;
    transform: none;
  }
}

/*---------- blog: 一覧 ----------*/
.post-list {
  padding-bottom: 80px;
}

.post-list__lead {
  font-size: 14px;
  color: var(--gray-color04);
  margin-bottom: 32px;
}

.post-list__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
}

.post-list__link {
  display: block;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--gray-color02);
  border-radius: 8px;
  text-decoration: none;
  color: var(--black-color);
  transition: transform 0.3s, box-shadow 0.3s;
}
.post-list__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.post-list__date {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: var(--gray-color04);
}

.post-list__title {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.post-list__excerpt {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--gray-color04);
}

.post-list__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--primary-color);
}

/*---------- blog: 記事 ----------*/
.post {
  padding: 120px 0 80px;
}

.post__date {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: var(--gray-color04);
}

.post__title {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .post__title {
    font-size: 32px;
  }
}

.post__lead {
  margin-top: 20px;
  font-size: 15px;
  line-height: 2;
  color: var(--gray-color04);
}

.post__body {
  margin-top: 40px;
}

.post__body h2 {
  margin-top: 48px;
  padding-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
  border-bottom: 2px solid var(--primary-color);
}

.post__body h3 {
  margin-top: 32px;
  font-size: 18px;
  font-weight: 700;
}

.post__body p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 2.1;
}

.post__body strong {
  font-weight: 700;
  background: linear-gradient(transparent 65%, rgba(0, 136, 255, 0.18) 65%);
}

/* 記事末尾CTA */
.post__cta {
  margin-top: 64px;
  padding: 32px 24px;
  text-align: center;
  background: var(--gray-color03);
  border-radius: 8px;
}

.post__cta-title {
  font-size: 20px;
  font-weight: 700;
}

.post__cta-text {
  margin-top: 8px;
  font-size: 14px;
  line-height: 2;
  color: var(--gray-color04);
}

.post__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.post__cta .m_button__line {
  background: #06c755;
  border-color: #06c755;
}

/* 著者ボックス */
.post__author {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 40px;
  padding: 20px;
  border: 1px solid var(--gray-color02);
  border-radius: 8px;
}

.post__author-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.post__author-name {
  font-size: 14px;
  font-weight: 700;
}

.post__author-bio {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray-color04);
}

.post__back {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.post__back .m_button {
  color: var(--black-color);
  border-color: var(--black-color);
}

/* CUE料金カード内のシミュレーターリンク */
.top-plans__sim-link {
  margin-top: 8px;
  font-size: 13px;
  color: var(--primary-color);
  text-decoration: none;
}
.top-plans__sim-link:hover {
  text-decoration: underline;
}
