/* =========================
   Reset / Base
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.7;
  padding-top: 80px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* =========================
   Page Base
========================= */

.company-page,
.contact-page,
.law-page,
.carypto-page,
.news-page {
  background: #fff;
  color: #333;
}

/* =========================
   Header 共通
========================= */

.law-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;

  z-index: 9999;

  background: #fff;

  backdrop-filter: blur(10px);
}

.law-header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.law-menu-toggle {
  border: none;
  background: transparent;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  margin-left: auto;
  flex: 0 0 auto;
}

.law-menu-toggle span {
  display: block;
  width: 100%;
  height: 4px;
  background: #8d8d8d;
}

.law-nav {
  display: none;
  position: absolute;
  top: 70px;
  right: 24px;
  width: 280px;
  background: #fff;
  border: 1px solid #d8d8d8;
  padding: 16px;
  z-index: 200;
  border-radius: 8px;
}

.law-nav.open {
  display: block;
}

.law-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.law-nav a {
  color: #333;
  font-size: 15px;
}

/* =========================
   TOP Page
========================= */

.top-page {
  background: #fff;
  color: #222;
}

.top-hero-1 {
  background-image: url("../images/top-main-1.jpg");
  background-size: cover;
  background-position: center;
  padding: 120px 20px 80px;
  position: relative;
  color: #fff;
  overflow: hidden;
}

/* 少し暗くする（見やすく） */
.top-hero-1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(500px); /* 右から */
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-copy {
  position: absolute;
  top: 5%;                /* ← 少し上に（今より上） */
  left: 3%;
  z-index: 2;
  color: #fff;
  text-align: left;

  transform: scale(1.1); /* ← 全体を小さく */
  transform-origin: top left;

  opacity: 0;
  animation: fadeRight 2s ease forwards;
  animation-delay: 0.5s; /* ← ちょっと遅らせる */
}

.hero-copy h1 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-shadow: 0 3px 12px rgba(0,0,0,0.8);
}

.hero-line1 {
  display: block;
  font-size: clamp(28px, 4vw, 60px);
}

.hero-line2 {
  display: block;
  font-size: clamp(32px, 4.5vw, 70px);
}

.gold {
  color: #d8b15f;
  font-size: 1.25em;
  margin-right: 0.05em;
  text-shadow:
    0 0 8px rgba(216,177,95,0.5),
    0 4px 16px rgba(0,0,0,0.9);
}

.hero-border {
  width: 540px;
  max-width: 90%;
  height: 1px;
  background: linear-gradient(to right, #d8b15f, transparent);
  margin: 8px 0 8px; /* ← 上を22 → 8にする */
}

.hero-copy p {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(12px, 1.3vw, 18px); /* ← 少し小さく */
  line-height: 1.3;                   /* ← 行間も少し詰める */
  letter-spacing: 0.08em;
  margin: 0;
  text-shadow: 0 3px 10px rgba(0,0,0,0.9);
}

.hero-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  position: relative; /* ← 追加 */
  z-index: 5;         /* ← 追加（前に出す） */
  margin-top: 260px;
}

/* カード本体 */
.hero-box {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
  transform: scale(0.9); /* ← 全体を小さく */
}

/* 画像 */
.hero-box img {
  width: 100%;
  display: block;
}

/* ホバー */
.hero-box:hover {
  box-shadow: none;
  border-color: #00cfff;
}

/* クリック時（押した感） */
.hero-box:active {
  transform: scale(0.98);
}

.hero-box:nth-child(1) {
  opacity: 0;
  animation: fadeRight 0.8s ease forwards;
  animation-delay: 2.5s;
}

.hero-box:nth-child(2) {
  opacity: 0;
  animation: fadeRight 0.8s ease forwards;
  animation-delay: 2.8s;
}

.hero-box:nth-child(3) {
  opacity: 0;
  animation: fadeRight 0.8s ease forwards;
  animation-delay: 3.1s;
}

