@charset "UTF-8";

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0 auto;
  padding: 0;
  color: #1a1a1a;
  max-width: 1280px;
}

/* header */
.header-container {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 2px;
  height: 70px;
  z-index: 5000;
  box-sizing: border-box;
}

.header-logo,
.menu-toggle,
.header-tel,
.header-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  cursor: pointer;
  gap: 8px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1100;
}

.header-logo {
  width: 230px;
}

.header-logo:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transition: background-color 0.5s ease;
}

.menu-toggle {
  width: 70px;
  flex-direction: column;
  gap: 8px;
}

.header-tel {
  width: 180px;
}

.header-contact {
  width: 150px;
  border-radius: 0 0 10px 0;
}

.header-logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo img {
  width: 36px;
  height: auto;
}

.header-logo p {
  font-size: 20px;
  color: #28646e;
  font-weight: bold;
  line-height: 1.5;
}

.nav {
  position: fixed;
  top: 0;
  left: -960px;
  height: auto;
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 10px 0;
  transition: left 0.7s ease;
  z-index: 1000;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 80px 60px 20px;
}

/* navが表示されたとき */
.nav.active {
  left: 0;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #2166727d;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ハンバーガーメニュー */
.menu-toggle span {
  display: block;
  width: 40px;
  height: 2px;
  background-color: #28646e;
  transition: all 0.3s ease;
}

/* MENU押下時1本線に */
.menu-toggle.active span:first-child {
  transform: translateY(10px);
}

.menu-toggle.active span:last-child {
  transform: translateY(0);
}

/* menu text */
.menu-toggle p {
  margin: 0;
  font-size: 10px;
  color: #28646e;
  transition: all 0.3s ease;
  font-family: "Lato", sans-serif;
  font-weight: bold;
  letter-spacing: 1.2px;
}

.nav-section-3col {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav-column-left,
.nav-column-center,
.nav-column-right {
  flex: 30%;
  max-width: 240px;
  display: flex;
  flex-direction: column;
}

.nav-title {
  font-size: 16px;
  font-weight: bold;
  line-height: 20px;
  color: #333;
}

.nav-heading p {
  font-size: 15px;
  color: #444;
  margin: 0;
}

.nav-heading a {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-heading p:hover {
  color: #28b4aa;
}

.nav-icon {
  width: 12px;
  height: 12px;
  background-color: #28646e;
  margin-right: 8px;
}

/* 下線 */
.nav-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 6px 0;
}

/* リスト */
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px 0;
  padding-top: 5px;
}

.nav-link {
  color: #444;
  text-decoration: none;
  font-size: 14px;
}

.nav-link:hover {
  color: #28646e;
}

.nav-list li {
  margin-bottom: 8px;
  color: #444;
  font-size: 16px;
}

.contact-container {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-box {
  background-color: #28646e;
  color: #fff;
  border-radius: 9999px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  min-width: 240px;
  width: 100%;
  box-sizing: border-box;
}

.contact-div {
  text-align: center;
  margin-bottom: 10px;
}

.contact-icon {
  margin-right: 8px;
  font-size: 16px;
}

.contact-text {
  font-size: 18px;
  font-weight: bold;
}

.contact-caption {
  font-size: 12px;
  color: #444;
  margin: 4px 0 12px;
}

.header-tel a,
.header-contact a {
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1.4px;
  text-decoration: none;
  color: #28646e;
}

.menu-toggle:hover,
.header-contact:hover {
  background-color: #28b4aa;
  transition: background-color 0.3s ease;
}

.menu-toggle:hover span {
  background-color: #fff;
}

.menu-toggle:hover p,
.header-contact:hover a {
  color: #fff;
}

.header-contact:hover i {
  color: #28b4aa;
  background-color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.header-container i,
.bottom-header-container i {
  font-size: 12px;
  color: #fff;
  background-color: #28646e;
  border-radius: 50%;
  padding: 4px;
  margin-right: 5px;
}

@media screen and (max-width: 1000px) {
  /* ヘッダー内の他要素を非表示 */
  .header-tel,
  .header-contact {
    display: none;
  }

  .header-container {
    position: static;
  }

  .header-logo {
    background-color: transparent;
    box-shadow: none;
  }

  /* ハンバーガーを右上に固定表示 */
  .menu-toggle {
    position: fixed;
    top: 0;
    right: 0;
    background-color: #fff;
    border-radius: 0 0 0 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    width: 60px;
    height: 60px;
  }

  .menu-toggle span {
    display: block;
    width: 30px;
    height: 1.5px;
    background-color: #28646e;
  }

  .menu-toggle p {
    font-size: 10px;
    text-align: center;
    color: #28646e;
    font-weight: bold;
    margin: 4px 0 0;
  }

  .nav {
    overflow-y: auto;
    height: 100vh;
  }

  .nav-section-3col {
    flex-direction: column;
    gap: 20px;
  }
}

/* スマホ用固定下部ヘッダーの初期表示（常に表示） */
.bottom-header-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1px;
  z-index: 999;
}

.bottom-header-tel,
.bottom-header-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  height: 100%;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: background-color 0.3s ease;
}

.bottom-header-tel:hover,
.bottom-header-contact:hover {
  background-color: #28b4aa;
}

.bottom-header-tel a,
.bottom-header-contact a {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #28646e;
  transition: color 0.3s ease;
}

.bottom-header-tel:hover a,
.bottom-header-contact:hover a {
  color: #fff;
}

@media screen and (min-width: 1000px) {
  .bottom-header-container {
    display: none;
  }
}

.footer-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
  background-color: #f8f8f8;
  box-sizing: border-box;
}

.footer-left {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 240px;
}

.footer-info-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  margin-bottom: 10px;
}

.footer-logo a {
  text-decoration: none;
  color: #28646e;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 70px;
  height: auto;
}

.footer-logo p {
  font-size: 40px;
  color: #28646e;
  font-weight: bold;
  margin: 0;
}

.footer-address {
  display: flex;
  flex-direction: column;
  text-align: left;
  color: #444;
  gap: 5px;
}

.footer-address p {
  font-size: 14px;
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1;
  padding-top: 100px;
}

.fsa-logo img {
  height: 40px;
  width: auto;
}

.sns-icon i {
  font-size: 24px;
  color: #28646e;
  transition: opacity 0.3s ease;
}

.sns-icon:hover i {
  opacity: 0.7;
}

.footer-bottom {
  height: 30px;
  display: flex;
  justify-content: right;
  align-items: center;
  background-color: #28b4aa;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  padding-right: 10px;
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
  }

  .footer-left {
    align-items: center;
  }

  .footer-logo {
    margin-bottom: 10px;
  }

  .footer-logo img {
    width: 50px;
  }

  .footer-logo p {
    font-size: 28px;
  }

  .footer-address {
    align-items: center;
    margin: 10px 0;
    gap: 4px;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
  }

  .footer-bottom {
    font-size: 10px;
    line-height: 14px;
    justify-content: center;
    padding: 5px 0;
    margin-bottom: 50px;
  }
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 0 0;
}

.content-ttl-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #28646e;
}

.content-ttl {
  font-size: 48px;
  font-weight: bold;
  margin-top: 5px;
  font-family: "Lato", sans-serif;
  letter-spacing: 1.2px;
  margin: 0%;
}

.content-ttl-box p {
  font-size: 16px;
  font-weight: bold;
  word-break: break-word;
  overflow-wrap: break-word;
}

.content-txt-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 50px;
  gap: 10px;
  margin: 0 auto;
  word-break: break-word;
  overflow-wrap: break-word;
}

.content-txt-box--about {
  align-items: flex-start;
  text-align: left;
  line-height: 1.3;
}

.content-txt-box h3 {
  font-size: 28px;
  @media screen and@media screen and@media screen and font-weight: bold;
}

.content-txt-box p {
  font-size: 16px;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
}

.about,
.column-container,
.news,
.qa,
.future2,
.hero-section {
  width: 70%;
  margin: 0 auto;
  padding: 50px 0;
}

.content-container {
  width: 100%;
  display: flex;
  padding: 0 20px;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 70px;
  box-sizing: border-box;
}

.about-box {
  display: flex;
  flex-direction: column;
  width: 60%;
}

.news-box {
  display: flex;
  flex-direction: column;
  width: 30%;
}

.content-nav,
.content-news {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.content-nav-item:first-child,
.content-news-item:first-child {
  border-top: 1px solid #28646e;
}

.content-nav-item,
.content-news-item {
  border-bottom: 1px solid #28646e;
  width: 100%;
}

.content-nav-item a,
.column-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10px;
  text-decoration: none;
  background-color: #fff;
  color: #28646e;
  font-size: 20px;
  font-weight: bold;
}

.content-nav-item a:hover {
  background-color: #28646e;
  transition: background-color 0.3s ease;
  color: #fff;
}

.nav-box {
  display: flex;
  width: 100%;
  height: 250px;
  gap: 2px;
}

.nav-box-item {
  position: relative;
  width: 50%;
  height: 250px;
  overflow: hidden;
  background-color: #28646e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 auto;
}

.nav-box-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 100% auto;
  background-position: center;
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.5s ease;
  z-index: 0;
}

.nav-box-item:hover::before {
  opacity: 1;
  transform: scale(1.05);
}

.blog-bg::before {
  background-image: url("/images/blog.jpg");
  margin: 0 auto;
  background-position: center center;
}

.recruit-bg::before {
  background-image: url("/images/IMG_8972.jpg");
  background-position: center 40%;
}
.nav-item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    z-index: 1;
    text-decoration: none;
    color: #fff;
    transition: color 0.5s ease;
}

