@charset "UTF-8";

:root {
  /* ========== COLOR SYSTEM ========== */
  --white-color: #FFFFFF;
  --gray-color01: #FAFAFA;
  --gray-color02: #F2F2F2;
  --gray-color03: #CCCCCC;       
  --gray-color04: #707070;  

  --color-primary: #2563EB;    /* メインブルー（信頼・誠実） */
  --color-primary-dark: #1E3A8A; /* ロゴに近い深めの青 */
  --color-primary-soft: #DBEAFE; /* 青系の淡い背景用 */

  --color-accent: #F4E511;
  --color-success: #00B900;
}

  :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;
}

body {
  color: var(--black-color);
  font-family: "Noto Sans JP", "Roboto", "Helvetica Neue", Arial, sans-serif;
  line-height: 2;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }
}

h1,
h2,
.top_kv_main-copy {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--color-primary-dark);
}

@media screen and (min-width: 1080px) {
  .br-sm {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .br-tb {
    display: none;
  }
}

@media screen and (max-width: 1080px) {
  .br-lg {
    display: none;
  }
}


/* Layout */
.l_container-sm,
.l_container-lg,
.l_container {
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.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: 80px 0;
}

@media screen and (min-width: 1080px) {
  .l_contents {
  padding: 96px 0;
}
}

.l_header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  position: relative;
  z-index: var(--z-index-header);
}

.l_header::before {
  content: "";
  position: absolute;
  height: 64px;
  inset: 0;
  background-image: radial-gradient(var(--color-primary-dark) 2px, var(--white-color) 2px);
  background-size: 20px 20px;
  opacity: 0.1; /* ドットの濃さをここで調整 */
  z-index: 0; /* 背景層 */
}

.l_header-logo-wrapper {
  height: 64px;
  display: flex;
  align-items: center;
}

.l_header-logo_img {
  width: 32px;
  height: 32px;
}

@media screen and (min-width: 1080px) {
  .l_header-logo_img {
  width: 48px;
  height: 48px;
}
}

.l_header-logo {
  margin: 0 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  font-family: "Roboto";
  display: flex;
  align-items: center;
  white-space: nowrap;
}
@media screen and (min-width: 1080px) {
  .l_header-logo {
    font-size: 20px;
    margin-left: 12px;
  }
}

.l_header-logo-link {
  width: 100%;
  height: 100%;
  color: var(--color-primary-dark);
}

.l_header-nav {
  position: fixed;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 と同じ */
  width: 100vw;
  height: 100vh;
  background: var(--white-color);
  z-index: var(--z-index-menu);
  display: flex;            /* リストを中央寄せするためにflexレイアウト */
  align-items: center;
  justify-content: center;

  /* 初期は非表示（クリックで出す） */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2%);
  transition: opacity .35s ease, transform .35s ease;
}

@media screen and (min-width: 1080px) {
  .l_header-nav {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    padding: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    display: block !important;
  }
}


.l_header-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--color-primary-dark) 2px, var(--white-color) 2px);
  background-size: 20px 20px;
  opacity: .06;
  pointer-events: none;
}

.l_header-nav.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


.l_header-nav-list {
  color: var(--color-primary-dark);
  display: flex;
  gap: 24px;
}

