@charset "UTF-8";
/*
Theme Name: ほそかわ総合税理士事務所
*/
body,
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Shippori Mincho", serif;
  line-height: 1.75;
}

ul,
li {
  margin: 0;
  padding: 0;
}

.js-text-fade, .js-fade, .js-fade-in {
  opacity: 0;
  transition: all 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.js-fade-in {
  transform: translateY(20px);
  filter: blur(4px);
}
.js-fade-in.is-show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.js-fade {
  transform: translateY(30px);
}
.js-fade.is-show {
  opacity: 1;
  transform: translateY(0);
}

.js-text-fade {
  filter: blur(8px);
  letter-spacing: 0.4em;
}
.js-text-fade.is-show {
  opacity: 1;
  filter: blur(0);
  letter-spacing: 0.1em;
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
ul,
li {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block; /* 画像の下にできる隙間を解消 */
}

/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
  width: 100%;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  padding: 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* 最前面に */
  transition: all 0.3s ease;
  /* --- スクロール後のスタイル --- */
  /* --- 通常時のレイアウト --- */
}
.header.is-scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header.is-scrolled .header-container {
  margin: 20px auto;
}
.header.is-scrolled .capsule-nav {
  background: transparent;
  border: transparent; /* 枠線を透明に */
  box-shadow: none;
  width: auto;
  min-width: auto; /* ここで制限を解除 */
  padding: 0;
}
.header .header-container {
  margin: 40px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  width: 90%; /* 親の100%に収める */
}

.header-logo {
  width: 27.7%;
  max-width: 400px;
}
@media (max-width: 767px) {
  .header-logo {
    width: 65%;
  }
}
.header-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* スマホ用全画面ラッパー */
@media (max-width: 767px) {
  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    z-index: 10000;
  }
  .nav-wrapper.is-active {
    right: 0;
  }
}

.capsule-nav {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  /* min-widthを使わず、中身に合わせて広がるように設定 */
  transition: all 0.3s ease;
}
@media (max-width: 767px) {
  .capsule-nav {
    flex-direction: column;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    gap: 40px;
  }
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px; /* パーセントではなくpx指定で安定させる */
}
@media (max-width: 767px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
}
.nav-links li {
  white-space: nowrap;
}
.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}
@media (max-width: 767px) {
  .nav-links a {
    font-size: 18px;
  }
}

.btn-free-consult {
  margin-left: 30px; /* リンクとの間隔 */
  background-color: #005bac; /* 青色 */
  color: #ffffff;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: bold;
  white-space: nowrap;
  transition: 0.3s;
}
.btn-free-consult:hover {
  opacity: 0.8;
}
@media (max-width: 767px) {
  .btn-free-consult {
    margin-left: 0;
    padding: 15px 40px;
    /* 追記：クリック判定を確実にする */
    position: relative;
    z-index: 10002; /* モバイルトグル(10001)よりもさらに上にする */
  }
}

/* ハンバーガーボタンのアニメーション */
.mobile-toggle {
  display: none;
}
@media (max-width: 767px) {
  .mobile-toggle {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 10001;
  }
  .mobile-toggle span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
  }
  .mobile-toggle span:nth-child(1) {
    top: 0;
  }
  .mobile-toggle span:nth-child(2) {
    top: 11px;
  }
  .mobile-toggle span:nth-child(3) {
    bottom: 0;
  }
  .mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  .mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
}

/* --- スマホ対応 (既存の微調整) --- */
@media (max-width: 950px) {
  .header-container {
    margin: 30px auto 15px !important;
  }
}
.main {
  margin-top: 160px;
  width: 100%;
  overflow-x: hidden; /* コンテンツ側のはみ出しも念のためカット */
}
@media (max-width: 767px) {
  .main {
    margin-top: 80px;
  }
}

