:root {
  --font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --primary-blue-color: #005bac;
  --base-text-color: #4f5963;
  --base-white-color: #ffffff;
  --base-pale-color: #f7f6f9;
  --base-border-color: #e9edf0;
}

/* 共通 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-family);
  color: var(--base-text-color);
  background-color: var(--base-white-color);
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: none;
  word-break: break-word;
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 18px;
}
@media (max-width: 991px) {
  h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.125rem;
  }
  h4 {
    font-size: 1rem;
  }
}
a.cta-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 360px;
  height: 60px;
  margin: auto;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: 0.3s;
  color: var(--primary-blue-color);
  background-color: var(--base-white-color);
}
a.cta-button:hover {
  width: 400px;
}
@media (max-width: 991px) {
  a.cta-button {
    width: 320px;
    height: 60px;
  }
  a.cta-button:hover {
    width: 356px;
  }
}

/* メインビジュアル */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary-blue-color);
  color: var(--base-white-color);
  text-align: center;
  height: 440px;
}
.hero-container {
  padding: 0 20px;
}
.hero h1 {
  line-height: 1.2em;
  margin-bottom: 24px;
}
.hero p {
  font-size: 18px;
  margin-bottom: 36px;
}
@media (min-width: 1600px) {
  .hero {
    height: 500px;
  }
}
@media (min-width: 992px) {
  .dn-md {
    display: none;
  }
  .hero p {
    font-size: 24px;
  }
}

/* コンテンツセクション共通 */
section {
  padding: 72px 0;
  scroll-margin-top: 90px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  margin-bottom: 24px;
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-blue-color);
  border-radius: 2px;
}
.section-title p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}
@media (max-width: 991px) {
  section {
    padding: 48px 0;
    scroll-margin-top: 61px;
  }
  .section-title {
    margin-bottom: 36px;
  }
  .section-title h2 {
    margin-bottom: 18px;
    padding-bottom: 18px;
  }
}

/* 会社紹介セクション */
.company {
  background-color: var(--base-white-color);
}
.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.company-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: var(--base-pale-color);
}
.company-card h3 {
  font-size: 24px;
  margin-bottom: 1rem;
  color: var(--primary-blue-color);
}
.company-text {
  font-weight: bold;
}
@media (max-width: 991px) {
  .company-card {
    padding: 1rem;
    border-radius: 1rem;
  }
}

/* CTAセクション */
.action {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary-blue-color);
  color: var(--base-white-color);
  text-align: center;
}
.action-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 0 20px;
  text-align: center;
}

/* 事業内容セクション */
.business {
  background-color: var(--base-pale-color);
}
.business-showcase {
  display: flex;
  align-items: center;
}
.business-showcase:nth-child(even) {
  flex-direction: row-reverse;
}
.business-showcase:not(:last-child) {
  margin-bottom: 60px;
}
.business-image {
  flex: 1;
  border-radius: 1.5rem;
  overflow: hidden;
}
.business-image img {
  width: 100%;
  height: auto;
  display: block;
}
.business-content {
  flex: 1;
  padding: 0 40px;
}
.business-content h3 {
  font-size: 24px;
  margin-bottom: 1rem;
  color: var(--primary-blue-color);
}
.business-content h4 {
  font-size: 18px;
  margin-bottom: 1rem;
}
.business-content p {
  margin-bottom: 1rem;
}
@media (max-width: 991px) {
  .business-showcase:not(:last-child) {
    margin-bottom: 36px;
  }
  .business-image {
    border-radius: 1rem;
  }
  .business-showcase {
    flex-direction: column;
  }
  .business-showcase:nth-child(even) {
    flex-direction: column;
  }
  .business-content {
    padding: 40px 0 0;
  }
}

/* 組織セクション */
.organization {
  background-color: var(--base-white-color);
}
.org-wide {
  width: 100%;
  margin-bottom: 2rem;
}
.org-wide img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
}
.org-contents {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 1rem 2rem;
}
.org-contents_inner {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 1rem;
  background-color: var(--base-pale-color);
  padding: 2rem;
  border-radius: 1.5rem;
}
.org-contents_inner h3 {
  text-align: center;
}
@media (max-width: 991px) {
  .org-contents {
    grid-template-columns: 1fr;
  }
  .org-contents_inner h3 {
    font-size: 1rem;
  }
  .org-wide img {
    border-radius: 1rem;
  }
  .org-contents_inner {
    padding: 1rem;
    border-radius: 1rem;
  }
}

/* キャリア支援・福利厚生セクション */
.benefits {
  background-color: var(--base-pale-color);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.benefit-item {
  background-color: var(--base-white-color);
  padding: 2rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: flex-start;
}
.benefit-icon {
  margin-right: 20px;
  width: 36px;
  height: 36px;
  background-color: var(--base-pale-color);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.benefit-icon img {
  width: 80%;
  height: auto;
  display: block;
}
.benefit-content h3 {
  margin-bottom: 10px;
}
@media (max-width: 991px) {
  .benefit-content h3 {
    font-size: 1rem;
  }
  .benefit-item {
    padding: 1rem;
    border-radius: 1rem;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* よくある質問セクション */
.faq {
  background-color: var(--base-white-color);
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 97px;
  padding: 0 64px;
  background: var(--base-white-color);
  border-bottom: 1px solid var(--base-border-color);
  cursor: pointer;
}
.faq-box-wrap .faq-details:nth-child(1) .faq-summary {
  border-top: 1px solid var(--base-border-color);
}
.faq-details[open] + .faq-summary {
  border-bottom: 1px solid var(--base-white-color);
}
.faq-summary::after {
  position: absolute;
  top: 31px;
  left: 10px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  content: "Q";
  width: 35px;
  height: 35px;
  font-size: 20px;
  color: var(--primary-blue-color);
  background: var(--base-pale-color);
  border-radius: 3px;
}
.faq-summary::before {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  background: url("../img/recruit/icon-plus.svg");
  background-size: cover;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
}
.faq-content::after {
  position: absolute;
  top: 31px;
  left: 10px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  content: "A";
  width: 35px;
  height: 35px;
  font-size: 20px;
  color: var(--base-white-color);
  background: var(--primary-blue-color);
  border-radius: 3px;
}
.faq-content p {
  padding-top: 7px;
}
.faq-content {
  position: relative;
  height: auto;
  padding: 30px 20px 30px 64px;
  border-bottom: 1px solid var(--base-border-color);
}
.faq-details[open] .faq-summary::before {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  background: url("../img/recruit/icon-minas.svg");
  background-size: cover;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
}