.hero-box:nth-child(4) {
  opacity: 0;
  animation: fadeRight 0.8s ease forwards;
  animation-delay: 3.4s;
}

.hero-subtext {
  position: relative; /* ← 追加 */
  z-index: 10;        /* ← 追加 */

  text-align: center;
  color: #fff;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(16px, 2vw, 26px);
  margin-top: 10px;
  margin-bottom: 0;
  letter-spacing: 0.08em;
  text-shadow: none;

  opacity: 0;
  animation: fadeRight 2s ease forwards;
  animation-delay: 0.5s; /* ← ちょっと遅らせる */
}

/* カッコごと大きく */
.hero-subtext .big {
  font-size: 1.2em;
  font-weight: bold;
}

/* 「資産運用」だけ色 */
.hero-subtext .gold {
  color: #d8b15f;
}

/* PCでは非表示 */
.sp-only {
  display: none;
}

/* スマホ　*/
@media (max-width: 768px) {

  .hero-copy p {
    font-size: clamp(10px, 1vw, 14px); /* ← 少し小さく */
  }

  .hero-subtext {
    font-size: clamp(14px, 1.6vw, 22px); /* ← 少し小さく */
  }

  .sp-only {
    display: block;
  }

  .hero-boxes {
    grid-template-columns: 1fr 1fr;
    margin-top: 100px;
  }

}

/* =======================
   WEBPセクション
======================= */

