@charset "UTF-8";
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  -moz-column-gap: 4px;
  column-gap: 4px;
  height: 40px;
  width: 180px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn--fill {
  background-color: #175FA5;
  color: #ffffff;
}

.btn--fill p {
  color: #ffffff;
}

.btn--fill:hover {
  background-color: #FFF; 
  color: #2E4A7D; 
}

.btn--fill:hover i,
.btn--fill:hover p {
  color: #2E4A7D;
}

.btn--fill:hover {
  background-color: #FFF; 
  color: #2E4A7D;
}

h1 {
  font-size: 36px;
}
@media screen and (max-width:599px) {
  h1 {
    font-size: 24px;
  }
}

h2 {
  font-size: 32px;
  font-weight: 500;
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: #2E4A7D;
}
@media screen and (max-width:599px) {
  p {
    font-size: 14px;
    line-height: 2;
  }
}

li {
  list-style: none;
}

section {
  padding-top: 114px;
  padding-bottom: 114px;
}
@media screen and (max-width:599px) {
  section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

html {
  scroll-behavior: smooth;
}

body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html, body {
  width: 100%;
  overflow-x: hidden;

}

main{
  flex:1;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}
@media screen and (max-width:1024px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media screen and (max-width:599px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.page-title {
  text-align: center;
  margin-bottom: 56px;
  color:#2E4A7D;
}
@media screen and (max-width:599px) {
  .page-title {
    margin-bottom: 36px;
  }
}

.page-description {
  display: flex;
  justify-content: center;
  text-align: center;

}
@media screen and (max-width:599px) {
  .page-description {
    line-height: 2;
    text-align: left;
  }
}

.section-head {
  text-align: center;
  padding-bottom: 40px;
  letter-spacing: 0.5rem;
  font-weight: bold;
  font-family: serif;
  color: #2E4A7D;
}

@media screen and (max-width:599px) {
  .section-head {
    font-size: 21px;
    padding-bottom: 24px;
    letter-spacing: 0;
  }
}

/* PC版（デフォルト）: 改行を非表示にする */
.sp-br {
    display: none;
}

/* SP版: 改行を表示にする */
@media screen and (max-width: 600px) {
    .sp-br {
        display: block; /* または display: inline; */
    }
}

.top-bar {
  background-color: #E9F5E5;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  padding-right: 74px;
}
.top-bar-text {
  color: #2E4A7D;
}
.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 4px;
}
@media screen and (max-width:1024px){
  .top-bar {
    display: none;
  }
}


.top-bar p {
  margin: 0;
}

.top-bar-contact i {
  color: #2E4A7D; /* アイコンの色を白に変更 */
}

.header {
  background-color: #F6F7F5;
  display: flex;
  align-items: center;
  width: 100%;
  height: 72px;
  justify-content: space-between;
}
.header-menu {
  display: flex;
  gap: 24px;
  padding-right: 88px;
}
@media screen and (max-width:1024px){
  .header {
    display: none;
  }
}

/* PC用ヘッダーメニューホバーアニメーション */
.header-menu a {
  position: relative;
  transition: color 0.3s ease-in-out;
  padding-bottom: 5px; 
  display: inline-block; 
  text-decoration: none; 
  color: #2E4A7D; 
}
.header-menu a::after {
  content: '';
  position: absolute;
  bottom: 0; 
  left: 0;
  
  width: 0;
  height: 2px; 
  background-color: #1dc300; 
  /* 線のスライドインアニメーション（トランジション）を設定 */
  transition: width 0.3s ease-out;
}

/* リンクにホバーした時のスタイル */
.header-menu a:hover {
  color: #1dc300; /* ホバー時にテキストの色も変更（任意） */
}

/* リンクにホバーした時に下線を表示（幅を100%にする） */
.header-menu a:hover::after {
  width: 100%; /* 幅を親要素の100%にしてスライドインさせる */
}


.logo-img {
  width: 112px;
  height: auto;
  padding-left: 32px;
}

/* fade-styles.css */
.hamburger-fade {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  top: auto;
  right: auto;
}
@media screen and (min-width:1025px) {
  .hamburger-fade {
    display: none;
  }
}

.hamburger-fade__wrapper {
  position: relative;
  width: 32px;
  height: 20px;
  margin: 20px auto;
}
@media screen and (min-width:1025px) {
  .hamburger-fade__wrapper {
    display: none;
  }
}

.hamburger-fade__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #059C00;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-fade__line:nth-child(1) {
  top: 0;
}

.hamburger-fade__line:nth-child(2) {
  top: 9px;
}

.hamburger-fade__line:nth-child(3) {
  top: 18px;
}

.hamburger-fade.active .hamburger-fade__line {
  background-color: #fff;
}

.hamburger-fade.active .hamburger-fade__line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-fade.active .hamburger-fade__line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.hamburger-fade.active .hamburger-fade__line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  visibility: hidden;
  z-index: 900;
}

