html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  color: black;
  text-decoration: none;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  width: 100%;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

p,
.company-table td {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

h2 {
  font-size: 2.4rem;
  text-align: center;
  line-height: 1.4;
  color: #474241;
  padding-top: 120px;
  margin-bottom: 60px;
}

h3 {
  font-size: 1.2rem;
  margin: 10px 0;
  line-height: 1.4;
  color: #333;
}

.red {
  color: #f34955;
  font-weight: bold;
}

.green {
  color: #1e7e34;
  font-weight: bold;
}

.pc-none {
  display: none;
}

#sec03,
#sec04,
#sec05,
#sec06,
#sec07,
#sec08,
#sec09,
#sec010 {
  padding-bottom: 80px;
}

.company-info,
.sec04-needs,
.sec06-reserve,
.sec06-point,
.table-01,
/* .company-table, */
.sec07-linkerea,
#sec08 .btn-container,
.expense-table {
  width: 85%;
  margin: 0 auto;
}

/* ヘッダー全体 */
header {
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* コンテナ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 10px;
}

.header-flex {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
/* ロゴ部分 */
.header-img img {
  height: 70px;
}
/* ナビゲーション */
nav {
  height: 100%;
}
/* ナビゲーションリスト */
nav .header-list {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}
.header-list li a {
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  transition: color 0.3s ease;
}
.header-list li a:hover {
  color: #1e7e34;
}

/* ヘッダーアクション（ログイン+ボタン類）コンテナ */
.header-actions {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

/* デスクトップ(>1100px): ロゴ・ナビ・申し込むボタンを左側にまとめる。
   申し込むは nav 末尾のログインの隣に並び、全体が左寄せになる。
   1100px以下は nav 非表示＋space-betweenのままなので影響しない。 */
@media (min-width: 1101px) {
  .header-flex {
    justify-content: flex-start;
    gap: 32px;
  }
}

/* ヘッダーログインリンク */
.header-login {
  display: none; /* デスクトップでは非表示 */
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.header-login:hover {
  background-color: #f8f9fa;
  color: #3cc18f;
}

/* リンクリスト */
.header-link {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.header-link a {
  display: inline-block;
  font-size: 15px;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
}
.header-link a:nth-child(1) {
  background-color: #1040b0;
  border: 1.5px solid #1040b0;
  color: #ffffff;
}

.header-link a:nth-child(1):hover {
  background-color: #ffffff;
  color: #1040b0;
  border-color: #1040b0;
}

.header-link a:nth-child(2) {
  background-color: #28a745;
  margin-left: 10px;
}

.header-link a:nth-child(2):hover {
  background-color: #1e7e34;
}
.hide-flex {
  display: none;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
}
main {
  padding-top: 70px;
}

/* ボタンコンテイナー */
.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 60px;
  margin-bottom: 30px;
  padding: 20px 0;
}

.btn-container a {
  display: inline-block;
  font-size: 1.3rem;
  color: #fff;
  padding: 24px 40px;
  border-radius: 999px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;

  width: 90%;
  min-width: 220px;
  margin: 0 auto; /* 中央寄せ */
  box-sizing: border-box;
}

.btn-container a:hover {
  opacity: 0.8;
}

.btn-container a:nth-child(1) {
  background-color: #1040b0;
  border: 2px solid #1040b0;
  color: #ffffff;
  transition: all 0.3s;
}

.btn-container a:nth-child(1):hover {
  background-color: #ffffff;
  color: #1040b0;
  border-color: #1040b0;
  scale: 1.1;
}

.btn-container a:nth-child(2) {
  background-color: #28a745;
  transition: all 0.5s;
}

.btn-container a:nth-child(2):hover {
  background-color: #1e7e34;
  scale: 1.1;
}

/* スマホモックアップ */
.phone-mockup {
  position: relative;
  width: clamp(200px, 22vw, 280px);
  margin: 0 auto;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  flex-shrink: 0;
}

.phone-notch {
  width: 100px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
}

.phone-screen img {
  width: 100%;
  display: block;
}

.sec01-phone-img {
  width: clamp(240px, 26vw, 340px);
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.25));
}

/* ファーストビュー */
#sec01 {
  position: relative;
  background-image: url(image/sec01-back.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  padding: 70px 20px;
}

.sec01-title-wrap {
  position: relative;
  display: inline-block;
}

.sec01-free-badge {
  position: absolute;
  top: -18px;
  right: -24px;
  background: #ff5252;
  color: #fff;
  font-weight: bold;
  font-size: 1.05rem;
  padding: 10px 20px;
  border-radius: 6px;
  transform: rotate(6deg);
  box-shadow: 0 4px 12px rgba(255, 82, 82, 0.35);
  white-space: nowrap;
  z-index: 2;
}

.sec01-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 5vw, 60px);
}

.sec01-left {
  text-align: left;
  width: fit-content;
}

.sec01-title {
  display: inline-block;
  font-size: 20px;
  line-height: 1.8;
  padding: 0 10px;
  background: rgba(255, 255, 255, 1);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  border-radius: 2px;
  color: #21b384;
}

.sec01-title-main {
  font-size: 1.6rem;
  font-weight: bold;
}

/* ========== 簡単3ステップ セクション (#6 追加) ========== */
#sec-easy-steps {
  background: linear-gradient(180deg, #ffffff 0%, #ebf9f5 100%);
  padding: 100px 20px 100px;
}

#sec-easy-steps h2 {
  padding-top: 0;
  margin-bottom: 16px;
}

.easy-steps-lead {
  text-align: center;
  font-size: 1.05rem;
  color: #474241;
  margin-bottom: 60px;
}

.easy-steps {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  flex-wrap: nowrap;
  max-width: 1100px;
  margin: 0 auto;
}

.easy-step {
  flex: 1 1 0;
  max-width: 320px;
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 24px 28px;
  box-shadow: 0 4px 18px rgba(33, 179, 132, 0.12);
  position: relative;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.easy-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(33, 179, 132, 0.18);
}

.easy-step-number {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1040b0;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 64, 176, 0.4);
  letter-spacing: 0.02em;
}

.easy-step-shot {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 24px;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: #ebf9f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.easy-step-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.easy-step-shot-placeholder {
  display: none;
  color: #88b8a0;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.easy-step-shot.is-placeholder {
  background: repeating-linear-gradient(
    45deg,
    #ebf9f5,
    #ebf9f5 10px,
    #d9f0e3 10px,
    #d9f0e3 20px
  );
}

.easy-step-shot.is-placeholder .easy-step-shot-placeholder {
  display: block;
}

.easy-step-title {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin: 8px 0 10px;
  text-align: center;
}

.easy-step-desc {
  font-size: 0.95rem;
  color: #474241;
  line-height: 1.7;
  margin: 0;
}

.easy-step-arrow {
  flex: 0 0 24px;
  align-self: center;
  width: 24px;
  height: 24px;
  border-top: 4px solid #1040b0;
  border-right: 4px solid #1040b0;
  border-radius: 2px;
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .easy-steps {
    flex-direction: column;
    align-items: center;
    gap: 44px;
  }
  .easy-step {
    width: 100%;
    max-width: 420px;
  }
  .easy-step-arrow {
    transform: rotate(135deg);
  }
}

/* ========== CTA配置セクション (#3 CTA配置最適化) ========== */
.cta-section {
  padding: 80px 20px;
  background-color: #ebf9f5;
  text-align: center;
}

.cta-section .btn-container {
  margin-top: 0;
}

/* 最下部のCTAは少し雰囲気変える（緑→白へのグラデで終わらせる） */
.cta-section-final {
  background: linear-gradient(180deg, #ebf9f5 0%, #ffffff 100%);
  padding: 100px 20px;
}

.sec01-img {
  margin: 2% 0;
  padding: 10px;
  background: rgba(255, 255, 255, 1);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  border-radius: 2px;
  color: #21b384;
}

.sec01-text02 {
  display: inline-block;
  font-size: 20px;
  line-height: 1.6;
  padding: 0 8px;
  text-align: right;
}

#sec02 {
  width: 100%;
}

.sec02-problem {
  margin: 12% auto 50px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 1%;
}
.sec02-problem a,
.sec02-problem a img {
  transition: all 0.5s;
}
.sec02-problem a:hover {
  opacity: 0.5;
}
.sec02-problem a img:hover {
  scale: 0.98;
}
.sec02-clear {
  margin: 0 auto 50px auto;
  width: 70%;
}
#sec03 {
  background-image: url("image/sec03-back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  padding-bottom: 80px;
}

.sec03-title h2 img {
  width: 240px;
  align-items: center;
  margin-bottom: -20px;
  padding-right: 16px;
}