/* 全画面ナビの中身（縦並び・大きめのリンク） */
.l_header-nav-list {
  position: relative; /* ::beforeと重ならないように */
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

@media screen and (max-width: 1080px) {
  .l_header-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

@media screen and (min-width: 1080px) {
  .l_header-nav-list {
    display: flex;
    flex-direction: row;
    gap: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .l_header-nav-item {
    color: var(--white-color);
    font-weight: normal;
    height: 100%;
    display: flex;
    align-items: center;
  }
}

@media screen and (min-width: 1080px) {
  .l_header-nav-item:not(:first-child) {
    margin-top: 0;
  }
}

.l_header-nav-item-link {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: .08em;
}

.l_footer {
  padding: 32px 16px 32px;
}

.l_footer_contents {
  text-align: center;
}

.l_footer_logo-wrapper {
  margin: 0 auto 16px;
  width: 201px;
  display: flex;
  gap: 16px;
}

.l_footer-logo_img {
  width: 32px;
  height: 32px;
}

.l_footer-logo {
  font-size: 16px;
  font-weight: bold;
  font-family: "Roboto";
  color: var(--black-color);
}

.l_footer_logo-desc {
  margin-top: 12px;
  font-size: 14px;
}

.l_footer-nav {
  margin-top: 24px;
}

.l_footer-nav-item:not(:first-child) {
  margin-top: 12px;
  font-size: 14px;
}

.l_footer-copyright {
  margin-top: 24px;
  font-size: 12px;
}



/* module */

/* Opening 全体 */
.m_opening {
  position: fixed;
  inset: 0; /* top, right, bottom, left: 0 の省略形 */
  z-index: var(--z-index-modal);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

/* 中身をまとめて中央寄せ */
.m_opening_txt {
  text-align: center;
  margin: 0 auto;
}

/* ロゴ＋テキスト横並び */
.m_opening_logo_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* スマホは少し狭め */
  margin-bottom: 16px;
}

/* ロゴ画像の枠（スマホサイズ） */
.m_opening_img_wrapper {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.m_opening_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* 「Wave Tree Studio」の文字（スマホ用） */
.m_opening_heading {
  margin: 0;
  color: var(--color-accent);
  font-size: 24px; /* スマホで横に並ぶサイズ */
  font-weight: bold;
  line-height: 1.2;
  white-space: nowrap; /* 途中で改行されないようにする */
}

/* キャッチコピー */
.m_opening_desc {
  color: var(--color-accent);
  font-weight: bold;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
}

/* 画面が少し広くなったら少しだけ大きく */
@media screen and (min-width: 480px) {
  .m_opening_img_wrapper {
    width: 56px;
    height: 56px;
  }

  .m_opening_heading {
    font-size: 28px;
  }

  .m_opening_desc {
    font-size: 15px;
  }
}

/* タブレット以上（PC含む）はどーんと大きく */
@media screen and (min-width: 768px) {
  .m_opening_logo_wrapper {
    gap: 24px;
  }

  .m_opening_img_wrapper {
    width: 64px;
    height: 64px;
  }

  .m_opening_heading {
    font-size: 56px;
  }

  .m_opening_desc {
    font-size: 16px;
  }
}

/* =========================
   ハンバーガーボタン
   ========================= */
.m_hamburger {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: calc(var(--z-index-menu) + 1);
  width: 40px;
  height: 32px;
  padding: 8px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  background: var(--white-color);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* PCでは非表示 */
@media (min-width: 1080px) {
  .m_hamburger {
    display: none;
  }
}

/* 三本線 */
.m_hamburger_bar {
  position: absolute;
  left: 8px;
  width: calc(100% - 16px);
  height: 3px;
  border: 1px solid var(--color-primary-dark);
  border-radius: 2px;
  background-color: var(--color-primary-dark);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 1本目・2本目・3本目の位置 */
.m_hamburger_bar:nth-child(1) {
  top: 25%;
}

.m_hamburger_bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.m_hamburger_bar:nth-child(3) {
  bottom: 25%;
}

.m_cta_btn-box {
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .m_cta_btn-box {
  display: flex;
  justify-content: center;
  gap: 48px;
}
}

.m_btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
}

.m_btn {
  background: var(--color-accent);
  width: 196px;
  height: 56px;
  border-radius: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  font-weight: bold;
  letter-spacing: 0.1em;
  overflow: hidden;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.m_btn:hover {
  background-color: var(--color-primary);
  color: var(--color-accent);
  transform: scale(1.05);
}

@media screen and (min-width: 1080px) {
  .m_btn {
    margin-top: 24px;
  }
}

.m_line-btn {
  color: var(--white-color);
  background: var(--color-success);
}

.m_line-btn:hover {
  background-color: var(--color-success);
  color: var(--white-color);
  transform: scale(1.05);
}

.m_cta .m_line-btn:hover {
  background: #00a000;
}

.m_cta-btn_img-wrapper {
  margin-left: 8px;
  display: flex;
  align-items: center;
}

.m_cta-btn_img {
  width: 24px;
  height: 24px;
}

.mail-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(17%) sepia(47%) saturate(3924%) hue-rotate(217deg) brightness(85%) contrast(103%);
  transition: filter 0.25s ease;
}

.m_btn:hover .mail-icon {
  filter: brightness(0) saturate(100%) invert(86%) sepia(61%) saturate(1777%) hue-rotate(1deg) brightness(100%) contrast(105%);
}


/* =========================
   CTA セクション
   ========================= */
.m_cta {
  position: relative;
  width: 100%;
  padding: clamp(56px, 7vw, 80px) 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--color-primary) 90%, #ffffff 10%),
      color-mix(in srgb, var(--color-primary-dark) 90%, var(--color-accent) 10%)
    );
  color: #fff;
  overflow: hidden;
}

/* やわらかい波っぽい装飾 */
.m_cta::before {
  content: "";
  position: absolute;
  inset-inline: -20%;
  bottom: -40%;
  height: 80%;
  background: radial-gradient(
    ellipse at top,
    rgba(255, 255, 255, 0.18),
    transparent 60%
  );
  opacity: 0.7;
  pointer-events: none;
}

/* 中身レイアウト */
.m_cta_body {
  position: relative;
  display: flex;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

/* 左側テキストエリア */
.m_cta_copy {
  max-width: 640px;
}

.m_cta_label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
}

.m_cta_label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--color-accent);
}

.m_cta_ttl {
  color: var(--color-accent);
  margin-bottom: 16px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.4;
}

.m_cta_txt {
  font-size: 14px;
  line-height: 1.9;
  opacity: 0.9;
}

.m_cta_action {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 右寄せ */
  justify-content: center;
  gap: 12px;
  min-width: 260px;
}

/* 備考テキスト */
.m_cta_note {
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.85;
}

/* スマホでは中央寄せ＆幅いっぱい */
@media screen and (max-width: 767px) {
  .m_cta_action {
    align-items: stretch;
    width: 100%;
    margin-top: 24px;
  }
}

/* ===== スマホ対応 ===== */
@media screen and (max-width: 767px) {
  .m_cta {
    padding: 40px 0 48px;
  }

  .m_cta_body {
    flex-direction: column;
    align-items: flex-start;
  }

  .m_cta_copy {
    max-width: 100%;
  }

  .m_cta_ttl {
    margin-bottom: 12px;
  }

  .m_cta_action {
    width: 100%;
    align-items: stretch;
    margin-top: 24px;
  }

  .m_cta .m_btn {
    width: 100%;
    justify-content: center;
  }

  .m_cta_note {
    width: 100%;
  }
}

.m_section_contents {
  padding: 120px 0 80px 0;
}

.m_section_ttl_bg {
  width: 98%;
  height: 128px;
  padding: 16px 24px;
  background: var(--color-primary-dark);
  border-radius: 18px 0 0 18px;
  margin-left: auto;
  border-left: 4px solid var(--color-accent);
}

.m_section_sub-ttl {
  font-size: 36px;
  font-weight: bold;
  color: var(--color-accent);
}

.m_section_main-ttl {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-accent);
}

