:root {
  --main-blue: #2FA8E0;
  --deep-blue: #184B73;
  --hover-blue: #1C7DB5;
  --footer-gray: #ebebeb;
  --footer-text: #2c2c2c;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 36px;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header__logo {
  flex: 0 0 auto;
}

.site-header__logo img {
  display: block;
  width: 230px;
  height: auto;
}





.site-header__menu-button {
  display: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.site-header__menu-button span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background: #111111;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding-top: 16px;
  padding-bottom: 16px;
  backdrop-filter: blur(8px);
}

.site-header.is-scrolled .site-header__logo img {
  width: 200px;
}

.about-hero {
  position: relative;
  min-height: 600px;
  background-image: url("../images/header.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-hero__text {
  position: absolute;
  left: 8%;
  bottom: 18%;
}

.about-hero__en {
  margin: 0 0 20px;
  font-size: 8rem;
  font-weight: 300;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  color: rgba(214, 244, 248, 0.88);
  line-height: 1;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.18);
}

.about-hero__ja {
  margin: 0;
  font-size: 4.2rem;
  font-weight: 700;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #163b5c;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.18);
}

.about-hero__ja {
  margin: 0;
  font-size: 4rem;
  color: #2c2c2c;
  line-height: 1.2;
}

.about-company-section {
  padding: 80px 0 40px;
}

.about-company-section__inner {
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
}

.about-profile,
.about-info-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-profile {
  margin-bottom: 80px;
}

.about-profile__image img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.about-profile__text {
  padding-top: 10px;
}

.section-heading {
  position: relative;
  margin: 0 0 28px;
  padding-left: 22px;
  font-size: 3rem;
  color: #2f2f2f;
  line-height: 1.3;
}

.section-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 6px;
  height: 0.95em;
  background: var(--main-blue);
}

.about-profile__body {
  margin-bottom: 56px;
}

.about-profile__body p {
  margin: 0 0 16px;
  font-size: 1.15rem;
  line-height: 2;
  color: #3c3c3c;
}

.company-info-center {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.company-info-center .company-info-table {
  width: 100%;
  max-width: 900px;
}

.company-info-table dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin: 0;
  padding: 20px 0;
  border-bottom: 2px dotted #444;
}

.company-info-table dt {
  font-weight: 700;
  font-size: 1.1rem;
  color: #2f2f2f;
}

.company-info-table dd {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2f2f2f;
}

.company-info-table a {
  color: inherit;
  text-decoration: none;
}

.company-map img {
  width: 100%;
  display: block;
}

.corporate-cta-section {
  padding: 56px 0 80px;
}

.corporate-cta-section__inner {
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
}

.corporate-cta-section__inner li {
  width: 100%;
  max-width: 760px;
}

.corporate-cta-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 108px;
  background: var(--deep-blue);
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  border: 2px solid #ffffff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.corporate-cta-button div {
  width: 100%;
}

.corporate-cta-button span {
  display: block;
  width: 100%;
  font-size: 1.8rem;
  font-weight: 700;
}

.site-footer {
  background: var(--footer-gray);
  color: var(--footer-text);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.site-footer__main {
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
  padding: 36px 0 24px;
  text-align: center;
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 48px;
}

.site-footer__logo img {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 auto;
}

.site-footer__nav {
  display: flex;
  justify-content: center;
}

.site-footer__nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav-list li {
  position: relative;
  padding: 0 54px;
}

.site-footer__nav-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 30px;
  background: rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
}

.site-footer__nav-list a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.site-footer__nav-list a:hover {
  opacity: 0.7;
}

.site-footer__copyright {
  background: #dcdcdc;
  text-align: center;
  padding: 18px 16px;
}

.site-footer__copyright p {
  margin: 0;
  color: #333333;
  font-size: 0.95rem;
}

.site-header__mobile-panel {
  display: none;
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--main-blue) transparent;
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
  transition: 0.3s;
}

html:hover::-webkit-scrollbar-thumb {
  background: var(--main-blue);
}

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 72px;
  height: 72px;
  background: var(--main-blue);
  border-radius: 50%;
  z-index: 999;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top:hover {
  background: var(--hover-blue);
}

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