.point-img {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  width: 30%;
  height: auto;
}
.point-list img {
  width: 100%;
}

.company-info {
  background-color: white;
  margin: 60px auto 0;
  border: solid 2px #21b384;
  padding: 1em 1.4em 1em 2.5em;
  position: relative;
}

.company-info li {
  line-height: 1.5;
  padding: 0.5em 0;
  list-style-type: none;
  color: #474241;
}

.company-info li p:before {
  font-family: "Font Awesome 5 Free"; /* FA5以降の適用 */
  content: "\f04b"; /* 最新のアイコンコード */
  font-weight: 900; /* アイコンを表示させるために必要 */
  position: absolute;
  left: 1em;
  color: #21b384;
}
#sec04 {
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #ebf9f5 100%);
  position: relative;
}
.sec04-needs {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2% 4%;
  background: rgba(255, 255, 255, 1);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.needs-sentence {
  list-style: none;
  padding: 20px;
  margin: 0;
}
.needs-sentence li {
  background: #ebf9f5;
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
  padding: 15px 30px;
  margin-bottom: 15px;
  border-left: 8px solid #21b384;
  border-radius: 8px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}
/* 最後のリストアイテムのマージンを調整 */
.needs-sentence li:last-child {
  margin-bottom: 0;
}
#sec05 {
  width: 100%;
  background: linear-gradient(180deg, #ebf9f5 0%, #b8e0c8 50%, #ebf9f5 100%);
  padding-top: 80px;
}
.sec05-risk {
  margin: 12% auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 2%;
}
#sec06 {
  position: relative;
  width: 100%;
  background-color: white;
  background-image: url("");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#sec06:after {
  content: "";
  position: absolute;
  top: 100%;
  right: 1%;
  box-sizing: border-box;
  border-right: calc(50vw - 15px) solid transparent;
  border-left: calc(50vw - 10px) solid transparent;
  border-top: 110px solid white;
}
.reserve01 {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: #474241;
  border-bottom: 3px solid #21b384;
  line-height: 1.4;
  padding: 0;
}

.sec06-reserve ul {
  border: double 4px #21b384;
  padding: 0.9em 1.2em 0.9em 2.6em;
  position: relative;
}
.sec06-reserve ul li {
  line-height: 1.5;
  padding: 0.5em 0;
  list-style-type: none;
  color: #474241;
}

.sec06-reserve ul li h3:before {
  font-family: "Font Awesome 5 Free"; /* FA5以降の適用 */
  content: "\f04b"; /* 最新のアイコンコード */
  font-weight: 900; /* アイコンを表示させるために必要 */
  position: absolute;
  left: 0.5em;
  color: #21b384;
}
.sec06-point {
  position: relative;
}
.reserve02 {
  display: inline-block; /* テキスト部分だけに適用 */
  margin: 60px 0 30px;
  font-size: 1.8rem;
  color: #474241;
  border-bottom: 3px solid #1040b0;
  line-height: 1.4;
  padding: 0;
}

.sec06-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.sec06-flex .point01 {
  width: 100%;
  padding: 0.9em 1.2em 0.9em 2.6em;
  border: double 4px #1040b0;
  color: #474241;
  position: relative;
}
.sec06-flex .point02 {
  width: 100%;
  padding: 0.9em 1.2em 0.9em 2.6em;
  border: double 4px #1040b0;
  color: #474241;
  position: relative;
}
.nervous {
  position: absolute;
  top: -20%;
  right: 0;
  height: auto;
  width: 30%;
}

.sec06-flex .point01 p::before,
.sec06-flex .point02 p::before {
  font-family: "Font Awesome 5 Free"; /* FA5以降の適用 */
  content: "\f058"; /* 最新のアイコンコード */
  font-weight: 900; /* アイコンを表示させるために必要 */
  position: absolute;
  left: 0.5em;
  color: #1040b0;
}
#sec07 {
  width: 100%;
  background-image: url("image/sec07-back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#sec07 .container {
  text-align: center;
}

#sec07 h2 {
  padding: 0;
  margin-bottom: 40px;
}

.sec07-clear {
  padding-top: 100px;
  margin: 0 auto;
  width: 70%;
}

.tax {
  width: 90%;
  margin: 0 auto;
  position: relative;
}

.company,
.tax-h2,
#sec09 h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0;
}

.sec07-item-2 {
  margin-top: 60px;
}

.toggle01,
.toggle02 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16%;
  height: 16%;
  cursor: pointer;
}
.table-container01,
.table-container02 {
  display: none;
}

.table-01 {
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  margin: 3% auto;
}

.table-01 tr:last-child {
  border-bottom: solid 1px #474241;
}

.table-01 th {
  text-align: center;
  padding: 20px 0;
  border-right: solid 1px #474241;
  border-left: solid 1px #474241;
  width: 100%;
}

.table-01 th {
  color: #fff;
  font-size: 1.2rem;
  padding: 20px 0;
}

.table-01 th.popular {
  background-color: #28a745;
}

.table-01 th.no-2 {
  background-color: #007bff;
}

.table-01 td {
  background-color: #fff;
  text-align: center;
  padding: 20px 0;
  border-right: solid 1px #474241;
  border-left: solid 1px #474241;
  width: 100%;
}

.table-01 td .entry {
  transition: all 0.3s;
  background-color: #1040b0;
  border: 2px solid #1040b0;
  color: white;
  padding: 15px 60px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.2rem;
}

.table-01 td .entry:hover {
  background-color: #ffffff;
  color: #1040b0;
  border-color: #1040b0;
}

.table-01 td .entry-disabled {
  background-color: #cccccc;
  border-color: #cccccc;
  cursor: default;
  pointer-events: none;
}

.table-01 strong {
  font-size: 2rem;
  color: #474241;
}

.table-01 .updata {
  background-color: #f5f8ff;
  color: #474241;
  padding: 20px 0;
  font-weight: bold;
  width: 100%;
}
.sec07-title-under {
  padding: 0.5em;
  display: inline-block;
  background-color: #1040b0;
  margin: 80px auto 60px auto;
  font-size: 1.8rem;
  line-height: 1.5;
  color: white;
  border-radius: 10px;
}

.expense-table {
  border-collapse: collapse;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.expense-table th,
.expense-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
}

.expense-table .narrow {
  width: 200px;
}

.table-container01 .expense-table thead {
  background-color: #f79657;
  font-weight: bold;
  color: #fff;
}

.table-container02 .expense-table thead {
  background-color: #9b8bc2;
  font-weight: bold;
  color: #fff;
}

.expense-table tbody {
  background: #fff;
}

.expense-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

#sec08 {
  width: 100%;
  background-image: url("");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#sec08 h2 {
  margin-bottom: 80px;
}

.sec08-process {
  width: 90%;
  margin: 50px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#sec08 .box-item-2 p {
  margin-top: 8px;
}

#sec08 .btn-container {
  margin-top: 60px;
}

.step-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #21b384;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 12px;
  line-height: 1.2;
  margin: -55px auto 10px;
  text-align: center;
}

.step-circle .step-number {
  font-size: 16px;
}

.step-label {
  font-size: 12px;
  letter-spacing: 1px;
}

.step-number {
  font-size: 16px;
}

.sec07-linkerea {
  padding: 3%;
  background: rgba(255, 255, 255, 1);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  margin-top: 60px;
}

.sec07-linkerea .btn-container {
  margin-top: 0;
}

#sec09 {
  width: 100%;
  background: linear-gradient(180deg, #d6f0e3 0%, #ebf9f5 100%);
}

#sec09 .items {
  margin-top: 60px;
}

.button-absolute {
  display: block;
  width: 360px;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0px 7px 3px 0px #cc6600;
  background-color: #1040b0;
  border-radius: 30px;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.5s;
  margin: 40px auto 0;
}

.button-absolute:active {
  transform: translateY(10px);
  box-shadow: none;
}
.button-absolute:hover {
  scale: 1.2;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝アニメーション＝＝＝＝＝＝＝＝＝＝＝＝ */
/* 上の矢印 */
/* 下向きV字矢印(上) — オレンジ・角丸・やさしいバウンス */
/* 下向き矢印（オレンジ円形ボタン風） */
.scroll-arrow-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1040b0 0%, #0d3590 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto 30px;
  box-shadow: 0 10px 24px rgba(13, 53, 144, 0.32), 0 2px 6px rgba(13, 53, 144, 0.2);
  animation: scrollArrowBounce 1.8s ease-in-out infinite;
}
.scroll-arrow-circle svg {
  display: block;
}
@keyframes scrollArrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
/*フェードイン*/
.absolute {
  opacity: 0;
  transform: translateY(50px); /* 50px下から開始 */
  transition: opacity 0.6s ease-in-out, transform 0.8s ease-in-out;
}