/* --- フッター --- */
footer {
  background-color: #004c7d;
  padding: 30px 0;
}
@media (max-width: 767px) {
  footer {
    padding: 30px 0;
  }
}
footer .footer_inner {
  color: #fff;
  max-width: 1200px;
  margin: 0 auto 30px;
  width: 90%;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 767px) {
  footer .footer_inner {
    flex-direction: column-reverse;
    align-items: center;
  }
}
@media (max-width: 767px) {
  footer .footer_inner .company_detail {
    text-align: center;
  }
}
footer .footer_inner .company_detail .logo {
  max-width: 320px;
  width: 80%;
}
@media (max-width: 767px) {
  footer .footer_inner .company_detail .logo {
    width: auto;
  }
}
footer .footer_inner .company_detail p {
  font-size: clamp(
    0.75rem,
    0.661971831rem + 0.3755868545vw,
    1rem
  );
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}
footer .footer_inner .footer_menu {
  display: flex;
  justify-content: space-between;
  flex-basis: 70%;
  margin-top: 10px;
  max-width: 670px;
  flex-wrap: wrap;
  gap: 15px;
}
@media (max-width: 767px) {
  footer .footer_inner .footer_menu {
    flex-direction: column;
    margin-bottom: 30px;
  }
}
footer .footer_inner .footer_menu li {
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
}
@media (max-width: 767px) {
  footer .footer_inner .footer_menu li {
    text-align: center;
    margin-bottom: 5px;
  }
}
footer .copy-right {
  font-size: clamp(
    0.75rem,
    0.7059859155rem + 0.1877934272vw,
    0.875rem
  );
  color: #fff;
  text-align: center;
}

.sp {
  display: none;
}

.pc {
  display: block;
}

@media (max-width: 767px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}
html,
body {
  background-color: #ffffff !important; /* またはサイトのベースカラー */
  margin: 0;
  padding: 0;
}

