/* --------------------
   基本スタイル
-------------------- */

.sp-hide,
.pc-hide {
  display: block;
}

@media screen and (max-width: 1000px) {
  .sp-hide {
    display: none !important;
  }
}

@media screen and (min-width: 1001px) {
  .pc-hide {
    display: none !important;
  }
}

/* --------------------
   tub
   ▼ 1000px以下：ダブレット（タブレット）
-------------------- */

@media screen and (max-width: 1000px) {

  html, body {
  overflow-x: hidden;
  }

  .header-container {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }


  .header-container,
  .footer-container {
    max-width: 100%;
    overflow: hidden;
  }

  .nav ul {
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
  }

  .entry-btn {
    position: relative;
    display: inline-block;
    padding: 1em 3em 1em 1.5em;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    border-radius: 9999px;
    background: linear-gradient(0deg, rgba(67, 177, 227, 1) 0%, rgba(40, 153, 196, 1) 50%, rgba(0, 117, 194, 1) 100%);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
  }

  .entry-btn::after {
    content: "›";
    position: absolute;
    right: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
    color: #fff;
    line-height: 1;
    pointer-events: none;
  }

  .entry .entry-btn{
    padding: 0;
    font-weight: 100;
  }

  .site-footer {
    background-position: right;
  }

/* --------------------
   hero
-------------------- */

  .header-container {
      width: 100%;
    }

  .hero-text {
    max-width: 800px;
    margin-top: 80px;
  }

  .hero-text h1 {
    width: 80%;
    margin-left: 24px;
  }

  .hero-text h2 {
    font-size: 28px;
  }

  img.ceo {
      width: 500px;
      top: 50%;
      z-index: -1;
  }

  .text-section {
    left: 8%;
  }

  .entry-btn-header {
    display: none;
  }

  /* --------------------
     section
  -------------------- */

  .what {
      padding: 80px 0;
    }

  section.interview {
      padding: 80px 0;
  }

  .section .whitebox, .section-left .whitebox {
      width: 80%;
      float: none;
      padding: 80px 24px;
      margin: 0 auto;
      margin-bottom: 80px;
  }

  .section .section-image,
  .section-left .section-image {
    position: static;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    margin-bottom: 24px;
  }

  .section h3, .section-left h3 {
    margin-bottom: 40px;
    color: #0072ce;
    text-align: center;
  }

  img.overlay-sp{
    width: 80%;
    margin: 0 auto;
    mix-blend-mode: multiply;
    margin-bottom: 40px;
  }

  .about p{
    text-shadow: 2px 3px 10px rgba(32, 47, 78, 0.4);
  }

  /* --------------------
     massage
  -------------------- */

  img.message {
    width: 70%;
    margin: 0px auto;
    padding-left: 15%;
  }

  .message-box {
    width: 80%;
    padding: 80px 24px;
    margin: 0 auto;
  }

  .message-photo {
    float: none;
    width: 200px;
    margin: 0 auto;
    margin-bottom: 40px;
  }

  .outer-box {
      background: none;
  }

  img.message {
    width: 50%;
    margin: 0px auto;
    padding-left: 0;
}

  /* --------------------
     footer
  -------------------- */

  .footer-inner {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    flex-direction: column;
  }

  span.bar {
    width: 90%;
    height: 1px;
  }


  .copyright {
    text-align: center;
    padding: 8px;
    padding-bottom: 8px;
    text-align: center;
  }

}


/* ▼ 500px以下：スマホ */
@media screen and (max-width: 500px) {
  .hero-text h2 {
    font-size: 26px;
  }
  span.bg {
    padding: 8px;
  }
  .site-header{
    border:none;
  }

  .hero {
    height: 144vw;
  }

  .hero-text .highlight {
    font-size: 24px;
    margin-top: 120px!important;
  }

  .logo img {
    width: 140px;
  }

  .nav li a {
    font-size: 12px;
  }

  .text-section.aos-init.aos-animate {
    top: 80vw;
    left: 24px;
  }

  .message-box {
    padding: 40px 24px;
    top: 0;
    left: 0;
  }

  .hero-text h1 {
    width: 90%;
    margin: 0 auto;
  }

  .ceo-name {
    margin-top: 16px;
  }


  h4 {
    font-size: 24px;
  }

  p.pc-hide.aos-init.aos-animate {
    width: 95%;
    text-align: left;
  }

  img.ceo {
        width: 100%;
        top: 30%;
        z-index: -1;
  }

  img.no {
    width: 80px;
    display: block;
    margin: 0 auto;
    margin-bottom: 24px;
  }

  .section span, .section-left span {
    font-size: 18px;
    font-weight: bold;
    margin-left: 0;
    line-height: 2.2em;
  }

  .section .whitebox, .section-left .whitebox {
      padding: 40px 24px;
  }

  img.message {
    width: 80%;
  }

  .message-photo {
      width: 200px;
      margin-right: 0;
      margin: 0 auto;
      margin-bottom: 40px;
  }

  .message {
    margin-bottom: 80px;
  }

  .logo img {
        width: 200px;
    }

}

/* ▼ HM  デフォルト非表示 */
.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 9999;
  position: fixed;
  top: 24px;
  right: 24px;
}

.hamburger span {
  display: block;
  height: 4px;
  background: #0075c2;
  border-radius: 2px;
}

/* ▼ ハンバーガー表示：1000px以下 */
@media screen and (max-width: 1000px) {
  .hamburger {
    display: flex;
  }

  .hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  }

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

  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -8px);
  }

  .hamburger span {
    transition: all 0.3s ease;
  }


  nav {
    position: fixed;
    top: 0;
    left: -100vw; /* ← ここ！右にズラすんじゃなくて、完全に左へ逃がす */
    width: 100vw;
    height: 100vh;
    background: #ddecf5;
    transition: left 0.3s ease;
    z-index: 9999;
    overflow: hidden;
  }
  nav.active {
    left: 0;
  }

  nav.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    padding: 100px 24px 24px; /* ヘッダーの高さ＋余白 */
    overflow-y: auto;
    box-sizing: border-box;
  }

  .nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .nav li {
    text-align: left;
  }

  .nav li a {
    font-size: 21px;
    color: #0075c2;
  }

  nav.active .entry-btn {
    display: block;
    max-width: 280px;
    margin: 24px auto 0;
    padding: 20px;
    font-size: 16px;
    text-align: center;
    border-radius: 50px;
  }

  section.links {
    margin-bottom: 80px;
  }

  .links a.entry-btn-footer {
    margin: 24px;
  }

}