/* ＝＝＝＝＝＝＝＝＝＝＝メディアクエリでのレスポンシブ対応＝＝＝＝＝＝＝＝＝＝＝ */
/* ===========================================
   MEDIA QUERIES - RESPONSIVE DESIGN
   =========================================== */

/* ===============================================
   ADDITIONAL SECTIONS - 追加セクション
   =============================================== */

/* セクション10 - 会社情報 */
#sec10 {
  background-color: #ffffff;
}

.sec10-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
  color: #474241;
}

.company-table {
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: 20px;
  margin-bottom: 80px;
}

.company-table th,
.company-table td {
  border: 1px solid #ccc;
  padding: 15px;
  font-size: 16px;
  text-align: left;
}

.company-table th {
  background-color: #21b384;
  width: 30%;
  color: #fff;
  text-align: center;
}

.company-table td {
  background-color: #ffffff;
}

/* フッター */
footer {
  background: #f8f9fa;
  color: #333;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h4 {
  color: #3cc18f;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3cc18f;
}

.footer-bottom {
  border-top: 1px solid #dee2e6;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom small {
  font-size: 14px;
  color: #6c757d;
}

.footer-text {
  font-size: 12px;
  margin: 10px 0;
  color: #666;
}

/* アイテム・ボックス要素 */
.items {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.box-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 280px;
}

.box-item-2 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  padding: 20px;
  width: 280px;
}

#sec08 .box-item-2 {
  border: 1px solid #21b384;
}

.box-item:hover,
.box-item-2:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.box-item h3,
.box-item-2 h3 {
  text-align: center;
  margin-bottom: 10px;
}

/* sec02お悩みの4つの質問タイトルをオレンジに */
#sec02 .box-item h3 {
  color: #1040b0;
}

/* sec02お悩みカードを丸みのある形状に */
#sec02 .box-item {
  border-radius: 28px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#sec02 .box-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* レスポンシブ(タブレット以下)では角丸を少し控えめに */
@media (max-width: 768px) {
  #sec02 .box-item {
    border-radius: 22px;
    padding: 22px 20px;
  }
}

.box-item p,
.box-item-2 p {
  font-size: 15px;
  margin: 20px 0;
}

.box-item img,
.box-item-2 img {
  height: 160px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.box-item a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.box-item a div {
  flex-grow: 1;
}

.sec03 .box-item {
  width: 22%;
  min-width: 250px;
  text-align: center;
  padding: 20px;
  border: 1px solid #3cc18f;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* その他の要素 */
.point p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.sec08 .step {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}

.orange {
  color: #1040b0;
  font-weight: bold;
}

/* ポリシーページ用スタイル */
.policy-page {
  padding: 80px 0;
  background: #fff;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.policy-page h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  border-bottom: 3px solid #3cc18f;
  padding-bottom: 15px;
}

.policy-page h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin: 40px 0 20px;
  padding: 15px 0 10px;
  border-bottom: 2px solid #ecf0f1;
  position: relative;
}

.policy-page h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #3cc18f;
}

.policy-page h3 {
  font-size: 1.4rem;
  color: #34495e;
  margin: 30px 0 15px;
}

.policy-page p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin: 20px 0;
}

.policy-page ul {
  margin: 15px 0;
  padding-left: 30px;
}

.policy-page li {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 8px;
}

.policy-page .info-box {
  margin: 40px 0;
  padding: 25px;
  background-color: #f8f9fa; 
  border-radius: 8px;
}

.policy-page .contact-box {
  margin: 30px 0;
  padding: 25px;
  background-color: #e8f5e8;
  border-radius: 8px;
  border: 1px solid #c3e6c3;
}

.policy-page .contact-box p {
  margin: 8px 0;
  font-weight: 500;
}

.policy-page .date-info {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin: 20px 0;
}

.policy-page .back-button {
  display: inline-block;
  background-color: #3cc18f;
  color: white;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.policy-page .back-button:hover {
  background-color: #2ea574;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.policy-page .button-center {
  text-align: center;
  margin: 40px 0;
}

/* ポリシーページのレスポンシブ対応 */


/* Contact Form Styles */
.contact-page {
  padding: 60px 0;
  background-color: white;
  min-height: calc(100vh - 100px);
}

.contact-page h1 {
  text-align: center;
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 20px;
  border-bottom: 3px solid #3cc18f;
  display: inline-block;
  padding-bottom: 10px;
  width: 100%;
  text-align: center;
}

.contact-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 25px;
}

.half-width {
  width: 100%;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
  font-size: 1rem;
}

.required {
  color: #e74c3c;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3cc18f;
  box-shadow: 0 0 0 3px rgba(60, 193, 143, 0.1);
}