.m_section_ttl_bg {
  width: 98%;
  margin-left: auto;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--color-primary) 90%, #ffffff 10%),
    color-mix(in srgb, var(--color-primary-dark) 90%, var(--color-accent) 10%)
  );
  color: var(--white-color);
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
}

.m_section_sub-ttl {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.m_section_main-ttl {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  opacity: 0.9;
  margin: 0;
  color: #fff;
}

@media screen and (max-width: 767px) {
  .m_section_ttl_bg {
    padding: 24px 20px;
    margin-bottom: 28px;
  }
}

.m_section_heading-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 80px 0 0 6px;
  border-left:solid 6px var(--color-primary-dark);
}

.m_section_heading {
  font-size: 24px;
  font-weight: bold;
  color: var(--color-primary-dark);
  position: relative;
}

.m_section_sub-heading {
  color: var(--color-primary-dark);
}


/* top */

/* ===== ヒーロー全体 ===== */
.top_kv {
  position: relative;
  width: 100%;
  min-height: max(560px, 100svh); 
  overflow: hidden;
  display: block;
  background-color: var(--white-color);
}

@media (min-width: 768px) {
  .top_kv {
    min-height: calc(100svh - var(--header-height, 80px));
  }
}

/* ===== top：PC幅で少し左寄せ＆余白調整 ===== */
@media screen and (min-width: 768px) {
  /* コンテナの左右余白をヒーローだけ調整 */
  .top_kv .l_container-sm {
    max-width: none;                 /* 共通の最大幅を外す */
    padding-left: 80px;              /* 左側をしっかり開ける */
    padding-right: 40px;             /* 右側は少しだけ */
  }

  /* 中身のボックスは左寄せ */
  .top_kv_box {
    max-width: 1080px;
    margin-left: 0;
    margin-right: auto;
  }
}