.nav-box-item h2 {
  font-size: 48px;
  margin: 0;
}

.nav-box-item p {
  font-size: 16px;
  margin: 0;
}

.page-top-wrapper {
  width: 100%;
  height: 350px;
  padding-top: 3px;
  overflow: hidden;
  position: relative;
}

.page-top-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ← cover を contain に */
  display: block;
}

.scroll-text {
  position: absolute;
  top: 30%;
  left: 0;
  display: flex;
  white-space: nowrap;
  font-size: 120px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.5);
  animation: scroll-left 30s linear infinite;
  pointer-events: none;
}

.scroll-text span {
  padding-right: 50px; /* 文字間隔調整 */
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.page-top {
  position: absolute;
  top: 3px;
  right: 80px;
  writing-mode: vertical-rl;
  z-index: 1000;
}

.page-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #28b4aa;
  color: #fff;
  text-decoration: none;
  padding: 12px 0;
  width: 40px;
  height: 120px;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.page-top-txt {
  display: inline-block;
  transform: translateY(38%);
  transition: transform 40s ease;
}

.page-top a:hover .page-top-txt {
  transform: translateY(-100%);
}

.column-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 auto;
  padding: 20px 0;
}

.column-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.column-nav {
  display: flex;
  justify-content: flex-end;
}

.column-nav a {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 16px;
}

.column-nav a:hover {
  color: #28b4aa;
  transition: color 0.3s ease;
}

.service {
  width: 100%;
  background-color: #e9f7f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-container {
  width: 80%;
  max-width: 800px;
}

.service-txt-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
}

.service-txt-box h3 {
  font-size: 28px;
  font-weight: bold;
}

.service-txt-box p {
  font-size: 16px;
}

.services {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 50px 0;
  margin-top: 10px;
}

.services-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

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

.services h1 {
  position: absolute;
  font-size: 80px;
  font-weight: 600;
  width: 90%;
  text-align: left;
  color: #e9f7f6;
  top: -20px;
  left: 20px;
  margin: 0;
  letter-spacing: 1.2px;
  font-family: "Lato", sans-serif;
}

.services-ttl-box,
.services-wrapper {
  z-index: auto;
}

.services-ttl-box {
  transition: transform 0.3s ease;
}
.services-ttl-box a:hover {
  color: #28646e;
}

.services-ttl-box a {
  text-decoration: none;
  color: #333;
}
.services-ttl {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 5px;
  font-family: "Lato", sans-serif;
}

.services-ttl-box p {
  font-size: 20px;
  font-weight: bold;
}

.services-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 20px;
  box-sizing: border-box;
}

.services-wrapper--4col {
  max-width: 680px;
}

.services-item {
  position: relative;
  flex: 0 0 300px;
  max-width: 300px;
  height: auto;
  min-height: 300px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.services-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #28646e;
  transform: translateY(-98%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.services-item:hover::before {
  transform: translateY(0);
}

.services-item * {
  position: relative;
  z-index: 1;
}

.services-item a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.services-txt {
  padding: 10px;
  color: #1a1a1a;
}

.services-item:hover .services-txt {
  color: #fff;
  transition: color 0.3s ease;
}

.services-txt h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.services-txt p {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.content-news-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10px;
  text-decoration: none;
  background-color: #fff;
}

.news-txt {
  display: flex;
  align-items: center;
  gap: 20px;
}

.content-news-item a:hover {
  background-color: #28646e;
  transition: background-color 0.3s ease;
}

.content-news-item a:hover .news-txt span,
.content-news-item a:hover .news-txt p {
  color: #fff;
  transition: color 0.3s ease;
}

.news-txt span {
  font-size: 16px;
  color: #333;
}

.news-txt p {
  font-size: 14px;
  color: #666;
}

.link-btn.--service {
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background-color: #28646e;
  width: 24px;
  height: 24px;
  transition: background-color 0.3s;
}

.link-btn svg {
  stroke: #fff;
  transform: rotate(-45deg); /* 通常時は ↗ */
  transition: transform 0.3s ease;
}

.services-item:hover .link-btn,
.content-nav-item a:hover .link-btn,
.column-nav a:hover .link-btn,
.content-news-item a:hover .link-btn {
  background-color: #28b4aa;
}

.services-item:hover .link-btn svg,
.content-nav-item a:hover .link-btn svg,
.column-nav a:hover .link-btn svg,
.content-news-item a:hover .link-btn svg {
  transform: rotate(0deg); /* ホバー時は → */
}

@media screen and (max-width: 1024px) {
  main {
    padding: 0;
  }

  .content-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 15px;
  }

  .about-box,
  .news-box {
    width: 100%;
    margin-top: 30px;
  }

  .content-ttl {
    font-size: 48px;
  }

  .content-txt-box h3 {
    font-size: 24px;
  }

  .content-nav-item a,
  .column-nav a {
    font-size: 18px;
    padding: 12px 8px;
  }

  .nav-box {
    flex-direction: flex;
    height: auto;
  }

  .nav-box-item {
    width: 100%;
    height: 250px;
  }

  .nav-box-item h2 {
    font-size: 36px;
  }

  .nav-box-item p {
    font-size: 14px;
  }

  .scroll-text {
    font-size: 80px;
  }

  .page-top {
    right: 20px;
  }
}

@media screen and (max-width: 768px) {
  .content-container {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    justify-content: center;
    align-items: center;
  }

  .about,
  .column-container,
  .news,
  .qa,
  .future2,
  .tab-nav,
  .reason-section {
    width: 90%;
    padding: 20px 0;
    margin: 0 auto;
    text-align: center;
  }

  .content-txt-box {
    padding-bottom: 20px;
    gap: 2px;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .content-txt-box--about {
    align-items: center;
    text-align: left;
  }

  .content-ttl {
    font-size: 48px;
    font-weight: bold;
  }

  .content-ttl-box--service {
    align-items: center;
    text-align: center;
  }

  .content-ttl-box {
    align-items: flex-start;
    text-align: left;
  }

  .content-ttl-box p {
    font-size: 16px;
    margin: 0;
  }

  .content-txt-box h3 {
    font-size: 20px;
  }

  .content-txt-box p {
    font-size: 16px;
  }

  .content-nav-item a,
  .column-nav a {
    font-size: 18px;
    padding: 10px 6px;
  }

  .page-top-wrapper {
    height: 200px;
  }

  .scroll-text {
    font-size: 48px;
    top: 40%;
  }
  .nav-box {
    flex-direction: column;
    height: auto;
  }
  .nav-box-item {
    height: 230px;
    margin: 0 auto;
  }

  .blog-bg::before {
  background-image: url("/images/blog.jpg");
  margin: 0 auto;
  background-position: center 70%;
}

.recruit-bg::before {
  background-image: url("/images/IMG_8972.jpg");
  background-position: center 40%;
}
  .nav-box-item h2 {
    font-size: 28px;
  }

  .nav-box-item p {
    font-size: 12px;
  }

  .page-top a {
    width: 30px;
    height: 100px;
    font-size: 12px;
  }

  .page-top-txt {
    transform: translateY(35%);
  }

  .service-container {
    width: 90%;
    padding: 0;
  }

  .service-txt-box {
    padding-bottom: 30px;
    gap: 8px;
  }

  .service-txt-box h3 {
    font-size: 24px;
  }

  .service-txt-box p {
    font-size: 14px;
  }

  .services {
    padding: 30px 0;
    margin-top: 0;
  }

  .services h1 {
    font-size: 42px;
    top: -10px;
    left: 10px;
  }

  .services-ttl {
    font-size: 28px;
  }

  .services-ttl-box p {
    font-size: 16px;
  }

  .services-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 10px;
  }

  .services-item {
    flex: none;
    max-width: 100%;
    height: 100%;
    min-height: auto;
    box-sizing: border-box;
  }

  .link-btn--service {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 20px;
    height: 20px;
    background-color: #28646e;
    display: flex;
    z-index: 2;
  }

  .content-news-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
  }

  .news-txt {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 5px !important;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
  }

  .news-txt p,
  .news-txt span {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .news-txt p {
    font-size: 14px;
  }

  .news-txt span {
    font-size: 16px;
    word-break: break-word;
  }
}
@media screen and (max-width: 600px) {
  .nav-box {
    flex-direction: column;
    height: auto;
  }
  .nav-box-item {
    height: 210px;
    margin: 0 auto;
  }

  .blog-bg::before {
  background-image: url("/images/blog.jpg");
  margin: 0 auto;
  background-position: center 70%;
}

.recruit-bg::before {
  background-image: url("/images/IMG_8972.jpg");
  background-position: center 40%;
}
}


@media screen and (max-width: 430px) {
.nav-box {
    flex-direction: column;
    height: auto;
  }
  .nav-box-item {
    height: 140px;
    margin: 0 auto;
  }

  .blog-bg::before {
  background-image: url("/images/blog.jpg");
  margin: 0 auto;
  background-position: center 70%;
}

.recruit-bg::before {
  background-image: url("/images/IMG_8972.jpg");
  background-position: center 40%;
}
}
/* slider */
.slider-wrapper,
.column {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 50%,
    #e9f7f6 50%,
    #e9f7f6 100%
  );
}

.slider-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 400px;
  overflow: visible;
  width: max-content;
  gap: 80px;
  animation: none;
  padding: 30px 0;
}

.slider-item {
  position: relative;
  width: auto;
  height: 280px;
  overflow: visible;
}

.slider-img-wrapper {
  width: 280px;
  height: 280px;
  overflow: hidden;
}