@media (max-width: 1200px) {

}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 16px;
  }

  .site-header__menu-button {
    display: block;
  }

  .site-header__logo img {
    width: 180px;
  }

  .site-header.is-scrolled .site-header__logo img {
    width: 160px;
  }

  .site-header__mobile-panel {
    display: none;
    width: 100%;
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .site-header.is-menu-open .site-header__mobile-panel {
    display: block;
  }

  .site-header__mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 12px 0;
  }

  .site-header__mobile-nav li {
    border-bottom: 1px solid #e5e7eb;
  }

  .site-header__mobile-nav li:last-child {
    border-bottom: none;
  }

  .site-header__mobile-nav a {
    display: block;
    padding: 16px 20px;
    color: #111111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    background: #ffffff;
  }

  .site-header__mobile-nav a:hover {
    background: #f8fafc;
  }

  .site-header__menu-button span {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-header.is-menu-open .site-header__menu-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header.is-menu-open .site-header__menu-button span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .site-header__menu-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .about-hero__text {
    left: 6%;
    bottom: 12%;
  }

  .about-hero__en {
    font-size: 4rem;
  }

  .about-hero__ja {
    font-size: 2.4rem;
  }

  .about-company-section__inner,
  .corporate-cta-section__inner {
    width: min(100%, calc(100% - 32px));
  }

  .about-profile,
  .about-info-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-heading {
    font-size: 2rem;
  }

  .company-info-table dl {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .corporate-cta-button span {
    font-size: 1.3rem;
  }

  .site-footer__main {
    width: min(100%, calc(100% - 32px));
    padding: 56px 0 44px;
  }

  .site-footer__logo {
    margin-bottom: 32px;
  }

  .site-footer__logo img {
    width: 120px;
  }

  .site-footer__nav-list {
    flex-direction: column;
    gap: 18px;
  }

  .site-footer__nav-list li {
    padding: 0;
  }

  .site-footer__nav-list li:not(:last-child)::after {
    display: none;
  }

  .site-footer__nav-list a {
    font-size: 1rem;
  }

  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
  }

  .back-to-top::before {
    top: 23px;
    left: 18px;
    width: 16px;
    height: 16px;
    border-top-width: 3px;
    border-left-width: 3px;
  }
}
.button-32 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 250px;
  margin:0 auto;
  padding: .9em 2em;
  overflow: hidden;
  border: 1px solid #184b73;
  border-radius: 5px;
  background-color: #fff;
  color: #184b73;
  font-size: 1em;
  text-decoration: none;
}

.button-32:hover {
  background-color: transparent;
  color: #fff;
}

.button-32::before {
  position: absolute;
  z-index: -1;
  transform: rotate(-30deg);
  width: 100%;
  height: 0;
  border-radius: 5px;
  background-color: #184b73;
  content: '';
  transition: height .3s ease;
}

.button-32:hover::before {
  height: 350%;
}
.site-header__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-left: 80px;
  margin-right: 40px;
}


.site-header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-top: 0;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: 70px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-left: 120px;
}




.site-header__nav-list li {
  position: relative;
  display: flex;
  align-items: center;
}


.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: 70px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-right: 60px;
}

.site-header__cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 320px;
  flex-shrink: 0;
  margin-left: -40px;
}

.site-header__cta-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header__nav-list a {
  color: #111111;
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  line-height: 1.4;
  letter-spacing: 0.08em;
  transition: 0.3s;
}

.site-header__nav-list a:hover {
  color: #184b73;
  text-decoration: none;
}
.site-header__nav-list li {
  position: relative;
  display: flex;
  align-items: center;
}

.site-header__nav-list li:not(:last-child)::after {
  content: "/";
  position: absolute;
  right: -38px;
  color: #184b73;
  font-size: 18px;
  font-weight: 500;
}

.site-header__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
  margin-left: 80px;
  margin-right: 120px;
}

.site-header__nav {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  padding-top: 0;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: 70px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__nav-list li {
  position: relative;
  display: flex;
  align-items: center;
}

.site-header__nav-list li:not(:last-child)::after {
  content: "/";
  position: absolute;
  right: -38px;
  color: #184b73;
  font-size: 18px;
  font-weight: 500;
}

.site-header__cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: auto;
  flex-shrink: 0;
  margin-left: 0;
}