.top-hero-2 {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* WEBP */
.hero-webp {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト */
.hero-text-2 {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);

  z-index: 10;
  width: 90%;

  text-align: center;
  color: #000;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  letter-spacing: 0.08em;
  text-shadow: none;
}

.hero-subtext-2 {
  margin-top: 30px;
  font-weight: 700;
  font-size: 46px;
}

.hero-small-text {
  margin-top: 20px;
  font-size: 32px;
}

/* "あなた自身"だけ色 */
.hero-small-text .gold {
  color: #d8b15f;
  text-shadow: none;
}

/* スマホ */
@media (max-width: 768px) {

  .hero-webp {
    width: 150%;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .hero-text-2 {
    width: 95%;
  }

  .hero-subtext-2 {
    margin-top: 20px;
    font-size: 15px;
  }

  .hero-small-text {
    margin-top: 7px;
    font-size: 10px;
  }

}

.section {
  text-align: center;
}

.section h2 {
  font-size: 64px;
  margin-top: 80px;
  margin-bottom: 40px;
  color: #0b1f4d;
}

.slide-up {
  opacity: 0;
  transform: translateY(80px);

  transition:
    opacity 1s ease,
    transform 1s ease;
}

.slide-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* 上画像 */

.top-image img {
  width: 100%;
  display: block;
}

.highlight h3{
  color: #4ea3c8;
  font-size: 32px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

.service-card {
  width: 600px;
  padding: 20px;
  border-radius: 10px;

  background: #f0f8ff;
  border: 2px solid #007bff;
}

.service-card h4 {
  font-size: 24px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 20px;
}

.slide-right {
  opacity: 0;
  transform: translateX(200px);

  transition:
    opacity 2s ease,
    transform 2s ease;
}

.slide-right.show {
  opacity: 1;
  transform: translateX(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-200px);

  transition:
    opacity 2s ease,
    transform 2s ease;
}

.slide-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* スマホ */
@media (max-width: 768px) {

  .section h2 {
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .highlight h3{
    font-size: 16px;
  }

  .services {
    margin-top: 20px;
　　}

  .service-card {
    width: 340px;
    padding: 10px;
  }

  .service-card h4 {
    font-size: 16px;
  }

  .service-card p {
    font-size: 12px;
  }

}


/* =======================
   実績バナー
======================= */

.results-banner {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  width: 90%;
  max-width: 1000px;

  margin: 100px auto 60px;

  padding: 30px 20px;

  border-radius: 20px;

  text-decoration: none;

  background:
    linear-gradient(
      135deg,
      #061a40,
      #0a2a66,
      #007bff
    );

  box-shadow:
    0 10px 30px rgba(0,0,0,0.25);

  transition: 0.3s;
}

.results-banner {
  border: 2px solid #00cfff;
  animation: borderFlash 1.5s infinite;
}

@keyframes borderFlash {
  0% {
    box-shadow: 0 0 0 rgba(0, 207, 255, 0);
  }

  50% {
    box-shadow: 0 0 20px rgba(0, 207, 255, 0.9);
  }

  100% {
    box-shadow: 0 0 0 rgba(0, 207, 255, 0);
  }
}

.results-banner:hover {
  transform: translateY(-5px);
  box-shadow:
    0 15px 40px rgba(0,0,0,0.35);
}

.results-small {
  color: #9fd3ff;
  font-size: 28px;
  letter-spacing: 0.15em;

  margin-bottom: 10px;
}

.results-main {
  color: #fff;
  font-size: 60px;
  font-weight: bold;

  letter-spacing: 0.08em;
}

/* スマホ */

@media screen and (max-width: 768px) {

  .results-banner {
    margin: 50px auto 30px;
    padding: 20px 16px;
  }

  .results-small {
    font-size: 14px;
  }

  .results-main {
    font-size: 28px;
  }

}

/* =========================
   STRUCTURE SECTION
========================= */

.structure-section {

  width: 90%;
  max-width: 1200px;

  margin: 100px auto;
  text-align: center;
}

.structure-section h2 {

  font-size: 52px;

  font-weight: 700;

  color: #111;

  margin-bottom: 2px;

  letter-spacing: 0.05em;
}

.structure-sub {

  font-size: 22px;

  font-weight: bold;

  color: #1f4fa3;

  margin-bottom: 25px;

  letter-spacing: 0.08em;
}

/* 追加：2列グリッド */

.structure-box {

  display: grid;

  grid-template-columns: repeat(2, 1fr);
  grid-column: 1 / -1;

  gap: 30px;
}

.structure-title {

  font-size: 28px;

  font-weight: bold;

  color: #1f4fa3;

  margin-bottom: 30px;
}

/* 本文 */

.structure-text {

  font-size: 16px;

  line-height: 2;

  color: #111;

  text-align: left;
}

/* 追加：4項目カード */

#service1,
#service2,
#service3,
#service4 {

  background: #f5f5f5;

  border: 1px solid #b08d2f;

  box-shadow:
    0 0 10px rgba(176, 141, 47, 0.5),
    0 0 20px rgba(176, 141, 47, 0.25);

  border-radius: 20px;

  padding: 40px;

  box-sizing: border-box;

  margin-top: 20px;
}

/* スマホ */

@media screen and (max-width: 768px) {

  .structure-section {
    width: 92%;
    margin: 60px auto;
  }

  .structure-section h2 {
    font-size: 30px;
  }

  .structure-sub {
    font-size: 16px;
  }

  .structure-title {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .structure-text {
    font-size: 12px;
    line-height: 2;
  }

  #service1,
  #service2,
  #service3,
  #service4 {

  padding: 20px;
  margin-top: 16px;
  scroll-margin-top: 120px;
}

}

/* スマホ縦だけ1列 */

@media screen and (max-width: 768px) and (orientation: portrait) {

  .structure-box {

    grid-template-columns: 1fr !important;
  }

}

.problems h3 {
  font-size: 28px;
  color: #4ea3c8;
}

.problems ul {
  list-style: none;

  width: 60%;

  margin: 22px auto;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 10px 40px;
}

.problems li {
  font-size: 18px;
  text-align: left;
}

.btn {

  position: relative;

  display: inline-block;

  margin-bottom: 20px;
  padding: 18px 45px;

  background:
    linear-gradient(
      135deg,
      rgba(0,40,90,0.9),
      rgba(10,20,60,0.9)
    );

  color: #fff;

  font-size: 28px;
  font-weight: bold;

  text-decoration: none;

  border: 3px solid #00e1ff;

  clip-path: polygon(
    8% 0%,
    92% 0%,
    100% 20%,
    100% 80%,
    92% 100%,
    8% 100%,
    0% 80%,
    0% 20%
  );

  box-shadow:
    0 0 10px rgba(0,225,255,0.7),
    0 0 25px rgba(0,225,255,0.4),
    inset 0 0 15px rgba(0,225,255,0.15);

  overflow: hidden;

  transition: 0.3s;
}

.btn:hover {

  transform: translateY(-3px);

  box-shadow:
    0 0 20px rgba(0,225,255,1),
    0 0 40px rgba(0,225,255,0.7),
    inset 0 0 20px rgba(0,225,255,0.2);

}

.btn::before {

  content: "";

  position: absolute;

  top: 6px;
  left: 6px;

  width: 25px;
  height: 25px;

  border-top: 3px solid #00e1ff;
  border-left: 3px solid #00e1ff;

  opacity: 0.8;
}

.btn::after {

  content: "";

  position: absolute;

  right: 6px;
  bottom: 6px;

  width: 25px;
  height: 25px;

  border-right: 3px solid #00e1ff;
  border-bottom: 3px solid #00e1ff;

  opacity: 0.8;
}

/* スマホ */
@media (max-width: 768px) {

  .problems h3 {
    font-size: 24px;
  }

  .problems ul {
    width: 80%;
    gap: 5px;
  }

  .problems li {
    font-size: 12px;
  }

  .btn {
    font-size: 22px;
  }


}

@media screen and (max-width: 768px) and (orientation: portrait) {

  .problems ul {
    grid-template-columns: 1fr !important;
  }

}

/* =========================
   Carypto Page
========================= */

.carypto-hero {

  position: relative;

  width: 100%;
  height: 360px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  margin-bottom: 50px;

  background:
    linear-gradient(
      135deg,
      #020817,
      #0b1f4d,
      #12306b
    );
}

/* 光 */

.carypto-hero::before {

  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at center,
      rgba(0,123,255,0.25),
      transparent 70%
    );

  filter: blur(40px);
}

/* オーバーレイ */

.carypto-hero-overlay {

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.15),
      rgba(0,0,0,0.5)
    );
}

