*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "your-font-family-name", "Yu Gothic", sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
}
h1 {
    font-size: 12px;
}
h2, h3 {
  font-family: source-han-serif-japanese, serif;
  font-weight: 400;
  font-style: normal;
}

p {
  font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.10em;
}
section {
  padding: 50px 0;
}
.mini {
	font-size:20px;
}
.center {
	text-align:center;
}
@media screen and (max-width: 768px) {
	.mini {
		font-size:12px;
	}
  section {
    padding: 50px 10px;
  }
}
/* buttonデザイン */
.link-button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: "Yu Mincho", serif;
  font-size: 1rem;
  margin: 20px 0;
}

.link-button a {
  text-decoration: none;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 20px;
}

.link-button .text {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.link-button .text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: #1a1a1a;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.link-button a:hover .text::after {
  transform: scaleX(0);
  transform-origin: right;
}

.link-button .circle {
  border: 1px solid #1f3b80;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.link-button .arrow {
  font-size: 1.1rem;
  color: #1f3b80;
  transition: transform 0.3s ease;
}

.link-button a:hover .circle {
  background: #1f3b80;
  border-color: #1f3b80;
}

.link-button a:hover .arrow {
  color: #fff;
  transform: translateX(2px);
}

/* ===== ヘッダー ===== */
.site-header {
  background: #fff;
  padding: 0 2%;
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: 1280px; */
  margin: 0 auto;
  flex-wrap: wrap;
}
.logo {
  font-weight: bold;
  font-size: 24px;
}
.nav-cv {
  display: flex;
}
.global-nav {
	padding: 0 15px;
	margin: auto;
}
.global-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
}
.global-nav a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
}
.contact-btn {
  background: #fff;
  border: 2px solid #465d95;
  color: #465d95;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: bold;
  margin: auto;
}
a.contact-btn.contact-btn--drawer {
    display: none;
}
/* ====== SPでハンバーガーが確実に表示されるためのホットフィックス ====== */

/* 1) 初期は非表示、SPで出す（上書き保証のため !important 使用） */
.hamburger { display: none !important; }

@media (max-width: 768px) {
  .logo {
    width: 80%;
  }
}

/* ===== モバイル用（左ドロワー）に全面修正 ===== */
@media (max-width: 768px) {
  /* ハンバーガー：縦3本＆ロゴ横配置 */
  .hamburger{
    display: inline-flex !important;
    flex-direction: column;      /* ← 3本を縦積み */
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px; height: 44px;
    border: 1px solid #465d95; 
    /*  border-radius: 8px; */
    background: #fff;
    z-index: 1200;
  }
  .hamburger__bar{
    width: 22px; height: 2px; background: #465d95;
    transition: transform .25s ease, opacity .25s ease;
  }
  /* 開閉時の「×」アニメ */
  .nav-open .hamburger__bar:nth-child(1){ transform: translateY(8px) rotate(45deg); }
  .nav-open .hamburger__bar:nth-child(2){ opacity: 0; }
  .nav-open .hamburger__bar:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

  /* 左からスライドするドロワー */
  .global-nav{
    position: fixed;
    top: 0;
    left: 0;                     /* ← 左起点 */
    z-index: 10001;              /* ドロワー最前面 */
    width: min(80vw, 360px);
    height: 100svh;              /* アドレスバー考慮 */
    background: #fff;
    transform: translateX(-100%);/* ← 画面外(左)に隠す */
    transition: transform .30s ease;
    padding: 72px 0 24px;        /* 上はヘッダー分の余白 */
    box-shadow: 6px 0 24px rgba(0,0,0,.08);
  }
  .nav-open #global-menu{ transform: translateX(0); }

  /* メニューの縦並び＆タップしやすいサイズ */
  .global-nav ul{
    display: block;              /* 横並び→縦並び */
    margin: 0; padding: 0;
  }
  .global-nav li{
    list-style: none;
    border-bottom: 1px solid #eee;
  }
  .global-nav a{
    display: block;
    padding: 14px 20px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
  }

  /* ドロワー内のCVボタン */
  .contact-btn--drawer{
    display: block !important;
    margin: 16px 20px 0;
    text-align: center;
    border-color: #1f3b80;
    color: #1f3b80;
  }
  /* PC用CVはSPで非表示 */
  .contact-btn--pc{ display: none !important; }

  /* オーバーレイ（ドロワーのひとつ下） */
  .nav-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 10000;
  }
.nav-overlay { display: none; }          /* デフォルト非表示 */
.nav-open .nav-overlay { display: block; } /* nav-open時だけ表示 */

  /* 背景スクロールロックは overflow のみでOK（見切れ防止） */
  .no-scroll{ overflow: hidden; }

  /* レイアウト保険：ロゴとハンバーガーの並び */
  .header-inner{ display:flex; align-items:center; gap:12px; }
  .nav-cv{ margin-left: auto; } /* ロゴ/ハンバーガーの右側にメニュー領域 */
}



