html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
}

ins {
  background-color: #fff;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #fff;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 980px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #757575;
  background: #e9e4dc;
  line-height: 1.8;
  font-weight: 500;
  letter-spacing: -0.05em;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.hamburger {
  display: none;
}
.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 96px;
  background: rgba(255, 255, 255, 0.5);
}

.header-inner {
  width: 980px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-page .header {
  height: 80px;
  background: #fff;
}

main {
  background-color: #fff;
}

.logo {
  font-size: 21px;
  font-weight: 500;
  color: #111;
  letter-spacing: -0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 12px;
  font-weight: 500;
  color: #111;
  white-space: nowrap;
}

.nav a {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  transition: 0.3s;
}

.nav a:hover {
  color: #999;
}

.nav a.current {
  color: #999;
}

.hero {
  position: relative;
  height: 665px;
  color: #fff;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42)),
    url("https://static.wixstatic.com/media/11062b_6743da5900054f1f8e69f53302930a6af000.jpg/v1/fill/w_980,h_665,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/11062b_6743da5900054f1f8e69f53302930a6af000.jpg");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  width: 980px;
  margin: 0 auto;
  padding-top: 250px;
}

.hero-company {
  position: relative;
  display: inline-block;
  font-size: 30px;
  line-height: 1.2;
  padding-bottom: 5px;
  --line-color: rgba(255, 255, 255, 0.72);
  --line-height: 1px;
}

.hero-company::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: var(--line-height);
  background: var(--line-color);
  transform: scaleX(0);
  transform-origin: left;
  animation: line-grow 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes line-grow {
  to {
    transform: scaleX(1);
  }
}

.hero-title {
  font-size: 44px;
  line-height: 1.4;
  margin: 30px 0;
}

.hero-text {
  width: 760px;
  font-size: 18px;
  line-height: 1.4;
  color: #fff;
  font-weight: 600;

  opacity: 0;
  transform: translateX(60px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.hero-text.show {
  opacity: 1;
  transform: translateX(0);
}

.section {
  text-align: center;
}

.container {
  width: 980px;
  margin: 0 auto;
}

.intro {
  padding: 50px 0 50px;
  background: rgb(240, 236, 229);
}

.intro-heading {
  font-size: 35px;
  color: #757575;
  margin-bottom: 40px;
  font-family: poppins-semibold, poppins, sans-serif;
}

.intro-body {
  width: 740px;
  margin: 0 auto;
  text-align: center;
}

.font-en {
  font-family: poppins-semibold, poppins, sans-serif;
}

.intro-lead {
  position: relative;
  display: inline-block;
  font-size: 28px;
  color: #757575;
  margin-bottom: 43px;
  font-weight: 500;
  line-height: 1.35;
}

.intro-lead::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #113a8e;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.intro-lead.is-active::after {
  transform: scaleX(1);
}

@keyframes line-grow {
  to {
    transform: scaleX(1);
  }
}

.intro-text {
  max-width: 730px;
  width: 100%;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.75;
  font-size: 19px;
  color: #757575;
  text-align: left;
}

.philosophy {
  position: relative;
  padding: 280px 0 40px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.58)),
    url("../img/company_people.avif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.philosophy::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 350px;
  background: #fff;
  z-index: 1;
}

.philosophy-card {
  position: relative;
  z-index: 2;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 43px 40px 58px;
  background: #fff;
}

.philosophy-message {
  position: static;
  transform: none;
  width: auto;
  text-align: left;
  color: #757575;
  margin-bottom: 35px;
}

.philosophy-en {
  font-size: 35px;
  line-height: 1.2;
  margin-bottom: 8px;
  font-weight: 700;
  text-align: center;
}

.philosophy-ja {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 38px;
  text-align: center;
}

.philosophy-catch {
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: #757575;
}

.philosophy-list {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  background: transparent;
}

.philosophy-item {
  padding: 0;
}

.philosophy-list .philosophy-num {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  position: relative;
  display: inline-block;
}

.philosophy-num::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 78px;
  height: 2px;
  background: #b49a65;
}

.philosophy-item h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 52px;
}

.philosophy-item p {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
}

.service {
  padding: 83px 0 76px;
  background: #e9e4dc;
}

.section-title {
  font-size: 35px;
  line-height: 1.2;
  color: #757575;
  margin-bottom: 14px;
}

.section-subtitle {
  position: relative;
  font-size: 20px;
  color: #757575;
  line-height: 1.2;
  margin-bottom: 58px;
  z-index: 10;
}