.top_kv::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    var(--color-primary-dark) 2px,
    var(--white-color) 2px
  );
  background-size: 20px 20px;
  opacity: 0.08;

  /* ← 波モーション用：position をCSS変数化する */
  background-position: 0 var(--kv-bg-pos, 0px);
}

/* 中身全体 */
.top_kv-inner {
  position: relative;
  z-index: var(--z-index-default);
  padding: 64px 0 48px;
}

@media screen and (max-width: 768px) {
  .top_kv-inner {
    padding-top: 32px;
    padding-bottom: 40px;
  }
}

/* レイアウトのベース */
.top_kv_box {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse; /* SP：イラストが下 */
  align-items: center;
  gap: 32px;
  max-width: 1080px;
  margin-left: 0;
  margin-right: auto;
}

@media screen and (min-width: 768px) {
  .top_kv_box {
    flex-direction: row; /* PC：左右2カラム */
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
}

@media screen and (max-width: 768px) {
  .top_kv_box {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

/* ===== テキスト側 ===== */
.top_kv_content {
  max-width: 560px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .top_kv_content {
    text-align: left;
    flex: 0 0 52%;
  }
}

@media screen and (max-width: 767px) {
  .top_kv_content {
    text-align: center;      /* 親を中央寄せ */
  }
}

@media screen and (max-width: 768px) {
  .top_kv_content {
    max-width: 320px;
    margin-inline: auto;
    text-align: left;
  }
}

.top_kv_main-copy {
  font-size: 24px;
  font-weight: 700;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    sans-serif;
  color: var(--color-primary-dark);
  line-height: 1.5;
  white-space: nowrap;
  display: inline-block;
}

@media screen and (min-width: 768px) {
  .top_kv_main-copy {
    font-size: 24px;
    margin-inline: auto;
  }
}

@media screen and (max-width: 768px) {
  .top_kv_main-copy {
    font-size: 22px;
  }

}

.top_kv_main-copy_emp {
  background-image: linear-gradient(
    transparent 0%,
    transparent 70%,
    var(--color-accent) 70%,
    var(--color-accent) 100%
  );
}

.top_kv_sub-copy {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    sans-serif;
  color: var(--color-primary-dark);
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .top_kv_sub-copy {
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .top_kv_sub-copy {
    font-size: 14px;
    margin-top: 6px;
  }
}

.top_kv_desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
  max-width: 36em;
}

@media screen and (max-width: 768px) {
  .top_kv_desc {
    font-size: 13px;
    line-height: 1.8;
    margin-top: 12px;
  }
}

/* ===== CTAボタン（既存のm_btnをそのまま利用） ===== */
/* ※ .m_cta_btn-box, .m_btn はグローバル定義をそのまま使う */

@media screen and (min-width: 1080px) {
  .top_cta-btn-wrapper .m_btn {
    margin-top: 24px; /* 他セクションより少しだけ詰める調整（お好み） */
  }
}


/* ===== イラスト側 ===== */
.top_kv_visual {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .top_kv_visual {
    order: -1; /* イラストを一番上に */
  }
}

.top_kv_img-wrapper {
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .top_kv_visual {
    flex: 0 0 48%;   /* イラスト側を少し狭め */
    justify-content: flex-end;
  }
}

.top_kv_img {
  width: 260px;
  height: auto;
}

@media screen and (min-width: 768px) {
  .top_kv_img {
    max-width: 480px; 
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .top_kv_img {
    width: 60vw;
    max-width: 260px;
    height: auto;
  }
}

/* ===== スクロール誘導 ===== */
.top_scroll_box {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .top_scroll_box {
    margin-top: 48px;
  }
}

@media screen and (max-width: 768px) {
  .top_scroll_box {
    margin-top: 32px;
  }
}

.top_kv-scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.top_kv-scroll-down_txt {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-primary-dark);
  font-family: "Roboto", sans-serif;
}

.top_kv-scroll-down_arrow {
  width: 1px;
  height: 32px;
  background-color: var(--color-primary-dark);
  position: relative;
  /* overflow: hidden; ← 付けない */
}

.top_kv-scroll-down_arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px; /* 棒の下から少しはみ出す */
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--color-primary-dark);
  border-bottom: 1px solid var(--color-primary-dark);
}

/* ふわっと上下するアニメーション */
@keyframes topKvScroll {
  0% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(3px);
  }
  100% {
    transform: translateY(-4px);
  }
}