/* ===== ファーストビュー ===== */
.fv {
  font-family: source-han-serif-japanese, serif;
  background: url(https://www.beso.tax/app/wp-content/themes/beso/img/home/img_mv03-pc.jpg) no-repeat center center / cover;
  width: 100%;
  height: 85vh;
  color: #fff;
  position: relative;
}
.fv::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; 
  height: 85vh;
  background: rgb(0 0 0 / 20%);
  z-index: 0;
}
.fv-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 5%;
  max-width: 1280px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}
.fv-left {
  flex: 1;
  min-width: 300px;
  z-index: 1;
}
.fv-logo {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}
.fv-main {
  font-size: 32px;
  line-height: 1.6;
  font-weight: bold;
}
.main-line1 {
  font-size: 48px;
}
.main-line2 {
  font-size: 2.2rem;
}
.mo {
  color: #465d95;
}
.fv-sub {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  font-weight: normal;
}
.fv-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.btn {
  padding: 12px 20px;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.btn-primary {
  background: #1f3b80;
  color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.btn-outline {
  border: 2px solid #fff;
  color: #fff;
	background: #ffffff38;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.fv-right {
  flex: 1;
  min-width: 300px;
}
.fv-right img {
  width: 100%;
  border-radius: 8px;
}

/* ===== インフォメーション ===== */
.info-section {
  position: absolute;
  background: #fff;
  padding: 40px 5%;
  top:65%;
  right: 30px;
  padding: 40px 10px;
}
.info-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.info-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}
.label {
  font-size: 12px;
  padding: 2px 6px;
  background: #ccc;
  border-radius: 3px;
}
.label.orange {
  background: #465d95;
  color: #fff;
}
.date {
  font-size: 12px;
  color: #888;
}
.text {
  font-size: 14px;
}

/* ===== モバイル対応 ===== */
@media screen and (max-width: 768px) {
  span.label,
  span.label.orange {
    width: 25%;
  }
  .info-list li span.text {
    width: 70%;
}
  .header-inner {
    gap: 10px;
  }
  .global-nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }
  .fv-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 10px;
  }
  .fv-main {
    font-size: 16px;
  }
  .main-line1 {
    font-size: 25px;
  }
  .main-line2 {
    font-size: 20px;
  }
  .fv-buttons {
    justify-content: center;
    flex-wrap: nowrap;
  }
  .btn {
    width: 100%;
    text-align: center;
    font-size: 15px;
  }
  .fv-right {
    margin-top: 30px;
  }
  .info-section {
    width: 90%;
    left: 50%;
    transform: translate(-50%, 0%);
	  padding: 7px;
	  margin-top: 75px;
}
}
/* ---------------------- intro セクション ---------------------- */
.about-section h2 {
  font-size: 1.2rem;
  font-style: italic;
  color: #1f3b80;
  margin-bottom: 10px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.about-section span.tag {
  font-family: source-han-serif-japanese, serif;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-size: 2.5rem;
  font-weight: bold;
  position: relative;
}
.about-section span.tag::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #1f3b80;
  margin-bottom: 10px;

  /* 中央寄せの追加 */
  margin-left: auto;
  margin-right: auto;
}

.message-div {
  display: flex;
  max-width: 1200px;
  margin: 100px auto;
  gap: 60px;
  align-items: flex-start;
  position: relative;
}

.message-image {
  flex: 1;
}

.message-image img {
  width: 100%;
  height: auto;
}

.message-content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  position: relative;
}

.message-text {
  flex: 1;
  padding-right: 10px;
  padding-left: 45px;
}

.vertical-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.9rem;
  font-weight: bold;
  color: #333;
  border-left: 3px solid #1f3b80;
  padding-left: 10px;
  height: 50%;
  line-height: 1;
}

.message-text .catch {
  font-family: source-han-serif-japanese, serif;
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 600;
}

.message-text .bracket {
  font-weight: 600;
}

.message-text .bracket.orange {
  color: #1f3b80;
  position: relative;
  display: inline-block;
}

.message-text .bracket.orange::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 10px;
  background: #d3e0ff;
  z-index: -1;
}

.message-text p {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}


@media screen and (max-width: 768px) {
  
  .message-div {
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
  }

  .message-content {
    flex-direction: column;
    align-items: center;
  }
.message-text {
  padding: 0;
}
  .vertical-label {
    position: absolute;
    right: 0;
  }

  .message-text .catch {
    font-size: 1.2rem;
  }
  .message-text p {
    padding-right: 20px;
    text-align: left;
  }
}
/* ---------------------- service セクション ---------------------- */
.service-section {
  max-width: 1200px;
  margin: 100px auto;
}