.nav-fade__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #059C00;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-fade.active {
  visibility: visible;
}

.nav-fade.active .nav-fade__bg {
  opacity: 1;
}

.nav-fade__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 5vh 10vw;
}

.nav-fade__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-fade__item {
  position: relative;
  margin-bottom: 6vh;
  padding-left: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
@media screen and (max-width:1024px) {
  .nav-fade__item{
    margin-bottom: 48px;
  }
}

.nav-fade.active .nav-fade__item {
  opacity: 1;
  transform: translateY(0);
}

.nav-fade.active .nav-fade__item:nth-child(1) {
  transition-delay: 0.2s;
}

.nav-fade.active .nav-fade__item:nth-child(2) {
  transition-delay: 0.3s;
}

.nav-fade.active .nav-fade__item:nth-child(3) {
  transition-delay: 0.4s;
}

.nav-fade.active .nav-fade__item:nth-child(4) {
  transition-delay: 0.5s;
}

.nav-fade__number {
  position: absolute;
  left: 0;
  color: #666;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
}

.nav-fade__link {
  display: inline-block;
  color: #fff;
  font-size: 32px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-fade__link:hover {
  color: #4a90e2;
}

.nav-fade__info {
  margin-top: auto;
  padding-left: 60px;
  color: #666;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.6s;
}

.nav-fade.active .nav-fade__info {
  opacity: 1;
  transform: translateY(0);
}

.nav-fade__address,
.nav-fade__tel {
  margin: 5px 0;
}

@media (max-width: 768px) {
  .nav-fade__link {
    font-size: 24px;
  }
  .nav-fade__item {
    padding-left: 40px;
    margin-bottom: 3vh;
  }
  .nav-fade__info {
    padding-left: 40px;
  }
}
.header-sp {
  display: none; /* 初期状態では非表示 */
}
@media screen and (max-width:599px) {
  .header-sp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 72px;
    background-color: #F6F7F5;
    padding: 0 20px;
  }
}

.logo-img-sp {
  width: 112px;
  height: auto;
}

@media screen and (max-width:1024px) {
  .hum {
    /* モバイルヘッダーの右端に配置 */
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
  }
}
@media screen and (min-width:1025px) {
  .hum {
    display: none;
  }
}

.footer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding: 0;
  margin: 0;
}
.footer-inner {
  display: flex;
  width: 100%;
  max-width: none;
}
@media screen and (max-width:599px) {
  .footer-inner {
    display: none; /* モバイルではPC版フッターを非表示 */
  }
}
.footer-left {
  background: #E9F5E5;
  padding: 40px;
  flex: 3;
  box-sizing: border-box;
}
.footer-left .footer-logo {
  width: 150px;
  margin-bottom: 20px;
}
.footer-left .footer-address {
  margin-bottom: 20px;
  gap: 8px;
  line-height: 1.6;
  color: #2E4A7D;
}
.footer-left .footer-copy {
  text-align: right;
}
.footer-right {
  flex: 2;
  box-sizing: border-box;
  background: #E9F5E5;
  color: #ffffff;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-right .footer-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
  color: #2E4A7D;
}
@media screen and (max-width:1024px) {
  .footer-left,
  .footer-right {
    flex: 1; /* 左右を同じ比率にする */
    padding: 20px; /* 必要に応じてパディング調整 */
  }
}
.footer-sp {
  display: none;
}
@media screen and (max-width:599px) {
  .footer-sp {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #E9F5E5;
    padding: 40px 20px 40px;
    box-sizing: border-box;
  }
}
.footer-logo-sp {
  width: 138px;
  height: auto;
  margin-bottom: 40px;
}
.footer-nav-sp {
  width: 100%;
  margin-bottom: 40px;
  text-align: left;
}
.footer-menu-sp {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 0;
  margin-left: 40px;
  list-style: none;
  color: #2E4A7D;
}
.footer-menu-sp a {
  color: inherit;
  text-decoration: none;
}
.footer-copy-sp {
  text-align: center;
  color: #2E4A7D;
  margin-bottom: 16px;
}


/* ------------ ヒーロー -------------------------*/
.hero {
  background-image: url(../img/mainvisual.webp);
  background-size: cover;
  background-position: center;
  width: 100%;
  height: calc(100vh - 72px - 72px);
}
@media screen and (min-width:600px) and (max-width:1024px) {
  .hero {
    background-position: 65% center; /* ★ 画像を左に寄せる */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* ★ コンテンツを左に寄せる */
    height: 100vh;
    padding-left: 5%; /* ★ 任意の左余白を設定 */
  }
  
}

@media screen and (max-width:599px) {
  .hero {
    background-position: 70%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 270px;
    padding-left: 16px;
    text-align: left;
  }
}
.hero-title {
  font-size: 56px;
  line-height: 1.7;
}

