@charset "utf-8";

/* SP: design width 390px  → 1rem = 100vw / 390 * 10 */
html {
  font-size: calc(100vw / 40);
}

/* PC: design width 1200px → 1rem = 100vw / 1200 * 10, capped at 10px */
@media (min-width: 768px) {
  html {
    font-size: min(calc(100vw / 120), 10px);
  }
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 1.6rem; /* 16px at design width */
  color: #222222;
}

.pc-break {
  display: block;
}

@media (max-width: 768px) {
  .pc-break {
    display: none;
  }
}

.sp-break {
  display: none;
}

@media (max-width: 768px) {
  .sp-break {
    display: block;
  }
}

.main-visual {
  width: 100%;
}

.main-visual-image {
  width: 100%;
  height: auto;
}

/* 対象商品　================================================================================ */

.target {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

@media (max-width: 768px) {
  .target {
    padding-top: 4rem;
    padding-bottom: 6.4rem;
  }
}

.target-title {
  background-color: #007C36;
  color: #ffffff;
  border-radius: 10rem;
  width: 36.6rem;
  height: 5.6rem;
  font-weight: 500;
  font-size: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .target-title {
    width: 28rem;
    height: 4.2rem;
    font-size: 2.2rem;
  }
}

.target-text {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  color: #007C36;
  margin-top: 3.2rem;
}

@media (max-width: 768px) {
  .target-text {
    font-size: 1.6rem;
    margin-top: 2.4rem;
  }
}

.target-button {
  display: none;
}

@media (max-width: 768px) {
  .target-button {
    display: block;
    background-color: #EBF4EF;
    color: #007C36;
    height: 6.4rem;
    width: 40rem;
    text-align: center;
    position: relative;
    margin-top: 1.6rem;
    font-size: 2.2rem;
    font-weight: 500;
    border-top: 1px solid #007C36;
    border-bottom: 1px solid #007C36;
  }
  
  .target-button::before,
  .target-button::after {
    content: '';
    position: absolute;
    right: 3rem;
    top: 50%;
    width: 3rem;
    height: 0.2rem;
    background-color: currentColor;
    transform: translateY(-50%);
  }

  .target-button::after {
    width: 0.2rem;
    height: 3rem;
    right: calc(3rem + 1.4rem);
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
  }

  .target-button.is-open::after {
    transform: translateY(-50%) rotate(90deg);
  }
}

.target-products {
  padding-top: 4.8rem;
}

@media (max-width: 768px) {
  .target-products {
    display: grid;
    grid-template-rows: 0fr;
    padding-top: 0;
    opacity: 0;
    transition: grid-template-rows 0.4s ease-out, padding-top 0.4s ease-out, opacity 0.4s ease-out;
  }

  .target-products.is-opening {
    grid-template-rows: 1fr;
    padding-top: 6rem;
    opacity: 1;
  }

  .target-products.is-closing {
    grid-template-rows: 0fr;
    padding-top: 0;
    opacity: 0;
  }

  .target-products-inner {
    overflow: hidden;
    min-height: 0;
  }
}

.target-subtitle {
  font-size: 2.4rem;
  font-weight: 700;
  color: #007C36;
  padding: 0 2.6rem 0.8rem;
  max-width: max-content;
  margin-inline: auto;
  border-bottom: 0.8rem solid #D3EE01;
}

@media (max-width: 768px) {
  .target-subtitle {
    font-size: 2.2rem;
  }
}

.target-list {
  margin-top: 4.8rem;
  display: flex;
  justify-content: center;
  gap: 8.4rem;
}

@media (max-width: 768px) {
  .target-list {
    flex-direction: column;
    align-items: center;
    gap: 3.2rem;
    margin-top: 4rem;
  }
}

.target-item {
  display: flex;
  flex-direction: column;
  width: 20.8rem;
}

.target-item:nth-child(1) {
  width: 21rem;
}

@media (max-width: 768px) {
  .target-item {
    width: 21rem;
    align-items: center;
  }
}

.target-item-product {
  width: 20rem;
  height: 31.9rem;
  display: flex;
  align-items: flex-end;
}

@media (max-width: 768px) {
  .target-item-product {
    width: 10rem;
    height: auto;
  }
}

.target-item-product-image {
  width: 100%;
  height: auto;
}

.target-item-series {
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.8;
  margin-top: 0.8rem;
}

.target-item-name {
  font-size: 1.6rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.8;
  flex-grow: 1;
}

.target-item-link {
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 1.6rem;
  width: 10rem;
  background-color: #D3EE01;
  height: 3.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10rem;
  margin-inline: auto;
  color: #007C36;
  gap: 0.4rem;
}

.target-item-link-arrow {
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
}

.target-related-products {
  margin-top: 4rem;
  border: 1px solid #007C36;
  border-radius: 1.6rem;
  background-color: #EBF4EF;
  width: 90.4rem;
  margin-inline: auto;
  overflow: hidden;
}

@media (max-width: 768px) {
  .target-related-products {
    width: 32.8rem;
  }
}

.target-related-products-title {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.8;
  color: #ffffff;
  background-color: #007C36;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .target-related-products-title {
    padding: 0.8rem 0;
    height: auto;
    text-align: center;
  }
}

.target-related-products-series-wrapper {
  display: flex;
  gap: 3.2rem;
  padding: 1.6rem 2.4rem 2.4rem;
}

