@charset "utf-8";

:root {
  --kosodate-red: #bd5046;
  --kosodate-blue: #00a1e9;
  --kosodate-purple: #8d126b;
  --kosodate-green: #2eb84a;
  --kosodate-orange: #ef5607;
  --kosodate-ink: #231815;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

.kosodate-page {
  color: var(--kosodate-ink);
  background: #fff;
}

.kosodate-page main {
  overflow: hidden;
}

.kosodate-page .cap-img {
  position: absolute;
  right: 6px;
  bottom: 4px;
  z-index: 1;
  margin: 0;
  padding: 5px;
  color: #fff;
  font-size: 1.2rem;
}

.kosodate-hero {
  position: relative;
  height: clamp(330px, 32vw, 525px);
  margin-top: 50px;
  border-bottom: 10px solid #23503c;
  overflow: hidden;
}

.kosodate-hero picture {
  display: block;
  height: 100%;
}

.kosodate-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.kosodate-intro {
  padding: 72px 20px 110px;
  background: #fff;
}

.kosodate-intro__heading {
  position: relative;
  width: min(960px, 100%);
  min-height: 185px;
  margin: 0 auto;
  padding: 25px 150px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kosodate-intro__heading h2 {
  margin-top: 18px;
}

.kosodate-intro__character {
  position: absolute;
  top: 4px;
  width: 105px;
  height: 170px;
  object-fit: contain;
  pointer-events: none;
}

.kosodate-intro__character--black {
  left: 90px;
}

.kosodate-intro__character--white {
  right: 90px;
}

.kosodate-intro__en {
  position: relative;
  z-index: 1;
  color: #f6bec8;
  font-size: 17px;
  letter-spacing: 0.08em;
}

.color-rule {
  width: min(520px, 80%);
  height: 5px;
  margin: 12px auto 0;
  background-image: url(../images/common/border.png);
  background-repeat: repeat-x;
  background-position: center;
}

.kosodate-intro__text {
  width: min(900px, 100%);
  margin-inline: auto;
  font-size: 15px;
  line-height: 2.1;
}

.kosodate-intro__text p + p {
  margin-top: 25px;
  font-size: 21px;
}

.kosodate-index {
  width: min(1240px, 100%);
  margin: 66px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.kosodate-index__card {
  position: relative;
  display: block;
  padding-bottom: 23px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(44, 45, 55, 0.2);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.kosodate-index__card:hover,
.kosodate-index__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(44, 45, 55, 0.36);
}

.kosodate-index__image {
  display: block;
  height: 190px;
  overflow: hidden;
}

.kosodate-index__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kosodate-index__number {
  position: absolute;
  top: 134px;
  left: 8px;
  color: #fff;
  font-family: "EB Garamond", serif;
  font-size: 66px;
  line-height: 1;
  letter-spacing: -0.05em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.kosodate-index__en,
.kosodate-index__title {
  display: block;
}

.kosodate-index__en {
  margin-top: 14px;
  color: #c8c8c8;
  font-family: "EB Garamond", serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.kosodate-index__title {
  margin-top: 3px;
  font-size: 17px;
  line-height: 1.4;
}

.kosodate-index__title--blue {
  color: var(--kosodate-blue);
}
.kosodate-index__title--purple {
  color: var(--kosodate-purple);
}
.kosodate-index__title--green {
  color: var(--kosodate-green);
}
.kosodate-index__title--orange {
  color: var(--kosodate-orange);
}

.support-section {
  --section-color: var(--kosodate-blue);
  --section-tint: #e9f7fc;
  padding-bottom: 110px;
  background: #fff;
}

.support-section--purple {
  --section-color: var(--kosodate-purple);
  --section-tint: #f5eaf2;
}

.support-section--green {
  --section-color: var(--kosodate-green);
  --section-tint: #edf8ef;
}

.support-section--orange {
  --section-color: var(--kosodate-orange);
  --section-tint: #fcf0eb;
}

.support-section__visual {
  position: relative;
  top: auto;
  left: auto;
  z-index: auto;
  width: auto;
  height: auto;
  min-height: 480px;
  display: flex;
  align-items: flex-start;
  transition: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.support-section__visual--allergy {
  background-image: url(../images/kosodate/allergy_title_pc.jpg);
}

.support-section__visual--diversity {
  background-image: url(../images/kosodate/diversity_title_pc.jpg);
}

.support-section__visual--experience {
  background-image: url(../images/kosodate/experience_title_pc.jpg);
}

.support-section__visual--community {
  background-image: url(../images/kosodate/community_title_pc.jpg);
}

.support-section__visual-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 60px auto 0;
  display: flex;
  align-items: flex-end;
  gap: 36px;
  text-align: left;
}

.support-section__number {
  font-family: "EB Garamond", serif;
  font-size: clamp(104px, 11vw, 190px);
  line-height: 0.72;
  letter-spacing: -0.07em;
}

.support-section__visual-text {
  padding-bottom: 5px;
}

.support-section__en {
  font-family: "EB Garamond", serif;
  font-size: 20px;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.support-section__visual h2 {
  margin: 14px 0 0;
  font-size: clamp(23px, 2.2vw, 38px);
  line-height: 1.45;
  text-align: left;
}

.problem-box {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  min-height: 205px;
  margin: -54px auto 0;
  padding: 50px 80px 35px;
  border: 2px solid var(--section-color);
  border-radius: 7px;
  background: var(--section-tint);
}

.problem-box__label {
  position: absolute;
  top: -23px;
  left: 50%;
  width: min(410px, 60%);
  padding: 6px 30px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--section-color);
  color: #fff;
  font-size: 24px;
  line-height: 1.5;
}

.problem-box h3 {
  margin: 0 0 18px;
  color: #006491;
  font-size: 28px;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.support-section--purple .problem-box h3 {
  color: #70165a;
}

.support-section--green .problem-box h3 {
  color: #23503c;
}

.support-section--orange .problem-box h3 {
  color: #e15513;
}

.problem-box p:not(.problem-box__label) {
  font-size: 17px;
  line-height: 2;
}

.problem-box > img {
  position: absolute;
  right: 42px;
  bottom: -68px;
  width: 100px;
  height: 145px;
  object-fit: contain;
}

.support-section--purple .problem-box > img,
.support-section--orange .problem-box > img {
  right: auto;
  left: 38px;
}

.answer-block {
  width: min(1780px, calc(100% - 40px));
  margin: 88px auto 0;
}

.answer-heading {
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.answer-heading::before {
  content: "";
  position: absolute;
  top: 68%;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(214, 100, 105, 0.32);
  border-radius: 50%;
}

.answer-heading p,
.answer-heading h3 {
  position: relative;
  z-index: 1;
}

.answer-heading p {
  color: var(--kosodate-red);
  font-size: 24px;
  line-height: 1.6;
}

.answer-heading p strong {
  font-size: 28px;
}

.answer-heading h3 {
  margin: 14px 0 0;
  font-size: 28px;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.feature-grid {
  margin-top: 38px;
  display: grid;
  align-items: start;
  gap: 72px;
  text-align: left;
}

.feature-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid--two {
  width: min(calc(66.6667% + 4px), 100%);
  margin-right: auto;
  margin-left: auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
}

.feature-card__image {
  position: relative;
}

.feature-card__image img {
  width: 100%;
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
  border-radius: 7px;
}

.feature-card h4 {
  margin-top: 24px;
  color: var(--kosodate-red);
  font-size: 24px;
  line-height: 1.55;
}

.feature-card p {
  margin-top: 17px;
  font-size: 16px;
  line-height: 2;
  text-align: justify;
}

.answer-lead {
  margin-top: 50px;
  font-size: 12px;
  letter-spacing: .03em;
  line-height: 2;
}

.answer-lead span {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.technology {
  position: relative;
  padding: 75px 0 95px;
  color: #fff;
  background-image: url(../images/kosodate/technology_title_pc.jpg);
  background-size: cover;
  background-position: center;
}

.technology__characters {
  position: absolute;
  top: -72px;
  left: 60%;
  width: 260px;
  transform: translateX(95px);
}

.technology__heading p {
  font-family: "EB Garamond", serif;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.technology__heading h2 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.5;
}

.technology__heading .color-rule {
  width: 410px;
  max-width: 70%;
  margin-top: 17px;
}

.technology__scroller {
  width: 100%;
  margin-top: 72px;
  overflow: hidden;
}

.technology__slider .slick-list {
  overflow: visible;
  padding: 0 12px;
  cursor: grab;
}

.technology__slider .slick-list:active {
  cursor: grabbing;
  user-select: none;
}

.technology__slider .slick-track {
  display: flex;
  align-items: stretch;
}

.technology__slider .slick-slide {
  height: auto;
  margin: 0 16px;
  display: flex !important;
}

.technology__slider .slick-slide > div {
  width: 100%;
  height: auto;
  display: flex;
}

.technology-card {
  width: auto;
  height: auto;
  flex: 1;
  min-height: 320px;
  padding: 16px 34px 20px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background: #fff;
  color: var(--kosodate-ink);
}

.technology-card__logo {
  --technology-logo-width: 190px;
  --technology-logo-offset-y: 0px;
  height: 38px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.technology-card__logo img {
  display: block;
  width: var(--technology-logo-width);
  max-width: none;
  max-height: none;
  flex: 0 1 auto;
  object-fit: contain;
  transform: translateY(var(--technology-logo-offset-y));
}

.technology-card__logo--panasonic {
  --technology-logo-width: 210px;
}

.technology-card__logo--toyota {
  --technology-logo-width: 180px;
}

.technology-card__logo--sekisui {
  --technology-logo-width: 190px;
}

.technology-card__logo--sumitomo {
  --technology-logo-width: 160px;
}

.technology-card__logo--asahikasei {
  --technology-logo-width: 150px;
}

.technology-card__logo--applause {
  --technology-logo-width: 220px;
}

.technology-card h3 {
  min-height: 2.9em;
  margin: 8px 0 0;
  font-size: 18px;
  font-size: clamp(1.4rem, 0.689rem + 0.694vw, 1.8rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.technology-card p {
  margin-top: 15px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
}

.technology-card a {
  width: 100%;
  max-width: 240px;
  /* width: 80%; */
  position: relative;
  display: block;
  margin-top: auto;
  margin-inline: auto;
  padding: 10px 15px;
  border: 2px solid #333 !important;
  border-radius: 100px !important;
  font-size: 13px;
  line-height: 1;
}

.technology-card a:after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 13px;
  margin: auto;
  content: "";
  width: 0.6em;
  height: 0.6em;
  border-top: 1px solid #333;
  border-right: 1px solid #333;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: .4s;
}

.technology-card a:hover {
  color: #fff;
  background: #23503c;
  border-color: #23503c;
}

.technology-card a:hover:after {
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

.kosodate-closing {
  padding: 95px 20px 105px;
  background: #fff;
}

.kosodate-closing__lead {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 68px;
  align-items: center;
  text-align: left;
}

.kosodate-closing__lead-image {
  position: relative;
}

.kosodate-closing__lead-image img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  border-radius: 5px;
}

.kosodate-closing__lead h2 {
  margin: 0;
  color: var(--kosodate-red);
  font-size: 21px;
  line-height: 1.8;
  text-align: left;
}

.kosodate-closing__lead p {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.8;
}

.kosodate-closing__cta {
  width: min(820px, 100%);
  margin: 82px auto 0;
}

.kosodate-closing__cta-main {
  width: min(750px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  column-gap: 22px;
  align-items: end;
}

.kosodate-closing__cta-message {
  min-width: 0;
}

.kosodate-closing__cta h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.65;
}

.kosodate-closing__cta .color-rule {
  width: 100%;
  max-width: none;
  margin-top: 12px;
}

.kosodate-closing__cta p {
  margin-top: 18px;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.text-blue {
  color: #00a7df;
  font-size: 1.4em;
}
.text-orange {
  color: #e65320;
  font-size: 1.4em;
}
.text-green {
  color: #25a748;
  font-size: 1.4em;
}

.kosodate-closing__cta-characters {
  width: 220px;
}

.kosodate-closing__cta-characters img {
  display: block;
  width: 100%;
  height: auto;
}

.kosodate-closing__cta a {
  display: block;
  width: min(750px, 100%);
  margin: 22px auto 0;
  padding: 8px 20px;
  border: 2px solid #333;
  border-radius: 999px;
  font-size: 17px;
  line-height: 1.6;
}

.kosodate-closing__cta a:hover {
  color: #fff;
  background: #23503c;
  border-color: #23503c;
}

.kosodate-page footer {
  margin-top: 0;
}

@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 55px;
  }

  .kosodate-page .cap-img.sp_top {
    bottom: auto;
    top: 0px;
  }

  .kosodate-hero {
    height: auto;
    aspect-ratio: 3 / 2;
    margin-top: 50px;
    border-bottom-width: 7px;
  }

  .kosodate-hero img {
    object-position: center;
  }

  .kosodate-intro {
    padding: 2px 22px 48px;
  }

  .kosodate-intro__heading {
    min-height: 110px;
    padding: 15px 32px 0;
  }

  .kosodate-intro__character {
    top: 12px;
    width: 48px;
    height: 100px;
  }

  .kosodate-intro__character--black {
    left: 0;
  }

  .kosodate-intro__character--white {
    right: 0;
  }

  .kosodate-intro__en {
    font-size: 11px;
  }
  .kosodate-intro__heading h2 {
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1.5;
    margin-bottom: 0px;
    margin-top: 0px;
  }
  h2 span {
    padding-bottom: 10px;
  }
  .color-rule {
    height: 4px;
    margin-top: 8px;
  }

  .kosodate-intro__text {
    margin-top: 28px;
    font-size: 12px;
    line-height: 1.8;
    text-align: justify;
  }

  .kosodate-intro__text p + p {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
}

  .kosodate-index {
    margin-top: 32px;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .kosodate-index__card {
    padding-bottom: 10px;
    box-shadow: 0 8px 22px rgba(44, 45, 55, 0.2);
  }

  .kosodate-index__image {
    height: 110px;
  }

  .kosodate-index__number {
    top: 76px;
    font-size: 42px;
  }

  .kosodate-index__en {
    margin-top: 6px;
    padding: 0 3px;
    font-size: 9px;
  }

  .kosodate-index__title {
    padding: 0 5px;
    font-size: 11px;
  }

  .support-section {
    padding-bottom: 64px;
  }

  .support-section__visual {
    min-height: 248px;
    align-items: flex-start;
    background-position: center;
  }

  .support-section__visual--allergy {
    background-image: url(../images/kosodate/allergy_title_sp.jpg);
  }

  .support-section__visual--diversity {
    background-image: url(../images/kosodate/diversity_title_sp.jpg);
  }

  .support-section__visual--experience {
    background-image: url(../images/kosodate/experience_title_sp.jpg);
  }

  .support-section__visual--community {
    background-image: url(../images/kosodate/community_title_sp.jpg);
  }

  .support-section__visual-inner {
    width: calc(100% - 36px);
    margin: 26px auto 0;
    gap: 15px;
    align-items: flex-start;
  }

  .support-section__number {
    flex: 0 0 auto;
    font-size: 86px;
    line-height: 0.8;
  }

  .support-section__visual-text {
    padding-top: 5px;
  }

  .support-section__en {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .support-section__visual h2 {
    margin-top: 5px;
    font-size: 18px;
    line-height: 1.55;
  }

  .problem-box {
    width: calc(100% - 44px);
    min-height: 0;
    margin-top: -28px;
    padding: 26px 30px 20px;
  }

  .problem-box__label {
    top: -20px;
    width: 64%;
    padding: 4px 10px;
    font-size: 15px;
  }

  .problem-box h3 {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: 0.03em;
  }

  .problem-box p:not(.problem-box__label) {
    font-size: 12px;
    line-height: 1.8;
    text-align: justify;
  }

  .problem-box > img {
    right: 5px;
    bottom: auto;
    top: -34px;
    width: 48px;
    height: 106px;
  }

  .support-section--purple .problem-box > img,
  .support-section--orange .problem-box > img {
    left: -15px;
  }

  .answer-block {
    width: calc(100% - 44px);
    margin-top: 32px;
  }

  .answer-heading {
    min-height: 150px;
  }

  .answer-heading::before {
    top: 60%;
    width: 180px;
    height: 180px;
  }

  .answer-heading p {
    font-size: 13px;
  }

  .answer-heading p strong {
    font-size: 16px;
  }

  .answer-heading h3 {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 0.06em;
  }

  .feature-grid,
  .feature-grid--two {
    width: 100%;
    margin-top: -10px;
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .feature-card__image img {
    aspect-ratio: 1.58 / 1;
  }

  .feature-card h4 {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.55;
  }

  .feature-card p {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.8;
  }

  .answer-lead {
    text-align: left;
    margin-top: 30px;
    font-size: 10px;
    line-height: 1.7;
  }

  .answer-lead span {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .technology {
    padding: 40px 0 38px;
    background-image: url(../images/kosodate/technology_title_sp.jpg);
  }

  .technology__characters {
    top: -53px;
    width: 146px;
    transform: translateX(-6px);
  }

  .technology__heading p {
    font-size: 14px;
  }

  .technology__heading h2 {
    margin-top: 5px;
    font-size: 17px;
  }

  .technology__scroller {
    margin-top: 55px;
  }

  .technology__slider .slick-list {
    padding: 0 22px;
  }

  .technology__slider .slick-slide {
    margin: 0 8px;
  }

  .technology-card {
    min-height: 220px;
    padding: 14px 20px 22px;
  }
  .technology-card__logo--panasonic {
    --technology-logo-width: 140px;
  }

  .technology-card__logo--toyota {
    --technology-logo-width: 120px;
  }

  .technology-card__logo--sekisui {
    --technology-logo-width: 130px;
  }

  .technology-card__logo--sumitomo {
    --technology-logo-width: 120px;
  }

  .technology-card__logo--asahikasei {
    --technology-logo-width: 110px;
  }
  .technology-card__logo--applause {
    --technology-logo-width: 120px;
  }
  .technology-card h3 {
    font-size: 15px;
    min-height: 42px;
    margin-top: 8px;
  }

  .technology-card p {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 8px;
    margin-bottom: 8px;
  }
  .technology-card a {
    width: 90%;
    padding: 6px 15px;
    border: 1px solid #333 !important;
    font-size: 12px;
  }

  .technology-card a:after {
    right: 14px;
    width: 0.4em;
    height: 0.4em;
  }

  .kosodate-closing {
    padding: 44px 22px 48px;
  }

  .kosodate-closing__lead {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .kosodate-closing__lead h2 {
    font-size: 15px;
    line-height: 1.85;
  }

  .kosodate-closing__lead p {
    margin-top: 10px;
    font-size: 13px;
  }

  .kosodate-closing__cta {
    margin-top: 26px;
  }

  .kosodate-closing__cta-main {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .kosodate-closing__cta h2 {
    font-size: 18px;
    line-height: 1.65;
  }

  .kosodate-closing__cta p {
    margin-top: 15px;
    font-size: 14px;
  }

  .kosodate-closing__cta-characters {
    width: 150px;
    margin-top: 22px;
  }

  .kosodate-closing__cta-characters img {
    height: auto;
  }

  .kosodate-closing__cta a {
    width: 100%;
    margin-top: 18px;
    padding: 5px 25px;
    font-size: 12px;
    line-height: 1.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .kosodate-index__card {
    transition: none;
  }
}