@media screen and (min-width:1025px) {
  .hero-title {
    padding: 240px 0 10px 168px;
  }
}
@media screen and (max-width:1024px) {
  .hero-title {
    font-size: 56px;
    line-height: 2;
    margin-bottom: 10px;
  }
}
@media screen and (max-width:599px) {
  .hero-title {
    font-size: 21px;
    line-height: 2;
    margin-bottom: 10px;
  }
}
.hero-text {
  font-size: 24px;
}
@media screen and (min-width:1025px) {
  .hero-text {
    padding-left: 168px;
  }
}
@media screen and (max-width:599px) {
  .hero-text {
    font-size: 11px;
    line-height: 2.5;
  }
}
/* タブレットサイズ（600px〜1024px）のとき */
@media screen and (min-width:600px) and (max-width:1024px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直方向の中央寄せ */
    align-items: center;     /* 横方向も中央寄せ（必要なら） */
    height: 100vh; /* 画面いっぱいに広げる（必要な場合） */
  }

  .hero-title {
    padding: 0; /* 上下余白をリセット */
    font-size: 48px;
    line-height: 1.5;
  }

  .hero-text {
    margin-top: 16px; /* タイトルとの間隔を調整 */
    font-size: 20px;
  }
}
.bg-1, .bg-2, .bg-3 {
  background-color: rgba(225, 248, 225, 0.7);
  padding: 8px 8px;
  font-weight: 600;
  color: #2E4A7D;
}

.detail-button {
  display: inline-block;
  color: white;
  text-decoration: none;
  width: 180px;
  height: 56px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  background-color: #175FA5;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.about-text{
  text-align: center;
}

@media screen and (max-width:599px) {
  .about-text{
    text-align: left;
  }
}
/*---------------- サービス ----------------------------*/
.service {
  background-color: #FBFFF8;
}
.service-description {
  margin-bottom: 64px;
  min-height: 140px;
  width: 500px;
}
@media screen and (max-width:1024px) {
  .service-description {
    width: 100%;
    min-height: auto;
    margin-bottom: 40px;
  }
}
.service-block {
  width: 500px;
  overflow: hidden;
  background: #2E4A7D;
  margin-bottom: 30px;
}
@media screen and (max-width:1024px) {
  .service-block {
    width: 100%;
  }
}
.service-image {
  position: relative;
}
.service img {
  width: 100%;
  display: block;
}
.service-label {
  font-size: 27px;
  padding: 6px 8px;
  position: absolute;
  top: 95%;
  left: 16px;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.1);
}
.service .general-affairs-color {
  background-color: #059C00;
}
.service .finance-color {
  background-color: #012ED1;
}
.service .sales-color {
  background-color: #D10000;
}
.service-content {
  line-height: 1.7;
  padding: 12px;
}
.service-text {
  color: #ffffff;
  padding: 16px;
  padding-left: 148px;
}
@media screen and (max-width:599px) {
  .service-text {
    padding: 24px; /* SP版のパディングを統一 */
  }
}
.service-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  padding-top: 40px;
}

@media screen and (max-width:599px) {
  .service-wrapper {
    flex-direction: column;
    gap: 24px;
  }
}
@media screen and (min-width:1025px) {
  .service .service-left, .service .service-right {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width:599px) {
  .service .service-left, .service .service-right {
    display: none; /* SP版では非表示 */
  }
}



.service-button-wrapper {
  text-align: center;
  width: 500px;
  margin-top: 80px;
}
@media screen and (max-width:599px) {
  .service-button-wrapper {
    margin-top: 24px;
  }
}

/* .sales{
  margin-bottom: 172px;
} */

.pc-only {
  display: flex; /* PC版は表示 */
}
@media screen and (max-width:599px) {
  .pc-only {
    display: none; /* SP版では非表示 */
  }
}

.sp-only {
  display: none; /* PC版では非表示 */
}
@media screen and (max-width:599px) {
  .sp-only {
    display: flex; /* SP版では表示 */
    flex-direction: column; /* SP版は縦並び */
  }
}
.sp-only .service-block {
  width: 100%;
}
.sp-only .service-text {
  padding: 24px;
}
.sp-only .service-button-wrapper {
  width: 100%;
  margin-top: 24px;
}
.sp-only .service-description {
  width: 100%;
  min-height: auto;
}
.sp-only .service-label {
  bottom: -20px;
  left: 10px;
  top: auto;
}
/* -----------------こんなお困り事ありませんか -----------------*/
.problems{
  background: #f9faf9;
}
.problem {
  background-color: #FFFFFF;
}
.problem-title {
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 24px;
  color: #2E4A7D;
}
@media screen and (max-width:1024px) {
  .problem-title{
    font-size: 19px;
  }
}
.problem-text {
  padding-bottom: 80px;
  text-align: center;
}
@media screen and (max-width:599px) {
  .problem-text {
    padding-bottom: 40px;
  }
}

.problem-left,
.problem-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;  
}
.problem-block {
  /* background-color: #F7FAFF; */
  background-color: #f3f7f0;
  
  width: 520px;
  height: 600px;
  padding: 46px;
  margin-bottom: 80px;
}
@media screen and (max-width:1024px) {
  .problem-block {
    width: 95%;
    padding: 24px;
  }
}
@media screen and (max-width:599px) {
  .problem-block {
    width: 100%;
    padding: 24px;
    margin-bottom: 40px;
  }
}
.problem-wrapper {
  display: flex;
  justify-content: space-between;
}