.site-header__cta-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.button-39 {
  margin: 0;
}
@media (max-width: 1000px) {
  .site-header {
    padding: 24px 28px;
  }

  .site-header__logo img {
    width: 200px;
  }

  .site-header__main {
    gap: 36px;
    margin-left: 40px;
    margin-right: 60px;
  }

  .site-header__nav-lisst {
    gap: 52px;
  }

  .site-header__nav-list li:not(:last-child)::after {
    right: -28px;
  }

  .button-39 {
    width: 230px;
  }
}

@media (max-width: 1100px) {
  .site-header__logo img {
    width: 180px;
  }

  .site-header__main {
    gap: 28px;
    margin-left: 24px;
    margin-right: 32px;
  }

  .site-header__nav-list {
    gap: 38px;
  }

  .site-header__nav-list a {
    font-size: 16px;
  }

  .site-header__nav-list li:not(:last-child)::after {
    right: -22px;
    font-size: 14px;
  }

  .button-39 {
    width: 210px;
    height: 56px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    padding: 18px 16px;
  }

  .site-header__main {
    display: none;
  }

  .site-header__menu-button {
    display: block;
  }

  .site-header__logo img {
    width: 170px;
  }

  .site-header.is-scrolled .site-header__logo img {
    width: 150px;
  }

  .about-hero {
    min-height: 480px;
  }

  .about-hero__text {
    left: 6%;
    bottom: 14%;
  }

  .about-hero__en {
    font-size: 4.5rem;
  }

  .about-hero__ja {
    font-size: 2.5rem;
  }

  .about-profile,
  .about-info-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .site-header__logo img {
    width: 145px;
  }

  .about-hero {
    min-height: 420px;
  }

  .about-hero__en {
    font-size: 3.4rem;
  }

  .about-hero__ja {
    font-size: 2rem;
  }

  .about-company-section {
    padding: 56px 0 32px;
  }

  .about-company-section__inner {
    width: calc(100% - 32px);
  }

  .company-info-table dl {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .corporate-cta-button {
    min-height: 82px;
  }

  .corporate-cta-button span {
    font-size: 1.2rem;
  }
}
@media (max-width: 900px) {
  .site-header {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
    align-items: center;
    overflow: visible;
  }

  .site-header__logo {
    flex: 0 1 auto;
  }

  .site-header__logo img {
    width: 145px;
    max-width: 60vw;
  }

  .site-header__menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0;
    position: relative;
    z-index: 1002;
    background: transparent;
  }

  .site-header__menu-button span {
    width: 28px;
    height: 2px;
    margin: 4px 0;
  }

  .site-header__mobile-panel {
    width: 100%;
    flex-basis: 100%;
  }
}

.banner {
  position: relative;
  width: 100%;
  min-height: 720px;
  overflow: hidden;
}

.banner-main img {
  width: 100%;
  height: 720px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 1.8s ease;
}

.banner.is-active .banner-main img {
  transform: scale(1.08);
}

.banner-text {
  position: absolute;
  left: 8%;
  bottom: 18%;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.2s ease;
}

.banner.is-active .banner-text {
  opacity: 1;
  transform: translateY(0);
}

.banner-text h1 {
  margin: 0;
  font-size: 4rem;
  color: #ffffff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.home-greeting {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: min(1320px, calc(100% - 80px));
  margin: 0 auto;
  padding: 100px 0;
}

.home-greeting h2 {
  margin: 0 0 24px;
  color: #163b5c;
  font-size: 2.4rem;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  letter-spacing: 0.06em;
}

.home-greeting p {
  margin: 0 0 16px;
  color: #333333;
  font-size: 1.1rem;
  line-height: 2;
}

.home-greeting img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.home-recruit {
  position: relative;
  width: min(1500px, calc(100% - 80px));
  min-height: 620px;
  margin: 0 auto;
  padding: 120px 0;
}

.home-recruit-image {
  position: absolute;
  top: 80px;
  left: 0;
  width: 58%;
  z-index: 1;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.2s ease;
}

.home-recruit.is-show .home-recruit-image {
  opacity: 1;
  transform: translateX(0);
}