.slider-img-wrapper img,
.column-slider-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.slider-item:hover .slider-img-wrapper img,
.column-slider-item:hover .column-slider-img-wrapper img {
  transform: scale(1.1);
}

.slider-txt {
  position: absolute;
  bottom: -45px;
  left: -20px;
  color: #28b4aa;
  background: none;
  text-align: left;
}

.slider-item:hover .slider-txt {
  color: #35cec4;
  transition: all 0.3s ease;
}

.slider-txt h2 {
  font-size: 24px;
  margin: 0 0 4px;
  font-weight: bold;
}

.slider-txt p {
  font-size: 16px;
  margin: 0;
}

.column-slider-container {
  padding: 30px 0;
}

.swiper-slide.column-slider-item {
  width: 380px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-shrink: 0;
  overflow: hidden;
}

.swiper-slide.column-slider-item a {
  text-decoration: none;
}

.column-slider-img-wrapper {
  width: 380px;
  height: 250px;
  overflow: hidden;
}

.column-slider-img-wrapper img {
  width: 100%;
  height: 100%;
}

.column-slider-txt {
  width: 380px;
  margin-top: 20px;
  word-break: break-word;
}

.column-slider-txt h2 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
}

.column-slider-txt p {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  color: #28646e !important;
  padding: 0 20px;
}

.swiper-wrapper {
  gap: 0 !important;
}

@media screen and (max-width: 768px) {
  .slider-container,
  .swiper-wrapper.column-slider-container {
    flex-wrap: nowrap;
    gap: 20px;
    padding: 50px 0;
    min-height: auto;
    width: 100%;
  }

  .slider-img-wrapper {
    width: 150px;
    height: 150px;
  }

  .column-slider-img-wrapper {
    width: 250px;
    height: 130px;
  }

  .slider-item {
    height: auto;
  }

  .slider-txt {
    bottom: 60px;
    left: -20px;
  }

  .slider-txt h2 {
    font-size: 20px;
  }

  .slider-txt p {
    font-size: 12px;
  }

  .column-slider-item a {
    margin: 0 auto;
  }

  .column-slider-txt {
    margin-top: 20px;
    width: 250px;
  }

  .column-slider-txt h2 {
    font-size: 18px;
  }

  .column-slider-txt p {
    font-size: 12px;
  }

  .slider-tag {
    font-size: 12px;
    padding: 4px 8px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}

.content-header-box {
  display: flex;
  flex-flow: column;
  text-align: left;
  justify-content: flex-start;
  align-items: flex-start;
  width: 90%;
  gap: 15px;
  margin-top: 50px;
}

.label {
  margin: 0;
  color: #28b4aa;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
}

.title {
  margin: 0;
  font-size: 42px;
}

.breadcrumb {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 12px;
  gap: 10px;
  padding: 7px 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb a {
  text-decoration: none;
  color: #000000;
}

.breadcrumb a:hover {
  color: #28b4aa;
  text-decoration: none;
}

.main-head-box {
  position: relative;
  width: 100%;
  max-width: 1280px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 2;
  overflow: visible;
  height: 250px;
}

.main-head-box--about {
  height: auto;
}

.main-head-images {
  width: 100%;
  text-align: center;
}

.main-head-images img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  object-position: center;
}

.main-head-images--about img {
  width: 100%;
  height: 1000px;
  object-fit: cover;
  object-position: center bottom;
}

.marquee {
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.moving-text {
  font-size: 120px;
  font-weight: 900;
  color: #fff;
  opacity: 0.8;
  display: flex;
  animation: moveText 60s linear infinite;
  width: max-content;
  padding-right: 100%;
  margin: 0;
  line-height: 1;
}

.moving-text::before,
.moving-text::after {
  content: attr(data-text);
}

@keyframes moveText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.msg-box {
  position: absolute;
  top: 100px;
  left: 30%;
  transform: translateX(-50%);
  color: #1a1a1a;
  text-align: left;
  z-index: 5;
  width: 50%;
  height: auto;
  padding: 20px 30px;
}

.msg-box h2 {
  text-align: left;
}

.msg-box p {
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 50px;
}

.msg-box img {
  width: 225px;
  height: auto;
}

.about-catch-copy {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: linear-gradient(to right, #28b4aa, #28646e);
  color: #fff;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
}

.about-catch-copy p {
  width: 70%;
  margin: 10px 0;
}

.about-main {
  font-size: 42px;
  font-weight: bold;
}

.about-detail {
  font-size: 2em;
  text-align: left;
}

.section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  margin: 0 auto;
  width: 95%;
}

.section-wrapper.issue {
  background-color: #e9f7f6;
}

.message-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  width: 90%;
  z-index: 0;
  position: relative;
}

.message-ttl {
  font-size: 28px;
  font-weight: bold;
}

.message-txt {
  font-size: 18px;
  text-align: justify;
  line-height: 1.5;
}

.common-btn-container {
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.common-btn-txt {
  font-size: 20px;
  font-weight: bold;
  color: #28646e;
  margin: 0;
  text-align: center;
  line-height: 1.5;
}

.common-btn-txt.contact-sec {
  color: #012b14;
}

.common-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-width: 250px;
  background-color: #28646e;
  color: #fff;
  gap: 5px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  letter-spacing: 1.2px;
  margin: 0 auto;
  text-align: left;
}

.common-btn:hover {
  background-color: #28b4aa;
  color: #fff;
}

.common-btn-flex {
  padding-bottom: 30px;
  display: flex;
  gap: 30px;
}

.contact-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 300px;
  background-image: url("/images/PAK23_husentomemo20140313_TP_V-660x400.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(40, 100, 110, 0.4); /* ← 半透明の緑っぽい色 */
  z-index: 1;
}

.contact-section > * {
  position: relative;
  z-index: 2;
}

.content-ttl-28 {
  font-size: 28px;
  font-weight: bold;
  color: #28646e;
  margin-bottom: 40px;
  text-align: center;
  background-color: azure;
  opacity: 0.8;
}

.content-ttl-28.--fff {
  color: #fff;
}

@media screen and (min-width: 700px) and (max-width: 1500px) {
  .about-person {
    transform: scale(1.5) translateX(100px);
    transform-origin: right bottom;
  }
}

@media screen and (max-width: 1130px) {
  .content-header-box {
    width: 90%;
    margin-top: 10px;
    margin-bottom: 20px;
    gap: 10px;
  }

  .label {
    font-size: 14px;
  }

  .title {
    font-size: 24px;
  }

  .breadcrumb {
    display: none;
  }

  .marquee {
    top: -5px;
  }

  .main-head-box {
    height: auto;
  }

  .main-head-box--about {
    height: auto;
  }

  .main-head-images--about img {
    object-position: 70% bottom;
    height: 1000px;
  }

  .moving-text {
    font-size: 45px;
    padding-right: 100%;
  }

  .msg-box {
    top: 50px;
    left: 50%;
    transform: translateX(-70%);
    width: 70%;
    padding: 15px 20px;
  }

  .msg-box h2 {
    font-size: 20px;
  }

  .msg-box p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .msg-box img {
    width: 225px;
  }

  .about-catch-copy {
    padding: 30px 0;
  }

  .about-catch-copy p {
    width: 90%;
    font-size: 22px;
  }

  .section-wrapper {
    padding: 30px 0;
  }

  .message-box {
    width: 85%;
    gap: 10px;
  }

  .message-ttl {
    font-size: 22px;
    text-align: left;
  }

  .message-txt {
    font-size: 14px;
    text-align: left;
  }

  .common-btn-container {
    gap: 12px;
  }

  .common-btn-txt {
    font-size: 16px;
    text-align: center;
  }

  .common-btn {
    font-size: 16px;
    letter-spacing: 1px;
  }

  .common-btn-flex {
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
  }

  .contact-section {
    height: 200px;
    background-position: center center;
  }

  .content-ttl-28 {
    font-size: 20px;
    margin-bottom: 50px;
  }

  .content-ttl-28.--service {
    margin-bottom: 100px;
  }

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

@media screen and (max-width: 600px) {
  .main-head-images--about img {
    height: 1050px;
  }

  .msg-box {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    padding: 15px 20px;
  }

  .msg-box h2 {
    font-size: 20px;
  }

  .msg-box p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .msg-box img {
    width: 180px;
  }
}

@media screen and (max-width: 360px) {
  .main-head-images--about img {
    height: 1300px;
  }

  .msg-box img {
    width: 150px;
  }
}

.issue-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.issue-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 300px;
  max-width: 600px;
}
.speech-bubble {
  position: relative;
  background: #fff;
  padding: 10px;
  font-size: 20px;
  line-height: 1.5;
  border-top: 5px solid #28646e;
  border-bottom: 2px solid #28646e;
  margin-bottom: 30px;

  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 300px;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -16px;
  right: 15px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 16px solid #28646e;
}

.speech-bubble span {
  font-size: 16px;
  font-weight: bold;
  color: #1a1a1a;
  letter-spacing: 1.2px;
  line-height: 1.5;
  text-align: center;
}

.issue-img {
  width: 100px;
  height: auto;
}

.issue-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.future-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

.future-item {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  text-align: left;
  width: 100%;
  height: 250px;
}

.future-img {
  width: auto;
  height: 200px;
  border: 5px solid #e9f7f6;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
  position: relative;
}

.inner-img {
  width: 180px;
  height: 180px;
  padding: 30px;
}

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

.badge {
  position: absolute;
  font-family: "Lato", sans-serif;
  top: -30px;
  left: -25px;
  color: #28b4aa;
  font-size: 40px;
  font-weight: bold;
}

.future-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  min-width: 95%;
  line-height: 1.5;
}

