html {
  font-size: 16px;
}

html, body {
  overflow-x: hidden;
}


body {
  font-family: 'Yu Gothic', sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background-color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-inner {
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.header-inner .logo {
  height: 4rem;
  margin-left: 0;
  margin-right: auto;
}

nav {
    display: flex;
  }

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  margin-bottom: 0.25rem;
}

nav a {
  font-size: 0.7rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: rgba(0, 0, 0, 0.5);
}

.contact-btn a {
  border: 1px solid #333;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-btn a:hover {
  color: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 0, 0, 0.5);
}

.hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  z-index: 1;
  padding-top: 70px; 
}

.hero img.bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  object-fit: cover;
  z-index: -1;
  transform: scale(1);
  transition: transform 3s ease-in-out;
}

.hero:hover img.bg {
  transform: scale(1.05);
}

.hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5rem;
  box-sizing: border-box;
}

.hero .hero-content {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%; /* 追加：可変幅に対応 */
  max-width: 900px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: white;
  box-sizing: border-box;
}

.hero .hero-content img {
  width: 300px;
  height:auto
}


.hero-logo-sp {
  display: none; /* 初期は非表示（PC用） */
}

.hero .hero-content p {
  font-size: 1rem;
}


.scroll-indicator {
  position: absolute;
  top: 100%;
  left: 8%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  pointer-events: none;
  margin-top: -320px;
  width: 100%;
}

.scroll-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 14px;
  font-family: 'YuGothic', sans-serif;
  color: #ffff;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  opacity: 0.9;
}

.scroll-line::after {
  content: "";
  display: block;
  width: 1px;
  height: 100px;
  background: #fff;
  z-index: 10;
  animation: scrollLine 2.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  30% {
    transform: scaleY(1);
    transform-origin: top;
  }
  70% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.section {
  padding: 80px 20px;
  margin: auto;
  position: relative;
}

  .section-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
  }

.section-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
  }

  .section-bg-wrapper .bg-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 60vw;
    height: 60vw;
    background-image: url('/img/bg_01.png');
    background-repeat: no-repeat;
    background-size: contain;
  }

  .section-bg-wrapper .bg-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 60vw;
    height: 60vw;
    background-image: url('/img/bg_02.png');
    background-repeat: no-repeat;
    background-size: contain;
  }


.section-title {
  position: relative;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  margin-bottom: 3rem;
  z-index: 1;
}

.section-title-contact {
  position: relative;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 3rem;
  z-index: 1;
}

.section-heading-wrapper {
  display: flex;
  max-width: 900px;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}

.section .section-heading {
  max-width: 726px;
  width: 100%;
  margin-bottom: 40px;
  z-index: 1;
}

.section .section-label {
  font-family: 'Yu Gothic', sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.section .section-label img {
  height: 1.5rem;
}

 /* .section-en {
    position: absolute;
    top: -3rem;
    right: 0;
    font-size: 7.5rem;
    line-height: 7.7rem;
    color: #F2F6F9;
    font-family: 'YuGothic Bold', 'Yu Gothic', sans-serif;
    z-index: 0;
    white-space: nowrap;
    text-align: right;
    width: 1200px;
    max-width: 100%;
    pointer-events: none;
    z-index: 0;
  } */

.section .section-heading h3 {
  font-size: 2rem;
  color: #36A6C9;
  font-family: 'Yu Gothic', sans-serif;
  font-weight: 600;
  margin: 0 0 2rem;
}

.section-subtitle {
  font-size: 1.25rem;
  font-family: 'Yu Gothic', sans-serif;
  font-weight: 600;
  color: #333;
  margin-bottom: -0.5rem;
}

.section .section-heading p {
  font-size: 1rem;
  line-height: 1.8;
}

.logo-section {
  background-color: #F2F7FA;
  padding: 160px 20px 80px;
  position: relative;
  text-align: center;
}

.logo-wrapper {
  margin-top: -80px;
  margin-bottom: 60px;
}

.logo-wrapper img {
  height: 120px;
}

.logo-description-section {
  background-color: #F2F7FA;
  padding: 0px 20px 80px;
  text-align: center;
}

.logo-description-section .logo {
  margin: -4rem auto 4rem;
  height: 16vw;
  z-index: 1;
}

.logo-description-wrapper {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

  .logo-description {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: flex-start;
    gap: 7rem;
    text-align: left;
    width: 100%;
    margin-left: 5%;
  }

.logo-description .logo-img {
  height: 2rem;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-description .logo-text {
  border-left: 1px solid #000;
  padding-left: 1rem;
  max-width: 500px;
}

.logo-description .logo-text h4 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  font-family: 'Yu Gothic', sans-serif;
  font-weight: 600;
}


.logo-description .logo-text p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}


.block-title {
  font-size: 1.4rem;
  font-family: 'Yu Gothic', sans-serif;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  position: relative;
  margin: 1rem;
}

.block-title .emphasis {
  color: #36A6C9;
  position: relative;
  display: inline-block;
}

.block-title .emphasis::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.05em;
  width: 100%;
  height: 2px;
  background-color: #36A6C9;
}


