/* ----------------------------------------------------------
 company / company.html
---------------------------------------------------------- */

/* pagetitle
-------------------------------------------- */
.pagetitle {
  padding-block: 3rem;
}
.pagetitle .wrap {
  position: relative;
}
@media print, screen and (min-width: 768px) { /* SP以外 */
  .pagetitle .wrap .image {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: -16rem;
    width: 12rem;
    height: auto;
  }
}
@media print, screen and (min-width: 1061px) { /* PC */
  .pagetitle .copy {
    text-align: center;
  }
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  .pagetitle::before {
    content: none;
  }
  .pagetitle::after {
    content: none;
  }
  .pagetitle .wrap .image {
    bottom: -14rem;
    width: 9.5rem;
    margin: 2rem auto 0;
  }
}

/* mission
-------------------------------------------- */
section.mission {
  padding-bottom: 4rem;
}

section.mission h3 {
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: 2.25rem;
}

@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  section.mission {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  section.mission h3 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.45;
  }
}

@media screen and (max-width: 767px) { /* SP */
  section.mission {
    padding-top: 2rem;
  }
}


/* ロゴアニメーション */
section.message .wrap.title-section {
  padding-top: 6rem;
}

section.message .wrap.title-section::before {
  content: "";
  position: absolute;
  top: initial;
  bottom: 100%;
  left: 50%;
  display: block;
  width: 200vw;
  height: auto;
  background-image: url("../images/tx-mothers.svg");
  background-repeat: repeat-x;
  background-position: 0 center;
  background-size: 104.167vw auto;
  aspect-ratio: 762 / 65;
  transform: translate(-50%, 50%);
  pointer-events: none;
  animation: mothersTextMarquee 42s linear infinite;
}

@keyframes mothersTextMarquee {
  0% {
    background-position-x: 104.167vw;
  }

  100% {
    background-position-x: 0;
  }
}

@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・PC狭幅 */
  section.mission .wrap.title-section::before {
    background-size: 110vw auto;
    animation-name: mothersTextMarqueeTb;
  }

  @keyframes mothersTextMarqueeTb {
    0% {
      background-position-x: 110vw;
    }

    100% {
      background-position-x: 0;
    }
  }
}

@media screen and (max-width: 767px) { /* SP */
  section.mission .wrap.title-section::before {
    background-size: 180vw auto;
    animation-name: mothersTextMarqueeSp;
  }

  @keyframes mothersTextMarqueeSp {
    0% {
      background-position-x: 180vw;
    }

    100% {
      background-position-x: 0;
    }
  }
}


/* core value
-------------------------------------------- */
section.value {
  position: relative;
  padding: 6rem 0;
}
section.value:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 200vw;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 100%;
  background: linear-gradient(to bottom, #fff 0%, transparent 70%);
  transform: translateX(-50%);
  opacity: 0.9;
}
section.value .wrap {
  position: relative;
  padding-top: 4rem;
}
.value-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 3rem;
}
.value-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--lightblue);
  border-radius:100%;
  background-color: var(--white);
  box-shadow: var(--shadow);
}
.value-list .en {
  color: var(--blue);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.2;
}
.value-list .ja {
  color: var(--blue);
  font-weight: 600;
  font-size: var(--ft-s);
  line-height: 1.45;
  text-align: center;
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・ PC狭幅 */
  section.value {
    padding: 3.5rem 0;
  }
  section.value:before {
    top: 1rem;
    width: 145vw;
  }
  section.value .wrap {
    padding-top: 2rem;
  }
  section.value .copy {
    text-align: center;
  }
}

/* calendar slider */
.calendar {
  min-width: 0;
}
.calendar .copy {
  padding: 0 1rem 1rem 1rem;
  border-radius: 0.5rem;
  background-color: var(--white);
  box-shadow: var(--shadow);
}
.calendar .copy p {
  padding: 1rem;
  color: var(--white);
  background-color: var(--blue);
}
.calendar-slider {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 0 3.75rem;
}
.calendar-swiper {
  width: 100%;
  padding: 1rem;
  overflow: hidden;
  background-color: var(--white);
}
.calendar-item {
  height: auto;
  overflow: hidden;
}
.calendar-item img {
  display: block;
  width: 100%;
  object-fit: cover;
}
.calendar-swiper-controls {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.calendar-swiper-button-prev,
.calendar-swiper-button-next {
  position: absolute;
  top: 45%;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0;
  border: 1px solid var(--blue);
  border-radius: 100%;
  color: var(--white);
  background-color: var(--blue);
  box-shadow: 0px 4px 12px rgba(0, 115, 188, 0.08);
  transform: translateY(-50%);
  pointer-events: auto;
}
.calendar-swiper-button-prev {
  left: 2rem;
}
.calendar-swiper-button-next {
  right: 2rem;
}
.calendar-swiper-button-prev::after,
.calendar-swiper-button-next::after {
  font-size: var(--ft-s);
  font-weight: 700;
}

@media print, screen and (min-width: 1061px) { /* PC */
  section.value .flex {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
  }
  section.value .detail {
    width: 55%;
  }
  section.value .value-list li:nth-child(2) span.en {
    transform: translateY(0.5em);
  }
  section.value .value-list li:nth-child(2) span.ja {
    transform: translateY(0.725em);
  }
  section.value .calendar {
    width: 45%;
  }
  section.value .calendar-swiper {
    margin-inline: auto;
  }
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  section.value {
    padding: 3.5rem 0;
  }
  .value-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
  }
  .value-list li {
    padding: 0.75rem;
    aspect-ratio: initial;
    border-radius: 0.5rem;
  }
  .value-list .en {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
  }
  .value-list .ja {
    font-size: 0.75rem;
  }
  section.value .calendar {
    margin-top: 3rem;
  }
  .calendar-slider {
    padding: 0 2rem;
  }
  .calendar-swiper {
    padding: 0.75rem;
  }
  .calendar-swiper-button-prev,
  .calendar-swiper-button-next {
    width: 2.75rem;
    height: 2.75rem;
  }
  .calendar-swiper-button-prev {
    left: 0.25rem;
  }
  .calendar-swiper-button-next {
    right: 0.25rem;
  }
  .calendar .copy {
    padding: 0 0.75rem 0.75rem;
  }
  .calendar .copy p {
    padding: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.6;
  }
}
@media screen and (min-width: 744px) and (max-width: 1060px) { /* Tab縦・ PC狭幅 */
  section.value .calendar {
    max-width: 30rem;
    margin-inline: auto;
  }
}