.future-txt h3 {
  font-size: 20px;
  font-weight: bold;
  padding: 0 10px;
  line-height: 2;
  text-decoration: underline;
  text-decoration-color: #fcc3b5;
  text-decoration-thickness: 0.5em;
  text-decoration-skip-ink: none;
  text-underline-offset: -0.25em;
}

.future-txt p {
  font-size: 16px;
  margin: 0;
}

.future2-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
  padding-top: 50px;
}

.future2-item {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.future2-icon {
  position: relative;
  width: 150px;
  height: 150px;
}

.future2-icon::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -10px;
  width: 100px;
  height: 100px;
  background-color: #e9f7f6;
  border-radius: 50%;
  z-index: 0;
}

.future2-icon i {
  font-size: 100px;
  color: #28646e;
  position: relative;
  z-index: 1;
}

.future2-txt h3 {
  font-size: 38px;
  font-weight: bold;
  color: #28646e;
  margin: 0;
  margin-bottom: 10px;
  font-family: "Lato", sans-serif;
}

.future2-txt p {
  font-size: 16px;
  color: #28646e;
}

.qa-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.qa-item {
  width: 100%;
  border-bottom: 1px solid #28646e;
}

.qa-item:first-of-type {
  border-top: 1px solid #28646e;
}

.qa-q {
  cursor: pointer;
  align-items: center;
}

.qa-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  color: #1a1a1a;
  line-height: 1.5;
}

.qa-toggle p {
  margin: 0;
  font-weight: bold;
  display: flex;
  align-items: center;
  font-size: 18px;
}

.qa-toggle:hover {
  color: #666;
}

.qa-toggle p::before {
  content: "Q";
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #28646e;
  margin-right: 20px;
  flex-shrink: 0;
}

.qa-a {
  display: none;
  padding: 12px 20px;
  line-height: 1.5;
}

.qa-a p {
  margin: 0;
  display: flex;
  font-size: 16px;
  align-items: start;
}

.qa-a p::before {
  content: "A";
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #28b4aa;
  margin-right: 20px;
  flex-shrink: 0;
}

.arrow {
  width: 28px;
  height: 28px;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.qa-item.open .arrow {
  transform: rotate(180deg);
}

.flow {
  background-color: #e9f7f6;
  width: 100%;
  text-align: center;
  padding: 40px 0;
  margin-bottom: 50px;
}

.flow-container {
  width: 96%;
  max-width: 1280px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  margin: 0 auto;
}

.flow-step {
  flex: 1 1 calc(100% / 6 - 20px);
  min-width: 140px;
  position: relative;
  text-align: center;
}
.flow-step h3 {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 160px;
  word-break: break-word;
}

.flow-step p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 160px;
  word-break: break-word;
}

.flow-line {
  height: 2px;
  width: 80px;
  background-image: repeating-linear-gradient(
    to right,
    #28b4aa 0px,
    #28b4aa 5px,
    transparent 7px,
    transparent 10px
  );
  position: absolute;
  top: 32px;
  left: calc(100% + 4px);
  transform: translateX(-40%);
  z-index: 0;
}

.flow-step:last-child .flow-line {
  display: none;
}

.icon-box {
  width: 64px;
  height: 64px;
  background-color: #28b4aa;
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  position: relative;
  z-index: 1;
}

.step-num {
  color: #28b4aa;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 12px;
}
.company-container {
  width: 60%;
}

.tab-nav,
.outline,
.access,
.history {
  width: 100%;
  margin: 100px auto;
}

.tab-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 40px 0;
  width: 100%;
}

.tab-btn {
  background-color: #28b4aa;
  color: #fff;
  width: 33.33%;
  padding: 6px 0;
  text-align: center;
  border: none;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.tab-btn:hover {
  background-color: #93d9d4;
}

.outline-container {
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 150px;
}

.company-list {
  width: 100%;
}

.info-row {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #28646e;
}

.info-row:first-of-type {
  border-top: 1px solid #28646e;
}

.label-f {
  width: 160px;
  font-size: 14px;
  color: #28646e;
  flex-shrink: 0;
  padding-top: 2px;
}

.value-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.value {
  font-size: 16px;
  color: #1a1a1a;
  line-height: 1.8;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.access-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 120px;
  flex-wrap: wrap;
}

.access-detail p {
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  margin: 20px 0;
}

.access-box {
  flex: 1 1 25%;
}

.map {
  flex: 1 1 55%;
}

.map iframe {
  width: 100%;
  height: 400px;
  display: block;
  border: 0;
}

.history-container {
  margin: 30px 0;
}

.history-item {
  background: #e9f7f6;
  padding: 60px 90px 40px;
  margin-top: 30px;
  border-top: 6px solid #28646e;
  border-bottom: 6px solid #28646e;
}

.history-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

.year {
  width: 80px;
  color: #1a1a1a;
  flex-shrink: 0;
}

.timeline {
  position: relative;
  width: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline .dot {
  width: 12px;
  height: 12px;
  background-color: #28646e;
  z-index: 1;
}

.timeline .line {
  flex-grow: 1;
  width: 1px;
  background-color: #28646e;
  height: 100px;
}

.history-row:last-child .timeline .line {
  display: none;
}

.history-detail {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a1a;
}

.history-detail p {
  margin: -5px 0 5px;
}

@media screen and (max-width: 768px) {
  .issue-box {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .issue-item {
    width: 90%;
  }

  .speech-bubble {
    font-size: 15px;
    padding: 10px;
    text-align: left;
  }

  .speech-bubble span {
    font-size: 16px;
  }

  .future-box {
    gap: 40px;
    width: 100%;
    margin-top: 30px;
  }

  .future-item {
    flex-direction: column;
    height: auto;
    gap: 16px;
    text-align: left;
    width: 95%;
  }

  .future-img {
    width: 220px;
    height: 220px;
  }

  .inner-img {
    width: 180px;
    height: 180px;
    padding: 20px;
  }

  .badge {
    top: -30px;
    left: -20px;
  }

  .future-txt {
    align-items: center;
    gap: 10px;
  }

  .future-txt h3 {
    font-size: 17px;
    text-align: left;
  }

  .future-txt p {
    font-size: 15px;
  }

  .future2-container {
    flex-direction: column;
    align-items: center;
  }

  .future2-item {
    flex: 1 1 100%;
  }

  .future2-icon {
    width: 120px;
    height: 120px;
  }

  .future2-icon i {
    font-size: 72px;
  }

  .future2-txt h3 {
    font-size: 28px;
  }

  .future2-txt p {
    font-size: 14px;
  }

  .qa-toggle {
    padding: 12px 16px;
  }

  .qa-toggle p {
    font-size: 16px;
    text-align: left;
  }

  .qa-toggle p::before {
    font-size: 20px;
    margin-right: 10px;
  }

  .qa-a {
    padding: 10px 16px;
    text-align: left;
  }

  .qa-a p::before {
    font-size: 20px;
    margin-right: 10px;
  }

  .arrow {
    width: 20px;
    height: 20px;
  }

  .flow-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .flow-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: 90%;
    position: relative;
  }

  .flow-line {
    position: absolute;
    top: 80px;
    left: 30px;
    height: calc(100% - 60px);
    width: 2px;
    background-image: repeating-linear-gradient(
      to bottom,
      #28b4aa 0,
      #28b4aa 6px,
      transparent 6px,
      transparent 12px
    );
    z-index: 0;
  }

  .icon-box {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    font-size: 28px;
    border-radius: 50%;
    background-color: #28b4aa;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .flow-step-txt {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
    align-items: start;
  }

  .step-num {
    font-size: 14px;
    font-weight: bold;
    color: #28b4aa;
    margin: 0;
  }

  .flow-step h3 {
    font-size: 19px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
  }

  .flow-step p {
    font-size: 14px;
    margin: 0;
    line-height: 1.7;
    min-width: 100%;
  }

  .company-container {
    width: 80%;
  }

  .tab-nav,
  .outline,
  .access,
  .history {
    margin: 50px auto;
  }

  .tab-btn {
    width: 100%;
    font-size: 16px;
    padding: 6px 0;
  }

  .outline-container {
    flex-direction: column;
    gap: 5px;
    text-align: left;
    margin: 0 auto;
  }

  .info-row {
    flex-direction: column;
    gap: 10px;
  }

  .label-f {
    width: 100%;
    font-size: 14px;
  }

  .value {
    font-size: 14px;
  }

  .access-container {
    flex-direction: column;
    gap: 10px;
    align-items: start;
  }

  .map iframe {
    width: 100%;
    height: 170px;
    margin: 0 auto;
  }

  .history-item {
    padding: 30px 20px;
  }

  .history-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    position: relative;
  }

  .year {
    width: auto;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: -2px;
  }

  .timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
    min-height: 170px;
    position: relative;
  }

  .timeline .dot {
    width: 10px;
    height: 10px;
    z-index: 1;
  }

  .timeline .line {
    width: 1px;
    flex-grow: 1;
    background-color: #28646e;
    margin-top: 0;
    display: block;
  }

  .history-row:last-child .timeline .line {
    display: none;
  }

  .history-detail {
    font-size: 14px;
    text-align: left;
    flex: 1;
    margin: 0;
  }
}

.disclaimer-section {
  background-color: #ffffff;
  border: 2px solid #999;

  margin: 0 auto;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);

  margin-bottom: 30px;
}

.disclaimer-section h2 {
  background-color: #eee;
  border: 1px solid #ccc;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  margin-bottom: 30px;
}