.content-block-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 1;
  align-items: center;
  padding: 0 1.5rem 80px;
  box-sizing: border-box;
  margin-top: 3rem;
}

.content-block {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  width: 100%;
  gap: 0.5rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.content-block.reverse {
  flex-direction: row-reverse;
}


.content-block .content-image img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
}

.content-image {
  flex: 1 1 calc(45% - 1rem);
  z-index: 2;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.header-inner img {
  height: 3.5rem;
}


.content-text {
  flex: 1 1 calc(55% - 1rem);
  padding: 1.5rem 2rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.content-text h4 {
  font-size: 1.4rem;
  font-family: 'Yu Gothic', sans-serif;
  font-weight: 600;
  color: #36A6C9;
  border-bottom: 2px dotted #36A6C9;
  padding-bottom: 0.25rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.content-detail {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-left: 5%;
  margin-bottom: 1rem;
}

.content-detail p{
  margin-left: 0.5rem;
  margin-top: -0.1rem;
}

.dot-heading {
  font-size: 1rem;
  font-family: 'Yu Gothic', sans-serif;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 0;
}

.point-list {
  list-style: none;
  padding: 0;
  margin-left: 1.2rem;
}

.point-list li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  font-family: 'Yu Gothic', sans-serif;
  font-weight: 400;
}

.point-list .dot {
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5em;
  height: 0.5em;
  background-color: #36A6C9;
  border-radius: 50%;
}
.content-block .content-text p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.background-box {
  position: absolute;
  width: 45%;
  aspect-ratio: 4 / 3;
  background-color: #F2F7FA;
  z-index: 0;
  top: 30px;
}

/* 通常（左画像） */
.content-block:not(.reverse) .background-box {
  left: 40%;
  transform: translateX(-20%);
}

/* reverse（右画像） */
.content-block.reverse .background-box {
  right: 40%;
  transform: translateX(20%);
}


.event-examples {
  background-color: #F2F7FA;
  padding: 4rem 1rem;
  text-align: center;
}

.event-examples .block-title {
  margin-bottom: 1.5rem;
}

.event-subtext {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.event-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 928px;
  margin: 0 auto;
}

.event-box {
  width: 30%;
  min-width: 280px;
  max-width: 300px;
  height: 240px;
  background-color: #fff;
  box-sizing: border-box;
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
}

.event-box img {
  width: auto;
  height: 64px;
  margin: 0 auto;
}

.event-box p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  font-family: 'Yu Gothic', sans-serif;
  font-weight: bold;
}

.section-strength {
  margin-left: 5rem;
}

.strengths-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 1200px;
  margin-left: 5%;
}

.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 885px;
  width: 100%;
  text-align: left;
  margin-bottom: 3rem;
}

.strength-number {
  height: 6vw;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.strength-text-block {
  display: flex;
  flex-direction: column;
}

.strength-text {
  font-size: 1.8rem;
  font-family: 'Yu Gothic', sans-serif;
  font-weight: bold;
  margin: 0 0 1rem;
}

.strength-text .highlight {
  color: #36A6C9;
}

.strength-description {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.company-section {
  background-color: #F2F7FA;
}

.company-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  border-top: 0.8px solid #333;
}

.company-table th,
.company-table td {
  border-bottom: 0.8px solid #333;
  padding: 10px;
  vertical-align: top;
  text-align: left;
}

.company-table th {
  width: 20vw;
  font-weight: 600;
  font-family: 'Yu Gothic', sans-serif;
}

.company-table td {
  font-family: 'Yu Gothic', sans-serif;
  line-height: 1.6;
}

.contact-section {
  background-image: url('/img/contact_bg_pc.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: white;
  padding: 8rem 1rem;
  position: relative;
}

.contact-overlay {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-button {
  width: 40vw;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.2rem;
  padding: 1.5rem 3rem;
  background-color: #fff;
  color: #333;
  text-decoration: none;
  border: 1px solid #333;
  transition: background-color 0.3s, color 0.3s;
}

.contact-button:hover {
  background-color: #36A6C9;
  color: white;
  border-color: #36A6C9;
}

.contact-icon {
  width: 1.5rem;
  height: auto;
}

.contact-button:hover .contact-icon {
  content: url('/img/contact_icon_wh.svg');
}

.footer {
  background-color: #36A6C9;
  color: #fff;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items:flex-end;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 90px;
  height: auto;
  margin-left: 20px;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  padding: 0.25rem 0.5rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav .outline {
  border: 1px solid #fff;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-nav .outline:hover {
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
}

.footer-line {
  border: none;
  border-top: 1px solid #fff;
  margin: 2rem auto 1rem;
  width: 100%;
  max-width: 1200px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.footer-address {
  margin: 0.5rem 0;
}

.footer-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-meta a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-meta a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}


/* sp表示 */

@media screen and (max-width: 767px) {
  html {
    font-size: 14px;
  }

.header-inner {
  padding: 0.75rem 1rem 0.75rem 0;
  align-items: center;
padding: 0.75rem 1rem;
}

.header-inner .logo {
  height: 3.5rem;
  margin-right: auto;
  display: block;
}


  /* ハンバーガーボタン */
.hamburger {
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #333;
  transition: 0.3s;
}

.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 9px;
}
.hamburger span:nth-child(3) {
  top: 18px;
}

/* 開いたとき（×アイコン） */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #333;
  display: block;
}

/* モバイルメニュー本体 */

#mobileNav {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  /* その他必要なスタイル */
}

#mobileNav.open {
  pointer-events: auto;
  opacity: 1;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}


.mobile-nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.mobile-nav li {
  margin: 1.5rem 0;
}

.mobile-nav a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

.mobile-nav a:active {
  opacity: 0.6;
}

.mobile-nav .outline {
  border: 1px solid #333;
  padding: 0.5rem 1rem;
  display: inline-block;
}

/* ハンバーガーここまで */


/* 表示切り替え用クラス */
.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}



  .sp-only {
      display: inline;
    }

  .pc-only {
    display: none;
  }

  .header-inner .logo {
 width: 55vw;
 margin-top: 0.5rem;
  }