@media (max-width: 768px) {
  .target-related-products-series-wrapper {
    flex-direction: column;
  }
}

.target-related-products-series {
  position: relative;
}

.target-related-products-series:not(:first-child)::before {
  content: '';
  width: 1px;
  height: 100%;
  border-left: 1px dashed #007C36;
  position: absolute;
  left: -1.6rem;
  top: 0;
}

@media (max-width: 768px) {
  .target-related-products-series:not(:first-child)::before {
    width: 100%;
    height: 1px;
    border-top: 1px dashed #007C36;
    position: absolute;
    top: -1.6rem;
    left: 0;
  }
}

.target-related-products-subtitle {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.8;
}

.target-related-products-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.4rem;
}

.target-related-products-item {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  padding-left: 1em;
  text-indent: -1em;
}

.cv-button {
  font-size: 3rem;
  font-weight: 500;
  color: #007C36;
  background-color: #FEDA00;
  border-radius: 0.8rem;
  width: 36.6rem;
  height: 6.4rem;
  border: 1px solid #007C36;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-inline: auto;
  margin-top: 4.8rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cv-button {
    width: 32.8rem;
    height: 7.2rem;
    margin-top: 6rem;
  }
}

.cv-button-arrow {
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4rem;
  display: flex;
  height: 4rem;
}

/* 応募概要　================================================================================ */

.application-summary {
  padding-top: 8rem;
  padding-bottom: 8rem;
  background-color: #E6F5FC;
}

@media (max-width: 768px) {
  .application-summary {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.application-summary-title {
  font-size: 2.8rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.8;
  background-color: #4694D2;
  border-radius: 10rem;
  width: 36.6rem;
  height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .application-summary-title {
    width: 28rem;
    height: 4.2rem;
    font-size: 2.2rem;
  }
}

.application-summary-list {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  width: 90.4rem;
  margin-inline: auto;
  margin-top: 4.8rem;
}

@media (max-width: 768px) {
  .application-summary-list {
    width: 32.8rem;
    gap: 2.4rem;
    margin-top: 3.2rem;
  }
}

.application-summary-item {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.application-summary-item-title {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.5;
  color: #4694D2;
}

@media (max-width: 768px) {
  .application-summary-item-title {
    font-size: 1.6rem;
  }
}

.application-summary-item-content {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .application-summary-item-content.is-gap {
    gap: 1.2rem;
  }
}

.application-summary-item-content-text {
  font-size: 1.6rem;
  line-height: 1.6;
  word-break: break-all;
}

.application-summary-item-content-link {
  color: #4694D2;
}

.application-summary-item-caution {
  margin-top: 2.6rem;
}

.application-summary-item-caution-title {
  font-size: 1.6rem;
  line-height: 1.6;
}

.application-summary-item-caution-list {
  font-size: 1.6rem;
  line-height: 1.6;
}

/* メインナビゲーション　================================================================================ */

.main-navigation {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (max-width: 768px) {
  .main-navigation {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }
}

.main-navigation-list {
  display: flex;
  gap: 2.4rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .main-navigation-list {
    flex-direction: column;
    align-items: center;
  }
}

.main-navigation-link {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  color: #2A65B8;
  display: flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.main-navigation-link-arrow {
  width: 2rem;
  height: 2rem;
}

.main-navigation-social-list {
  display: flex;
  gap: 1.3rem;
  justify-content: center;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  .main-navigation-social-list {
    display: none;
  }
}

.main-navigation-social-link {
  width: 2.8rem;
  height: 2.8rem;
  display: block;
}

.main-navigation-social-link-image {
  height: auto;
  width: 100%;
}

/* フッター　================================================================================ */

.footer {
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
  border-top: 1px solid #007C36;
}

@media (max-width: 768px) {
  .footer {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }
}

.footer-button {
  width: 3rem;
  height: 3rem;
  position: fixed;
  bottom: 1.6rem;
  right: max(calc((100vw - 1200px) / 2), 8.6rem);
  cursor: pointer;
}

@media (max-width: 768px) {
  .footer-button {
    bottom: 3.2rem;
    right: 2.6rem;
    width: 3.2rem;
    height: 3.2rem;
  }
}

.footer-button-image {
  height: auto;
  width: 100%;
}

@media (max-width: 768px) {
  .footer-nav {
    width: calc(100% - 3.2rem);
    margin-inline: auto;
  }
}

.footer-nav-list {
  display: flex;
  gap: 4.8rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .footer-nav-list {
    flex-direction: column;
    gap: 1.6rem;
  }
}

.footer-nav-link {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.6;
  color: #007C36;
  display: flex;
  align-items: center;
}

.footer-nav-link-arrow {
  width: 2rem;
  height: 2rem;
  display: flex;
}

.footer-social-list {
  display: none;
}

@media (max-width: 768px) {
  .footer-social-list {
    display: flex;
    gap: 1.3rem;
    margin-top: 2.4rem;
  }
}

.footer-social-link {
  width: 3.8rem;
  height: 3.8rem;
  display: block;
}

.footer-social-link-image {
  height: auto;
  width: 100%;
}

.footer-copyright {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: #007C36;
  text-align: center;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .footer-copyright {
    margin-top: 2.4rem;
  }
}