@media screen and (max-width:599px) {
  .problem-wrapper {
    flex-direction: column;
    gap: 24px;
  }
}
.problem-image {
  display: flex;
  justify-content: center;
  padding-bottom: 32px;
  max-width: 100%;
  height: auto;
}
@media screen and (max-width:1024px) {
.problem-image  {
  width: 90%;
  }
}
.problem__description {
  padding-bottom: 40px;
  height: 80px;
}
@media screen and (max-width:1024px) {
.problem__description{
  max-width: 388px;
  width: 100%;

  }
}
@media screen and (max-width:599px) {
  .problem__description {
    width: 300px;
    min-height: auto;
    padding-bottom: 24px;
  }
}
.problem__solution {
  background-color: #FFFFFF;
  padding: 24px 16px 16px 24px;
  width: 428px;
  height: 150px;
}
@media screen and (max-width:1024px) {
  .problem__solution {
    max-width: 100%;
    width: 408px;
  }
}
@media screen and (max-width:599px) {
  .problem__solution {
    max-width: 100%;
    min-height: auto;
    padding: 16px;
  }
}
/* トップページ（ご利用の流れセクション ）*/
.step {
  background-color: #fff;
}
.step-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
@media screen and (max-width:599px) {
  .step-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}
.step-box {
  background-color: #2E4A7D;
  width: 352px;
  height: 210px;
  position: relative;
  padding: 24px 28px;
  color: #ffffff;
  width: 100%;
}
.step-num {
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.step-num strong {
  font-size: 28px;
  display: block;
}
.step-title {
  font-size: 24px;
  font-weight: 500;
  padding-bottom: 16px;
}
.step-text {
  font-size: 16px;
  line-height: 1.6;
  color: #FFF;
}
.step-description {
  padding-bottom: 80px;
  text-align: center;
}

.step-arrow {
  font-size: 32px;
  color: #0E4374;
  padding-right: 12px;
}
@media screen and (max-width:599px) {
  .step-arrow {
    transform: rotate(90deg);
    padding: 10px 0;
  }
}
.step-btn {
  margin-top: 80px;
  text-align: center;
}

/* -------------------導入事例------------------------ */
.case {
  padding-top: 0;
}
.case-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
@media screen and (max-width:599px) {
  .case-wrapper {
    flex-direction: column;
    gap: 24px;
  }
}
.case-block {
  width: 520px;
  height: 480px;
  background-color: #f3f7f0;
  padding: 48px;
}

@media screen and (max-width:1024px) {
  .case-block {
    width: calc(50% - 20px); /* 横並びの場合は左右均等に */
    padding: 24px;           /* 内側の余白も少し減らす */
    box-sizing: border-box;   /* パディング込みで幅計算 */
  }
}

@media screen and (max-width:599px) {
  .case-block {
    width: 100%;
    height: auto;
  }
}
.case-text {
  text-align: center;
  padding-bottom: 80px;
}
@media screen and (max-width:599px) {
  .case-text {
    padding-bottom: 40px;
  }
}
.case-item {
  margin-bottom: 24px;
}
.case-btn {
  margin-top: 80px;
  text-align: center;
}
.case .pc-only {
  display: flex; /* PC版では表示 */
}
@media screen and (max-width:599px) {
  .case .pc-only {
    display: none; /* SP版では非表示 */
  }
}
.case .sp-only {
  display: none; /* PC版では非表示 */
}
@media screen and (max-width:599px) {
  .case .sp-only {
    display: flex; /* SP版では表示 */
    flex-direction: column; /* 縦並びにする */
    gap: 24px; /* SP版の隙間を調整 */
  }
}

.top-page-case-section {
  padding-top: 120px;
}

.label.industry {
  background-color: #6F8CA6;
}

.label {
  font-size: 16px;
  margin-bottom: 8px;
  display: inline-block;
  line-height: 1.6;
  padding: 1px 8px;
  color: #ffffff;
  border-radius: 4px;
}
.label.problem {
  background: #D10000;
}
.label.solution {
  background: #012ED1;
}

/* 会社概要 */

.company-title {
  font-size: 24px;
  margin-bottom: 24px;
}

.company-info {
  margin-bottom: 24px;
}

.company-title {
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: bold;
  color: #333;
}

.campany-page-name{
  padding-top: 24px;
}

@media screen and (max-width: 599px) {
  .campany-page-name{
    padding-bottom: 32px;
    margin-left: 24px;
  }
}

@media screen and (max-width: 599px) {
    /* 長文の段落（90%幅で中央配置、中身は左揃え） */
    .campany-page-text:first-of-type {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        padding-right: 0;
    }
    
    /* 代表者名の段落（テキスト自体を中央揃えにする） */
    .campany-page-text:last-of-type {
        /* 幅の制限は不要、テキスト自体を中央に寄せる */
        text-align: center; 
    }
}

.affiliation-company {
  margin-top: 0;
  padding-top: 0;
}
.affiliation {
  margin-top: 60px;
}

.affiliation-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}