.service-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 60px;
}

.service-header h2 {
  font-size: 2rem;
  font-weight: bold;
  position: relative;
}

.service-header h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #1f3b80;
  margin-bottom: 10px;
}

.service-copy {
  max-width: 700px;
}

.service-copy .catch {
  font-family: source-han-serif-japanese, serif;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-copy .strong {
  font-size: 1.5rem;
  font-weight: 700;
}

.service-copy .highlight {
  position: relative;
  color: #1f3b80;
}

.service-copy .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 12px;
  background: #d3e0ff;
  z-index: -1;
}

.service-copy p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-box {
  border: 1px solid #eee;
  padding: 30px 20px;
  background: #fff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

.service-box img {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
}

.service-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.service-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
  text-align: left;
}

.service-box ul li {
  position: relative;
  padding-left: 1.2em;
}

.service-box ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.5em;
  height: 0.5em;
  background-color: #465d95;
  border-radius: 50%;
}


.service-button  {
  display: flex;
  justify-content: flex-end;
}

@media screen and (max-width: 768px) {
  .service-header {
    flex-direction: column;
    text-align: center;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .service-box h3 {
  font-size: 1rem;
}
.service-box ul {
  font-size: 0.75rem;
}
.service-box {
  padding: 30px 10px;
}
.service-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-box img {
  margin: 0 auto 20px;
}
}
/* ---------------------- バナー セクション ---------------------- */
.banner-section {
  padding: 40px 15px;
  /* background-color: #f9f9f9; */
}

.banner-links {
/*   max-width: 1080px; */
  margin: 0 auto;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.banner-link {
  display: block;
  width: 48%;
  transition: transform 0.3s ease;
}

.banner-link img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-link:hover {
  transform: scale(1.03);
}

/* モバイル対応 */
@media (max-width: 768px) {
  .banner-link {
    width: 100%;
  }
}
/* ---------------------- 相続 ブロック ---------------------- */
.inheritance-section {
  background-color: #f8fafc;
  padding: 80px 20px;
  text-align: center;
}

.inheritance-section h2 {
  font-size: 1.2rem;
    font-style: italic;
    color: #1f3b80;
    margin-bottom: 10px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.inheritance-section span.tag {
    font-family: source-han-serif-japanese, serif;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
}
.inheritance-section span.tag::before {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: #1f3b80;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.inheritance-section .section-title {
  font-family: source-han-serif-japanese, serif;
  font-size: 1.5rem;
  color: #1a4f94;
  font-weight: 700;
  margin-bottom: 15px;
}

.inheritance-section .section-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 50px;
}

.inheritance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media screen and (max-width: 1024px) {
  .inheritance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .inheritance-section .section-title {
    font-size: 1rem;
  }
  .inheritance-section .section-subtitle {
    font-size: 0.9rem;
  }
  .inheritance-grid {
    grid-template-columns: 1fr;
  }
}

.inheritance-box {
  background: #ffffff;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.inheritance-image {
  margin-bottom: 15px;
}

.inheritance-image img {
  width: 100%;
  /* max-width: 100px; */
  height: auto;
  display: block;
  margin: 0 auto;
}


.inheritance-box h3 {
  font-size: 1.1rem;
  color: #1a4f94;
  margin-bottom: 10px;
}

.inheritance-box p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.inheritance-cta {
  margin-top: 50px;
}

.inheritance-cta p {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

.inheritance-cta .btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: #1a4f94;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s;
}

.inheritance-cta .btn-primary:hover {
  background: #153c73;
}



/* ---------------------- reason セクション ---------------------- */
.reason-section {
  max-width: 1200px;
  margin: 100px auto;
}

.reason-section h2 {
  font-size: 1.2rem;
  font-style: italic;
  color: #1f3b80;
  margin-bottom: 10px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.reason-section span.tag {
  font-family: source-han-serif-japanese, serif;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  font-size: 2.5rem;
  font-weight: bold;
  position: relative;
}
.reason-section span.tag::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #1f3b80;
  margin-bottom: 10px;

  /* 中央寄せの追加 */
  margin-left: auto;
  margin-right: auto;
}

.reason-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
  opacity: 1;
  transform: none;
  padding: 30px 0;
}

.reason-text {
  flex: 1;
  min-width: 300px;
}


.reason-text .number {
  font-size: 2.5rem;
  color: #1f3b80;
  margin: 0;
}

.reason-text h3 {
  font-size: 1.2rem;
  margin-top: 20px;
  position: relative;
  display: inline-block;
}

.reason-text h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #df5c3e;
  margin-top: 6px;
}