.service-grid {
  width: 885px;
  margin: 0 auto 38px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 43px;
}

.service-image {
  width: 100%;
  height: 309px;
  object-fit: cover;
}

.card-title {
  margin-top: 18px;
  font-size: 22px;
  line-height: 1.45;
  color: #757575;
  font-weight: 500;
  text-align: center;
}

.more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  padding: 0 24px;
  border: 1px solid #555;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #555;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.25em;
  max-width: 280px;
  width: 100%;
  height: 49px;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s,
    font-size 0.3s;
}

.more-button:hover {
  background: #1a2b6d;
  color: #fff;

  transform: scale(1.03);
}

.more-button::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 20px;
  background: url("../img/arrow-right.svg") no-repeat center / contain;
}

.more-button:hover::after {
  background-image: url("../img/arrow-right-white.svg");
}

.result {
  padding: 83px 0 76px;
  background: #fff;
}

.result-grid {
  width: 980px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.result-card {
  width: 255px;
  height: 255px;
  overflow: hidden;
  background: #fff;
}

.result-card img {
  display: block;
  max-width: 100%;
  height: 100%;
}

.about {
  padding: 83px 0 78px;
  background: #e9e4dc;
}

.about-grid {
  width: 858px;
  margin: 0 auto 38px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
}

.about-card {
  position: relative;
  height: 280px;
  overflow: visible;
}

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

.vertical-title {
  position: absolute;
  top: -12px;
  left: -25px;
  z-index: 10;
  width: 48px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  background: #1a2b6d;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.12em;
}

.recruit-banner {
  width: 800px;
  height: 360px;
  margin: 60px auto 0;
  padding: 86px 0 0 57px;
  text-align: left;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.74),
      rgba(255, 255, 255, 0.12)
    ),
    url("../img/group_of_asian_waiting_for_an_interview.avif");
  background-size: cover;
  background-position: center;
}

.recruit-banner:hover {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
    url("../img/group_of_asian_waiting_for_an_interview.avif");
}

.recruit-copy {
  max-width: 390px;
  width: 100%;
  color: #111;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 24px;
  font-weight: 700;
}

.recruit-title {
  color: #111;
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.contact {
  height: 320px;
  padding-top: 88px;
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.66)
    ),
    url("../img/hand_and_phone.avif");
  background-size: cover;
  background-position: center;
}

.contact-inner {
  width: 980px;
  margin: 0 auto;
  padding-left: 100px;
  text-align: left;
}

.contact h2 {
  font-size: 22px;
  line-height: 1.3;
  color: #757575;
  margin-bottom: 18px;
  font-weight: 500;
}

.contact p {
  font-size: 18px;
  color: #757575;
  line-height: 1.5;
  margin-bottom: 27px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 381px;
  width: 100%;
  height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #82dff5 0%, #0d307b 100%);
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}

.contact-button:hover {
  background: #fff;
  color: #555;
  transform: scaleX(1.06);
}

.contact-button::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 20px;
  background-image: url("../img/arrow-right-white.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.contact-button:hover::after {
  background-image: url("../img/arrow-right.svg");
}

.footer {
  background: #fff;
  padding: 42px 0 24px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 42px;
  margin-bottom: 33px;
  color: #757575;
  font-size: 16px;
  font-weight: 500;
}