.affiliation-table th,
.affiliation-table td {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
}

.affiliation-table th {
  width: 35%;
  background-color: #f0f7ec; /* ロゴに合わせた淡いグリーン */
  font-weight: bold;
  color: #2f5d1e;
  text-align: left;
}

.affiliation-table td {
  background-color: #fff;
  color: #444;
}

/*  */
/* 所属団体テーブル（スマホ対応） */
.affiliation-table {
  width: 100%;
  border-collapse: collapse;
}

.affiliation-table th,
.affiliation-table td {
  border: 1px solid #ccc;
  padding: 12px 16px;
  text-align: left;
}

/* スマホサイズでの見やすさ調整 */
@media screen and (max-width: 599px) {
  .affiliation-table,
  .affiliation-table tbody,
  .affiliation-table tr,
  .affiliation-table th,
  .affiliation-table td {
    display: block;
    width: 100%;
  }

  .affiliation-table tr {
    margin-bottom: 16px;
    border-bottom: 2px solid #ccc;
    /* padding-bottom: 8px; */
  }

  .affiliation-table th {
    background-color: #f0f0f0;
    font-weight: bold;
    padding: 8px 0;
  }

  .affiliation-table td {
    padding: 4px 0 8px 0;
  }
}
/* 所属団体テーブル（スマホ対応の見やすさ調整） */
@media screen and (max-width: 599px) {
  .affiliation-table th {
    background-color: #edf4ee; /* ← グレーから薄い緑に変更 */
    color: #2f5d34; /* 文字色を落ち着いた緑に */
    font-weight: bold;
    padding: 10px 16px; /* 左右に余白を追加 */
    border-radius: 4px 4px 0 0;
  }

  .affiliation-table td {
    padding: 8px 16px; /* ← 左に余白を追加 */
    background-color: #ffffff;
  }

  .affiliation-table tr {
    margin-bottom: 16px;
    border: 1px solid #d8e4da;
    border-radius: 8px;
    overflow: hidden;
  }
}


/*  */

.affiliation-table tr:last-child th,
.affiliation-table tr:last-child td {
  border-bottom: none;
}/* @media (max-width: 768px) {
.iframe{
  width: 80%;
}
} */
.price {
  margin-top: 16px;
}
/* ------------------ニュース -----------------------*/
.news {
  background-color: #f9faf9;
  padding: 120px 0;
}
.news .pc-only {
  display: block;
}
@media screen and (max-width:599px) {
  .news .pc-only {
    display: none;
  }
}
.news .sp-only {
  display: none;
}
@media screen and (max-width:599px) {
  .news .sp-only {
    display: block;
    text-align: center;
    margin-top: 40px;
  }
}
.news-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 96px;
}
@media screen and (max-width:599px) {
  .news-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
.news-left {
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media screen and (max-width:599px) {
  .news-left {
    width: 100%;
    align-items: center;
    text-align: center;
  }
}
.news-right {
  flex: 1;
  width: 100%;
}
.news-list {
  max-width: 560px;
  width: 100%;
  margin: 0;
  padding: 0;
}
.news-item {
  display: flex;
  border-bottom: 1px solid #ccc;
  padding: 24px 0;
}
.news-date{
  margin-right: 24px;
}
@media screen and (max-width:599px) {
  .news-item {
    flex-direction: column;
    padding: 12px 0;
  }
}
.news-item .news-date {
  width: 120px;
  color: #2E4A7D;
}
@media screen and (max-width:599px) {
  .news-item .news-date {
    width: auto;
    margin-bottom: 4px;
  }
}
.news-item .news-description {
  flex: 1;
  color: #2E4A7D;
}
@media screen and (max-width:599px) {
  .news-item .news-description {
    flex: auto;
  }
}


/* ---------------------お問い合わせ------------------------ */
.contact {
  background-color: #F6F7F5;
  text-align: center;
  padding: 60px 20px;
  color: #2E4A7D;
}
.contact-wrapper {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  align-items: center;
}
.contact-label {
  margin-bottom: 8px;
}
.contact-text {
  margin-bottom: 30px;
}
.contact-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-tel {
  border-bottom: 1px solid #2E4A7D;
  border-top: 1px solid #2E4A7D;
  display: flex;
  width: 320px;
  margin-bottom: 8px;
  align-items: center;
  gap: 16px;
}
.contact-tel i {
  font-size: 2rem;
  line-height: 1;
}
.contact-number {
  font-size: 2rem;
  font-weight: bold;
  padding-top: 8px;
  padding-bottom: 8px;
}
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-direction: column;
}
.contact-buttons .btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  width: 232px;
  height: 56px;
}