.form-group select {
  background-color: white;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.privacy-section {
  margin: 30px 0;
  padding: 25px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.privacy-label {
  display: block;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  font-size: 1rem;
}

.privacy-scroll {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: white;
  margin-bottom: 15px;
}

.privacy-content {
  padding: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.privacy-content h3 {
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.privacy-content h4 {
  color: #555;
  font-size: 1rem;
  margin: 20px 0 10px 0;
  font-weight: bold;
}

.privacy-content p {
  margin-bottom: 12px;
  color: #666;
}

.privacy-content ul {
  margin: 10px 0 15px 20px;
  color: #666;
}

.privacy-content li {
  margin-bottom: 5px;
}

.privacy-agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.privacy-agree input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: #3cc18f;
}

.privacy-agree label {
  font-weight: normal;
  margin-bottom: 0;
  cursor: pointer;
  line-height: 1.5;
}

.submit-section {
  text-align: center;
  margin-top: 40px;
}

.submit-btn {
  background: linear-gradient(135deg, #3cc18f, #2ecc71);
  color: white;
  border: none;
  padding: 16px 50px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(60, 193, 143, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60, 193, 143, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}



/* Thank You Page Styles */
.thank-you-page {
  padding: 60px 0;
  background-color: #f8f9fa;
  min-height: calc(100vh - 100px);
}

.thank-you-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 60px 40px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.success-icon {
  margin-bottom: 30px;
}

.success-icon i {
  font-size: 5rem;
  color: #3cc18f;
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.thank-you-content h1 {
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 25px;
  font-weight: bold;
}

.thank-you-message {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

.thank-you-message strong {
  color: #3cc18f;
  font-weight: bold;
}

.next-steps {
  text-align: left;
  margin: 40px 0;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #3cc18f;
}

.next-steps h2 {
  text-align: center;
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 30px;
  padding-top: 0;
}

.steps-list {
  list-style: none;
  padding: 0;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  gap: 20px;
}

.step-number {
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content strong {
  display: block;
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.step-content p {
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.contact-info {
  margin: 40px 0;
  padding: 25px;
  background-color: #e3f2fd;
  border-radius: 10px;
  border: 1px solid #bbdefb;
}

.contact-info h3 {
  color: #1976d2;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.contact-info p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.phone-number {
  color: #1976d2 !important;
  font-size: 1.2rem;
  text-decoration: none;
  display: inline-block;
  margin: 10px 0;
}

.phone-number i {
  margin-right: 8px;
}

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

.btn-primary, .btn-secondary {
  padding: 16px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, #3cc18f, #2ecc71);
  color: white;
  box-shadow: 0 4px 15px rgba(60, 193, 143, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(60, 193, 143, 0.4);
}

.btn-secondary {
  background: white;
  color: #3cc18f;
  border: 2px solid #3cc18f;
}

.btn-secondary:hover {
  background: #3cc18f;
  color: white;
  transform: translateY(-2px);
}

.footer-logo {
  max-width: 200px;
}

/* Responsive Design for Thank You Page */



/* ===============================================
   RESPONSIVE MEDIA QUERIES - 全メディアクエリ
   =============================================== */

/* タブレット対応（1100px以下）- ナビゲーション非表示、ボタンのみ表示 */
@media (max-width: 1100px) {
  /* ヘッダー */
  .header-flex nav {
    display: none;
  }
  .header-actions {
    display: flex;
  }
  .header-login {
    display: block;
  }
  .hamburger {
    display: none;
  }
}

/* スマートフォン対応（768px以下）- ハンバーガーメニュー表示 */
@media (max-width: 768px) {
  /* ヘッダー */
  .header-flex nav,
  .header-flex .header-actions {
    display: none;
  }
  .hamburger {
    display: block;
    position: absolute;
    top: 22px;
    right: 32px;
    cursor: pointer;
    width: 32px;
    height: 24px;
    z-index: 1200;
  }
  .hamburger span {
    /*3本の線を作る*/
    transition: all 0.3s;
    position: absolute;
    height: 2px;
    background-color: #333;
    width: 100%;
    z-index: 1200;
  }
  .hamburger span:nth-of-type(1) {
    /*上の線の位置*/
    top: 4px;
  }
  .hamburger span:nth-of-type(2) {
    /*真ん中の線の位置*/
    top: 12px;
  }
  .hamburger span:nth-of-type(3) {
    /*下の線の位置*/
    top: 20px;
  }
  .hamburger.open span:nth-of-type(1) {
    /*openのとき、上の線を右斜めにする*/
    top: 10px;
    transform: translateY(6px) rotate(-33deg);
  }
  .hamburger.open span:nth-of-type(2) {
    /*真ん中の線を消す*/
    opacity: 0;
  }
  .hamburger.open span:nth-of-type(3) {
    /*下の線を左斜めにする*/
    top: 22px;
    transform: translateY(-6px) rotate(33deg);
  }

  /* 基本フォント・レイアウト */
  h2 {
    font-size: 2rem;
    padding-top: 80px;
    margin-bottom: 40px;
  }

  /* ハンバーガーメニューのオーバーレイ */
  .menu-overlay {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 450;
  }
  
  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .hide-flex {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background-color: white;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 500;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }
  
  .hide-flex.active {
    right: 0;
  }
  
  .hide-flex nav {
    height: fit-content;
    margin-top: 20px;
    flex-grow: 1;
  }
  
  .hide-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .hide-list li {
    border-bottom: 1px solid #f0f0f0;
  }
  
  .hide-list a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 20px 24px;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .hide-list a:hover {
    background-color: #f8f9fa;
    color: #3cc18f;
    padding-left: 30px;
  }
  
  .hide-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #3cc18f;
    transform: scaleY(0);
    transition: transform 0.3s ease;
  }
  
  .hide-list a:hover::before {
    transform: scaleY(1);
  }
  
  .hide-link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    margin-top: auto;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
  }
  
  .hide-link a {
    display: block;
    padding: 16px 24px;
    color: white;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .hide-link a:nth-child(1) {
    background-color: #1040b0;
    border: 1.5px solid #1040b0;
    color: #ffffff;
  }

  .hide-link a:nth-child(1):hover {
    background-color: transparent;
    color: #1040b0;
    border-color: #1040b0;
  }
  
  .hide-link a:nth-child(2) {
    background-color: #28a745;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
  }
  
  .hide-link a:nth-child(2):hover {
    background-color: #1e7e34;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
  }
  
  /* メニューが開いている時のボディスクロール防止 */
  body.menu-open {
    overflow: hidden;
  }

  .btn-container {
    flex-direction: column;
    margin: 0 auto;
    gap: 30px;
  }

  #sec01 .btn-container {
    padding: 60px 0;
  }

  .pc-none {
    display: block;
  }

  .company,
  .tax-h2,
  #sec09 h2,
  .sec07-title-under {
    font-size: 1.6rem;
  }

  .company-info,
  .sec04-needs,
  .sec06-reserve,
  .sec06-point,
  .table-01,
  /* .company-table, */
  .sec07-linkerea,
  .expense-table {
    width: 90%;
  }

  .tax {
    width: 100%;
  }

  #sec08 .btn-container {
    margin: 10px auto -40px;
  }

  .sec07-clear {
    width: 100%;
  }

  .box-item,
  .box-item-2 {
    width: 320px;
  }

  .expense-table .narrow {
    width: 160px;
  }

  /*＝＝＝＝＝＝＝セクション０1＝＝＝＝＝＝＝＝*/
  .sec01-flex {
    flex-direction: column;
    text-align: center;
  }
  .sec01-left,
  .sec01-right {
    width: 100%;
    text-align: center;
  }
  .sec01-img {
    width: 80%;
    margin: 2% auto;
  }
  .sec01-phone-img {
    width: 70%;
    max-width: 320px;
    margin: 15px auto 0;
  }
  .phone-mockup {
    width: 200px;
    margin: 15px auto 0;
    border-radius: 32px;
    padding: 10px;
  }
  .phone-notch {
    width: 80px;
    height: 22px;
    border-radius: 0 0 14px 14px;
    top: 10px;
  }
  .phone-screen {
    border-radius: 24px;
  }
  /*＝＝＝＝＝＝＝セクション０２＝＝＝＝＝＝＝＝*/
  .sec02-clear {
    width: 95%;
  }

  /*＝＝＝＝＝＝＝セクション０5＝＝＝＝＝＝＝＝*/
  .sec05-risk {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  /*＝＝＝＝＝＝＝セクション０6＝＝＝＝＝＝＝＝*/
  .sec06-reserve ul {
    padding: 1.2em 1em 1.2em 1.8em;
  }

  .sec06-flex {
    flex-direction: column;
    gap: 15px;
  }
  .sec06-flex .point01,
  .sec06-flex .point02 {
    padding: 1.2em 1em 1.2em 1.8em;
  }

  .nervous {
    top: -12%;
  }

  .sec06-reserve ul li h3:before,
  .sec06-flex .point01 p::before,
  .sec06-flex .point02 p::before {
    left: 0.3em;
  }

  #sec06:after {
    border-top: 60px solid white; /* さらに小さく */
    border-right: calc(50vw) solid transparent;
    border-left: calc(50vw - 4px) solid transparent;
  }

  /*＝＝＝＝＝＝＝セクション０7＝＝＝＝＝＝＝＝*/
  .sec07-title-under {
    margin: 60px auto 40px auto;
  }

  /* ポリシーページ */
  .policy-page .policy-container {
    padding: 0 15px;
  }
  
  .policy-page h1 {
    font-size: 2rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .policy-page h2 {
    font-size: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .policy-page h3 {
    font-size: 1.2rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .company-table {
    width: 100%;
    box-sizing: border-box;
  }
  
  .company-table th,
  .company-table td {
    padding: 10px 8px;
    font-size: 14px;
  }
  
  .company-table th {
    width: 40%;
  }

  /* コンタクトページ */
  .contact-page {
    padding: 40px 0;
  }
  
  .contact-form {
    margin: 0 20px;
    padding: 25px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .contact-page h1 {
    font-size: 2rem;
  }
  
  .privacy-scroll {
    max-height: 150px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 16px 30px;
  }

  /* Thank-youページ */
  .thank-you-page {
    padding: 40px 0;
  }
  
  .thank-you-content {
    margin: 0 20px;
    padding: 40px 25px;
  }
  
  .thank-you-content h1 {
    font-size: 2rem;
  }
  
  .success-icon i {
    font-size: 4rem;
  }
  
  .steps-list li {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  /* 導入フローのSP時の余白調整 */
  .items {
    gap: 40px;
  }
  
  .box-item-2 {
    margin-bottom: 30px;
  }
  
  .step-circle {
    margin: -55px auto 20px;
  }
  
  .action-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* フッター */
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-section {
    min-width: auto;
  }
  
  .footer-section h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links a {
    font-size: 13px;
  }

  .footer-logo {
    text-align: center;
    margin: 0 auto;
  }
}

/* ===============================================
   RESPONSIVE MEDIA QUERIES - 全メディアクエリ
   =============================================== */
/* 小さなスマートフォン対応（480px以下）- 追加の調整 */
@media (max-width: 480px) {
  p,
  .company-table td {
    font-size: 14px;
  }

  h2,
  .table-01 strong {
    font-size: 1.5rem;
  }

  .company,
  .tax-h2,
  #sec09 h2,
  .reserve01,
  .reserve02,
  .sec07-title-under {
    font-size: 1.2rem;
  }

  .hide-flex {
    width: 260px;
  }
  
  .hide-list a {
    font-size: 15px;
    padding: 18px 20px;
  }
  
  .hide-link {
    gap: 10px;
    padding: 20px;
  }
  
  .hide-link a {
    font-size: 13px;
    padding: 12px 16px;
  }

  .company-info,
  .sec04-needs,
  .sec06-reserve,
  .sec06-point,
  .table-01,
  .company-table,
  .sec02-clear,
  .box-item,
  .box-item-2,
  .sec07-linkerea,
  #sec08 .btn-container,
  .expense-table {
    width: 95%;
  }

  .items {
    gap: 30px;
  }

  .needs-sentence {
    padding: 10px;
  }

  /*＝＝＝＝＝＝＝セクション０1＝＝＝＝＝＝＝＝*/
  #sec01 {
    padding: 50px 0;
  }
  .sec01-phone-img {
    width: 65%;
    max-width: 280px;
  }
  .phone-mockup {
    width: 180px;
    border-radius: 28px;
    padding: 8px;
  }
  .phone-notch {
    width: 70px;
    height: 20px;
    border-radius: 0 0 12px 12px;
    top: 8px;
  }
  .phone-screen {
    border-radius: 22px;
  }

  .sec01-link {
    flex-direction: column;
    align-items: center;
  }

  .btn-container {
    padding: 40px 0;
  }

  .sec01-link a:nth-child(2) {
    margin-left: 0;
  }

  /*＝＝＝＝＝＝＝セクション０２＝＝＝＝＝＝＝＝*/
  .sec02-clear {
    width: 100%;
  }
  .scroll-arrow-circle {
    width: 46px;
    height: 46px;
    margin: 18px auto 24px;
  }
  .scroll-arrow-circle svg {
    width: 22px;
    height: 22px;
  }

  /*＝＝＝＝＝＝＝セクション０3＝＝＝＝＝＝＝＝*/
  .company-info {
    padding: 1em 0.7em 1em 1.3em;
  }

  .company-info li p:before {
    left: 0.3em;
  }

  /*＝＝＝＝＝＝＝セクション０6＝＝＝＝＝＝＝＝*/
  .sec06-reserve ul {
    padding: 1em 0.8em 1em 1.3em;
  }

  .sec06-flex {
    flex-direction: column;
  }

  .sec06-flex .point01,
  .sec06-flex .point02 {
    padding: 1em 0.8em 1em 1.3em;
  }

  .nervous {
    top: -10%;
  }

  .sec06-reserve ul li h3:before,
  .sec06-flex .point01 p::before,
  .sec06-flex .point02 p::before {
    left: 0.3em;
  }
  #sec06:after {
    border-top: 60px solid white; /* さらに小さく */
    border-right: calc(50vw) solid transparent;
    border-left: calc(50vw - 2px) solid transparent;
  }

  /*＝＝＝＝＝＝＝セクション０7＝＝＝＝＝＝＝＝*/
  .table-01 th,
  .table-01 td .entry {
    font-size: 1rem;
  }

  .table-01 td .entry {
    padding: 10px 30px;
  }

  /* テーブルを横スクロール可能に */
  .sec07-clear {
    margin-bottom: 20px;
  }

  .table-container01,
  .table-container02 {
    margin: 0 auto;
    width: 95%;
    overflow-x: auto !important;
  }
  .expense-table {
    padding: 0 10%;
    width: 100%;
    min-width: 600px; /* 横幅を確保 */
    overflow-x: auto;
  }
  .expense-table th,
  .expense-table td {
    padding: 8px;
  }

  .button-absolute {
    width: 320px;
  }

  /*＝＝＝＝＝＝＝セクション０9＝＝＝＝＝＝＝＝*/
  .company-table {
    font-size: 14px;
    border: none;
  }

  .company-table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .company-table tr {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .company-table th {
    background: none;
    border: none;
    font-weight: bold;
    padding: 5px 0 2px;
    color: #21b384;
    text-align: left;
  }

  .company-table td {
    border: none;
    padding: 0 0 5px;
    margin-top: 10px;
  }
}

/* === CTA強化: 資料請求のゴースト化 + 申し込みボタン上の吹き出し === */

/* ヘッダー: 資料請求 */
.header-link a:nth-child(2) {
  background-color: #ffffff;
  border: 1.5px solid #21b384;
  color: #21b384;
}
.header-link a:nth-child(2):hover {
  background-color: #21b384;
  color: #ffffff;
  border-color: #21b384;
}

/* モバイルメニュー: 資料請求 */
.hide-link a:nth-child(2) {
  background-color: transparent !important;
  border: 1.5px solid #21b384;
  color: #21b384 !important;
  box-shadow: none !important;
}
.hide-link a:nth-child(2):hover {
  background-color: #21b384 !important;
  color: #ffffff !important;
  border-color: #21b384 !important;
  box-shadow: none !important;
}

/* メインCTA: 資料請求（申し込むより小さめ） */
.btn-container a:nth-child(2) {
  background-color: #ffffff;
  border: 2px solid #21b384;
  color: #21b384;
  font-size: 1.1rem;
  padding: 22px 34px;
  width: auto;
  min-width: 220px;
  max-width: 280px;
}
.btn-container a:nth-child(2):hover {
  background-color: #21b384;
  color: #ffffff;
  border-color: #21b384;
}

/* メインCTA: 申し込みボタンを大型化 */
.btn-container a:nth-child(1) {
  font-size: 1.3rem;
  padding: 26px 44px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  width: auto;
  min-width: 320px;
  max-width: 420px;
}

/* 申し込みボタン上の吹き出し（7日間無料トライアル付き！） */
.btn-container a.with-trial-balloon {
  position: relative;
  overflow: visible;
}
.btn-container a.with-trial-balloon::before {
  content: '7日間無料トライアル付き！';
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: #ff5252;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 82, 82, 0.4);
  pointer-events: none;
  z-index: 2;
}
.btn-container a.with-trial-balloon::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #ff5252;
  pointer-events: none;
  z-index: 2;
}

/* 吹き出しを邪魔しないため、ボタンコンテナ上部に余白を確保 */
.btn-container:has(a.with-trial-balloon) {
  padding-top: 28px;
}
/* ============================================================
   Hero (sec01) — Modern, Timee-inspired redesign
   既存の #sec01 / .sec01-* スタイルを高い詳細度でオーバーライド
   ============================================================ */

#sec01.hero {
  position: relative;
  /* 既存の緑壁紙 (sec01-back.png) の上に薄い白フィルターを重ねて、
     見出し・本文の視認性を確保しつつブランドの世界観を維持 */
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.62) 55%, rgba(255, 255, 255, 0.5) 100%),
    url(image/sec01-back.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: clamp(64px, 9vw, 120px) 24px clamp(48px, 6vw, 96px);
  overflow: hidden;
  isolation: isolate;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero-shape--top-right {
  top: -160px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(16, 64, 176, 0.22), transparent 70%);
}

.hero-shape--bottom-left {
  bottom: -200px;
  left: -200px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(33, 179, 132, 0.14), transparent 70%);
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 64, 176, 0.1);
  color: #c2670a;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  border: 1px solid rgba(16, 64, 176, 0.2);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #1040b0;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 64, 176, 0.25);
  animation: hero-badge-pulse 2.5s ease-in-out infinite;
}

@keyframes hero-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 64, 176, 0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(16, 64, 176, 0.0); }
}

#sec01.hero .hero-title {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #1a1a1a;
  margin: 0 0 28px;
  background: none;
  box-shadow: none;
  padding: 0;
  display: block;
  text-align: left;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-accent {
  background: linear-gradient(135deg, #1040b0 0%, #0a2c7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* 単語単位のスプリットアニメ
   1行目「確定申告を、」: ズームイン
   2行目「もっと簡単に。」: 遅れて左からスライドイン（.hero-word--accent 側で個別指定） */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: scale(0.35);
  animation: hero-word-zoom-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title-line:nth-child(1) .hero-word { animation-delay: 0.25s; }

@keyframes hero-word-zoom-in {
  0%   { opacity: 0; transform: scale(0.35); filter: blur(10px); }
  55%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes hero-word-slide-from-left {
  0%   { opacity: 0; transform: translateX(-160%); filter: blur(6px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

#sec01.hero .hero-subtitle {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.85;
  color: #374151;
  margin: 0 0 40px;
  max-width: 580px;
  font-weight: 500;
}

#sec01.hero .hero-subtitle strong {
  color: #1a1a1a;
  font-weight: 800;
  background: linear-gradient(transparent 60%, rgba(16, 64, 176, 0.25) 60%);
  padding: 0 2px;
}

#sec01.hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
}

#sec01.hero .hero-cta-primary,
#sec01.hero .hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 44px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border: 2px solid transparent;
  width: auto;
  min-width: 0;
  margin: 0;
  position: relative;
}

#sec01.hero .hero-cta-primary {
  background: linear-gradient(135deg, #1040b0 0%, #0d3590 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(13, 53, 144, 0.32), 0 2px 4px rgba(13, 53, 144, 0.18);
}

#sec01.hero .hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(13, 53, 144, 0.4), 0 4px 8px rgba(13, 53, 144, 0.22);
  opacity: 1;
}

.hero-cta-arrow {
  transition: transform 0.2s ease;
}

#sec01.hero .hero-cta-primary:hover .hero-cta-arrow {
  transform: translateX(4px);
}

#sec01.hero .hero-cta-secondary {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #e5e7eb;
}

#sec01.hero .hero-cta-secondary:hover {
  border-color: #1a1a1a;
  background: #f9fafb;
  transform: translateY(-2px);
  opacity: 1;
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.hero-meta-item {
  position: relative;
  padding-left: 22px;
}

.hero-meta-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2321b384'><path fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-7 7a1 1 0 01-1.4 0l-3.5-3.5a1 1 0 011.4-1.4L9 11.6l6.3-6.3a1 1 0 011.4 0z' clip-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.hero-meta-item strong {
  color: #1a1a1a;
  font-weight: 800;
  font-size: 16px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-glow {
  position: absolute;
  inset: -10% -10% -10% -10%;
  background: radial-gradient(circle at center, rgba(16, 64, 176, 0.18), transparent 65%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.hero-app-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(31, 41, 55, 0.22)) drop-shadow(0 4px 12px rgba(31, 41, 55, 0.12));
  animation: hero-float 5s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* Tablet & Mobile */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-content {
    text-align: center;
  }
  #sec01.hero .hero-title {
    text-align: center;
  }
  .hero-title-br {
    display: none;
  }
  #sec01.hero .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  #sec01.hero .hero-cta {
    justify-content: center;
  }
  .hero-meta {
    justify-content: center;
  }
  .hero-app-image {
    max-width: 280px;
  }
  .hero-shape--top-right {
    width: 360px;
    height: 360px;
  }
  .hero-shape--bottom-left {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 600px) {
  #sec01.hero {
    padding: 64px 20px 48px;
  }
  #sec01.hero .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  #sec01.hero .hero-cta-primary,
  #sec01.hero .hero-cta-secondary {
    width: 100%;
  }
  .hero-meta {
    gap: 6px 14px;
    font-size: 13px;
  }
  .hero-meta-item strong {
    font-size: 15px;
  }
}

/* prefers-reduced-motion: 動きを抑制 */
@media (prefers-reduced-motion: reduce-disabled-by-design) {
  .hero-app-image,
  .hero-badge-dot {
    animation: none;
  }
}

/* ============================================================
   Hero — プロ仕様のモーション
   - 入場時の stagger fade-up
   - アクセント文字のグラデーションシマー
   - CTA の subtle pulse glow
   - 装飾シェイプの drift（緩やかに浮遊）
   ============================================================ */

@keyframes hero-fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-fadeScale {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes hero-shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes hero-cta-glow {
  0%, 100% { box-shadow: 0 10px 24px rgba(13, 53, 144, 0.32), 0 2px 4px rgba(13, 53, 144, 0.18); }
  50%      { box-shadow: 0 14px 32px rgba(13, 53, 144, 0.50), 0 4px 10px rgba(13, 53, 144, 0.28); }
}

@keyframes hero-shape-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, 30px) scale(1.05); }
}