.reason-text p {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.02em;
}
.reason-text strong {
  color: #1f3b80;
}

.reason-text a {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 24px;
  border: 1px solid #1f3b80;
  text-decoration: none;
  color: #1f3b80;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.reason-text a:hover {
  background: #1f3b80;
  color: white;
}

.reason-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.reason-image img {
  width: 100%;
}


@media screen and (max-width: 768px) {
  .intro-section,
  .reason-block {
    /* flex-direction: column; */
    text-align: center;
  }
  .reason-text {
    min-width: 100%;
     order: 0;
  }
  .reason-image {
    min-width: 100%;
     order: -1;
  }

  /* .reason-image img {
    transform: translateY(0);
  } */

  /* .reason-image img:hover {
    transform: translateY(-10px);
  } */
}

/* ---------------------- 法人の顧客用 セクション ---------------------- */

.about-business-warap {
  position: relative;
  z-index: 1;
}
.about-business-warap::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  height: 80%;
  /* background: linear-gradient(90deg, #1f3b8029 100%, #ffffff 0%); */
  background:#1f3b8029;
  z-index: -1; /* 背面に配置 */
}
.about-business__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* 左側の画像 */
.about-business__image {
  flex: 1;
  min-width: 320px;
}
.about-business__image img {
  width: 100%;
  height: auto;
}

/* 右側テキスト部分 */
.about-business__content {
  flex: 1;
  min-width: 320px;
  background: #ffffff;
  padding: 40px 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

.about-business__lead {
  font-size: 1.3rem;
  font-weight: bold;
  color: #465d95;
  margin-bottom: 20px;
  position: relative;
}

.about-business__content h2 {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 25px;
}

.highlight-ribbon {
  background: #465d95;
  color: #fff;
  padding: 5px 10px;
  font-weight: bold;
  margin-right: 8px;
  display: inline-block;
}

.highlight-under {
  border-bottom: 4px solid #b7cbfb;
  display: inline-block;
}

/* 概要 */
.about-business__desc {
  font-weight: bold;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

/* リスト */
.about-business__list {
  list-style: none;
  padding: 0;
}
.about-business__list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.about-business__list i {
  color: #1f3b80;
  font-size: 1rem;
  margin-top: 4px;
}
.price-toggle-wrapper {
  margin-top: 30px;
  text-align: center;
}

.price-toggle-button {
  background-color: transparent;
  color: #1f3b80;
  border: 1px solid #1f3b80;
  padding: 12px 28px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.price-toggle-button:hover {
  background-color: #1f3b80;
  color: #fff;
}
/* 料金表button */
/* ボタンスタイル */
.price-toggle-wrapper {
  margin-top: 30px;
  text-align: center;
}
.price-toggle-button {
  background-color: transparent;
  color: #1f3b80;
  border: 1px solid #1f3b80;
  padding: 12px 28px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.price-toggle-button:hover {
  background-color: #1f3b80;
  color: #fff;
}

/* モーダル背景 */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

/* モーダル本体 */
.modal-content {
  background-color: #fff;
  width: 90%;
  max-width: 720px;
  margin: 5% auto;
  padding: 30px;
  border-radius: 12px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: floatIn 0.4s ease-out forwards;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* アニメーション */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 閉じるボタン */
.close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}
.close-button:hover {
  color: #333;
}

/* テーブル */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95rem;
}
.price-table th,
.price-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: center;
}
.price-table th {
  background-color: #f2f4fa;
  color: #1f3b80;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .about-business__image {
    min-width: 100%;
  }
  .about-business__content h2 {
    font-size: 1.3rem;
  }
  .about-business__content {
    min-width: 100%;
    padding: 40px 10px;
  }
  .about-business {
    background: #b7cbfb;
  }

}

/* ---------------------- footer ブロック ---------------------- */
footer a {
  color: #fff;
}
.site-footer {
  background-color: #303e63;
  color: #fff;
  padding: 60px 5%;
  font-family: 'Yu Gothic', sans-serif;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "WADA TAX";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 19rem;
  font-weight: bold;
  color: rgb(255 255 255 / 3%); 
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo-block {
  flex: 1 1 0;
}

.footer-logo {
  width: 30%;
  margin: 0 auto 20px;
  text-align: center;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social a img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.footer-social a:hover img {
  opacity: 1;
}

.footer-affiliates img {
  height: 28px;
  margin-right: 12px;
  margin-top: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 2;
  flex-wrap: wrap;
  margin: auto;
}
.uplinks {
  display: flex;
}
.uplinks .footer-column {
  flex: 1;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-column a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-column a:hover {
  color: #fff;
}

.footer-heading {
  color: #df5c3e;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
  }
  .uplinks {
    flex-direction: column;
}
.footer-links {
  width: 100%;
}
}