.contact-buttons .btn.btn-line {
  background-color: #00B900;
}


.contact-buttons .btn.btn-line {
  background-color: #00B900;
  color: #ffffff;
  border: 1px solid #00B900; 
}


.contact-buttons .btn.btn-line:hover {
  background-color: #ffffff; 
  color: #00B900;           
}

.contact-buttons .btn.btn-line:hover i {
  color: #00B900;
}

.finance, .sales {
  background: #FBFFF8;
}
/* --------------------------サービスページ------------------ */
.service-page-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width:599px) {
  .service-page-inner {
    flex-direction: column;
  }
}

@media screen and (max-width:599px) {
  .service-page-text-content {
    order: 2;
    margin-top: 24px;
  }
}

.service-page-details {
  font-size: 24px;
  margin-bottom: 10px;
  color: #2E4A7D;
  font-weight: 600;
}
@media screen and (max-width:599px) {
  .service-page-details {
    text-align: center;
    font-size: 20px;
  }
}

.service-page-work {
  font-size: 24px;
  margin-bottom: 16px;
  color: #2E4A7D;
  font-weight: 600;
}
@media screen and (max-width:599px) {
  .service-page-work {
    text-align: center;
    font-size: 20px;
  }
}



.service-page-text {
  width: 450px;
  margin-bottom: 26px;
}
@media screen and (max-width:599px) {
  .service-page-text {
    width: 100%;
  }
}

.service-page-img {
  width: 570px;
  height: auto;
}
@media screen and (max-width:1024px) {
  .service-page-img {width: 50%;
    height: auto;}
}
@media screen and (max-width:599px) {
  .service-page-img {
    width: 100%;
  }
}

.service-page-box {
  width: 450px;
  height: 168px;
  background: #2E4A7D;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width:599px) {
  .service-page-box {
    width: 100%;
    height: auto;
    padding: 16px;
  }
}

.service-page-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}
@media screen and (max-width:599px) {
  .service-page-menu {
    grid-template-columns: 1fr;
  }
}

.benefit-description {
  text-align: center;
  margin-bottom: 76px;
}

.benefit-inner {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width:599px) {
  .benefit-inner {
    flex-direction: column;
    gap: 40px;
  }
}

.benefit-heading {
  font-size: 24px;
  text-align: center;
  padding-bottom: 24px;
}

.benefit-box {
  width: 340px;
  height: 400px;
  background: #F7FAFF;
  padding: 32px;
}
@media screen and (max-width:599px) {
  .benefit-box {
    width: 100%;
  }
}

.benefit-img {
  text-align: center;
}

.benefit-image {
  text-align: center;
  padding-bottom: 40px;
}

.general-affairs{
  background: #FFF;
}

.general-affairs .service-page-inner {
  flex-direction: row-reverse; /* 画像を左に、テキストを右に */
}
/* スマホでは総務事務も縦並びに戻す */
@media screen and (max-width: 599px) {
  .general-affairs .service-page-inner {
    flex-direction: column !important;
  }
}


/* 導入効果セクション */
.effect-wrapper{
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}

.effect-description{
  text-align: center;
  margin-bottom: 48px;
}


.effect-item{
  width: 340px;
}

.effect-title{
  font-size: 24px;
  margin-bottom: 16px;
  color: #2E4A7D;
}
@media screen and (max-width: 599px) {
  .effect-title{
    font-size: 20px;
  }
}


.effect-box{
  background-color: #FBFFF8;
  padding: 32px;
  height: 100%;
}

.effect-img{
  width: 107px;
  height: auto;
  margin-bottom: 16px;
}

.effect-text {
  font-size: 15px;
  line-height: 1.7;
  color: #2E4A7D;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .effect-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .effect-item {
    width: 90%;
  }
}

/* -------------------導入事例-------------------------------- */
.case-page .case-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-top: 60px;
}
@media screen and (max-width:599px) {
  .case-page .case-wrapper {
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
  }
}
.case-page .case-block {
  width: calc(50% - 20px);
  background-color: #F7FAFF;
  padding: 48px;
  height: auto;
}
@media screen and (max-width:1024px) {
  .case-block{
    width: 100%;
    }
  }
@media screen and (max-width:599px) {
  .case-page .case-block {
    width: 100%;
    padding: 24px;
  }
}

.page-step {
  background: #FBFFF8;
  padding: 120px 0;
}
@media screen and (max-width:599px) {
  .page-step {
    padding: 60px 0;
  }
}