@keyframes hero-shape-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-30px, -20px) scale(1.08); }
}

/* 入場演出: 方向別の大胆なスライドイン（プロ仕様）
   左テキスト群: 左から大きくスライドイン
   右画像:       右から大胆にスライドイン（scale + 微回転）
   CTA:          下から overshoot 付きでバウンドイン
   プロモバナー: 下からスケールバウンス */

@keyframes hero-slide-in-left {
  0%   { opacity: 0; transform: translateX(-80px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes hero-slide-in-right {
  0%   { opacity: 0; transform: translateX(120px) scale(0.88) rotate(2deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateX(0) scale(1) rotate(0); }
}

@keyframes hero-slide-in-bottom {
  0%   { opacity: 0; transform: translateY(60px) scale(0.85); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hero-cta-bounce-in {
  0%   { opacity: 0; transform: translateY(50px) scale(0.8); }
  60%  { opacity: 1; transform: translateY(-8px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

#sec01.hero .hero-promo    { animation: hero-slide-in-bottom 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both,
                                        hero-promo-bob 4s ease-in-out 1.5s infinite; }
/* .hero-title 自体のスライドは無効化（子 .hero-word 側でズーム/スライドを個別演出するため） */
#sec01.hero .hero-title    { animation: none; opacity: 1; transform: none; }
#sec01.hero .hero-subtitle { animation: hero-slide-in-left 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both; }
#sec01.hero .hero-cta      { animation: hero-cta-bounce-in 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s both; }
#sec01.hero .hero-meta     { animation: hero-slide-in-left 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both; }
#sec01.hero .hero-visual   { animation: hero-slide-in-right 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }

/* アクセント文字: グラデーションを横に流すシマー */
#sec01.hero .hero-title-accent {
  background: linear-gradient(120deg, #1040b0 0%, #0a2c7a 25%, #5b86d8 50%, #0a2c7a 75%, #1040b0 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hero-shimmer 6s linear infinite;
}

/* CTA: subtle glow pulse（hover 中は停止） */
#sec01.hero .hero-cta-primary {
  animation: hero-cta-glow 2.8s ease-in-out infinite;
  animation-delay: 1.2s;
}

#sec01.hero .hero-cta-primary:hover {
  animation-play-state: paused;
}

/* 装飾シェイプ: 緩やかに浮遊 */
#sec01.hero .hero-shape--top-right   { animation: hero-shape-drift-1 14s ease-in-out infinite; }
#sec01.hero .hero-shape--bottom-left { animation: hero-shape-drift-2 16s ease-in-out infinite; }

/* visual glow: 呼吸するように明滅 */
@keyframes hero-glow-breath {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

#sec01.hero .hero-visual-glow {
  animation: hero-glow-breath 5s ease-in-out infinite;
}

/* prefers-reduced-motion 配慮: 動きを大幅に抑制 */
@media (prefers-reduced-motion: reduce-disabled-by-design) {
  #sec01.hero .hero-badge,
  #sec01.hero .hero-title,
  #sec01.hero .hero-subtitle,
  #sec01.hero .hero-cta,
  #sec01.hero .hero-meta,
  #sec01.hero .hero-visual,
  #sec01.hero .hero-title-accent,
  #sec01.hero .hero-cta-primary,
  #sec01.hero .hero-shape--top-right,
  #sec01.hero .hero-shape--bottom-left,
  #sec01.hero .hero-visual-glow,
  .hero-app-image,
  .hero-badge-dot {
    animation: none !important;
  }
  #sec01.hero .hero-badge,
  #sec01.hero .hero-title,
  #sec01.hero .hero-subtitle,
  #sec01.hero .hero-cta,
  #sec01.hero .hero-meta,
  #sec01.hero .hero-visual {
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   Hero — 1週間無料プロモバナー & 強化レイヤー
   ============================================================ */

/* === 1.5 hero-eyebrow（オーディエンス・キッカー: タイトル直上の対象ラベル）=== */
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0;
  font-size: clamp(11.5px, 0.95vw, 13.5px);
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #6b7280;
  line-height: 1.5;
  opacity: 0;
  transform: translateX(-14px);
  animation: hero-eyebrow-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero-eyebrow-line {
  display: inline-block;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #1040b0 0%, #0a2c7a 100%);
  border-radius: 999px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(16, 64, 176, 0.45);
}

.hero-eyebrow-text {
  text-align: left;
}

.hero-eyebrow-em {
  font-weight: 800;
  background: linear-gradient(135deg, #0d3590 0%, #0a2c7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: 0.04em;
}

@keyframes hero-eyebrow-in {
  0%   { opacity: 0; transform: translateX(-14px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* タブレット以下: hero-content が中央寄せになるので、eyebrow も中央配置 */
@media (max-width: 1024px) {
  .hero-eyebrow {
    justify-content: center;
  }
}

/* 中型モバイル: 字間と余白を絞る */
@media (max-width: 600px) {
  .hero-eyebrow {
    font-size: 11.5px;
    letter-spacing: 0.05em;
    gap: 10px;
  }
  .hero-eyebrow-line {
    width: 22px;
  }
}

/* 極小モバイル: ライン非表示で純粋なテキストラベルに */
@media (max-width: 380px) {
  .hero-eyebrow {
    gap: 0;
    font-size: 11px;
    letter-spacing: 0.03em;
  }
  .hero-eyebrow-line {
    display: none;
  }
}

/* === 1. プロモバナー（旧 .hero-badge の置き換え）=== */
.hero-promo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px 12px 18px;
  margin: 0 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef3ff 0%, #dde7fb 50%, #c2d3f5 100%);
  border: 1.5px solid rgba(16, 64, 176, 0.45);
  box-shadow:
    0 10px 30px rgba(16, 64, 176, 0.18),
    0 2px 8px rgba(13, 53, 144, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  animation: hero-promo-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both,
             hero-promo-bob 4s ease-in-out 1s infinite;
}

.hero-promo:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 16px 40px rgba(16, 64, 176, 0.28),
    0 4px 12px rgba(13, 53, 144, 0.18);
}

.hero-promo-emoji {
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  animation: hero-promo-emoji-bounce 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-promo-text {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.hero-promo-headline {
  font-size: 15px;
  color: #1a1a1a;
  letter-spacing: 0.01em;
}

.hero-promo-headline strong {
  font-size: 17px;
  font-weight: 800;
  background: linear-gradient(135deg, #0a2c7a 0%, #1040b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: 0.01em;
  margin-right: 4px;
}

.hero-promo-sub {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* shine: バナーを横切る光の帯 */
.hero-promo-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(110deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 65%,
    transparent 100%);
  pointer-events: none;
  animation: hero-promo-shine 3.6s ease-in-out 1.8s infinite;
}

@keyframes hero-promo-in {
  0%   { opacity: 0; transform: translateY(20px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hero-promo-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

@keyframes hero-promo-emoji-bounce {
  0%, 60%, 100% { transform: rotate(0) scale(1); }
  20%           { transform: rotate(-12deg) scale(1.12); }
  40%           { transform: rotate(8deg)   scale(1.08); }
}

@keyframes hero-promo-shine {
  0%   { left: -100%; }
  60%  { left: 160%; }
  100% { left: 160%; }
}

/* === 2. CTA リボン（「期間限定」を CTA 上に浮遊） === */
.hero-cta-ribbon {
  position: absolute;
  top: -10px;
  right: -8px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
  transform: rotate(8deg);
  animation: hero-cta-ribbon-wiggle 3s ease-in-out 1.5s infinite;
  pointer-events: none;
  white-space: nowrap;
}

@keyframes hero-cta-ribbon-wiggle {
  0%, 50%, 100% { transform: rotate(8deg) scale(1); }
  25%           { transform: rotate(4deg) scale(1.08); }
  75%           { transform: rotate(12deg) scale(1.05); }
}

/* === 3. メタ情報の拡大 === */
#sec01.hero .hero-meta {
  font-size: 15px;
  gap: 10px 22px;
}

#sec01.hero .hero-meta-item strong {
  font-size: 18px;
}

/* === 4. アクセント文字の周りに subtle スパークル === */
.hero-title-accent::before,
.hero-title-accent::after {
  content: "✦";
  position: absolute;
  color: #5b86d8;
  font-size: 0.22em;
  font-weight: normal;
  opacity: 0;
  animation: hero-sparkle 3s ease-in-out infinite;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(91, 134, 216, 0.6);
}

.hero-title-accent {
  position: relative;
}

.hero-title-accent::before {
  top: -0.15em;
  left: -0.25em;
  animation-delay: 2.3s;
}

.hero-title-accent::after {
  top: 0.05em;
  right: -0.2em;
  animation-delay: 3.1s;
  font-size: 0.18em;
}

@keyframes hero-sparkle {
  0%, 70%, 100% { opacity: 0; transform: scale(0.5) rotate(0); }
  85%           { opacity: 1; transform: scale(1)   rotate(45deg); }
}

/* === 5. レスポンシブ調整 === */
@media (max-width: 900px) {
  .hero-promo {
    padding: 10px 18px 10px 14px;
    gap: 10px;
  }
  .hero-promo-emoji {
    font-size: 22px;
  }
  .hero-promo-headline {
    font-size: 14px;
  }
  .hero-promo-headline strong {
    font-size: 15px;
  }
  .hero-promo-sub {
    font-size: 11px;
  }
  #sec01.hero .hero-cta-primary,
  #sec01.hero .hero-cta-secondary {
    padding: 20px 36px;
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .hero-promo {
    padding: 10px 16px 10px 12px;
  }
  .hero-promo-text {
    line-height: 1.25;
  }
  .hero-promo-headline {
    font-size: 13px;
  }
  .hero-promo-headline strong {
    font-size: 14px;
  }
  .hero-cta-ribbon {
    font-size: 10px;
    padding: 3px 8px;
    top: -8px;
    right: -6px;
  }
}

/* === 6. prefers-reduced-motion 配慮 === */
@media (prefers-reduced-motion: reduce-disabled-by-design) {
  .hero-promo,
  .hero-promo-emoji,
  .hero-promo-shine,
  .hero-cta-ribbon,
  .hero-word,
  .hero-title-accent::before,
  .hero-title-accent::after {
    animation: none !important;
  }
  .hero-word { opacity: 1; transform: none; filter: none; }
  .hero-title-accent::before,
  .hero-title-accent::after { opacity: 0; }
}

/* ============================================================
   Header — エントランスアニメ
   ロゴは左から、ナビは上から、ボタンは右から登場
   ============================================================ */

@keyframes header-slide-from-left {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes header-slide-from-right {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes header-fade-down {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

header .header-img {
  animation: header-slide-from-left 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

header .header-list li {
  animation: header-fade-down 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
header .header-list li:nth-child(1) { animation-delay: 0.25s; }
header .header-list li:nth-child(2) { animation-delay: 0.32s; }
header .header-list li:nth-child(3) { animation-delay: 0.39s; }
header .header-list li:nth-child(4) { animation-delay: 0.46s; }
header .header-list li:nth-child(5) { animation-delay: 0.53s; }

header .header-actions {
  animation: header-slide-from-right 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

header .hamburger {
  animation: header-slide-from-right 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

/* ロゴホバーで subtle bounce */
header .header-img a {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

header .header-img a:hover {
  transform: scale(1.06) rotate(-2deg);
}

/* ナビリンクに上品なホバー下線アニメ */
header .header-list .list {
  position: relative;
  overflow: hidden;
}

header .header-list .list::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #1040b0, #0a2c7a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

header .header-list .list:hover::after {
  transform: scaleX(1);
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce-disabled-by-design) {
  header .header-img,
  header .header-list li,
  header .header-actions,
  header .hamburger {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  header .header-img a:hover {
    transform: none;
  }
}

/* ============================================================
   Fix: .hero-word--accent — オレンジグラデを単語自身に適用
   親 .hero-title-accent の background-clip:text マスク範囲外に
   子 .hero-word が transform で出てしまい透明になる問題を解消
   ============================================================ */
.hero-word.hero-word--accent {
  background: linear-gradient(120deg, #1040b0 0%, #0a2c7a 25%, #5b86d8 50%, #0a2c7a 75%, #1040b0 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  transform: translateX(-160%);
  animation: hero-word-slide-from-left 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1.25s forwards,
             hero-shimmer 6s linear 2.6s infinite;
  position: relative;
}

/* 1 行目「確定申告を、」の単語の delay を再宣言（前回の HTML 構造前提のセレクタを上書き） */
.hero-title-line:nth-child(1) .hero-word { animation-delay: 0.25s; }
/* 2 行目の accent 単語は 1.25s（上記のショートハンドで指定済み）*/

/* sparkle (✦) を accent 単語の周りに残す（旧 .hero-title-accent::before/::after の代替） */
.hero-word--accent::before,
.hero-word--accent::after {
  content: "✦";
  position: absolute;
  color: #5b86d8;
  font-size: 0.22em;
  font-weight: normal;
  opacity: 0;
  /* グラデーション継承を阻止して通常色で表示 */
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #5b86d8;
  animation: hero-sparkle 3s ease-in-out infinite;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(91, 134, 216, 0.6);
}

.hero-word--accent::before {
  top: -0.15em;
  left: -0.25em;
  animation-delay: 2.3s;
}

.hero-word--accent::after {
  top: 0.05em;
  right: -0.2em;
  font-size: 0.18em;
  animation-delay: 3.1s;
}

/* ============================================================
   Hero — レスポンシブ完全対応
   ブレークポイント:
   - ≤ 1024px: タブレット（grid を縦に切替）
   - ≤  768px: 大型モバイル
   - ≤  600px: 中型モバイル
   - ≤  380px: 極小モバイル
   ============================================================ */

/* === ≤ 1024px: タブレット === */
@media (max-width: 1024px) {
  #sec01.hero {
    padding: clamp(56px, 8vw, 96px) 20px clamp(40px, 5vw, 72px);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  #sec01.hero .hero-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
  }
  #sec01.hero .hero-title {
    text-align: center;
    font-size: clamp(40px, 6.5vw, 72px);
  }
  .hero-title-br {
    display: none;
  }
  #sec01.hero .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  #sec01.hero .hero-cta {
    justify-content: center;
  }
  #sec01.hero .hero-meta {
    justify-content: center;
  }
  .hero-promo {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    order: 2;
  }
  .hero-app-image {
    max-width: 320px;
  }
}

/* === ≤ 768px: 大型モバイル === */
@media (max-width: 768px) {
  #sec01.hero {
    padding: 56px 16px 40px;
  }
  .hero-grid {
    gap: 32px;
  }
  /* プロモバナー: 縦に近い構造で読みやすく */
  .hero-promo {
    padding: 10px 18px 10px 14px;
    gap: 10px;
    max-width: calc(100% - 8px);
  }
  .hero-promo-emoji {
    font-size: 22px;
  }
  .hero-promo-text {
    line-height: 1.3;
    min-width: 0;
  }
  .hero-promo-headline {
    font-size: 13px;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .hero-promo-headline strong {
    font-size: 15px;
  }
  .hero-promo-sub {
    font-size: 11px;
    white-space: normal;
    word-break: keep-all;
  }
  /* 見出し */
  #sec01.hero .hero-title {
    font-size: clamp(34px, 8vw, 52px);
    line-height: 1.2;
    margin-bottom: 20px;
  }
  /* サブコピー */
  #sec01.hero .hero-subtitle {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 28px;
  }
  /* サブコピー内の <br> を消してフロー文字に */
  #sec01.hero .hero-subtitle br {
    display: none;
  }
  /* CTA: 縦並びの全幅 */
  #sec01.hero .hero-cta {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  #sec01.hero .hero-cta-primary,
  #sec01.hero .hero-cta-secondary {
    width: 100%;
    padding: 18px 28px;
    font-size: 16px;
  }
  /* CTA リボンを縦並び CTA に合わせて再配置 */
  .hero-cta-ribbon {
    top: -10px;
    right: 12px;
    font-size: 10px;
    padding: 3px 9px;
  }
  /* メタ: 中央 + 折り返し */
  #sec01.hero .hero-meta {
    gap: 6px 16px;
    font-size: 13px;
  }
  #sec01.hero .hero-meta-item strong {
    font-size: 15px;
  }
  /* アプリ画像 */
  .hero-app-image {
    max-width: 260px;
  }
  /* 装飾シェイプ縮小 */
  .hero-shape--top-right {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -120px;
  }
  .hero-shape--bottom-left {
    width: 280px;
    height: 280px;
    bottom: -140px;
    left: -140px;
  }
}

/* === ≤ 600px: 中型モバイル === */
@media (max-width: 600px) {
  #sec01.hero {
    padding: 48px 14px 36px;
  }
  .hero-grid {
    gap: 28px;
  }
  .hero-promo {
    padding: 8px 14px 8px 10px;
    gap: 8px;
    border-radius: 16px;
  }
  .hero-promo-emoji {
    font-size: 20px;
  }
  .hero-promo-headline {
    font-size: 12px;
  }
  .hero-promo-headline strong {
    font-size: 14px;
  }
  .hero-promo-sub {
    font-size: 10.5px;
  }
  #sec01.hero .hero-title {
    font-size: clamp(28px, 9vw, 42px);
    letter-spacing: -0.02em;
  }
  #sec01.hero .hero-subtitle {
    font-size: 15px;
    line-height: 1.7;
  }
  #sec01.hero .hero-subtitle strong {
    padding: 0 1px;
  }
  /* メタを 1 行ずつにすると見やすい */
  #sec01.hero .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .hero-meta-item {
    padding-left: 20px;
  }
  .hero-app-image {
    max-width: 220px;
  }
  .hero-shape--top-right,
  .hero-shape--bottom-left {
    filter: blur(40px);
    opacity: 0.7;
  }
}

/* === ≤ 380px: 極小モバイル === */
@media (max-width: 380px) {
  #sec01.hero {
    padding: 40px 12px 32px;
  }
  /* プロモバナーを縦並びに（絵文字 + テキスト上下） */
  .hero-promo {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 14px;
    gap: 4px;
  }
  .hero-promo-emoji {
    font-size: 22px;
  }
  .hero-promo-text {
    align-items: center;
  }
  .hero-promo-headline {
    text-align: center;
  }
  .hero-promo-sub {
    text-align: center;
  }
  #sec01.hero .hero-title {
    font-size: 26px;
  }
  #sec01.hero .hero-subtitle {
    font-size: 14px;
  }
  #sec01.hero .hero-cta-primary,
  #sec01.hero .hero-cta-secondary {
    padding: 16px 24px;
    font-size: 15px;
  }
  .hero-app-image {
    max-width: 180px;
  }
}

/* ============================================================
   Hero — CTA センター揃え統一 + リボン位置修正
   - CTAリボンがボタン右にはみ出して見える問題を解消
   - PC/タブレット/モバイル全サイズで中央揃え
   ============================================================ */

/* ヒーローテキスト全体を中央揃えに統一（全サイズ） */
#sec01.hero .hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

#sec01.hero .hero-title {
  text-align: center;
}

#sec01.hero .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#sec01.hero .hero-cta {
  justify-content: center;
}

#sec01.hero .hero-meta {
  justify-content: center;
}

.hero-promo {
  margin-left: auto;
  margin-right: auto;
}

/* CTAリボン「期間限定」をボタンの上中央に再配置（はみ出し防止）*/
#sec01.hero .hero-cta-primary .hero-cta-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  right: auto;
  transform: translateX(-50%) rotate(-4deg);
}

/* リボンの wiggle アニメも transform を継承させる */
@keyframes hero-cta-ribbon-wiggle {
  0%, 50%, 100% { transform: translateX(-50%) rotate(-4deg) scale(1); }
  25%           { transform: translateX(-50%) rotate(-8deg) scale(1.08); }
  75%           { transform: translateX(-50%) rotate(0deg)  scale(1.05); }
}

/* モバイル時のリボン微調整 */
@media (max-width: 768px) {
  #sec01.hero .hero-cta-primary .hero-cta-ribbon {
    top: -12px;
  }
}