.disclaimer-section h3 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 40px;
  margin-bottom: 10px;
  border-left: 6px solid #28646e;
  padding-left: 10px;
  color: #28646e;
}

.disclaimer-section p {
  font-size: 15px;
  margin-bottom: 20px;
}

.disclaimer-footer {
  margin-top: 40px;
  padding: 15px;
  background-color: #f1f1f1;
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
}

.disclaimer-footer p {
  margin: 5px 0;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .disclaimer-section {
    width: 100%;
    padding: 20px;
    font-size: 15px;
    line-height: 1.5;
  }

  .disclaimer-section h2 {
    font-size: 18px;
    padding: 10px 12px;
    margin-bottom: 24px;
  }

  .disclaimer-section h3 {
    font-size: 16px;
    padding-left: 8px;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .disclaimer-section p {
    font-size: 14.5px;
    margin-bottom: 16px;
    text-align: justify;
  }

  .disclaimer-footer {
    padding: 12px;
    font-size: 13.5px;
  }

  .disclaimer-footer p {
    margin: 5;
  }
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 90%;
  max-width: 900px;
  margin: 0 auto 60px;
}

.mbti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.mbti-option {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 12px;
  border: 1.5px solid #ccc;
  border-radius: 10px;
  background-color: #fff;
  font-weight: 600;
  font-size: 14px;
  color: #222;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.mbti-option span {
  display: inline-block;
  vertical-align: middle;
}

.mbti-grid input[type="radio"]:checked + label.mbti-option {
  background-color: #f0fbfa;
  border-color: #28b4aa;
}

.mbti-option:hover {
  background-color: #f0fbfa;
  border-color: #28b4aa;
}

.mbti-grid input[type="radio"] {
  display: none;
}

.form-item label.mbti-option {
  display: flex;
}

.form-txt-box {
  text-align: center;
  padding: 40px 0 20px;
}
.form-txt p {
  font-size: 15px;
  margin-top: 10px;
}

.form-txt-box h1 {
  font-size: 50px;
  font-weight: bold;
  margin-top: 10px;
}

.form-txt-box .caution {
  color: #d60000;
  font-weight: bold;
  margin-top: 15px;
  font-size: 14px;
}

.form-label.--top {
  position: absolute;
  top: -12px;
  left: 16px;
  background-color: #fff;
  padding: 0 10px;
  font-size: 16px;
  font-weight: bold;
  color: #28646e;
  z-index: 2;
}

.course-group,
.total-payment {
  position: relative;
  border: 2px solid #28646e;
  padding: 40px 20px;
  border-radius: 10px;
  background-color: #fff;
  margin: 50px 0;
}

.total-price {
  font-weight: bold;
  font-size: 35px;
  color: #d60000;
  text-align: center;
}

.course-radio-box {
  margin-bottom: 16px;
}

.course-option {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: all 0.3s ease;
}

.course-option input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #28646e;
  flex-shrink: 0;
  margin-top: 4px;
}

.course-option:hover {
  background-color: #e6f2f1;
  border-color: #28646e;
}

.course-option input:checked + .course-content,
.course-option input:checked ~ .course-content {
  background-color: #e6f2f1;
  border-color: #28646e;
}

.course-content {
  flex: 1;
}

.course-title {
  font-weight: bold;
  font-size: 20px;
  color: #28646e;
}

.course-desc {
  font-size: 17px;
  color: #555;
  line-height: 1.5;
}

.course-option.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.form-box {
  background-color: #eef7f6;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.form-item {
  margin-bottom: 24px;
}

.form-item label {
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.form-item input,
.form-item select,
.form-item textarea {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

.form-item input[type="radio"] {
  margin-right: 6px;
}

.form-item.inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-item.inline input[type="number"] {
  width: 120px;
}

.gender-card-options {
  display: flex;
  gap: 20px;
}

.gender-card-option input[type="radio"] {
  display: none;
}

.gender-card-option .card {
  width: 100px;
  height: 70px;
  border: 2px solid #ccc;
  border-radius: 10px;
  background: #f9f9f9;
  text-align: center;
  padding: 16px;
  font-weight: bold;
  color: #333;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.gender-card-option input[type="radio"]:checked + .card {
  border-color: #28b4aa;
  background: #e6f2f1;
  color: #28b4aa;
}

.gender-card-option .card i {
  font-size: 24px;
  color: inherit;
}

#experience {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#experience label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid #ccc;
  border-radius: 24px;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  min-width: 100px;
  text-align: center;
  position: relative;
}

#experience input[type="radio"] {
  display: none;
}

#experience input[type="radio"]:checked + label,
#experience label:has(input[type="radio"]:checked) {
  background-color: #28646e;
  color: #fff;
  border-color: #28646e;
}

.note {
  font-size: 25px;
  color: #d60000;
  margin-top: 6px;
  line-height: 1.5;
  word-break: break-word;
}

.note .highlight {
  font-weight: bold;
  background-color: #fff2f2;
  padding: 2px 4px;
  border-radius: 4px;
}

.section-box {
  border: 3px solid #28646e;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  margin: 40px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.section-ttl {
  font-weight: bold;
  font-size: 20px;
  margin: 10px 0;
  display: inline-block;
  padding-left: 12px;
  position: relative;
  color: #28646e;
}

.section-ttl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 6px;
  height: 24px;
  background-color: #28646e;
  border-radius: 3px;
}

.section-heading {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.checkbox-group label,
.checkbox-group.full-width {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
}

.checkbox-group input[type="checkbox"],
.checkbox-group.full-width input[type="checkbox"] {
  transform: scale(1.2);
  accent-color: #28646e;
  margin: 0;
}

.document-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.document-list.--center {
  justify-content: center;
}

.document-list a {
  font-weight: bold;
  color: #28646e;
  font-size: 14px;
  background: #e9f7f6;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #b8e1dc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.document-list a:hover {
  background-color: #d6efec;
  border-color: #28b4aa;
  color: #28b4aa;
  text-decoration: underline;
}

.cooling-off img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.refund-info ul {
  list-style: none;
  padding-left: 0;
  font-size: 15px;
  color: #333;
  line-height: 1.8;
}

.refund-info li {
  margin-bottom: 10px;
  padding-left: 1em;
  position: relative;
}

.refund-info li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #28646e;
  font-weight: bold;
}