.top_kv-scroll-down_arrow {
  animation: topKvScroll 1.8s infinite ease-in-out;
}

.top_section-wrapper:nth-child(2n) {
  background: var(--gray-color01);
}

/* =========================================
   トップページの各セクション（カード化）
========================================= */
.top_section-wrapper {
  background: #fff;
  border-radius: 24px;
  padding: 48px 28px; /* 中身の余白 */
  margin: 40px auto;  /* セクション同士の間隔 */
  width: 90%;   /* カード幅（中央寄せ） */

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.04);

  transition: box-shadow .3s ease, transform .3s ease;
}

/* hover時に少し浮く（モダンさUP） */
.top_section-wrapper:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 6px 18px rgba(0, 0, 0, 0.06);
}

/* ===== スマホ（もっと余白広めにコンパクト） ===== */
@media screen and (max-width: 767px) {
  .top_section-wrapper {
    padding: 36px 20px;
    margin: 28px 16px;
    border-radius: 20px;
  }
}

.top_ttl {
  font-size: 24px;
  font-weight: bold;
  position: relative;
}

@media screen and (max-width: 768px) {
  .top_ttl {
    font-size: 22px;
  }
}

.top_ttl:before {
  position: absolute;
  font-size: 40px;
  color: var(--color-primary);
  opacity: 0.3;
  top: 8%;
  transform: translateY(-50%);
}

@media screen and (max-width: 1080px) {
  .top_ttl:before {
    font-size: 32px;
  }
}

.top_ttl_bg_service::before {
  content: "SERVICE";
}

.top_ttl_bg_works::before {
  content: "WORKS";
}

.top_ttl_bg_price::before {
  content: "PRICE";
}

.top_ttl_bg_about::before {
  content: "ABOUT";
}

.top_txt {
  font-size: 14px;
}

/* =========================================
   トップページ：カードレイアウト共通
========================================= */

/* セクション全体をカード化 */
.top_section-wrapper {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 32px;
  margin: 40px auto;
  max-width: 960px;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.04);

  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* ホバーで少し浮く */
@media (hover: hover) {
  .top_section-wrapper:hover {
    transform: translateY(-4px);
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.08),
      0 6px 18px rgba(0, 0, 0, 0.06);
  }
}

/* コンテンツ箱 */
.top_section-wrapper .top_box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* =========================================
   見出しまわり
========================================= */

.top_section-wrapper .top_ttl {
  position: relative;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-primary-dark);
  padding-left: 14px;
}

/* 左にアクセントライン */
.top_section-wrapper .top_ttl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 70%;
  border-radius: 999px;
  background: var(--color-accent);
  transform: translateY(-50%);
}

/* セクションごとに微妙に色味を変えたい場合（任意） */
.top_ttl_bg_service {
  /* サービス：デフォルトのままでOKなら空でもよい */
}

.top_ttl_bg_works {
  /* 制作実績用に少しだけトーン変更したければここに */
}

.top_ttl_bg_price {
  /* 料金セクション用 */
}

.top_ttl_bg_about {
  /* ABOUTセクション用 */
}

/* =========================================
   テキスト
========================================= */

.top_section-wrapper .top_txt {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-color, #333333);
  max-width: 720px;
}


/* ================================
   トップセクションカード内 ボタン
================================ */

.top_section-wrapper .m_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  background: var(--color-accent);
  color: var(--color-primary-dark);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: var(--color-primary) 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;

  /* これが大事（既存スタイルをリセット） */
  border: none;
  position: relative;
  overflow: hidden;
}