@media (max-width: 600px) {
  #sec01.hero .hero-cta-primary .hero-cta-ribbon {
    top: -10px;
    font-size: 10px;
    padding: 3px 8px;
  }
}

/* ============================================================
   Hero — CTA 中央配置の強制（最終版）
   既存スタイル・アニメーション keyframes を確実に上書き
   ============================================================ */

/* CTA コンテナを確実に中央寄せ */
#sec01.hero .hero-cta {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 auto 28px !important;
  padding: 0 !important;
  gap: 14px !important;
}

/* ボタンを少しコンパクトに（はみ出し余地ゼロ） */
#sec01.hero .hero-cta-primary,
#sec01.hero .hero-cta-secondary {
  padding: 18px 32px !important;
  font-size: 16px !important;
  width: auto !important;
  flex: 0 0 auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* リボン位置: ボタン上中央に強制配置 */
#sec01.hero .hero-cta-primary .hero-cta-ribbon {
  position: absolute !important;
  top: -12px !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 4 !important;
}

/* wiggle keyframes を translateX(-50%) 込みに置き換え（最重要）
   既存の `transform: rotate(8deg)` の keyframes が後勝ちで上書きされる */
@keyframes hero-cta-ribbon-wiggle {
  0%, 50%, 100% { transform: translateX(-50%) rotate(-4deg) scale(1); }
  25%           { transform: translateX(-50%) rotate(-10deg) scale(1.08); }
  75%           { transform: translateX(-50%) rotate(2deg)   scale(1.05); }
}