/* 中身 */

.carypto-hero-content {

  position: relative;
  z-index: 10;

  text-align: center;

  padding: 20px;
}

/* タイトル */

.carypto-title {

  font-size: 78px;

  font-weight: 700;

  letter-spacing: 0.08em;

  color: #fff;

  margin-bottom: 35px;

  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    serif;

  text-shadow:
    0 0 20px rgba(0,123,255,0.35);
}

/* 説明 */

.carypto-description {

  font-size: 18px;

  line-height: 2.2;

  color: rgba(255,255,255,0.88);

  font-weight: 400;

  letter-spacing: 0.05em;
}

/* スマホ */

@media (max-width: 768px) {

  .carypto-hero {

    height: 280px;

    padding: 0 20px;
  }

  .carypto-title {

    font-size: 42px;

    margin-bottom: 25px;
  }

  .carypto-description {

    font-size: 13px;

    line-height: 1.9;
  }
}


.carypto-month {
  margin: 0 auto 80px;
}

.carypto-month-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #111;
}

.carypto-slider {
  width: 1200px;
  margin: 0 auto;

  overflow: hidden;
}

.carypto-track {
  display: flex;
  gap: 28px;

  transition: transform 0.7s ease;
}

.carypto-card {
  flex: 0 0 220px;
  text-align: center;
}

.carypto-card img {
  width: 80%;
  display: block;
  margin: 0 auto;
}

.carypto-rate {
  font-size: 28px;
  font-weight: 700;
  color: #111;
}

.carypto-type {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  word-break: break-word;
}

@media screen and (max-width: 768px) {

  .carypto-month {
    margin: 0 auto 30px;
  }
  .carypto-month-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .carypto-slider {
    width: 90%;
  }

  .carypto-track {
    gap: 14px;
  }

  .carypto-card {
    flex: 0 0 110px;
  }

  .carypto-rate {
    font-size: 14px;
  }

  .carypto-type {
    font-size: 12px;
  }

}