/* 矢印アイコン */
.top_section-wrapper .m_btn_arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-primary-dark);
  border-bottom: 2px solid var(--color-primary-dark);
  transform: rotate(-45deg);
  transition:  0.25s ease;
}
/* ================================
   hover 時（PCのみ）
================================ */
@media (hover: hover) {
  .top_section-wrapper .m_btn:hover {
    background: var(--color-primary); /* 少し濃いだけの安全色 */
    color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    transition:  0.25s ease;
  }

  .top_section-wrapper .m_btn:hover .m_btn_arrow {
    border-right-color: var(--color-accent);
    border-bottom-color: var(--color-accent);
    transition:  0.25s ease;
  }
}

/* =========================================
   レスポンシブ（スマホ）
========================================= */

@media screen and (max-width: 767px) {
  .top_section-wrapper {
    padding: 32px 20px;
    margin: 24px 16px;
    border-radius: 20px;
  }

  .top_section-wrapper .top_ttl {
    font-size: 20px;
    padding-left: 12px;
  }

  .top_section-wrapper .top_txt {
    font-size: 14px;
  }

  .top_section-wrapper .top_btn-wrapper {
    margin-top: 20px;
    justify-content: center; /* スマホではボタン中央寄せ */
  }

  .top_section-wrapper .m_btn {
    width: 100%;
    justify-content: center;
  }
}

/* about */

.about_contents {
  padding: 0 16px;
}

@media screen and (min-width: 768px) {
  .about_contents {
    display: flex;
    gap: 24px;
  }
}

.about_img-wrapper {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.about_img {
  width: 200px;
  height: 260px;
  border-radius: 10px;
}

@media screen and (min-width: 1080px) {
  .about_img {
  width: 320px;
  height: auto;
}
}

.about_heading_wrapper {
  padding: 0 8px;
}

.about_heading {
  margin-top: 24px;
  font-weight: bold;
}

.about_name {
  font-weight: bold;
  margin-top: 8px;
}

.about_sub-name {
  font-size: 10px;
  font-weight: normal;
}

.about_txt01 {
  margin-top: 8px;
}

.about_txt02 {
  margin-top: 16px;
}

/* service */

.servive_container {
  padding: 0 20px;
}

/* 各サービス記事（「一貫対応」「ホームページ制作」「サービス内容」） */
.service_article-wrapper {
  margin-top: 80px;
}

@media screen and (max-width: 768px) {
  .service_article-wrapper {
    margin-top: 64px;
  }
}

/* 見出し＋右側に伸びるバー */
.service_article_heading {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* テキスト長に依存しない伸びるバー */
.service_article_heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--color-primary);
}

/* 既存の class 名はそのまま残してOK（見た目は上書きされる） */
.service_bar01::after,
.service_bar02::after,
.service_bar03::after {
  /* ここは base の ::after をそのまま使うので、特別な指定は不要 */
}

/* メインイラスト */
.service_article_img-wrapper {
  margin-top: 24px;
  text-align: center;
}

.service_article_img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 記事タイトル（太字のキャッチコピー） */
.service_article_ttl {
  margin-top: 24px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
  color: var(--color-primary-dark);
}

@media screen and (min-width: 768px) {
  .service_article_ttl {
    font-size: 20px;
  }
}

/* 記事本文 */
.service_article_txt {
  margin: 16px auto 0;
  font-size: 14px;
  line-height: 1.9;
}

/* ===== サービス内容カード群（下の5枚） ===== */

.service_item-box-wrapper {
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* タブレット：2列 */
@media screen and (min-width: 768px) {
  .service_item-box-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }
}