.mobile-nav.open {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .section {
    padding: 2rem 1.5rem;
    position: relative;
  overflow: hidden;
  }

  .section-heading-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

.section .section-heading h3 {
  font-size: 1.7rem;
  margin: 0 0 1.8rem;
}

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

  .content-text, .content-image {
    flex: 1 1 100%;
    padding: 0;
  }

  .content-block .content-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  
  .hero .hero-content {
    position: absolute;
  top: 40vw;
    bottom: 60%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    align-items: center;
    width: 100%;
    max-width: 90%;
    box-sizing: border-box;
  }

    .hero-logo-pc {
      display: none; /* PC用画像非表示 */
    }

  .hero .hero-content img {
    max-width: 200px;
    height:auto
  }

.logo-description-section .logo {
  margin: -3rem auto 4rem;
  height: 35vw;
  z-index: 1;
}

  .hero-logo-sp {
    display: block;
    height: auto;
    margin: 0 auto 1rem;
  }

.logo-description-wrapper {
    flex-direction: column;
    align-items: flex-start;
    margin-right: 8%;
  }

  .logo-description {
    flex-direction: row;
    align-items: flex-start;
    max-width: 100%;
    gap: 1rem;
  }

 .logo-description .logo-img {
    height: 1.3rem;
  }
  



  /* 通常（左画像） */
.content-block:not(.reverse) .background-box {
    width: 80vw;
    aspect-ratio: 4 / 3;
    top: 400px;
    left: 80%;
    transform: translateX(-50%);
    z-index: -1;
  }

/* reverse（右画像） */
.content-block.reverse .background-box {
    width: 80vw;
    aspect-ratio: 4 / 3;
    top: 250px;
    right: 80%;
    left: auto;
    transform: translateX(50%);
    z-index: -1;
  }

  .event-subtext {
    margin: 0 1rem;
    margin-bottom: 2rem;
    text-align: left;
  }

  .event-box {
    width: 45%;
    min-width: auto;
    max-width: none;
    height: auto;
    padding: 2rem 1rem;
    gap: 0.75rem;
  }
  
  
.event-box img {
  width: auto;
  height: 14vw;
  margin: 0 auto;
}

.event-box p {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1.4;
}
  
.section-strength {
  margin-left: 1rem;
}

  .strengths-wrapper {
    margin-left: -1%;
  }

  .strength-item {
    gap: 1.2rem;
  }

   .strength-number {
    height: 46px;
  }

   .strength-text {
    font-size: 1.4rem;
  }

  .contact-button {
  width: 60vw;
  height: auto;
  }

.footer {
    padding: 2rem 1rem;
    text-align: center;
    background-color: #2ba6c9;
  }

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

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

  .footer-nav {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
  }

  .footer-nav a.outline {
    border: 1px solid #fff;
    padding: 0.4rem 1rem;
  }

  .footer-line {
    margin: 1rem 0;
    border: none;
    height: 1px;
    background-color: #fff;
    opacity: 0.4;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #fff;
  }

  .footer-meta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .footer-meta a {
    color: #fff;
    text-decoration: underline;
  }

}


/* アニメーション */

/* 初期状態 */
.fadein-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示された時 */
.fadein-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* 共通: 初期状態とトランジション */
.fadein-left,
.fadein-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 左からスライド */
.fadein-left {
  transform: translateX(-20px);
}

.fadein-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* 右からスライド */
.fadein-right {
  transform: translateX(20px);
}

.fadein-right.show {
  opacity: 1;
  transform: translateX(0);
}