body {
  font-family: "Shippori Mincho", serif;
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

.blue {
  color: #004c7d;
}

.bg-text-header {
  text-align: center;
  position: relative;
  margin-bottom: 60px;
}
@media (max-width: 767px) {
  .bg-text-header {
    margin-bottom: 30px;
  }
}
.bg-text-header .bg-text {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(
    3rem,
    1.9436619718rem + 4.5070422535vw,
    6rem
  );
  font-weight: 700;
  z-index: 1;
  display: inline-block;
  background: linear-gradient(to bottom, rgba(226, 239, 247, 0.8392156863) 0%, rgba(244, 247, 249, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}

.fv {
  width: 90%;
  margin: 0 auto;
  height: 90vh;
  overflow: hidden;
}
.fv .fv-text {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  .fv .fv-text {
    flex-direction: column;
    align-items: start;
    gap: 30px;
  }
}
.fv .fv-text .fv-text-main {
  font-size: clamp(
    1.875rem,
    1.1927816901rem + 2.9107981221vw,
    3.8125rem
  );
  line-height: 1.31;
  color: #004c7d;
  letter-spacing: 0.06em;
}
.fv .fv-text .fv-text-sub {
  font-size: clamp(
    1rem,
    0.911971831rem + 0.3755868545vw,
    1.25rem
  );
  letter-spacing: 0.03em;
  line-height: 1.72;
}
.fv .fv-imag {
  width: 100%; /* 親の90%の中に収める */
}
.fv .fv-imag img {
  width: 100%; /* 親要素の幅いっぱいに広げる */
  height: 60vh; /* 高さを固定して調整（お好みで） */
  -o-object-fit: cover;
     object-fit: cover; /* 画像をトリミングして枠に収める */
  border-radius: 19px;
}
@media (max-width: 767px) {
  .fv .fv-imag img {
    height: 55vh;
  }
}

.philosophy {
  padding: 100px 0 0;
  background-color: #fff;
}
@media (max-width: 767px) {
  .philosophy {
    padding: 30px 0 0;
  }
}
.philosophy-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}
.philosophy .sub-lead {
  position: relative;
  z-index: 2;
  font-size: clamp(
    0.875rem,
    0.7429577465rem + 0.5633802817vw,
    1.25rem
  );
  line-height: 1.75;
  margin-bottom: 30px;
  color: #333;
  font-weight: 600;
}
@media (max-width: 767px) {
  .philosophy .sub-lead {
    margin-bottom: 10px;
  }
}
.philosophy .main-title {
  position: relative;
  z-index: 2;
  font-size: clamp(
    1.5rem,
    1.323943662rem + 0.7511737089vw,
    2rem
  );
  color: #004c7d;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.philosophy .comparison-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .philosophy .comparison-container {
    margin-bottom: 30px;
    flex-direction: column;
    align-items: center;
  }
}
.philosophy .comparison-card {
  flex: 1;
  padding: 50px 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 500px;
}
@media (max-width: 767px) {
  .philosophy .comparison-card {
    padding: 24px 40px;
  }
}
.philosophy .comparison-card.is-general {
  background-color: #ecf3f8;
}
.philosophy .comparison-card.is-office {
  background-color: #e5f5ff;
}
.philosophy .comparison-card .card-icon {
  margin: 0 auto 21px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.philosophy .comparison-card .card-icon .philosophy-icon01 {
  width: auto;
  margin-top: 15px;
}
.philosophy .comparison-card .card-icon .philosophy-icon02 {
  width: auto;
}
.philosophy .comparison-card .card-title {
  font-size: clamp(
    1.125rem,
    1.036971831rem + 0.3755868545vw,
    1.375rem
  );
  margin-bottom: 24px;
  color: #333;
  line-height: 1;
}
.philosophy .comparison-card .card-title.is-office {
  color: #004c7d;
}
.philosophy .comparison-card .card-list {
  display: inline-block;
  text-align: left;
  list-style: none;
  padding: 0;
}
.philosophy .comparison-card .card-list li {
  font-size: clamp(
    0.9375rem,
    0.8934859155rem + 0.1877934272vw,
    1.0625rem
  );
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 5px;
  padding-left: 1.2em;
  text-indent: -1.2em;
  line-height: 1.6;
  color: #333;
  font-weight: 400;
}
.philosophy .comparison-card .card-list li::before {
  content: "・";
  font-weight: bold;
}

/* 下部メッセージ */
.philosophy-lower {
  text-align: center;
  font-size: clamp(
    1.25rem,
    0.985915493rem + 1.1267605634vw,
    2rem
  );
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #333;
  font-weight: 600;
}

.enrichment {
  padding: 150px 0 0;
  background-color: #fff;
  overflow: hidden;
  /* カードのグリッド */
}
@media (max-width: 767px) {
  .enrichment {
    padding: 40px 0 0;
  }
}
.enrichment-inner {
  padding: 100px 0;
  margin: 0 auto;
  background-image: url(../img/bg.png);
  background-size: cover;
}
@media (max-width: 767px) {
  .enrichment-inner {
    padding: 45px 0 0;
  }
}
.enrichment .enrichment-lead {
  width: 90%;
  margin: 0 auto;
  margin-bottom: 50px;
}
.enrichment .bg-text {
  top: -160px;
  background: linear-gradient(to bottom, rgba(226, 239, 247, 0.8392156863) 90%, rgba(244, 247, 249, 0) 100%);
  /* 背景を文字で切り抜く設定 */
  -webkit-background-clip: text;
  background-clip: text;
  /* 文字色を透明にする（これが重要） */
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (max-width: 767px) {
  .enrichment .bg-text {
    top: -70px;
  }
}
.enrichment .enrichment-title {
  position: relative;
  z-index: 3;
  font-family: "Shippori Mincho", serif;
  color: #005bac;
  font-size: clamp(
    1.25rem,
    0.9419014085rem + 1.3145539906vw,
    2.125rem
  );
  line-height: 1.2;
  font-weight: 400;
}
.enrichment .enrichment-title .num {
  font-size: clamp(
    2.4375rem,
    1.8653169014rem + 2.441314554vw,
    4.0625rem
  );
  font-weight: 400;
}
.enrichment .enrichment-title .name {
  font-size: clamp(
    1.25rem,
    0.9419014085rem + 1.3145539906vw,
    2.125rem
  );
  font-weight: 600;
}
.enrichment .enrichment-title .enrichment-lead {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  line-height: 2;
  font-size: clamp(
    0.875rem,
    0.8309859155rem + 0.1877934272vw,
    1rem
  );
  color: #333;
}
.enrichment-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
}
@media (max-width: 900px) {
  .enrichment-grid {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }
}
.enrichment .enrichment-card {
  flex: 1;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}
@media (min-width: 901px) {
  .enrichment .enrichment-card:nth-child(2) {
    margin-top: 60px;
  }
  .enrichment .enrichment-card:nth-child(3) {
    margin-top: 120px;
  }
}
.enrichment .enrichment-card .card-image {
  position: relative;
}
.enrichment .enrichment-card .card-image .card-number {
  position: absolute;
  top: -30px;
  left: 15px;
  font-size: clamp(
    2.875rem,
    2.6769366197rem + 0.8450704225vw,
    3.4375rem
  );
  font-weight: 400;
  color: #005bac;
  font-family: "Shippori Mincho", serif;
  z-index: 2;
  line-height: 1;
}
.enrichment .enrichment-card .card-image img {
  width: 100%;
  height: 230px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.enrichment .enrichment-card .card-body {
  padding: 20px 30px;
}
.enrichment .enrichment-card .card-body .card-title {
  font-family: "Shippori Mincho", serif;
  font-size: clamp(
    1.25rem,
    1.1179577465rem + 0.5633802817vw,
    1.625rem
  );
  margin-bottom: 5px;
  color: #333;
  font-weight: 500;
}
.enrichment .enrichment-card .card-body .card-title span {
  color: #004c7d;
  font-size: clamp(
    1.5rem,
    1.323943662rem + 0.7511737089vw,
    2rem
  );
  margin-right: 4px;
  font-weight: 600;
}
.enrichment .enrichment-card .card-body .card-subtitle {
  font-weight: 500;
  margin: 0 0 5px 0;
  font-size: clamp(
    1rem,
    0.9779929577rem + 0.0938967136vw,
    1.0625rem
  );
  font-family: "Noto Sans JP", sans-serif;
}
.enrichment .enrichment-card .card-body .card-text {
  font-size: 14px;
  line-height: 1.75;
  color: #333;
  margin: 0 0 15px 0;
  font-family: "Noto Sans JP", sans-serif;
}
.enrichment .enrichment-card .card-body .card-text small {
  font-size: 0.85em;
}
.enrichment .enrichment-card .card-body .card-info {
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
}
.enrichment .enrichment-card .card-body .card-info dt {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 5px;
}
.enrichment .enrichment-card .card-body .card-info dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.enrichment .enrichment-lower {
  position: relative;
  padding: 60px 0;
}
.enrichment .enrichment-lower .logo-mark-bg {
  width: 240px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.enrichment .enrichment-lower .logo-mark-bg img {
  width: 100%;
}
.enrichment .enrichment-lower .intro-sub {
  text-align: center;
  font-size: clamp(
    1.125rem,
    1.036971831rem + 0.3755868545vw,
    1.375rem
  );
  line-height: 1;
}
.enrichment .enrichment-lower .intro-main {
  text-align: center;
  font-size: clamp(
    1.375rem,
    1.1549295775rem + 0.9389671362vw,
    2rem
  );
  line-height: 1.75;
  font-weight: 400;
  width: 95%;
  margin: 0 auto;
}
.enrichment .enrichment-lower .intro-main span {
  font-weight: 600;
}

.services {
  background-color: #fff;
  /* 上部テキストエリア */
  /* 背景画像エリア */
  /* カードグリッド */
}
.services-intro {
  text-align: center;
  position: relative;
  padding-bottom: 60px;
}
.services-intro .logo-mark-bg {
  font-size: 100px;
  font-family: serif;
  color: #f0f5f9;
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-style: italic;
  opacity: 0.7;
}
.services-intro .intro-sub,
.services-intro .intro-main {
  position: relative;
  z-index: 2;
  font-family: "Shippori Mincho", serif;
}
.services-intro .intro-sub {
  font-size: clamp(
    0.875rem,
    0.786971831rem + 0.3755868545vw,
    1.125rem
  );
  margin-bottom: 15px;
}
.services-intro .intro-main {
  font-size: clamp(
    1.25rem,
    0.985915493rem + 1.1267605634vw,
    2rem
  );
  font-weight: 400;
}
.services-intro .intro-main .blue {
  font-weight: 600;
}
.services-content {
  position: relative;
  background: url("../img/service-bg.png") no-repeat center center;
  background-size: cover;
  padding: 100px 0;
}
@media (max-width: 767px) {
  .services-content {
    padding: 50px 0;
  }
}
@media (max-width: 767px) {
  .services-content {
    background: url("../img/service-bg-sp.png") no-repeat top center;
    background-size: 120%;
  }
}
.services-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 40, 80, 0.6);
  z-index: 1;
}
@media (max-width: 767px) {
  .services-content::before {
    background: none;
  }
}
.services-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.services-title {
  text-align: center;
  color: #fff;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(
    1.5rem,
    1.323943662rem + 0.7511737089vw,
    2rem
  );
  margin-bottom: 50px;
  letter-spacing: 0.2em;
  font-weight: 400;
}
@media (max-width: 767px) {
  .services-title {
    margin-bottom: 30px;
  }
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px 25px;
  text-align: center;
  transition: transform 0.3s ease;
}
@media (max-width: 767px) {
  .service-card {
    padding: 20px;
  }
}
.service-card h4 {
  color: #004c7d;
  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  margin-bottom: 15px;
  position: relative;
}
.service-card p {
  font-size: 16px;
  line-height: 1.67;
  color: #333;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}
@media (max-width: 767px) {
  .service-card p {
    line-height: 1.6;
  }
}

.message {
  padding: 70px 0;
  position: relative;
}
.message:after {
  content: "";
  position: absolute;
  height: 70%;
  width: 100%;
  background-image: url(../img/bg.png);
  background-size: cover;
  bottom: 0;
}
.message_inner {
  display: flex;
  width: 80%;
  margin: 0 auto;
  max-width: 1280px;
  justify-content: space-between;
  align-items: center;
  padding: 4%;
  background-color: #fff;
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .message_inner {
    flex-direction: column;
    width: 90%;
    padding: 5%;
  }
}
.message_inner .image {
  flex-basis: 40%;
}
.message_inner .text {
  flex-basis: 50%;
}
@media (max-width: 767px) {
  .message_inner .text {
    margin-top: 30px;
  }
}
.message_inner .text .daihyo_name {
  margin-bottom: 10px;
}
.message_inner .text .daihyo_name .yakushoku {
  font-size: 14px;
  color: #004c7d;
  font-weight: 600;
  display: block;
  position: relative;
  z-index: 2;
  text-align: left;
}
.message_inner .text .daihyo_name .name {
  font-size: 28px;
  font-weight: 400;
  position: relative;
  z-index: 2;
  text-align: left;
}
.message_inner .text .daihyo_name .name span {
  margin-left: 10px;
  font-size: 12px;
  color: #004c7d;
  font-weight: 600;
}
.message_inner .text .daihyo_name .bg-text {
  left: 0;
  transform: none;
  font-size: clamp(
    3rem,
    2.1857394366rem + 3.4741784038vw,
    5.3125rem
  );
}
@media (max-width: 767px) {
  .message_inner .text .daihyo_name .bg-text {
    top: 0;
  }
}
.message_inner .message_text {
  font-size: clamp(
    1rem,
    0.9559859155rem + 0.1877934272vw,
    1.125rem
  );
  line-height: 1.63;
}

.company {
  padding: 123px 0;
  /* スマホ用の調整（画面が狭いときは縦並びにする） */
}
.company .company-title {
  color: #004c7d;
  font-size: clamp(
    1.5rem,
    1.1478873239rem + 1.5023474178vw,
    2.5rem
  );
}
.company .bg-text {
  top: -53px;
}
.company .company_inner {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
  max-width: 1280px;
}
@media (max-width: 767px) {
  .company .company_inner {
    flex-direction: column;
  }
}
.company .company_inner .map {
  flex-basis: 47%;
}
.company .company_inner .map iframe {
  aspect-ratio: 1/1;
}
.company .company_inner .address {
  text-align: left;
  flex-basis: 47%;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(
    1rem,
    0.9559859155rem + 0.1877934272vw,
    1.125rem
  );
  line-height: 1.875;
  /* 見出し部分(左側) */
  /* 内容部分(右側) */
  /* アクセス情報の補足 */
}
.company .company_inner .address .profile-list {
  display: grid;
  grid-template-columns: 85px 1fr; /* PC時は見出し160px、内容は残り全部 */
  gap: 24px 16px;
}
@media (max-width: 767px) {
  .company .company_inner .address .profile-list {
    line-height: 1.5;
    gap: 10px;
  }
}
.company .company_inner .address .profile-list dd {
  margin: 0;
}
.company .company_inner .address .access {
  margin-top: 8px;
}
@media (max-width: 600px) {
  .company .profile-list {
    grid-template-columns: 1fr; /* 1列にする */
    gap: 8px;
  }
}

.flow .flow_inner {
  background-image: url(../img/bg.png);
  background-color: #e5f5ff;
  /* 見出し */
  /* 説明文 */
  /* スマホ表示（900px以下） */
}
@media (max-width: 767px) {
  .flow .flow_inner .bg-text-header {
    margin-bottom: 0;
  }
}
.flow .flow_inner .bg-text {
  background: linear-gradient(to bottom, rgba(226, 239, 247, 0.8392156863) 73%, rgba(244, 247, 249, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
@media (max-width: 767px) {
  .flow .flow_inner .bg-text {
    top: -20px;
  }
}
.flow .flow_inner .flow-title {
  color: #004c7d;
  font-size: clamp(
    1.5rem,
    1.1478873239rem + 1.5023474178vw,
    2.5rem
  );
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .flow .flow_inner .flow-title {
    padding-top: 20px;
  }
}
.flow .flow_inner .flow-container {
  background-color: #eef7ff;
  padding: 60px 20px;
}
.flow .flow_inner .flow-grid {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}
.flow .flow_inner .step-item {
  background: #fff;
  padding: 40px 20px 30px;
  text-align: center;
  flex: 1;
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column; /* 中身を縦に並べる */
  align-items: center; /* 中身を中央寄せにする */
  position: relative;
}
.flow .flow_inner .step-item:not(:last-child)::after {
  content: "▶";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  color: #1a4a7a;
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 10;
}
@media (max-width: 900px) {
  .flow .flow_inner .step-item:not(:last-child)::after {
    content: "▼"; /* 下向き矢印に書き換え */
    top: auto; /* PC版の縦中央設定を解除 */
    right: auto; /* PC版の右側配置を解除 */
    bottom: -35px; /* ボックスの下端から35pxの位置に配置 */
    left: 50%; /* 横方向の基準を中央に */
    transform: translateX(-50%); /* 自身の幅の半分戻して完全な中央に */
  }
}
.flow .flow_inner .step-num {
  display: block;
  font-size: 1.8rem;
  color: #1a4a7a;
  margin-bottom: 10px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(
    1.875rem,
    1.6549295775rem + 0.9389671362vw,
    2.5rem
  );
}
.flow .flow_inner .step-icon {
  width: 73px;
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.flow .flow_inner .step-item h3 {
  font-size: clamp(
    1.125rem,
    1.0809859155rem + 0.1877934272vw,
    1.25rem
  );
  font-weight: 400;
}
.flow .flow_inner .step-item p {
  line-height: 1.6;
  text-align: left;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .flow .flow_inner .flow-grid {
    flex-direction: column; /* 縦並び */
    gap: 60px;
    max-width: 400px;
  }
  .flow .flow_inner .step-arrow {
    transform: rotate(90deg); /* 右向き矢印を回転させて下向きに */
    margin: -10px 0;
    justify-content: center;
  }
}

.contact {
  background-image: url(../img/bg.png);
  background-size: cover;
  padding: 150px 0;
}
@media (max-width: 767px) {
  .contact {
    padding: 100px 0;
  }
}
.contact .bg-text {
  background: linear-gradient(to bottom, rgba(226, 239, 247, 0.8392156863) 73%, rgba(244, 247, 249, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
}
.contact .contact-title {
  color: #004c7d;
  font-size: clamp(
    1.5rem,
    1.1478873239rem + 1.5023474178vw,
    2.5rem
  );
  position: relative;
  z-index: 2;
}
.contact .contact_text {
  font-size: clamp(
    0.875rem,
    0.8309859155rem + 0.1877934272vw,
    1rem
  );
  margin-bottom: 30px;
}
@media (max-width: 767px) {
  .contact .contact_text {
    width: 90%;
    margin: 20px auto 30px;
  }
}
.contact .contact-form {
  width: 90%;
  margin: 0 auto;
  max-width: 950px;
}
.contact .contact-form .smf-item__col--label {
  text-align: left;
}
.contact .contact-form .required .smf-item__col--label .smf-item__label .smf-item__label__text::after {
  content: "必須";
  color: #fff;
  background-color: #004c7d;
  margin-left: 10px;
  padding: 2px 8px;
}
.contact .contact-form .smf-placeholder {
  text-align: left;
}
.contact .contact-form .smf-action .smf-button-control__control {
  background-color: #004c7d;
  background-image: none;
  color: #fff;
  border: none;
}

.privacy-policy {
  width: 90%;
  margin: 0 auto 50px;
  max-width: 1280px;
}
/*# sourceMappingURL=style.css.map */