/* PC：3列 */
@media screen and (min-width: 1080px) {
  .service_item-box-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* カード本体 */
.service_item_box {
  width: 100%;
  background: var(--white-color);
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-primary-dark);
  border-radius: 12px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* ホバーしたときに少し浮く */
.service_item_box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* カード内のイラスト */
.service_item_img-wrapper {
  margin: 0 auto 16px;
  text-align: center;
}

.service_item_img {
  max-width: 220px;
  max-height: 220px;
  display: block;
  margin: 0 auto;
}

/* カードタイトル（ヒアリング / デザイン・コーディング etc…） */
.sercice_item_ttl {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

@media screen and (min-width: 768px) {
  .sercice_item_ttl {
    font-size: 18px;
  }
}

/* カード本文 */
.service_item_txt {
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
  padding: 0;
  flex-grow: 1; /* テキスト量が違っても高さ揃える */
}

/* contact ここから下はそのまま使うので既存のCSSを残してください */
/* contact */

.contact_ttl_bg {
  margin-top: 120px;
}

/* contact */

.contact_ttl_bg {
  margin-top: 120px;
}

.contact_main {
  margin-top: 80px;
  background: var(--color-primary-dark);
}

.contact_form_heading {
  font-size: 16px;
  font-weight: bold;
  color: var(--white-color);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact_form_heading:not(:first-child) {
  margin-top: 64px;
}

.contact_form_required {
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.1em;
  width: 48px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(
    0,
    var(--color-accent),
    var(--color-accent)
  );
  border-radius: 100vh;
}

.contact_form_detail {
  margin-top: 8px;
}

.contact_form_detail__other {
  margin-top: 24px;
}

.contact_form_input {
  font-size: 16px;
  width: 100%;
  height: 48px;
  padding: 8px;
  border: 1px solid var(--gray-color02);
  background: var(--white-color);
}

.contact_form_example-wrapper {
  text-align: right;
  height: 28px;
  margin-top: 8px;
}

.contact_form_example {
  color: var(--gray-color01);
  font-size: 14px;
  letter-spacing: 0.1em;
}

.contact_form_check-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact_form_check-item {
  background: var(--color-primary-soft);
}

.contact_form_request-item-inner {
  height: 48px;
  padding: 8px;
  display: flex;
  cursor: pointer;
}

.contact_form_checkbox {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  flex-shrink: 0;
  background: var(--gray-color02);
  border: 1px solid var(--gray-color02);
  appearance: checkbox;
}

.contact_form_request-txt {
  letter-spacing: 0.1em;
  margin-left: 16px;
}

.contact_form_textarea {
  font-size: 16px;
  width: 100%;
  height: 240px;
  padding: 8px;
  border: 1px solid var(--colo);
  background: var(--gray-color02);
}

.contact_privacy {
  display: block;
  height: 240px;
  margin-top: 24px;
  padding: 14px 18px 8px;
  overflow-y: scroll;
  background: var(--white-color);
}

.contact_privacy_note {
  display: block;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.67;
}

.privacy_ttl {
  font-size: 14px;
  font-weight: bold;
}

.privacy_heading {
  font-size: 14px;
  font-weight: bold;
}

.contact_form_btn-wrapper {
  margin-top: 64px;
}

/* works */

/* カード全体 */
.work-card {
  background: var(--c-card);
  border: 1px solid var(--gray-color01);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* ホバーアニメーション */
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.4);
}

/* 画像部分 */
.work-img-wrapper {
  aspect-ratio: 16/9;
  display: block;
  overflow: hidden;
  background: var(--gray-color01);
}

.work_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-media img {
  transform: scale(1.05);
}

/* 本文部分 */
.work-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* タイトル */
.work-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--c-text);
}

/* 説明文 */
.work-desc {
  font-size: 14px;
  color: var(--c-muted);
  margin: 0 0 8px;
  line-height: 1.7;
}

/* リンク部分 */
.work-links {
  margin-top: auto;
}

.work-links a {
  display: inline-block;
  color: var(--c-link);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.work-links a:hover {
  color: var(--c-accent);
  text-decoration: underline;
}

/* price */

.price_contents {
  padding: 32px 0 40px;
}

@media screen and (min-width: 768px) {
  .price_contents {
  padding: 24px 0 32px;
}
}

.price_desc {
  margin: 0 0 6px;
  color: var(--color-primary-dark);
}

.price_wrapper {
  margin-top: 32px;
  padding: 24px 20px 20px;
  background: var(--white-color);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-color03);
}

@media screen and (min-width: 768px) {
  .price_wrapper {
    margin-top: 24px;
    padding: 40px 16px ;
    border-radius: 10px;
  }
}

.price_section-ttl {
  position: relative;
  margin: 0 0 18px;
  font-size: 1.2rem;
  padding-left: 12px;
}

@media screen and (min-width: 768px) {
  .price_section-ttl {
    margin-bottom: 12px;
  }
}