/* =========================
   Company Page
========================= */

/* =======================
会社概要ページ 代表挨拶
======================= */

.company-main {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  background: #f5f7fb;
  color: #111;
}

.company-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.company-en-title {
  text-align: center;

  font-size: 52px;
  font-weight: 700;

  letter-spacing: 0.08em;

  margin-bottom: 60px;

  color: #111;
}

/* 写真 + 文章 2列 */
.company-message-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;

  align-items: center;
}

/* 写真 */
.message-image img {
  width: 100%;
  display: block;

  border-radius: 20px;

  box-shadow:
    0 15px 35px rgba(0,0,0,0.18);
}

/* 文章側 */
.company-message-block {
  background: #fff;

  padding: 30px;

  border-radius: 20px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.08);
}

.company-message-title {
  font-size: 40px;
  line-height: 1.5;

  margin-bottom: 30px;

  color: #061a40;
}

.company-message-text p {
  font-size: 18px;
  line-height: 2;

  margin-bottom: 20px;

  color: #333;
}

.company-message-text p:last-child {
  margin-bottom: 0;
}

/* =======================
スマホ
======================= */

@media screen and (max-width: 768px) {

  .company-container {
    padding: 50px 20px;
  }

  .company-en-title {
    font-size: 38px;
    margin-bottom: 30px;
  }

  .company-message-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .company-message-block {
    padding: 30px 22px;
  }

  .company-message-title {
    font-size: 28px;
  }

  .company-message-text p {
    font-size: 15px;
    line-height: 2;
  }

}

/* =======================
PROFILE
======================= */

.company-profile-section {
  margin-top: 100px;
}

/* 上のライン */

.company-section-line {
  width: 80px;
  height: 2px;

  background: #d8b15f;

  margin: 0 auto 30px;
}

/* テーブル全体 */

.company-profile-table {

  max-width: 1000px;

  margin: 0 auto;

  background: #fff;

  border-radius: 24px;

  overflow: hidden;

  box-shadow:
    0 15px 40px rgba(0,0,0,0.08);
}

/* 行 */

.company-row {

  display: grid;

  grid-template-columns: 240px 1fr;

  border-bottom:
    1px solid #e5e8ef;
}

.company-row:last-child {
  border-bottom: none;
}

/* 左 */

.company-label {

  background: #f4f7fc;

  padding: 28px 36px;

  font-size: 20px;
  font-weight: 700;

  color: #061a40;

  display: flex;
  align-items: center;
}

/* 右 */

.company-value {

  padding: 28px 36px;

  font-size: 20px;

  line-height: 2.2;

  color: #333;

  background: #fff;
}

/* =======================
スマホ
======================= */

@media screen and (max-width: 768px) {

  .company-profile-section {
    margin-top: 50px;
  }

  .company-row {

    grid-template-columns: 1fr;
  }

  .company-label {

    padding: 18px 20px;

    font-size: 15px;
  }

  .company-value {

    padding: 18px 20px;

    font-size: 15px;

    line-height: 2;
  }

}

/* =========================
   Contact Page
========================= */

.contact-page {
  background: #fafafa;
  color: #111;
}

/* MAIN */

.contact-main {

  padding: 80px 20px;
}

/* 幅 */

.contact-container {

  max-width: 1000px;

  margin: 0 auto;
}

/* タイトル */

.contact-title {

  text-align: center;

  font-size: 46px;
  font-weight: 700;

  letter-spacing: 0.05em;

  margin-bottom: 35px;

  color: #111;
}

/* リード文 */

.contact-lead {

  max-width: 820px;

  margin:
    0 auto 60px;

  text-align: left;

  font-size: 17px;

  line-height: 2.2;

  color: #111;
}

/* =======================
FORM
======================= */

.contact-form {

  background: #fff;

  padding: 60px;

  border-radius: 24px;

  border:
    1px solid #e8e8e8;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.05);
}

/* グループ */