/* モバイル時もリボンを中央に維持 */
@media (max-width: 768px) {
  #sec01.hero .hero-cta {
    flex-direction: column !important;
    max-width: 360px !important;
  }
  #sec01.hero .hero-cta-primary,
  #sec01.hero .hero-cta-secondary {
    width: 100% !important;
    padding: 16px 24px !important;
  }
  #sec01.hero .hero-cta-primary .hero-cta-ribbon {
    top: -10px !important;
  }
}

/* ============================================================
   Hero タイトル — レスポンシブのサイズ強化（インパクト重視）
   既存メディアクエリ設定を !important で確実に上書き
   ============================================================ */

@media (max-width: 1024px) {
  #sec01.hero .hero-title {
    font-size: clamp(48px, 7.5vw, 80px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
  }
}

@media (max-width: 768px) {
  #sec01.hero .hero-title {
    font-size: clamp(42px, 10vw, 68px) !important;
    line-height: 1.16 !important;
    margin-bottom: 24px !important;
  }
}

@media (max-width: 600px) {
  #sec01.hero .hero-title {
    font-size: clamp(38px, 11vw, 56px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.025em !important;
  }
}

@media (max-width: 380px) {
  #sec01.hero .hero-title {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
}

/* ============================================================
   CTAリボン「期間限定」— 落ち着いたデザインに最終上書き
   回転・アニメ・浮き出しバッジをやめ、ボタン内左側に
   控えめな水平テキストバッジとして配置する
   ============================================================ */
#sec01.hero .hero-cta-primary .hero-cta-ribbon {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  animation: hero-cta-ribbon-blink 1.4s ease-in-out infinite !important;
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
}

/* 「期間限定」バッジを点滅させて目立たせる */
@keyframes hero-cta-ribbon-blink {
  0%, 100% { opacity: 1; background: rgba(255, 255, 255, 0.28); }
  50%      { opacity: 0.4; background: rgba(255, 255, 255, 0.12); }
}