.price_section-ttl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 4px;
  height: 1.2em;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--color-main), var(--color-accent));
}

/* テーブル */

.price_section_table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.price_section_table {
  width: 100%;
  border-collapse: collapse;
  min-width: 360px;
  font-size: 0.9rem;
}

@media screen and (min-width: 768px) {
  .price_section_table {
    min-width: 320px;
  }
}

.price_thead {
  background: linear-gradient(90deg, rgba(31, 95, 191, 0.12), rgba(247, 181, 0, 0.06));
}

.price_section_table th,
.price_section_table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

@media screen and (min-width: 768px) {
  .price_section_table th,
  .price_section_table td {
    padding: 8px 10px;
  }
}

.price_section_table th {
  font-weight: 600;
  white-space: nowrap;
}

.price-th_price {
  text-align: right;
}

.price_section_table tbody tr:nth-child(even) {
  background-color: #fafbff;
}

.price_section_table td:last-child {
  white-space: nowrap;
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .price_section_table td:last-child {
    text-align: right;
  }
}

/* パッケージプラン */

.plan-wrapper {
  margin-top: 16px;
}

.plan-card {
  border-radius: var(--radius-md);
  padding: 18px 16px;
  border: 1px solid var(--color-border);
}

@media screen and (min-width: 1080px) {
  .plan-card {
    padding: 16px 14px;
    width: 100%;
    height: 268px;
  }
}

.plan-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media screen and (min-width: 1080px) {
  .plan-card-list {
    flex-direction: row;
    justify-content: space-between;
  }
}

.plan-card-item,
.plan-caed-item { 
  width: 100%;
  box-shadow: 2px 2px 4px gray;
}

@media screen and (min-width: 1080px) {
  .plan-card-item,
  .plan-caed-item {
    width: auto;
    flex: 0 0 268px; 
  }
}

.plan-ttl {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.plan-price {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-main);
}

.plan-list {
  margin: 0;
  padding-left: 1.1em;
  list-style: none;
  font-size: 0.9rem;
}

.plan-item {
  position: relative;
  padding-left: 0.6em;
  line-height: 1.7;
}

.plan-item::before {
  content: "・";
  position: absolute;
  left: 0;
}

.price_notes-list {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.price_notes-item {
  margin-bottom: 4px;
}

/* 固定ボタン */
/* ===== 画面下固定の相談ボタンバー ===== */
/* ===== 画面下固定バー ===== */
.floating-contact {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);

  display: flex;
  justify-content: center;
  gap: 16px;

  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

/* ===== ボタン ===== */
.floating-contact_btn {
  flex: 1;
  max-width: 320px;
  padding: 14px 20px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px; /* ← アイコンとの間隔 */

  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;

  border-radius: 999px;
  border: none;
  cursor: pointer;
}

/* メインカラー */
.floating-contact_btn--primary {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* LINE色 */
.floating-contact_btn--line {
  background: #06c755;
  color: #fff;
}

/* ===== アイコン ===== */
.floating-contact_icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
}

.floating-contact_icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

/* PCのホバー */
@media (hover: hover) {
  .floating-contact_btn:hover {
    opacity: 0.9;
  }
}

/* ===== スマホ ===== */
@media screen and (max-width: 767px) {
  .floating-contact {
    padding: 10px 12px;
    gap: 10px;
  }

  .floating-contact_btn {
    font-size: 14px;
    padding: 12px 10px;
    gap: 6px;
  }

  .floating-contact_icon {
    width: 18px;
    height: 18px;
  }

  body {
    padding-bottom: 90px;
  }
}

/* js */

.js_copy,
.js_desc {
  will-change: opacity, transform, filter;
}

.js_body.is-active {
  overflow: hidden;
}

.js_opening.is-active {
  visibility: hidden;
}

.js_navigation {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

@media screen and (min-width: 1080px) {
  .js_navigation {
    pointer-events: auto;
    opacity: 1;
  }
}

.js_navigation.is-active {
  opacity: 1;
  pointer-events: auto;
}

.js_hamburger.is-active .m_hamburger_bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.js_hamburger.is-active .m_hamburger_bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-100%);
}

.js_hamburger.is-active .m_hamburger_bar:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}