.step-page-box {
  width: 1140px;
  margin: 0 auto;
}
@media screen and (max-width:599px) {
  .step-page-box {
    width: 100%;
  }
}

.step-page-num {
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-bottom: 16px;
  text-align: center;
  color: #2E4A7D;
}
@media screen and (max-width:599px) {
  .step-page-num {
    margin-top: 40px;
    margin-bottom: 8px;
  }
}
.step-page-num strong {
  font-size: 28px;
  display: block;
}

.title-area {
  background: #2E4A7D;
  color: #ffffff;
  text-align: center;
  height: 64px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}
@media screen and (max-width:599px) {
  .title-area {
    height: 48px;
  }
}

.step-title {
  padding-bottom: 0;
}
@media screen and (max-width:599px) {
  .step-title {
    font-size: 20px;
  }
}

.step-text {
  padding-top: 24px;
  padding-bottom: 24px;
}
@media screen and (max-width:599px) {
  .step-text {
    padding-top: 24px;
    padding-bottom: 16px;
  }
}

.step-list {
  padding-left: 0;
  margin: 0;
}

.step-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color:#2E4A7D;
}

.step-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #53e481;
  font-weight: bold;
}

.detail-area {
  background: #FFFFFF;
  display: flex;
  height: 300px;
  gap: 64px;
  align-items: flex-start;
  padding-left: 0;
  margin-bottom: 96px;
}
@media screen and (max-width:599px) {
  .detail-area {
    flex-direction: column;
    height: auto;
    gap: 0;
    padding: 0;
    margin-bottom: 40px;
  }
}

@media screen and (max-width:599px) {
  .detail-area img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width:599px) {
  .step-detail {
    padding: 24px;
  }
}

.detail-title {
  margin: 12px 0 16px;
  font-weight: bold;
  color: #2E4A7D;
  font-size: 20px;
}
@media screen and (max-width:1024px) and (min-width:600px) {
  .step-page-box {
    width: 100%; /* 画面幅に応じて調整 */
    margin: 0 auto; /* 中央寄せ */
  }

  .detail-area {
    height: 328px;
  }

  .step-detail {
    padding: 16px 0; /* 横の余白も軽く */
  }

  .detail-area img {
    max-width: 320px; /* タブレット用に縮小 */
    height: auto;
  }
}

.case-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列にする */
  gap: 40px; /* 行と列の隙間 */
}

.about{
  background: #fff;
}

.about-wrapper {
  display: flex;
}
@media screen and (max-width:599px) {
  .about-wrapper {
    flex-direction: column;
  }
}

.campany-page-text {
  width: 700px;
  padding-right: 80px;
}
@media screen and (max-width:599px) {
  .campany-page-text {
    width: 100%;
    line-height: 2;
    margin-bottom: 32px;
  }
}

.campany-list {
  display: grid;
  grid-template-columns: 200px 1fr; /* 左にラベル、右に内容 */
  gap: 12px 24px; /* 行間と列間 */
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 40px;
  background: #FFFFFF;
  border: 1px solid #ddd;
  border-radius: 8px;
}
@media screen and (max-width:599px) {
  .campany-list {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px;
  }
}

@media screen and (max-width:1024px) {
iframe{
  width: 90%;
  display: flex;
  margin: 0 auto;
  }

}

dd, dt {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
  margin: 0;
}

dt {
  font-weight: bold;
  color: #333333;
}

dd {
  color: #555555;
}

dl dt:last-of-type,
dl dd:last-of-type {
  border-bottom: none; /* 最後の行は線を消す */
}

@media screen and (max-width:599px) {
  dt {
    padding-top: 16px;
    font-size: 15px;
    border-bottom: none; /* ラベル側の線は消す */
  }
  dd {
    padding-top: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee; /* dd 側で区切る */
  }
  dd:last-of-type {
    border-bottom: none;
  }
}
@media screen and (max-width:599px) {
  iframe {
    width: 100%;
  }
}

/* よくある質問ページ */

.page-faq .section-head {
  margin-top: 114px;
}

.page-faq .section-head:first-of-type {
  margin-top: 0;
}

.page-faq {
  background: #FBFFF8;
}

.faq-box {
  border: 1px solid #ddd;
  margin-bottom: 48px;
  background: #FFFFFF;
  overflow: hidden;
}

.faq-question {
  padding: 32px;
  cursor: pointer;
  background: #2E4A7D;
  color: #ffffff;
  font-weight: bold;
  position: relative;
}
@media screen and (max-width:599px) {
  .faq-question {
    padding: 24px;
  }
}

/* Chrome / Safari / Edge 対応 */
summary.faq-question::-webkit-details-marker {
  display: none;
}

/* Firefox 対応 */
summary.faq-question {
  list-style: none;
}

.faq-answer {
  padding: 48px;
  border-top: 1px solid #eee;
  line-height: 1.6;
  background: #FFFFFF;
  color: #2E4A7D;
}