.form-group {

  margin-bottom: 32px;
}

/* ラベル */

.form-group label {

  display: block;

  margin-bottom: 12px;

  font-size: 16px;
  font-weight: 700;

  color: #111;
}

/* 必須 */

.required {

  color: #d60000;

  font-size: 14px;

  margin-right: 8px;
}

/* 入力欄 */

.contact-form input,
.contact-form textarea {

  width: 100%;

  padding: 16px 18px;

  font-size: 16px;

  border:
    1px solid #dcdcdc;

  border-radius: 10px;

  background: #fff;

  color: #111;

  box-sizing: border-box;

  transition: 0.3s;
}

/* フォーカス */

.contact-form input:focus,
.contact-form textarea:focus {

  outline: none;

  border-color: #111;

  box-shadow:
    0 0 0 3px rgba(0,0,0,0.06);
}

/* textarea */

.contact-form textarea {

  resize: vertical;

  min-height: 180px;
}

/* 郵便番号 */

.contact-form input.half {

  max-width: 320px;
}

/* =======================
個人情報保護
======================= */

.privacy-section {

  margin-top: 60px;

  padding-top: 50px;

  border-top:
    1px solid #e5e5e5;
}

.privacy-section h2 {

  text-align: center;

  font-size: 30px;

  margin-bottom: 28px;

  color: #111;
}

/* スクロール枠 */

.privacy-box {

  height: 260px;

  overflow-y: auto;

  background: #fafafa;

  padding: 30px 34px;

  border-radius: 16px;

  border:
    1px solid #e5e5e5;
}

/* 中の文章 */

.privacy-box p {

  font-size: 14px;

  line-height: 2;

  margin-bottom: 16px;

  color: #111;
}

/* =======================
同意チェック
======================= */

.privacy-check {

  margin-top: 35px;
}

.privacy-text {

  font-size: 15px;

  line-height: 1.9;

  margin-bottom: 14px;

  color: #111;
}

/* チェック */

.checkbox {

  display: flex !important;

  align-items: center;

  gap: 14px;

  font-size: 17px;

  line-height: 1.6;

  font-weight: 400 !important;

  cursor: pointer;
}

/* チェックボックス */

.checkbox input {

  width: auto;

  transform: scale(1.4);

  cursor: pointer;
}

/* =======================
送信ボタン
======================= */

.form-submit {

  text-align: center;

  margin-top: 50px;
}

/* ボタン */

.form-submit button {

  width: 260px;

  padding: 17px 20px;

  font-size: 17px;
  font-weight: 700;

  color: #fff;

  background: #111;

  border: none;

  border-radius: 999px;

  cursor: pointer;

  transition: 0.3s;
}

/* hover */

.form-submit button:hover {

  transform: translateY(-3px);

  box-shadow:
    0 12px 25px rgba(0,0,0,0.18);
}

/* =======================
スマホ
======================= */

@media screen and (max-width: 768px) {

  .contact-main {

    padding: 50px 20px 40px;
  }

  .contact-title {

    font-size: 30px;

    margin-bottom: 28px;
  }

  .contact-lead {

    text-align: left;

    font-size: 15px;

    margin-bottom: 40px;
  }

  .contact-form {

    padding: 35px 22px;

    border-radius: 18px;
  }

  .form-group {

    margin-bottom: 26px;
  }

  .contact-form input.half {

    max-width: 100%;
  }

  .privacy-section {

    margin-top: 50px;

    padding-top: 40px;
  }

  .privacy-section h2 {

    font-size: 24px;
  }

  .privacy-box {

    height: 240px;

    padding: 22px 20px;
  }

  .privacy-box p {

    font-size: 13px;

    line-height: 1.9;
  }

  .checkbox input {

    transform: scale(1.2);

  }

  .form-submit button {

    width: 100%;
  }

}

/* =========================
   Law Page
========================= */

.law-main {
  background: #f5f7fb;

  padding:
    100px 20px;
}

/* 中央幅 */

.law-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* タイトル */