.home-recruit-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.home-recruit-text {
  position: relative;
  z-index: 2;
  width: 62%;
  min-height: 360px;
  margin-left: auto;
  margin-top: 180px;
  padding: 54px 64px;
  background: rgba(232, 244, 250, 0.92);
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.home-recruit-en {
  margin: 0 0 8px;
  color: rgba(22, 59, 92, 0.45);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.home-recruit-text h2 {
  margin: 0 0 32px;
  color: #184b73;
  font-size: 1.6rem;
  letter-spacing: 0.22em;
  border-bottom: 1px solid rgba(24, 75, 115, 0.25);
  padding-bottom: 18px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.home-recruit-text strong {
  display: block;
  margin-bottom: 20px;
  color: #184b73;
  font-size: 1.3rem;
  line-height: 1.7;
}

.home-recruit-text p {
  color: #333333;
  line-height: 2;
}

.home-about {
  position: relative;
  width: min(1500px, calc(100% - 80px));
  min-height: 700px;
  margin: 0 auto;
  padding: 120px 0;
}

.home-about-image {
  position: absolute;
  top: 60px;
  left: 0;
  width: 62%;
  z-index: 1;
}

.home-about-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.home-about-text {
  position: relative;
  z-index: 2;
  width: 58%;
  min-height: 420px;
  margin-left: auto;
  margin-top: 220px;
  padding: 60px 64px;
  background: rgba(240, 248, 238, 0.96);
  box-sizing: border-box;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.home-about h3 {
  margin: 0 0 8px;
  color: rgba(22, 59, 92, 0.55);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}

.home-about h2 {
  margin: 0 0 32px;
  color: #184b73;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  border-bottom: 1px solid rgba(24, 75, 115, 0.2);
  padding-bottom: 18px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.top-table dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px dotted #bdbdbd;
}

.top-table dt {
  font-weight: 700;
  color: #333333;
}

.top-table dd {
  margin: 0;
  color: #333333;
  line-height: 1.8;
}

.top-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 58px;
  margin-top: 28px;
  border: 1px solid #184b73;
  color: #184b73;
  text-decoration: none;
  font-weight: 700;
  background: #ffffff;
  transition: 0.3s;
}

.top-button:hover {
  opacity: 0.75;
}

.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s ease;
}

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

/* タブレット・スマホ */
@media (max-width: 900px) {
  .banner {
    min-height: 420px;
  }

  .banner-main img {
    height: 420px;
  }

  .banner-text {
    left: 6%;
    bottom: 14%;
  }

  .banner-text h1 {
    font-size: 2.4rem;
  }

  .home-greeting {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 64px 0;
  }

  .home-greeting h2 {
    font-size: 2rem;
  }

  .home-recruit {
    width: calc(100% - 32px);
    min-height: auto;
    padding: 64px 0;
  }

  .home-recruit-image {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: translateY(40px);
  }

  .home-recruit.is-show .home-recruit-image {
    transform: translateY(0);
  }

  .home-recruit-image img {
    height: auto;
  }

  .home-recruit-text {
    width: 100%;
    min-height: auto;
    margin-top: -24px;
    padding: 32px;
  }

  .home-recruit-en {
    font-size: 2rem;
  }

  .home-about {
    width: calc(100% - 32px);
    min-height: auto;
    padding: 64px 0;
  }

  .home-about-image {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .home-about-image img {
    height: auto;
  }

  .home-about-text {
    width: 100%;
    min-height: auto;
    margin-top: -24px;
    padding: 32px;
  }

  .home-about h3 {
    font-size: 2rem;
  }

  .home-about h2 {
    font-size: 1.4rem;
  }

  .top-table dl {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* スマホ */
@media (max-width: 600px) {
  .banner {
    min-height: 360px;
  }

  .banner-main img {
    height: 360px;
  }

  .banner-text h1 {
    font-size: 2rem;
    line-height: 1.5;
  }

  .home-greeting,
  .home-recruit,
  .home-about {
    width: calc(100% - 28px);
    padding: 48px 0;
  }

  .home-recruit-text,
  .home-about-text {
    padding: 28px 22px;
  }

  .home-recruit-en {
    font-size: 1.7rem;
  }

  .home-recruit-text h2,
  .home-about h2 {
    font-size: 1.25rem;
  }

  .home-recruit-text strong {
    font-size: 1.1rem;
  }

  .top-button {
    width: 100%;
  }
}
        /* ==============================
          forcorporate
        ============================== */
        
        .pagebanner {
          position: relative;
          width: 100%;
          height: 420px;
          overflow: hidden;
        }
        
        .pagebanner img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          display: block;
        }
        
        .pagebanner::after {
          content: "";
          position: absolute;
          inset: 0;
          background: rgba(0, 0, 0, 0.22);
        }
        
        .pagebannertext {
          position: absolute;
          left: 8%;
          bottom: 18%;
          z-index: 2;
          color: #ffffff;
        }
        
        .pagebannertext h2 {
          margin: 0 0 12px;
          font-size: 3.2rem;
          letter-spacing: 0.06em;
          line-height: 1;
        }
        
        .pagebannertext h1 {
          margin: 0;
          font-size: 2.2rem;
          font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
          letter-spacing: 0.16em;
        }
        
        .part {
          padding: 100px 0;
        }
        
        .w1520,
        .w1320 {
          width: min(1320px, calc(100% - 80px));
          margin: 0 auto;
        }
        
        .forcorporate {
          text-align: center;
          background: #ffffff;
        }
        
        .forcorporate h3 {
          margin: 0 0 18px;
          color: #184b73;
          font-size: 1.6rem;
          font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
          letter-spacing: 0.14em;
        }
        
        .forcorporate h2 {
          margin: 0 0 18px;
          color: #163b5c;
          font-size: 2.6rem;
          line-height: 1.6;
          font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
        }
        
        .maskbg {
          background: #f4f8fb;
        }
        
        .titlegroup {
          margin-bottom: 48px;
          text-align: center;
        }
        
        .titlegroup h2 {
          margin: 0 0 10px;
          color: rgba(22, 59, 92, 0.45);
          font-size: 3rem;
          letter-spacing: 0.08em;
          line-height: 1;
        }
        
        .titlegroup h3 {
          margin: 0;
          color: #184b73;
          font-size: 1.5rem;
          font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
          letter-spacing: 0.14em;
        }
        
        .forcorporateagencypic {
          margin: 0;
        }
        
        .forcorporateagencypic img {
          width: 100%;
          height: auto;
          object-fit: contain;
          display: block;
        }
        
        .strengths {
          display: grid;
          grid-template-columns: 42% 58%;
          padding: 0;
          background: #ffffff;
        }
        
        .strengthspic {
          min-height: 720px;
        }
        
        .strengthspic figure {
          width: 100%;
          height: 100%;
          margin: 0;
        }
        
        .strengthspic img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
        
        .strengthscon {
          display: flex;
          align-items: center;
          padding: 100px 8%;
          background: #ffffff;
        }
        
        .strengthsconinner {
          width: 100%;
        }
        
        .layout {
          display: grid;
          grid-template-columns: 1fr;
          gap: 24px;
          margin: 0;
          padding: 0;
          list-style: none;
        }
        
        .strengthsitem {
          padding: 30px 34px;
          background: #f4f8fb;
          border-left: 5px solid #184b73;
        }
        
        .strengthsitem h5 {
          margin: 0 0 14px;
          color: #184b73;
          font-size: 1.25rem;
          line-height: 1.7;
        }
        
        .strengthsitem div {
          color: #333333;
          line-height: 2;
        }
        
        /* ==============================
          「無限大の可能性」アニメーション
        ============================== */
        
        .possibility-title {
          position: relative;
          display: inline-block;
          margin: 18px 0;
          color: #163b5c;
          font-size: 2.8rem;
          line-height: 1.6;
          font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
          letter-spacing: 0.08em;
          overflow: hidden;
        }
        
        .possibility-title strong {
          position: relative;
          display: inline-block;
          z-index: 2;
          opacity: 0;
          transform: translateY(24px);
          transition: all 0.8s ease;
        }
        
        .possibility-title::before {
          content: "";
          position: absolute;
          left: 0;
          bottom: 0.22em;
          width: 100%;
          height: 0.42em;
          background: linear-gradient(
            90deg,
            rgba(184, 224, 241, 0.2),
            rgba(184, 224, 241, 0.95)
          );
          transform: scaleX(0);
          transform-origin: left;
          transition: transform 0.8s ease;
          z-index: 1;
        }
        
        .possibility-title::after {
          content: "∞";
          position: absolute;
          right: -0.8em;
          top: -0.55em;
          color: rgba(24, 75, 115, 0.16);
          font-size: 3.4em;
          line-height: 1;
          animation: possibilityInfinity 3.2s ease-in-out infinite;
          z-index: 0;
        }
        
        .possibility-title.is-show strong {
          opacity: 1;
          transform: translateY(0);
        }
        
        .possibility-title.is-show::before {
          transform: scaleX(1);
        }
        
        @keyframes possibilityInfinity {
          0% {
            transform: translateY(0) scale(1);
            opacity: 0.12;
          }
        
          50% {
            transform: translateY(-8px) scale(1.06);
            opacity: 0.24;
          }
        
          100% {
            transform: translateY(0) scale(1);
            opacity: 0.12;
          }
        }
        
        /* ==============================
          お問い合わせフォームボタン
        ============================== */
        
        .publiccontact {
          background: #eef6fb;
          text-align: center;
        }
        
        .publiccontact ul {
          padding: 0;
          margin: 0 auto;
          list-style: none;
          text-align: center;
        }
        
        .publiccontact li {
          list-style: none;
        }
        
        .publiccontact a {
          position: relative;
          display: inline-flex;
          align-items: center;
          justify-content: center;
          min-width: 340px;
          min-height: 78px;
          padding: 0 48px;
          background: linear-gradient(135deg, #184b73, #2b6a9a);
          color: #ffffff;
          text-decoration: none;
          font-weight: 700;
          font-size: 1.05rem;
          letter-spacing: 0.12em;
          border-radius: 999px;
          box-shadow: 0 14px 32px rgba(24, 75, 115, 0.18);
          overflow: hidden;
          transition: all 0.35s ease;
          border: none;
          z-index: 1;
        }
        
        .publiccontact a::before {
          content: "";
          position: absolute;
          top: 0;
          left: -120%;
          width: 70%;
          height: 100%;
          background: rgba(255, 255, 255, 0.22);
          transform: skewX(-25deg);
          transition: 0.7s;
          z-index: 2;
        }
        
        .publiccontact a::after {
          content: "→";
          margin-left: 14px;
          font-size: 1.2rem;
          transition: transform 0.3s ease;
          position: relative;
          z-index: 3;
        }
        
        .publiccontact a span {
          position: relative;
          z-index: 3;
        }
        
        .publiccontact a:hover {
          transform: translateY(-4px);
          box-shadow: 0 20px 40px rgba(24, 75, 115, 0.24);
        }
        
        .publiccontact a:hover::before {
          left: 140%;
        }
        
        .publiccontact a:hover::after {
          transform: translateX(6px);
        }
        
        .publiccontact a:active {
          transform: translateY(0);
        }
        
        /* ==============================
          responsive
        ============================== */
        
        @media (max-width: 900px) {
          .pagebanner {
            height: 340px;
          }
        
          .pagebannertext {
            left: 6%;
            bottom: 14%;
          }
        
          .pagebannertext h2 {
            font-size: 2.4rem;
          }
        
          .pagebannertext h1 {
            font-size: 1.7rem;
          }
        
          .part {
            padding: 64px 0;
          }
        
          .w1520,
          .w1320 {
            width: calc(100% - 32px);
          }
        
          .forcorporate h3 {
            font-size: 1.3rem;
          }
        
          .forcorporate h2 {
            font-size: 2rem;
          }
        
          .titlegroup h2 {
            font-size: 2.2rem;
          }
        
          .strengths {
            display: block;
          }
        
          .strengthspic {
            min-height: auto;
          }
        
          .strengthspic img {
            height: auto;
          }
        
          .strengthscon {
            padding: 64px 16px;
          }
        }
        
        @media (max-width: 600px) {
          .pagebanner {
            height: 280px;
          }
        
          .pagebannertext h2 {
            font-size: 2rem;
          }
        
          .pagebannertext h1 {
            font-size: 1.35rem;
          }
        
          .forcorporate h2 {
            font-size: 1.55rem;
          }
        
          .forcorporate h3 {
            font-size: 1.1rem;
            line-height: 1.8;
          }
        
          .titlegroup h2 {
            font-size: 1.8rem;
          }
        
          .titlegroup h3 {
            font-size: 1.2rem;
          }
        
          .possibility-title {
            font-size: 1.7rem;
            line-height: 1.7;
          }
        
          .possibility-title::after {
            right: -0.35em;
            top: -0.45em;
            font-size: 2.7em;
          }
        
          .strengthsitem {
            padding: 24px 20px;
          }
        
          .strengthsitem h5 {
            font-size: 1.1rem;
          }
        
          .publiccontact a {
            width: 100%;
            min-width: auto;
            min-height: 68px;
            padding: 0 24px;
            font-size: 0.95rem;
            letter-spacing: 0.08em;
          }
        }
  /* ==============================
  news page
============================== */

.pagenewslist {
  background: #ffffff;
  padding: 100px 0;
}

.newslist ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.newsitem {
  border-bottom: 1px solid #e5e5e5;
}

.newsitem a {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 32px 0;
  text-decoration: none;
  color: #333333;
  transition: 0.3s;
}

.newsitem a:hover {
  opacity: 0.7;
}

.newsitem span {
  min-width: 140px;
  color: #184b73;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.newsitem p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.paging {
  margin-top: 48px;
  text-align: center;
}

/* スマホ対応 */

@media (max-width: 768px) {
  .pagenewslist {
    padding: 64px 0;
  }

  .newsitem a {
    display: block;
    padding: 24px 0;
  }

  .newsitem span {
    display: block;
    margin-bottom: 12px;
    min-width: auto;
  }

  .newsitem p {
    font-size: 1rem;
    line-height: 1.7;
  }
}
/* ==============================
  contact page
============================== */

.contact {
  background: #f7fbfd;
}

.contact-heading {
  margin-bottom: 48px;
  text-align: center;
}

.contact-heading h2 {
  margin: 0 0 18px;
  color: #184b73;
  font-size: 2.2rem;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  letter-spacing: 0.12em;
}

.contact-heading p {
  margin: 0 auto;
  max-width: 760px;
  color: #333333;
  line-height: 2;
}

.contact-form {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 64px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(24, 75, 115, 0.08);
  border-radius: 18px;
}

.contact-form dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  margin: 0;
  padding: 26px 0;
  border-bottom: 1px solid #e5edf2;
}

.contact-form dt {
  color: #184b73;
  font-weight: 700;
}

.contact-form label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 9px;
  background: #184b73;
  color: #ffffff;
  font-size: 0.75rem;
  border-radius: 999px;
}

.contact-form dd {
  margin: 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #d8e3ea;
  border-radius: 10px;
  box-sizing: border-box;
  color: #333333;
  font-size: 1rem;
  background: #fbfdfe;
  transition: 0.25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #184b73;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(24, 75, 115, 0.08);
}

.contact-form textarea {
  resize: vertical;
  line-height: 1.8;
}

.privacy-box {
  margin-top: 40px;
  padding: 28px 32px;
  background: #f4f8fb;
  border-radius: 14px;
}

.privacy-box h3 {
  margin: 0 0 12px;
  color: #184b73;
  font-size: 1.2rem;
}

.privacy-box p {
  margin: 0;
  color: #333333;
  line-height: 1.9;
}

.privacy-check {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #333333;
  font-weight: 700;
}

.privacy-check input {
  width: 18px;
  height: 18px;
}

.contact-submit {
  margin-top: 36px;
  text-align: center;
}

.contact-submit button {
  position: relative;
  min-width: 280px;
  min-height: 68px;
  padding: 0 48px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #184b73, #2b6a9a);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(24, 75, 115, 0.18);
  transition: 0.35s ease;
}

.contact-submit button::after {
  content: "→";
  margin-left: 14px;
  transition: 0.3s ease;
}

.contact-submit button:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(24, 75, 115, 0.24);
}

.contact-submit button:hover::after {
  margin-left: 20px;
}

@media (max-width: 900px) {
  .contact-form {
    padding: 40px 32px;
  }

  .contact-form dl {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .contact-heading h2 {
    font-size: 1.6rem;
  }

  .contact-form {
    padding: 32px 20px;
    border-radius: 14px;
  }

  .contact-form dl {
    padding: 22px 0;
  }

  .privacy-box {
    padding: 24px 20px;
  }

  .privacy-check {
    align-items: flex-start;
    text-align: left;
  }

  .contact-submit button {
    width: 100%;
    min-width: auto;
  }
}
.top-h1 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.6;
}