.faq-question::after {
  content: "▼";
  position: absolute;
  right: 32px;
  transition: transform 0.3s;
}

details[open] .faq-question::after {
  transform: rotate(180deg);
}

.tel {
  text-align: center;
  font-size: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
}
@media screen and (max-width:599px) {
  .tel {
    font-size: 20px;
    padding-top: 32px;
  }
}
.time {
  text-align: center;
  font-size: 24px;
}
@media screen and (max-width:599px) {
  .time {
    font-size: 20px;
  }
}
.page-contact{
  padding-top: 0;
  background: #f7fafe;
}

.page-answer{
  text-align: center;
}


/* プライバシーポリシー */
.privacy {
  background: #FBFFF8;
  padding: 80px 20px;
}

.privacy .container {
  max-width: 960px;
  margin: 0 auto;
}

.privacy-intro {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #444;
}

.privacy-section {
  margin-bottom: 96px;
}

.privacy-section h2 {
  font-size: 20px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 16px;
  border-left: 4px solid #44617b;
  padding-left: 12px;
  text-align: left;
}

.privacy-section p,
.privacy-section ul {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

.privacy-text {
  justify-self: center;
}

.privacy-section ul {
  list-style: disc;
  padding-left: 20px;
}

.privacy-section ul li {
  margin-bottom: 12px;
}

.privacy-list {
  list-style: none;
  padding-left: 0;
  margin: 16px auto;
  max-width: 500px;
}

.privacy-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  line-height: 1.8;
  font-size: 15px;
  text-align: left; /* 文字は左寄せ */
}

.privacy-list li::before {
  content: "\f00c"; /* Font Awesome のチェック */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #44617b;
}

.error-page {
  text-align: center;
  padding: 100px 20px;
}

.error-code {
  font-size: 100px;
  font-weight: bold;
  color: #44617b;
  margin-bottom: 20px;
}

.error-message {
  font-size: 20px;
  margin-bottom: 30px;
}

.error-links a {
  display: inline-block;
  margin: 10px;
  padding: 12px 24px;
  background: #44617b;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.error-links a:hover {
  background: #2f435a;
}
/*# sourceMappingURL=style.css.map */

/* ベースのボタン */
.detail-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  width: 200px;
  border-radius: 8px;
  background-color: #3eac3a; /* ボタン色 */
  color: #fff;
  border: 2px solid #2f9d00;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ホバー時の反転 */
.detail-button:hover {
  background-color: #fff;
  color: #059C00;
  border: 2px solid #2f9d00;
}

/* お問い合せボタン */
.btn {
  --btn-bg: #2E4A7D;       
  --btn-fg: #ffffff;
  --btn-bg-hover: #ffffff;
  --btn-fg-hover: #2E4A7D;

  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.btn i { font-size: 1.1em; line-height: 1; }

.btn:hover,
.btn:focus-visible {
  background: var(--btn-bg-hover);
  color: var(--btn-fg-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  border: 2px solid var(--btn-bg);
}

/* 個別ニュースページ */

.pege-title-section{
  padding-bottom: 0;
}

.single-news-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-news{
  padding-top: 0;
  padding-bottom: 0;
}

.single-news {
  max-width: 960px;
  margin: 0 auto;
  
  border-bottom: 1px solid #eee;
}

.single-news-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2E4A7D;
  border-bottom: 2px solid #012ED1;
  padding-bottom: 10px;
}

.single-news-area{
  background: #FBFFF8;
  padding: 80px 0; /* 外枠の余白 */
  margin-top: 30px;
  width: 100%;
}

.single-news-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.single-news-img {
  background: #FFF;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.single-news-img img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.single-news-text,
.single-news-content {
  font-size: 16px;
  line-height: 1.8;
  color: #2E4A7D;
  padding: 40px 30px;
  background: #FFF;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  max-width: 960px;
  margin: 0 auto 30px;
}

.single-news-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}
.single-news-nav a {
  font-size: 14px;
  color: #0066cc;
  text-decoration: none;
}
.single-news-nav a:hover {
  text-decoration: underline;
}

.breadcrumbs {
  margin: 16px 0;
  font-size: 14px;
}

/* 新着情報一覧ページ */
.page-news-wrapper{
    padding-top: 24px;
    padding-bottom: 56px;
}


/* 上へ戻るボタン - 紺色バージョン */
.to-top {
  position: fixed;
  right: clamp(12px, 2vw, 24px);
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: #059C00; /* 落ち着いた紺色 */
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); /* 影を少し強めに */
  z-index: 1000;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.to-top i {
  font-size: 20px;
}

.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:focus-visible {
  outline: 3px solid #60a5fa;
  outline-offset: 2px;
}

@media (hover: hover) {
  .to-top:hover {
    transform: translateY(-2px) scale(1.05); /* ホバー時に少し浮き上がって大きくなる */
    background: #34495e; /* ホバー時の色を少し濃く */
  }
}