.copyright {
  color: #757575;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.fade-in {
  opacity: 0;
  transition: opacity 4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.fade-in.show {
  opacity: 1;
}

/* 下層ページ共通 */
.page-hero {
  height: 480px;
  margin-top: 80px;
  background-size: cover;
  background-attachment: fixed;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url("../img/service_main.avif");
}

.page-hero-inner {
  width: 100%;
  max-width: 980px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 65px;
}

.page-hero h1 {
  font-size: 60px;
  line-height: 1;
  color: #757575;
}

.page-hero-inner > div p {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 700;
}

.page-hero-copy {
  margin-top: 250px;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 430px) {
  body {
    min-width: 0;
  }

  html,
  body,
  .wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .wrap {
    width: 100%;
    overflow-x: hidden;
  }

  .header-inner,
  .container,
  .hero-inner,
  .contact-inner {
    width: 100%;
    margin: 0;
  }

  .container,
  .hero-inner,
  .contact-inner {
    width: 100%;
    margin: 0;
  }

  .hero-inner {
    padding: 250px 20px 40px;
  }
  .container {
    padding: 0px 15px;
  }
  .sp-only {
    display: inline;
  }

  .pc-only {
    display: none;
  }

  .header {
    height: 58px;
  }

  .sub-page .header {
    height: 58px;
  }

  .logo {
    font-size: 16px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    gap: 15px;
    padding: 40px 0 40px 40px;
    align-items: flex-start;
  }

  .nav.is-open {
    background-color: #e8e4dc;
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 620px;
  }

  .hero-company {
    font-size: 28px;
  }

  .hero-title {
    font-size: 26px;
    font-weight: 500;
    margin: 22px 0;
  }

  .hero-text {
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    overflow-wrap: break-word;
  }
  .intro-body,
  .philosophy-list,
  .service-grid,
  .result-grid,
  .about-grid,
  .recruit-banner {
    width: 100%;
  }

  .intro-body {
    text-align: left;
  }

  .intro-lead {
    display: block;
    font-size: 25px;
    text-align: left;
    font-weight: 500;
    margin-bottom: 30px;
  }

  .intro-text {
    font-size: 15px;
  }

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

  .philosophy-visual {
    height: 520px;
  }

  .philosophy {
    padding: 180px 0 40px;
  }

  .philosophy-message {
    width: calc(100% - 60px);
  }

  .philosophy-en {
    font-size: 38px;
  }

  .philosophy-list .philosophy-num {
    margin-bottom: 20px;
  }

  .philosophy-item h3 {
    margin-bottom: 10px;
  }

  .philosophy-list,
  .service-grid,
  .result-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .philosophy-list {
    margin-top: -45px;
  }

  .philosophy {
    padding: 180px 20px 0px;
    background-attachment: scroll;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
  }

  .philosophy-card {
    width: 100%;
    padding: 40px 24px 60px;
    background: #fff;
  }

  .philosophy-message {
    width: 100%;
    margin: 0 auto 40px;
    padding: 0px 0px 42px;
    background: #fff;
    text-align: center;
  }

  .philosophy-message::before {
    content: "";
    position: absolute;
    top: 158px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% -140px);
    background: #fff;
    z-index: -1;
  }

  .philosophy::after {
    height: 300px;
    bottom: 0px;
  }

  .philosophy-en {
    font-size: 30px;
  }

  .philosophy-ja {
    font-size: 18px;
  }

  .philosophy-catch {
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
  }

  .philosophy-card {
    width: 300px;
    max-width: 100%;
  }

  .result {
    padding: 60px 0 60px;
  }

  .result-card {
    width: 255px;
    height: 255px;
    margin: 0 auto;
  }

  .about {
    padding: 60px 0 60px;
  }

  .about-grid {
    margin: 0 auto 0px;
  }

  .service-card,
  .about-card {
    max-width: 420px;
    margin: 0 auto 30px;
    height: 212px;
  }

  .about-card {
    width: 92%;
    margin: 0 auto 30px;
    transform: translateX(12px);
  }

  .service {
    padding: 60px 0 60px;
    background: #e9e4dc;
  }

  .service-card img {
    width: 80%;
    margin: 0 auto;
  }

  .result {
    padding: 60px 0 60px;
  }

  .fade-in,
  .fade-in.show {
    opacity: 1 !important;
    transition: none !important;
  }

  .recruit-banner {
    width: 100%;
    height: 220px;
    padding: 20px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .recruit-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .recruit-copy {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .recruit-banner .more-button {
    width: 78%;
  }

  .contact-inner {
    padding-left: 0;
  }

  .contact {
    height: 280px;
    padding: 66px 12px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .contact h2 {
    font-size: 20px;
  }

  .contact p {
    font-size: 16px;
  }

  .contact-button {
    width: 90%;
    font-size: 17px;
  }

  .footer {
    padding: 24px 0;
  }

  .footer-nav {
    display: none;
  }

  /* 下層ページ共通 */
  .page-hero {
    height: 270px;
    margin-top: 30px;
    padding-top: 50px;
    background-attachment: scroll;
  }

  .page-hero-inner {
    width: 88%;
    display: block;
    padding-top: 0;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .page-hero-inner > div p {
    font-size: 18px;
    margin-top: 5px;
  }

  .page-hero-copy {
    margin: 60px 0 0 60px;
    font-size: 20px;
    line-height: 1.4;
  }

  /* ハンバーガメニュー */

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background-color: #fff;
  }

  .hamburger {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 100;
    left: 0px;
  }

  .hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: #111;
    transition: 0.3s;
  }

  /* 1本目 */
  .hamburger.is-open span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
  }

  /* 2本目消す */
  .hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }

  /* 3本目 */
  .hamburger.is-open span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
  }
}
