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: #21b384;
  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;
}

/* ヘッダーログインリンク */
.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: 14px;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;
}
.header-link a:nth-child(1) {
  background-color: #007bff;
}

.header-link a:nth-child(1):hover {
  background-color: #0056b3;
}

.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: 30px;
  margin-top: 40px;
}

.btn-container a {
  display: inline-block;
  font-size: 1.2rem;
  color: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  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: #007bff;
  transition: all 0.5s;
}

.btn-container a:nth-child(1):hover {
  background-color: #0056b3;
  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;
}

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

.sec01-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.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-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-color: #fffcf2;
  position: relative;
}
#sec04:after {
  content: "";
  position: absolute;
  top: 100%;
  box-sizing: border-box;
  border-right: calc(50vw) solid transparent;
  border-left: calc(50vw - 6px) solid transparent;
  border-top: 110px solid #fffcf2;
}
.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-color: #fffcf2;
  padding-top: 80px;
  background-image: url("image/sec05-back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.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 #f2ad1e;
  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 #f2ad1e;
  color: #474241;
  position: relative;
}
.sec06-flex .point02 {
  width: 100%;
  padding: 0.9em 1.2em 0.9em 2.6em;
  border: double 4px #f2ad1e;
  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: #f2ad1e;
}
#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.5s;
  background-color: #f5b932;
  color: white;
  padding: 15px 60px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.2rem;
}

.table-01 td .entry:hover {
  background: #1e7e34;
}

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

.table-01 .updata {
  background-color: #fffcf2;
  color: #474241;
  padding: 20px 0;
  font-weight: bold;
  width: 100%;
}
.sec07-title-under {
  padding: 0.5em;
  display: inline-block;
  background-color: #f5b932;
  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-color: #eff3fd;
  background-image: url("");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.button-absolute {
  display: block;
  width: 360px;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0px 7px 3px 0px #c68600;
  background-color: #f5b932;
  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;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝アニメーション＝＝＝＝＝＝＝＝＝＝＝＝ */
/* 上の矢印 */
.triangle-down-one {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-top: 35px solid #ee0000;
  position: relative;
  animation: moveDownOne 1s infinite;
  margin: 0 auto 10px;
}
@keyframes moveDownOne {
  0% {
    top: 0;
    opacity: 1;
  }
  70% {
    top: 15px;
    opacity: 1;
  }
  80% {
    top: 15px;
    opacity: 0;
  }
  100% {
    top: 0;
    opacity: 0;
  }
  0% {
    top: 0;
    opacity: 1;
  }
}

/* 下の矢印 */
.triangle-down-two {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-top: 45px solid #dd0000;
  position: relative;
  animation: moveDownTwo 1s infinite;
  animation-delay: 0.2s; /* 遅延処理 */
  margin: 0 auto;
}
@keyframes moveDownTwo {
  0% {
    top: 0;
    opacity: 1;
  }
  70% {
    top: 15px;
    opacity: 1;
  }
  80% {
    top: 15px;
    opacity: 0;
  }
  100% {
    top: 0;
    opacity: 0;
  }
  0% {
    top: 0;
    opacity: 1;
  }
}
/*フェードイン*/
.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;
}

.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: #f59e0b;
  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: 14px 20px;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .hide-link a:nth-child(1) {
    background-color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
  }
  
  .hide-link a:nth-child(1):hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
  }
  
  .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;
  }
  /*＝＝＝＝＝＝＝セクション０２＝＝＝＝＝＝＝＝*/
  .sec02-clear {
    width: 80%;
  }

  /*＝＝＝＝＝＝＝セクション０4＝＝＝＝＝＝＝＝*/
  #sec04:after {
    border-top: 80px solid #fffcf2; /* 三角形を少し小さく */
    border-right: calc(50vw) solid transparent;
    border-left: calc(50vw - 4px) solid transparent;
  }

  /*＝＝＝＝＝＝＝セクション０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-link {
    flex-direction: column;
    align-items: center;
  }

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

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

  /*＝＝＝＝＝＝＝セクション０２＝＝＝＝＝＝＝＝*/
  .sec02-clear {
    width: 90%;
  }
  .triangle-down-one {
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-top: 25px solid #ee0000;
  }
  .triangle-down-two {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-top: 35px solid #ee0000;
  }

  /*＝＝＝＝＝＝＝セクション０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;
  }
  

}