/* message
-------------------------------------------- */
section.message {
  position: relative;
  z-index: 1;
  padding-top: 8rem;
  padding-bottom: 6rem;
}
section.message .wrap {
  max-width: 1100px;
  margin: 0 auto;
}
section.message h2 {
  margin-bottom: 3rem;
  text-align: center;
}
section.message .message-box .detail {
  text-align: left;
}
section.message .message-box .detail h3 {
  margin-bottom: 1rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 1.375rem;
}
section.message .message-box figure {
  position: relative;
}
section.message .message-box figure  figcaption {
  position: absolute;
  z-index: 2;
  right: 6px;
  bottom: 6px;
  width: max-content;
  padding: 0 0.5em;
  color: var(--white);
  background-color: rgba(0 146 211 / 0.9);
  font-size: var(--ft-s);
}
@media print, screen and (min-width: 1061px) { /* PC */
  section.message .message-box {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 3rem;
  }
  section.message .message-box figure {
    width: 40%;
  }
  section.message .message-box .detail {
    width: 60%;
  }
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  section.message .message-box figure {
    max-width: 40rem;
    margin: 2rem auto;
  }
  section.message .message-box .detail h3 {
    text-align: center;
  }
}


/* company profile
-------------------------------------------- */
section.profile {
  position: relative;
  z-index: 1;

}
section.profile  h2 {
  text-align: center;
}
section.profile .dl-profile  {
  border: 1px solid var(--lightblue);
  border-bottom: 0;
}
section.profile .dl-profile > dt {
  padding: 1rem;
  border-bottom: 1px solid var(--lightblue);
  background-color: var(--bgblue);
}
section.profile .dl-profile > dd {
  padding: 1rem;
  border-bottom: 1px solid var(--lightblue);
}
section.profile .dl-history > dt {
  position: relative;
  margin-bottom: 0.25rem;
  padding-left: 1rem;
  text-align: left;
}
section.profile .dl-history > dt::before {
  content: "";
  position: absolute;
  top: calc(1lh / 2);
  left: 0;
  width: 0.5em;
  height: 0.5em;
  background-color: #D9D9D9;
  border-radius: 100%;
  transform: translateY(-50%);
}

@media print, screen and (min-width: 1061px) { /* PC */
  section.profile .wrap {
    max-width: 1100px;
    margin: 2rem auto;
  }
  section.profile .dl-profile {
    display: grid;
    grid-template-columns: 18rem 1fr;
  }
  section.profile .dl-history {
    display: grid;
    grid-template-columns: 6rem 1fr;
  }
  section.profile .dl-history dt,
  section.profile .dl-history dd {
    margin-bottom: 0.75rem;
  }
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  section.profile {
    padding-top: 3rem;
  }
  section.profile .dl-profile > dt,
  section.profile .dl-profile > dd {
    padding: 0.875rem;
  }
  section.profile .dl-profile > dt {
    font-weight: 600;
  }
  section.profile .dl-history > dt {
    margin-top: 0.875rem;
  }
  section.profile .dl-history > dt:first-child {
    margin-top: 0;
  }
  section.profile .dl-history > dd {
    padding-left: 1rem;
  }
}


/* access
-------------------------------------------- */
section.access {
  padding: 4rem 0;
}
section.access h2 {
  text-align: center;
}
section.access .access-address {
  text-align: center;
}
section.access .gmap {
  margin: 2rem auto 4rem auto;
}
section.access .gmap iframe {
  width: 100% !important;
  height: 25rem;
}
section.access .access-station {
  margin-top: 2rem;
}
section.access .access-station h3 {
  margin-bottom: 0.5rem;
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
  font-weight: 500;
  font-size: 1.25rem;
}
section.access .access-station ul li {
  display: flex;
  align-items: center;
}
section.access .access-station ul li::before {
  content: "";
  display: block;
  width: 0.5em;
  height: 0.5em;
  margin-right: 0.5em;
  background-color: var(--lightblue);
  border-radius: 100%;
}


@media print, screen and (min-width: 1061px) { /* PC */
  section.access .wrap {
    max-width: 1100px;
    margin: 2rem auto;
  }
  section.access .access-station .detail {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
  }
  section.access .access-station img {
    height: 100%;
    object-fit: cover;
  }
}
@media screen and (max-width: 1060px) { /* SP・Tab縦・PC狭幅 */
  section.access {
    padding: 3rem 0;
  }
  section.access .gmap iframe {
    height: 18rem;
  }
  section.access .access-station .detail {
    margin-top: 2rem;
  }
  section.access .access-station .detail figure + figure {
    margin-top: 2rem;
  }
  section.access .access-station .detail figure.map {
    max-width: 40rem;
    margin-inline: auto;
  }
}