.form-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.btn-submit,
.btn-reset {
  font-size: 16px;
  font-weight: bold;
  padding: 14px 40px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit {
  background-color: #28646e;
  color: #fff;
}

.btn-submit:hover {
  background-color: #1c4c54;
}

.btn-reset {
  background-color: #ccc;
  color: #333;
}

.btn-reset:hover {
  background-color: #bbb;
}

input,
textarea,
select {
  word-break: break-word;
  overflow-wrap: break-word;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 60vh;
  overflow-y: scroll;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.modal-scroll-hint {
  text-align: center;
  font-size: 13px;
  color: #888;
  margin-top: 8px;
}

.modal-content h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #28646e;
}

.modal-content p {
  margin-bottom: 12px;
  font-size: 14px;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.thanks-section {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
}

.thanks-icon {
  font-size: 60px;
  color: #28646e;
  margin-bottom: 30px;
}

.thanks-title {
  font-size: 28px;
  font-weight: bold;
  color: #28646e;
  margin-bottom: 30px;
}

.thanks-text {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 40px;
}

.thanks-link a {
  font-size: 16px;
  color: #28b4aa;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #28b4aa;
  padding-bottom: 2px;
  transition: 0.3s ease;
}

.thanks-link a:hover {
  opacity: 0.8;
}

.notfound-section {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
}

.notfound-icon {
  font-size: 60px;
  color: #d60000;
  margin-bottom: 30px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.notfound-title {
  font-size: 28px;
  font-weight: bold;
  color: #28646e;
  margin-bottom: 30px;
}

.notfound-text {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 40px;
}

.notfound-link a {
  font-size: 16px;
  color: #28b4aa;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #28b4aa;
  padding-bottom: 2px;
  transition: 0.3s ease;
}

.notfound-link a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 600px) {
  .form-container {
    width: 95%;
  }

  .course-option {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-box {
    padding: 30px 20px;
  }

  .total-price {
    font-size: 25px;
  }

  .gender-card-options {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .gender-card-option {
    width: 100%;
  }

  .gender-card-option .card {
    width: 100%;
    box-sizing: border-box;
  }

  .section-box {
    padding: 20px 16px;
  }

  .section-title {
    font-size: 18px;
  }

  .section-heading {
    font-size: 16px;
  }

  .checkbox-group {
    font-size: 14px;
  }

  .checkbox-group.full-width {
    flex-direction: column;
    align-items: flex-start;
  }

  .document-list {
    flex-direction: column;
    gap: 8px;
  }

  .document-list a {
    font-size: 13px;
    padding: 8px 10px;
  }

  .form-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .btn-submit,
  .btn-reset {
    width: 100%;
    max-width: 300px;
  }
}

.error-message {
  margin-top: 4px;
  font-size: 13px;
  font-weight: bold;
  color: #d60000;
  animation: blinkError 1s ease-in-out infinite;
}

@keyframes blinkError {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.loading-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
}

.loading-wrapper.auto-fade {
  animation: fadeInOut 1s ease forwards;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    visibility: visible;
  }
  23% {
    opacity: 1;
  }
  62% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.loading-logo {
  width: 120px;
  height: auto;
  animation: rotateLogo 2s linear infinite;
  margin-bottom: 20px;
}

.loading-text {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  display: flex;
  gap: 2px;
}

.loading-text .dot {
  animation: blink 1.4s infinite;
}
.loading-text .dot:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-text .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
}

.contract {
  width: 90%;
  max-width: 1200px;
  margin: 30px auto;
  text-align: center;
  display: flex;
  flex-flow: column;
  gap: 40px;
}

.courses-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.course-block {
  width: calc(50% - 10px);
  height: 650px;
  margin-bottom: 30px;
}

.course-card {
  border-radius: 10px;
  padding: 20px;
  height: 300px;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.course-block[data-course="stocks"] .course-card {
  background-color: #a0d3c9; /* 一番明るい青緑 */
}

.course-block[data-course="futures"] .course-card {
  background-color: #6ab7ad; /* 明るめの青緑 */
}

.course-block[data-course="futuresoptrial"] .course-card {
  background-color: #3e8f86; /* やや濃い青緑 */
}

.course-block[data-course="pre"] .course-card {
  background-color: #28646e; /* 一番濃い青緑（基準色） */
}

.btn-contract a {
  text-decoration: none;
  color: inherit;
}

.btn-contract {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  color: #333;
  font-weight: bold;
  padding: 15px 40px;
  border-radius: 50px;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.1s;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  margin: 20px 0;
}

.btn-contract:hover {
  background-color: #f3f3f3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.btn-contract:active {
  transform: scale(0.98);
}

.course-card h1 {
  font-size: 20px;
  margin-bottom: 10px;
}

.course-card p {
  font-size: 14px;
  margin-bottom: 15px;
}

.course-card ul {
  list-style-type: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.course-card ul li {
  font-size: 14px;
  margin-bottom: 5px;
}

.main-charts button {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #3e8f86, #28646e);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.main-charts button:hover {
  background: linear-gradient(135deg, #28646e, #1d4f59);
  transform: scale(1.05);
}

.main-charts button:active {
  transform: scale(0.98);
  background: linear-gradient(135deg, #1d4f59, #143d45);
}

.chart-container {
  width: 100%;
  height: 320px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contract {
    gap: 20px;
  }

  .courses-container {
    flex-direction: column;
    align-items: center;
  }

  .course-block {
    width: 100%;
    margin-bottom: 15px;
  }

  .course-card {
    padding: 15px;
  }

  .btn-contract {
    display: block;
    text-align: center;
    padding: 12px 20px;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .chart-container {
    height: auto;
    min-height: 300px;
  }

  .main-charts {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .main-charts button {
    width: 90%;
  }
}

.youtube {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
  background-color: #f8fdfa;
  flex-wrap: nowrap;
  margin-bottom: 50px;
}

.youtube-left {
  flex: 0 0 30%;
  background: #fff;
  border: 2px solid #28b4aa;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.youtube-logo {
  margin-bottom: 15px;
}

.youtube-logo img {
  width: 140px;
  height: auto;
}

.youtube-left ul {
  list-style: none;
  padding: 0;
  margin: 5px auto;
  font-size: 14px;
  text-align: left;
  line-height: 1.8;
}

.youtube-left ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 5px;
}

.youtube-left p {
  font-size: 13px;
  margin-top: 10px;
  text-align: left;
  color: #555;
}

.youtube-right {
  flex: 1 1 70px;
  min-width: 0;
  aspect-ratio: 16 / 9;
  background-color: #ddd;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.youtube-right iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media screen and (max-width: 900px) {
  .youtube {
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    margin: 30px 0;
  }

  .youtube-left,
  .youtube-right {
    width: 90%;
    max-width: 600px;
    text-align: center;
  }

  .youtube-left {
    padding: 30px 0;
  }

  .youtube-left ul,
  .youtube-left p,
  .youtube-logo {
    padding: 0 30px;
  }

  .youtube-left ul {
    display: inline-block;
    text-align: left;
  }

  .youtube-right {
    flex: none;
    aspect-ratio: 16/9;
  }
}

.advisor-service {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 30px 80px;
  max-width: 720px;
  margin-top: 0px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  color: #222;
}

/* 四隅マーク共通 */
.advisor-service::before,
.advisor-service::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #28b4aa;
  border-radius: 50%;
}

/* 左上 */
.advisor-service::before {
  top: 20px;
  left: 20px;
}

/* 右上 */
.advisor-service::after {
  top: 20px;
  right: 20px;
}

/* 左下 */
.advisor-service .corner-bl,
.advisor-service .corner-br {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #28b4aa;
  border-radius: 50%;
}

/* 左下 */
.advisor-service .corner-bl {
  bottom: 20px;
  left: 20px;
}

/* 右下 */
.advisor-service .corner-br {
  bottom: 20px;
  right: 20px;
}

.advisor-service h2 {
  text-align: center;
  color: #28646e;
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 24px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 10px;
}
.advisor-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 1.8;
}

.advisor-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 6px;
  text-align: left;
  font-size: 16px;
}

.advisor-list li::before,
.youtube-left ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #28b4aa;
  font-weight: bold;
}
.advisor-list2 {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.advisor-list2 li {
  display: table-row;
  font-size: 17px;
  line-height: 1.8;
}

.advisor-list2 .number {
  display: table-cell;
  color: #28b4aa;
  font-weight: bold;
  text-align: right;
  padding-right: 0.5em;
  width: 2em;
}

.advisor-list2 .text {
  display: table-cell;
  text-align: left;
}
.highlight {
  color: #28b4aa;
  font-weight: bold;
}

.highlight.--red {
  color: #d60000;
}

.advisor-flow h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #28646e;
  padding-left: 10px;
  border-left: 4px solid #28b4aa;
  text-align: center;
}
.advisor-flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style: none;
  padding-left: 0;
  margin: 0;
  gap: 8px;
  margin-bottom: 10px;
}
.advisor-flow-paragragh {
  font-size: 17px;
  justify-content: space-between;
  list-style: none;
  padding-left: 0;
  margin: 0;
  gap: 8px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.advisor-flow-steps li {
  position: relative;
  flex: 1;
  min-width: 90px;
  text-align: center;
  font-size: 13px;
  color: #333;
}

.advisor-flow-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 20%;
  transform: translateY(-50%);
  color: #28b4aa;
  font-weight: bold;
  font-size: 16px;
}

.advisor-flow-steps li span {
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  border-radius: 50%;
  background: #28b4aa;
  color: #fff;
  font-weight: bold;
  margin-bottom: 6px;
}

@media screen and (max-width: 768px) {
  .advisor-service {
    padding: 20px 16px;
    margin: 20px auto;
  }
  .advisor-flow-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 12px;
  }

  .advisor-flow-steps li {
    width: calc(33.33% - 8px);
    max-width: none;
    text-align: center;
    position: relative;
  }

  .advisor-flow-steps li:not(:last-child)::after {
    display: none;
  }

  .advisor-flow-steps li span {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
  }

  .advisor-flow h3 {
    text-align: center;
    padding-left: 0;
    border-left: none;
    border-bottom: 2px solid #28b4aa;
    padding-bottom: 6px;
    margin-bottom: 20px;
  }
}

.reward {
  width: 60%;
  margin: 50px 0;
}

.reward-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}

.reward-box {
  border: 2px solid #28b4aa;
  border-radius: 15px;
  padding: 40px 20px 20px 20px;
  position: relative;
  background: #fff;
  font-family: sans-serif;
  line-height: 1.8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.reward-box h3 {
  position: absolute;
  top: -38px;
  left: 20px;
  background: #fff;
  padding: 0 10px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.reward-box p {
  font-size: 17px;
  color: #333;
}

.reason-section {
  margin-bottom: 50px;
}

.reason-heading {
  position: relative;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 100px;
  margin-top: 80px;
}

.reason-heading .circle-img {
  position: absolute;
  top: -75px;
  left: 50%;
  transform: translateX(-50%);
  width: 265px;
  pointer-events: none;
  z-index: -1;
}

.reason-content-box {
  max-width: 1000px;
  margin: 0 auto; /* 全体センター寄せ */
  padding: 20px;
}
.reason-content {
  gap: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap; /* スマホ時の折返し用（必要なら） */
}
.reason-text {
  width: 400px;
  border-bottom: 1px solid #000000;
  font-size: 17px;
}

.reason-text .point {
  font-size: 20px;
  color: #999;
  display: block;
  margin-bottom: 0px;
}

.reason-text h3 {
  font-size: 30px;
  color: #28b4aa;
  margin-bottom: 10px;
  text-align: center;
}

.reason-text p {
  font: size 23px;
  line-height: 1.8;
  color: #333;
}

.reason-image {
  flex: 1;
  overflow: hidden;
}

.reason-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 800px) {
  .reward {
    width: 90%;
    margin: 30px 0;
  }

  .reward-container {
    gap: 0;
  }

  .reward-box {
    padding: 20px 16px;
  }

  .reward-box h3 {
    top: -32px;
    left: 16px;
    font-size: 18px;
  }

  .reward-box p {
    font-size: 16px;
  }

  .reason-heading {
    font-size: 18px;
    margin-bottom: 100px;
  }

  .reason-heading .circle-img {
    width: 160px;
    top: -20px;
  }

  .reason-content {
    flex-direction: column;
    align-items: center;
  }

  .reason-text,
  .reason-image {
    width: 100%;
  }

  .reason-text {
    text-align: left;
  }

  .reason-text h3 {
    font-size: 18px;
  }

  .reason-text p {
    font-size: 16px;
  }

  .reason-image {
    height: auto;
  }

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

.annai {
  text-align: center;
  margin-bottom: 30px;
}

.youtube-annai {
  width: 600px;
  aspect-ratio: 16 / 9;
  margin: 20px auto;
}

.youtube-annai iframe {
  width: 100%;
  height: 100%;
}

.contract-flow-section {
  padding: 40px 20px;
  margin: auto;
  background: #fff;
}

.content-ttl-28 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.contract-flow-subttl {
  text-align: center;
  color: #28b4aa;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.contract-flow-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contract-flow-step {
  display: flex;
  align-items: center;
  padding: 0px;
  border-radius: 10px;
  color: #1a1a1a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contract-flow-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contract-flow-img {
  width: 150px;
  height: 80px;
  padding: 12px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contract-flow-img img {
  width: 100%;
  height: auto;
}

.step-1 .contract-flow-img {
  background-color: #3c9e42;
}
.step-2 .contract-flow-img {
  background-color: #315bc0;
}
.step-3 .contract-flow-img {
  background-color: #2b3b82;
}
.step-4 .contract-flow-img {
  background-color: #5b43a1;
}
.step-5 .contract-flow-img {
  background-color: #ec6b1a;
}
.step-6 .contract-flow-img {
  background-color: #f0c808;
}

.contract-flow-txt {
  margin-left: 20px;
}

.contract-flow-txt h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.contract-flow-txt p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.trade-rules,
.contract-sample-section {
  width: 95%;
  margin: 10px 0;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.rule-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rule-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.rule-icon {
  width: 48px;
  height: 48px;
  background-color: #28b4aa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rule-icon i {
  color: #fff;
  font-size: 20px;
}

.rule-item:hover .rule-icon {
  background-color: #28646e;
}

.rule-item:hover .rule-icon i {
  color: #fff;
}

.rule-body {
  flex: 1;
}

.rule-title {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0 0 6px;
}

.rule-body p {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin: 0;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contract-sample {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.success-fee-section {
  max-width: 960px;
  margin: 0 auto;
  color: #333;
}

.success-fee-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.success-fee-header .header-text p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

.section-block {
  margin-bottom: 40px;
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  color: #28646e;
  margin-bottom: 12px;
  border-left: 4px solid #28b4aa;
  padding-left: 10px;
}

.section-box {
  background: #f8fdfa;
  border-left: 4px solid #28b4aa;
  padding: 16px;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
}

.section-box .em {
  font-weight: bold;
  color: #28b4aa;
}

.calc-example {
  margin: 16px 0;
  padding: 12px;
  background: #f1f8f7;
  border-left: 4px solid #28b4aa;
  border-radius: 6px;
}

.example-label {
  font-weight: bold;
  margin-bottom: 6px;
}

.example-detail {
  font-size: 14px;
  line-height: 1.6;
}

.example-detail .minus {
  color: #d03a2f;
}

.example-detail .highlight {
  color: #28646e;
}

.calc-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.formula.improved {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  position: relative;
}

.formula .label {
  position: absolute;
  top: -12px;
  left: 16px;
  background: #28b4aa;
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 8px;
  font-weight: bold;
}

.symbol {
  font-size: 24px;
  font-weight: bold;
  color: #28b4aa;
  margin: 0 4px;
}

.profit-box,
.operator,
.result {
  background-color: #eee;
  padding: 12px 16px;
  border-radius: 8px;
  min-width: 150px;
  text-align: center;
}

.profit-box .inner,
.operator .inner,
.result .inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 30px;
}

.operator strong {
  color: #28b4aa;
  font-size: 40px;
}

.price {
  font-size: 40px;
  font-weight: bold;
  color: #28646e;
}

.profit-box s {
  color: #aaa;
  font-size: 90%;
}

.note {
  font-size: 25px;
  text-align: center;
  font-weight: bold;
  color: #d03a2f;
}

.disclaimer {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.disclaimer ul {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.disclaimer ul li {
  list-style: disc;
  color: #444;
}

.disclaimer p {
  font-size: 13px;
  color: #999;
}

@media screen and (max-width: 768px) {
  .youtube-annai {
    width: 100%;
    max-width: 600px;
  }

  .contract-flow-steps {
    gap: 16px;
  }

  .contract-flow-step {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .contract-flow-img {
    width: 300px;
    height: auto;
    justify-content: flex-start;
    margin-bottom: 12px;
  }

  .contract-flow-img img {
    width: 100%;
    height: auto;
  }

  .contract-flow-txt {
    margin-left: 0;
  }

  .contract-flow-txt h3 {
    font-size: 16px;
  }

  .contract-flow-txt p {
    font-size: 13px;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .success-fee-section {
    width: 90%;
  }

  .success-fee-header {
    flex-direction: column;
    text-align: center;
  }

  .formula.improved {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .profit-box,
  .operator,
  .result {
    width: 100%;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    border-radius: 12px;
    padding: 16px;
  }

  .profit-box p,
  .operator,
  .result {
    margin: 0;
  }

  .formula .label {
    position: static;
    align-self: flex-start;
    margin-bottom: -8px;
    background: #28b4aa;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: bold;
  }

  .operator strong {
    font-size: 40px;
  }

  .price {
    font-size: 40px;
    font-weight: bold;
    color: #28646e;
  }

  .note {
    font-size: 25px;
  }
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  gap: 40px;
}

.hero-text {
  max-width: 500px;
  letter-spacing: 1.2px;
}

.hero-subttl {
  font-size: 2rem;
  padding: 0px;
  margin-bottom: 0px;
  line-height: 1.5;
  text-align: center;
}

.hero-subttl2 {
  font-size: 56px;
  padding: 10px;
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: center;
}

.hero-ttl {
  font-size: 50px;
  font-weight: bold;
  color: #28646e;
}

.masked-box {
  width: 400px;
  height: 400px;
  background-image: url("/images/saiyou.jpg"); /* ← 中に表示する画像 */
  background-size: cover;
  background-position: center;

  mask-image: url("/images/logo.png"); /* ← 図形（透過PNG） */
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;

  -webkit-mask-image: url("/images/logo.png"); /* Safari対応 */
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
}

/* fade-in */
section,
article,
.box {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-show {
  opacity: 1;
  transform: translateY(0);
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
}

.btn,
a.btn,
button.btn {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-rounded {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  padding: 35px 0;
  border-radius: 50%;
  background: #fcfff4;
  background: -webkit-gradient
    (
      linear,
      left top,
      left bottom,
      from (#fcfff4),
      color-stop(40%, #dfe5d7),
      to(#b3bead)
    );
  background: -webkit-linear-gradient(
    top,
    #fcfff4 0%,
    #dfe5d7 40%,
    #b3bead 100%
  );
  background: linear-gradient(to bottom, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
  -webkit-box-shadow: inset 5px 30px 20px rgba(255, 255, 255, 0.5),
    0 6px 10px rgba(0, 0, 0, 0.2);
  box-shadow: inset 5px 30px 20px rgba(255, 255, 255, 0.5),
    0 6px 10px rgba(0, 0, 0, 0.2);
}

a.btn-rounded i {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

a.btn-rounded:hover {
  -webkit-box-shadow: inset 15px 30px 40px rgba(255, 255, 255, 0.55),
    0 3px 7px rgba(0, 0, 0, 0.2);
  box-shadow: inset 15px 30px 40px rgba(255, 255, 255, 0.55),
    0 3px 7px rgba(0, 0, 0, 0.2);
}

a.btn-rounded:hover i {
  bottom: 6px;
}

.fa-position-bottom {
  position: absolute;
  bottom: 1rem;
  left: calc(50% - 1.7rem);
}

.lead {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 200;
    line-height: 1.4;
}

.under3 {
  background: linear-gradient(transparent 88%, #8a0829 50%);
}

.row {
  display: table;
  content: " ";
}

.touroku {
  margin-top: 50px;
  background-color: #e9f7f6;
}

        .container {
            max-width: 1280px;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            padding: 60px 40px;
            text-align: center;
            position: relative;
            overflow: hidden;
            background-color: #e9f7f6;
        }



        .header-touroku {
            margin-bottom: 40px;
        }



        .main-title {
            font-size: 28px;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        }

        .registration-info {
            background: linear-gradient(135deg,  #2c3e50, #1b3d1a);
            color: white;
            padding: 20px;
            border-radius: 15px;
            margin: 30px 0;
            font-size: 18px;
            font-weight: bold;
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
        }

        .registration-number {
            font-size: 20px;
            margin-top: 10px;
            letter-spacing: 1px;
        }

        .services-section {
            background: #f1f3f3(255, 255, 255, 0.1);
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
            border: 2px solid #28646e;rgba(102, 126, 234, 0.2);
        }

        .services-text {
            font-size: 16px;
            line-height: 1.9;
            color: #2c3e50;
            margin-bottom: 20px;
        }

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

        .service-card {
            background: white;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(102, 126, 234, 0.2);
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
        }

        .service-icon {
            font-size: 32px;
            margin-bottom: 15px;
        }

        .service-title {
            font-size: 16px;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 10px;
        }

        .service-desc {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
        }

        .cta-section {
            margin-top: 40px;
            padding: 30px;
            background: linear-gradient(135deg, #28646e);
            color: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
        }

        .cta-text {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 20px;
        }

        .contact-btn {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: 2px solid white;
            padding: 15px 30px;
            border-radius: 50px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            margin-top: 10px;
        }

        .contact-btn:hover {
            background: white;
            color: #667eea;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .footer {
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid rgba(102, 126, 234, 0.2);
            color: #666;
            font-size: 14px;
        }

        @media (max-width: 768px) {
            .container {
                padding: 40px 20px;
            }
            .main-title {
                font-size: 24px;
            }
            .registration-info {
                font-size: 16px;
            }
            .services-grid {
                grid-template-columns: 1fr;
            }
        }

        .support-container {
          max-width: 1280px;
        }

        .support-intro {
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.2);
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;

        }

        .support-intro h1 {
            font-size: 3.5em;
    color: #333333;
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: bold;
        }

        .support-intro p {
            font-size: 17px;
            color: #34495e;
            margin-bottom: 30px;
            animation: fadeInUp 1s ease-out 0.2s both;
            line-height: 1.6;
        }

        .cta-button {
    background: linear-gradient(45deg, #28646e, #1e4d56);
    color: white;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.4s both;
    display: block;
    margin: 20px auto;
    width: fit-content;
}

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        /* 全体的な枠のスタイルは変更なし */
.benefits {
    background: white;
    border-radius: 20px;
    padding: 40px 40px;
    margin: 40px auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
}

.benefits h2 {
    text-align: center;
    font-size: 30px;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
}

.benefits h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #28646e, #1e4d56);
    border-radius: 2px;
}

/* 各メリットアイテムを縦に1列に配置するためのスタイル */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

/* 各メリットアイテムの共通スタイル */
.benefit-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /* padding-topを調整して数字の丸が収まるようにする */
    padding: 60px 30px 30px 30px; /* 上部を多めに取る */
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden; /* 子要素がはみ出さないように */
    display: block;
    margin-bottom: 0;
    max-width: 1200px; /* アイテムの最大幅を設定 */
    width: 100%; /* 幅を100%に */
    margin: 0 auto; /* 中央寄せ */
}

/* 各メリットアイテムの上のライン */
.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #28646e, #1e4d56);
}

/* ホバー時のエフェクト */
.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 数字の丸い要素のスタイル */
.benefit-number {
    background: linear-gradient(45deg, #28646e, #1e4d56);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    /* margin-topを調整し、padding-topと合わせて位置を制御 */
    margin: -30px auto 25px auto; /* 数字を少しだけ上にずらす */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    position: relative;
}

/* タイトル（見出し）のスタイル */
.benefit-item h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    padding-top: 0;
    margin: 0 auto;
}

/* 文章（段落）のスタイル */
.benefit-item p {
    color: #666;
    line-height: 1.7;
    font-size: 17px;
    margin-top: 0;
    text-align: left;
}

        .inquiry-section {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(15px);
            border-radius: 20px;
            padding: 60px 40px;
            margin: 40px 0;
            text-align: center;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .inquiry-section h2 {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 20px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
        }

        .inquiry-section p {
            font-size: 1.2rem;
            color: #34495e;
            margin-bottom: 30px;
        }

        .customer-voice-pair {
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 98%;
    margin-left: 0;
    margin-right: 0;
}
.koe-title {
    background-color: #ffffff;   /* 背景を白に設定（これは維持） */
    padding: 50px 20px;          /* 上下左右のパディング */
    margin: 60px auto;           /* 上下のマージンと左右中央揃えに戻す */
    text-align: center;          /* div内の画像を中央寄せ */
    max-width: 1000px;           /* このdiv自体の最大幅（コンテンツの広がりに合わせて調整） */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* 影を追加して浮き出たように見せる */
}

.koe-title img {
    max-width: 800px;            /* 画像の最大幅。必要に応じて調整してください */
    width: 100%;                 /* 親要素の幅に合わせて可変 */
    height: auto;                /* 画像の元の縦横比を維持 */
    display: block;              /* 画像の周囲の不要な余白をなくす */
    margin: 0 auto;              /* 画像自体を中央寄せにする */
}

@media (max-width: 767px) {
.support-intro h1 {
            font-size: 22px;
            color: #2c3e50;
            margin-bottom: 20px;
            margin-top: 25px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
            animation: fadeInUp 1s ease-out;
            font-weight: 700;
            line-height: 1.3;
        }
.support-intro p {
            font-size: 17px;
            color: #34495e;
            margin-bottom: 30px;
            animation: fadeInUp 1s ease-out 0.2s both;
            line-height: 1.6;
            text-align: left;
            max-width: 95%;
            margin: 0 auto;
        }
    .koe-title {
        padding: 30px 15px;
        margin: 40px auto;
    }

    .koe-title img {
        max-width: 90%;
    }

    .benefits h2 {
    text-align: center;
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 50px;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

  .benefits {
    background: white;
    border-radius: 20px;
    padding: 40px 10px;
    margin: 40px auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
}
}
.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.image-container img {
    max-width: calc(45% - 10px);
    width: auto;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    object-fit: contain;
}

/* スマートフォン表示での調整 */
@media (max-width: 767px) {
    .image-container {
        flex-direction: column; /* スマートフォンでは縦に並べる */
        align-items: center; /* 中央寄せ */
        gap: 20px; /* 縦方向の隙間 */
    }

    .image-container img {
        max-width: 115%;
        position: relative;
        right: 7.5%;
    }

    .customer-voice-pair {
        padding: 20px;
        margin-bottom: 40px;
    }
    }

    .kinyutyou-intro {
    width: 100%;
    max-width: 800px;
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
}

.content-kinyutyou {
    margin-bottom: 30px;
}

.title-kinyutyou {
    font-size: 3.5em;
    color: #333333;
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: bold;
}

.content-kinyutyou p {
    font-size: 2.0em;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.cta-call {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 30px;
}

.call-box,
.line-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    width: 100%;
    max-width: 500px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.call-box {
    background-color: #28646e; /* A blue color, common for call to actions */
    color: #ffffff;
    border: 2px solid #28646e; /* Matching border */
    font-size: 20px;
}

.call-box:hover {
    background-color: #28646e; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift on hover */
}

.line-box {
    background-color: #06C755; /* LINE green color */
    color: #ffffff;
    border: 2px solid #06C755; /* Matching border */
    font-size: 20px;
}

.line-box:hover {
    background-color: #05a044; /* Darker green on hover */
    transform: translateY(-2px);
}

.credibility {
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.credibility h2 {
  text-align: center;
  position: relative;
  padding-bottom: 10px;
  font-size: 25px;
}

.credibility h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #28646e;
}

.authority p {
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 18px;
}

.illegal {
  padding: 15px;
  background-color: #fcf8f2;
  color: #d9534f;
  font-weight: bold;
  line-height: 1.5;
  /* 注意書きの要素にシャドウを適用 */
  box-shadow: 0 2px 4px rgba(255, 0, 0, 0.4);
  border: none;
  font-size: 17px;
}
.authority ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px auto;
  text-align: center;
  width: fit-content;
}

.authority ul li {
  display: block;
  width: 100%;
  max-width: 800px;
  background-color: #f6ffff;
  border: 1px solid #ddd;
  padding: 8px 15px;
  margin: 0 auto 8px auto;
  border-radius: 4px;
  color: #333;
  line-height: 1.4;
  box-sizing: border-box;
  text-align: left;
  word-wrap: break-word;
  font-size: 17px;
}

.authority h3 {
  font-size: 2.5em;
  color: #333;
  margin-top: 50px;
  margin-bottom: 15px;
  border-bottom: 1px solid #28646e;
  padding-bottom: 5px;

}

.authority p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.authority h4 {
  font-size: 20px;
  color: #be0000;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: center;
}
.media-keisai {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.media-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 30px 30px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 0;
}


.media-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #28646e, #1e4d56);
}

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


.media-number {
  position: relative;
  padding: 0.1em 0.1em;
  background: -webkit-linear-gradient(to right, rgb(32, 117, 96), transparent);
  background: linear-gradient(to right, rgb(120, 202, 182), transparent);
  color: #242424;
  font-size: 35px;
  font-family: Times;
}


.media-item h3 {
    font-size: 18px;
    color: #3a3a3a;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    padding-top: 0;
}

.media-item p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
    margin-top: 0;
    text-align: center;
}

@media (max-width: 768px) {
  .kinyutyou-intro {
    padding: 30px 15px;
  }

  .title-kinyutyou {
    font-size: 2.4em;
  }

  .content-kinyutyou p {
    font-size: 1.3em;
  }

  .cta-call {
    flex-direction: column; /* 横並び→縦並び */
    gap: 15px;
  }

  .call-box,
  .line-box {
    font-size: 1.4em;
    padding: 15px 20px;
    max-width: 100%;
  }

  .credibility {
    padding: 30px 15px;
    margin: 40px 0;
  }

  .authority ul li {
    font-size: 15px;
    padding: 10px 12px;
    max-width: 100%;
  }

  .media-keisai {
    grid-template-columns: 1fr; /* 1列に */
    gap: 25px;
  }
}

/* スマホ対応（480px以下） */
@media (max-width: 480px) {
  .kinyutyou-intro {
    padding: 20px 10px;
    border-radius: 0;
  }

  .title-kinyutyou {
    font-size: 1.9em;
  }

  .content-kinyutyou p {
    font-size: 1.4em;
  }

  .call-box,
  .line-box {
    font-size: 1.6em;
    padding: 12px 15px;
  }

  .credibility h2 {
    font-size: 20px;
  }
  .credibility p {
    font-size: 16px;
  }
  .authority ul li {
    font-size: 14px;
    padding: 8px 10px;
  }
  .authority h3 {
  font-size: 2.2em;
  color: #333;
  margin-top: 50px;
  margin-bottom: 15px;
  border-bottom: 1px solid #28646e;
  padding-bottom: 5px;

}
  .authority h4 {
    font-size: 20px;
    padding: 8px 10px;
    margin-top: 20px;
  }

  .media-item h3 {
    font-size: 16px;
  }

  .media-item p {
    font-size: 13px;
  }
}