.law-title {
  text-align: center;

  font-size: 42px;
  font-weight: 700;

  color: #0b1f4d;

  margin-bottom: 70px;

  letter-spacing: 0.08em;

  position: relative;
}

/* 下線 */

.law-title::after {
  content: "";

  display: block;

  width: 100px;
  height: 3px;

  margin: 20px auto 0;

  background:
    linear-gradient(
      90deg,
      #8a6a2f,
      #d8b15f
    );

  border-radius: 10px;
}

/* 各ブロック */

.law-block {
  display: flex;

  margin-bottom: 25px;

  background: #fff;

  border-radius: 18px;

  overflow: hidden;

  box-shadow:
    0 8px 25px rgba(0,0,0,0.06);

  border: 1px solid #e5eaf3;
}

/* 左ラベル */

.law-label {
  width: 280px;

  background:
    linear-gradient(
      135deg,
      #0b1f4d,
      #12306b
    );

  color: #fff;

  font-weight: 700;

  padding: 30px;

  display: flex;
  align-items: center;

  font-size: 18px;

  letter-spacing: 0.05em;
}

/* 右内容 */

.law-value {
  flex: 1;

  padding: 30px;

  color: #333;

  line-height: 2;

  font-size: 18px;
}

/* pの余白 */

.law-value p {
  margin-bottom: 12px;
}

.law-value p:last-child {
  margin-bottom: 0;
}

/* リンク */

.law-contact-link {

  color: #0b4dbb;

  text-decoration: underline;

  transition: 0.3s;
}

.law-contact-link:hover {

  color: #007bff;

  opacity: 0.8;
}

/* =========================
   スマホ
========================= */

@media (max-width: 768px) {

  .law-main {
    padding:
      50px 15px
      40px;
  }

  .law-title {
    font-size: 28px;

    margin-bottom: 40px;
  }

  .law-block {
    flex-direction: column;
  }

  .law-label {
    width: 100%;

    padding: 18px 20px;

    font-size: 15px;
  }

  .law-value {
    padding: 22px 20px;

    font-size: 14px;

    line-height: 1.9;
  }


/* =========================
   News Page
========================= */

.news-page {
  background: #fafafa;
  color: #111;
}


/* 共通幅 */

.news-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* HERO */

.news-hero {
  padding: 80px 20px 50px;

  text-align: center;
}

.news-title {
  font-size: 56px;
  font-weight: 700;

  letter-spacing: 0.05em;

  margin-bottom: 2px;

  color: #111;
}

.news-subtitle {
  font-size: 22px;
  font-weight: bold;

  color: #1f4fa3;
  letter-spacing: 0.08em;
}

/* LIST */

.news-section {
  padding: 20px 20px 120px;
}

/* CARD */

.news-card {

  background: #fff;

  padding: 38px 42px;

  margin-bottom: 28px;

  border-radius: 24px;

  border:
    1px solid #e8e8e8;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.05);

  transition: 0.3s;
}

.news-card:hover {

  transform: translateY(-4px);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.08);
}

/* DATE */

.news-card-date {

  font-size: 16px;

  letter-spacing: 0.08em;

  margin-bottom: 16px;

  color: #1f4fa3;
}

/* TITLE */

.news-card-title {

  font-size: 28px;

  line-height: 1.6;

  margin-bottom: 14px;

  font-weight: 700;

  color: #111;
}

/* TEXT */

.news-card-text {

  font-size: 18px;

  line-height: 2;

  color: #111;
}

/* =======================
スマホ
======================= */

@media screen and (max-width: 768px) {

  .news-hero {
    padding: 50px 20px 40px;
  }

  .news-title {
    font-size: 42px;
  }

  .news-subtitle {
    font-size: 16px;
  }

  .news-section {
    padding: 10px 20px 80px;
  }

  .news-card {

    padding: 28px 22px;

    border-radius: 18px;
  }

  .news-card-title {

    font-size: 22px;
  }

  .news-card-text {

    font-size: 14px;

    line-height: 1.6;
  }

}