@import url("global.css");
body {
  background: url("../images/pagebgtop.png") no-repeat top center / max(1400px,100%) auto, url("../images/pagebg.jpg") no-repeat bottom center / cover;
}

#container {
  --radius: min(60px,4vw);
}

#topimage {
  aspect-ratio: 5 / 2;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 120px;
}

.introduction {
  text-align: center;
  margin-bottom: 140px;
}
.introduction::before {
  content: "";
  width: 120px;
  height: 76px;
  background: url("../philosophy/images/logomark.png") no-repeat center center/contain;
  display: block;
  margin: 0 auto 20px;
}
.introduction .catch {
  font-weight: 700;
  font-size: clamp(20px, 3.5vw, 42px);
  margin-bottom: 50px;
}
.introduction .text {
  line-height: 2.3;
}
.introduction .text p + p {
  margin-top: 40px;
}

#contentsmain {
  background-color: #fff;
  border-radius: var(--radius);
  padding-block: 100px;
}
#contentsmain .inner {
  display: flex;
  justify-content: space-between;
  gap: min(5vw,60px);
}
#contentsmain .anchornavi {
  width: 220px;
  flex-shrink: 0;
  padding-top: 40px;
}
#contentsmain .anchornavi ul {
  position: sticky;
  top: 150px;
}
#contentsmain .anchornavi ul li + li {
  margin-top: 25px;
}
#contentsmain .anchornavi ul li a {
  display: block;
  line-height: 1.5;
  position: relative;
  padding-left: 40px;
}
#contentsmain .anchornavi ul li a span {
  display: block;
}
#contentsmain .anchornavi ul li a .ja {
  font-weight: 700;
  font-size: 18px;
}
#contentsmain .anchornavi ul li a .en {
  font-family: "Lexend", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 10px;
  color: #666;
}
#contentsmain .anchornavi ul li a::before {
  content: "\f107";
  width: 26px;
  height: 26px;
  background-color: #008CD6;
  display: block;
  border-radius: 50%;
  position: absolute;
  line-height: 1;
  text-align: center;
  align-content: center;
  top: 50%;
  left: 0;
  margin-top: -14px;
  color: #fff;
  font-family: 'Font Awesome 6 free','Font Awesome 6 Brands';
  font-weight: 900;
  font-size: 18px;
  transition: all 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9) 0s;
  backface-visibility: hidden;
}
@media (any-hover: hover) {
  #contentsmain .anchornavi ul li a:hover::before {
    translate: 0 8px;
  }
}
#contentsmain .anchornavi ul li a.current {
  cursor: default;
}
#contentsmain .anchornavi ul li a.current::before {
  background-color: #00AEA7;
  color: #00AEA7;
  translate: 0 !important;
  box-shadow: 0 0 5px #fff, 0 0 15px rgba(0, 174, 167, 0.5);
}
#contentsmain .maincontents {
  flex-grow: 1;
  max-width: 1200px;
}

.section + .section {
  margin-top: 150px;
}
.section .sectitle {
  line-height: 1.7;
  margin-bottom: 60px;
}
.section .sectitle > span {
  display: block;
}
.section .sectitle .en {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: "Lexend", "Noto Sans JP", sans-serif;
  font-weight: 600;
}
.section .sectitle .en::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: block;
  background-color: #008CD6;
}
.section .sectitle .ja {
  font-size: clamp(20px, 4vw, 38px);
  font-weight: 700;
}
.section .intro {
  margin-block: 40px;
}
.section .catch {
  line-height: 1.6;
  margin-right: -10px;
  font-size: clamp(17px, 2.4vw, 26px);
  font-weight: 700;
}
.section .catch br {
  display: none;
}

#greeting .president {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin-block: 60px;
  flex-direction: row-reverse;
}
#greeting .president .photo {
  flex-shrink: 0;
  width: 50%;
  overflow: hidden;
  border-radius: 0 12px 12px 0;
}
#greeting .president .text {
  padding: 60px 0 60px min(60px,5vw);
  flex-grow: 1;
  align-content: center;
}
#greeting .president .text .lead {
  font-size: min(26px,2.2vw);
  font-weight: 700;
  margin-bottom: 45px;
}
#greeting .president .text .name {
  font-size: 18px;
}
#greeting .president .text .name .com {
  display: block;
}
#greeting .president .text .name strong {
  display: inline-block;
  margin-left: 25px;
  font-size: min(26px,2.2vw);
  font-weight: 700;
  letter-spacing: .12em;
}
#greeting .message {
  line-height: 2;
}
#greeting .message p + p {
  margin-top: 30px;
}

#vision .title {
  font-weight: 700;
  font-size: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
}
#vision .title::before {
  content: "";
  width: 11px;
  height: 11px;
  background: linear-gradient(to right bottom, #00AEA7, #008CD6);
  border-radius: 2px;
  display: block;
  margin-top: 2px;
}
#vision .block {
  border: #C0C0C0 1px solid;
  border-radius: 8px;
  position: relative;
  padding: 60px;
  margin-top: 60px;
}
#vision .block .title {
  position: absolute;
  top: -17px;
  left: 20px;
  padding-inline: 20px;
  background-color: #fff;
}
#vision .group dl {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 5px 50px;
  line-height: 1.5;
}
#vision .group dl dt {
  grid-row: 1 / 4;
  font-size: 26px;
  font-weight: 700;
}
#vision .group dl dd {
  margin-block: 5px 5px;
}
#vision .group dl dd::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #008CD6;
  display: inline-block;
  margin-right: 10px;
  vertical-align: 2px;
}
#vision .mission ul {
  counter-reset: 0 missioncount;
}
#vision .mission ul li {
  counter-increment: missioncount 1;
  line-height: 1.5;
  text-indent: -30px;
  padding-left: 30px;
}
#vision .mission ul li::before {
  content: counter(missioncount);
  font-family: "Lexend", "Noto Sans JP", sans-serif;
  font-size: 125%;
  font-weight: 600;
  text-align: right;
  line-height: 1;
  color: #008CD6;
  width: 15px;
  display: inline-block;
  margin-right: 15px;
  text-indent: 0;
  vertical-align: -1px;
}
#vision .mission ul li + li {
  margin-top: 15px;
}
#vision .value {
  --imgdelay: 0.1s;
  --color1: #0094CB;
  --color2: #009AC3;
  --color3: #00A1B9;
  --color4: #01A7B2;
  margin-top: 70px;
}
#vision .value .figure {
  position: relative;
  width: fit-content;
  margin-inline: auto;
}
#vision .value .figure .h {
  position: absolute;
  bottom: 20px;
  left: 50%;
  translate: -50% 0;
  width: 160px;
}
#vision .value .figure ul {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
#vision .value .figure ul li {
  width: min(120px,10vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  text-align: center;
  align-content: center;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .05em;
}
#vision .value .figure ul li:first-child {
  background-color: #008CD6;
  margin-top: 30%;
}
#vision .value .figure ul li:nth-child(2) {
  background-color: var(--color1);
  margin-top: 10%;
  margin-left: -10%;
}
#vision .value .figure ul li:nth-child(3) {
  background-color: var(--color2);
}
#vision .value .figure ul li:nth-child(4) {
  background-color: var(--color3);
}
#vision .value .figure ul li:nth-child(5) {
  background-color: var(--color4);
  margin-top: 10%;
  margin-right: -10%;
}
#vision .value .figure ul li:last-child {
  background-color: #00AEA7;
  margin-top: 30%;
}
#vision .value.is-active .figure ul li {
  animation: movekachikan 0.5s var(--ease-in-quad) calc(var(--imgdelay) * var(--index)) 1;
  animation-fill-mode: both;
}
@keyframes movekachikan {
  0% {
    opacity: 0;
    filter: blur(20px);
  }
  100% {
    opacity: 1;
    filter: none;
  }
}
#vision .list {
  margin-top: 80px;
}
#vision .list table {
  width: 100%;
  border-collapse: collapse;
}
#vision .list table th {
  width: 150px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}
#vision .list table td {
  padding-inline: 40px;
}
#vision .list table thead tr th {
  background-color: #008CD6;
  color: #fff;
  padding-block: 10px;
  border-radius: 3px 0 0 3px;
}
#vision .list table thead tr td {
  font-size: 18px;
  font-weight: 700;
  background-color: #f2f2f2;
  border-radius: 0 3px 3px 0;
}
#vision .list table tbody tr th {
  border-bottom: #008CD6 2px solid;
  padding-block: 20px 10px;
  color: #008CD6;
}
#vision .list table tbody tr td {
  border-bottom: #C0C0C0 1px solid;
  padding-block: 20px 10px;
}
#vision .list table tbody tr:nth-of-type(1) th, #vision .list table tbody tr:nth-of-type(1) td {
  padding-top: 30px;
}
#vision .list table tbody tr:nth-of-type(2) th {
  color: var(--color1);
  border-color: var(--color1);
}
#vision .list table tbody tr:nth-of-type(3) th {
  color: var(--color2);
  border-color: var(--color2);
}
#vision .list table tbody tr:nth-of-type(4) th {
  color: var(--color3);
  border-color: var(--color3);
}
#vision .list table tbody tr:nth-of-type(5) th {
  color: var(--color4);
  border-color: var(--color4);
}
#vision .list table tbody tr:nth-of-type(6) th {
  color: #00AEA7;
  border-color: #00AEA7;
}

#history ol {
  margin-top: 70px;
  position: relative;
}
#history ol::before {
  content: "";
  width: 1px;
  position: absolute;
  top: 6px;
  bottom: 0;
  left: 150px;
  background-color: #C0C0C0;
  z-index: 0;
}
#history ol li {
  position: relative;
  z-index: 1;
  display: flex;
  column-gap: 115px;
  margin-bottom: 25px;
}
#history ol li::before {
  content: "";
  width: 17px;
  height: 17px;
  background-color: #008CD6;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 4px #fff, 0 0 12px rgba(0, 174, 167, 0.7);
  position: absolute;
  top: 6px;
  left: 142px;
  transition: all 0.3s cubic-bezier(0.04, 0.435, 0.315, 0.9) 0s;
  backface-visibility: hidden;
  scale: .1;
  opacity: 0;
}
#history ol li .date {
  width: 92px;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  font-family: "Lexend", "Noto Sans JP", sans-serif;
  color: #666;
  letter-spacing: .02em;
  transition: all 0.5s cubic-bezier(0.04, 0.435, 0.315, 0.9) 0s;
  backface-visibility: hidden;
  translate: 10px 0;
  opacity: 0;
}
#history ol li .text {
  transition: all 0.8s cubic-bezier(0.04, 0.435, 0.315, 0.9) 0s;
  backface-visibility: hidden;
  translate: -20px 0;
  opacity: 0;
}
#history ol li.is-active::before {
  opacity: 1;
  scale: 1;
}
#history ol li.is-active .date, #history ol li.is-active .text {
  translate: 0;
  opacity: 1;
}

/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint ( 1300px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 1300px) {
  #contentsmain .anchornavi {
    width: 200px;
  }
  #contentsmain .anchornavi ul li a .ja {
    font-size: 16px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-2 ( 959px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 959px) {
  #topimage {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    margin-block: -20px 80px;
  }

  .introduction {
    margin-bottom: 100px;
  }
  .introduction::before {
    width: 100px;
    height: 72px;
    margin: 0 auto 10px;
  }

  #contentsmain {
    padding-block: 70px;
  }
  #contentsmain .inner {
    display: block;
  }
  #contentsmain .anchornavi {
    width: auto;
    padding-top: 0;
    margin-bottom: 60px;
  }
  #contentsmain .anchornavi ul {
    position: static;
    display: flex;
    justify-content: center;
    gap: 6vw;
  }
  #contentsmain .anchornavi ul li + li {
    margin-top: 0;
  }

  .section + .section {
    margin-top: 100px;
  }
  .section .sectitle {
    margin-bottom: 40px;
  }

  #greeting .president {
    margin-block: 50px;
  }
  #greeting .president .text .lead {
    font-size: min(24px,3.2vw);
  }
  #greeting .president .text .name {
    font-size: 17px;
  }
  #greeting .president .text .name strong {
    margin-left: 20px;
    font-size: min(24px,3.2vw);
  }

  #vision .block {
    padding: 50px;
  }
  #vision .value {
    margin-top: 60px;
  }
  #vision .value .figure .h {
    width: 150px;
  }
  #vision .value .figure ul li {
    width: min(120px,14vw);
    font-size: min(21px,2.8vw);
  }
  #vision .list {
    margin-top: 60px;
  }

  #history ol {
    margin-top: 60px;
  }
  #history ol::before {
    left: 130px;
  }
  #history ol li {
    column-gap: 80px;
  }
  #history ol li::before {
    left: 122px;
  }
  #history ol li .date {
    width: 92px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-3 ( 644px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 644px) {
  #topimage {
    border-radius: 8px;
    margin-block: -20px 40px;
  }

  .introduction {
    margin: 0 -10px 70px;
  }
  .introduction::before {
    width: 80px;
    height: 58px;
    margin: 0 auto 10px;
  }
  .introduction .catch {
    margin-bottom: 40px;
  }
  .introduction .text {
    line-height: 2;
  }
  .introduction .text p + p {
    margin-top: 30px;
  }

  #contentsmain {
    padding-block: 50px;
  }
  #contentsmain .anchornavi {
    margin-bottom: 70px;
  }
  #contentsmain .anchornavi ul {
    gap: 8vw;
  }
  #contentsmain .anchornavi ul li a {
    padding-left: 0;
    text-align: center;
  }
  #contentsmain .anchornavi ul li a .ja {
    font-size: 15px;
  }
  #contentsmain .anchornavi ul li a::before {
    width: 24px;
    height: 24px;
    top: auto;
    bottom: -28px;
    left: 50%;
    margin: 0 0 0 -12px;
    font-size: 16px;
  }
  #contentsmain .anchornavi ul li a.current {
    cursor: pointer;
  }
  #contentsmain .anchornavi ul li a.current::before {
    background-color: #008CD6;
    color: #fff;
    translate: 0 !important;
    box-shadow: none;
  }

  .section + .section {
    margin-top: 80px;
  }
  .section .sectitle {
    margin-bottom: 30px;
  }
  .section .catch br {
    display: inline;
  }
  .section .intro {
    margin-block: 30px;
    font-size: 13px;
  }

  #greeting .president {
    display: block;
    border-radius: 8px;
    margin-block: 30px;
  }
  #greeting .president .photo {
    width: auto;
    border-radius: 8px 8px 0 0;
  }
  #greeting .president .text {
    padding: 30px 6vw;
  }
  #greeting .president .text .lead {
    margin-bottom: 10px;
    font-size: min(22px,5vw);
  }
  #greeting .president .text .name {
    font-size: 15px;
    width: fit-content;
    margin-left: auto;
  }
  #greeting .president .text .name strong {
    margin-left: 20px;
    font-size: min(22px,5vw);
  }
  #greeting .message {
    padding-inline: 2vw;
  }
  #greeting .message p + p {
    margin-top: 20px;
  }

  #vision .title {
    font-size: 16px;
    gap: 10px;
  }
  #vision .title::before {
    width: 10px;
    height: 10px;
  }
  #vision .block {
    border-radius: 5px;
    padding: 30px 6vw;
    margin-top: 40px;
  }
  #vision .block .title {
    top: -16px;
    left: 10px;
  }
  #vision .group dl {
    display: block;
  }
  #vision .group dl dt {
    font-size: 24px;
    margin-bottom: 10px;
  }
  #vision .value {
    margin-top: 40px;
  }
  #vision .value .figure {
    margin-top: 20px;
  }
  #vision .value .figure .h {
    bottom: 5px;
    width: 25vw;
  }
  #vision .value .figure ul li {
    width: min(120px,15vw);
    letter-spacing: .05em;
  }
  #vision .list {
    margin-top: 30px;
  }
  #vision .list table th {
    width: 80px;
    font-size: 14px;
  }
  #vision .list table td {
    padding-inline: 20px 10px;
  }
  #vision .list table thead tr th {
    padding-block: 10px;
  }
  #vision .list table thead tr td {
    font-size: 14px;
  }
  #vision .list table tbody tr td {
    font-size: 13px;
  }
  #vision .list table tbody tr:nth-of-type(1) th, #vision .list table tbody tr:nth-of-type(1) td {
    padding-top: 20px;
  }

  #history ol {
    margin-top: 40px;
  }
  #history ol::before {
    left: 105px;
  }
  #history ol li {
    column-gap: 50px;
    margin-bottom: 20px;
  }
  #history ol li::before {
    width: 15px;
    height: 15px;
    top: 5px;
    left: 98px;
  }
  #history ol li .date {
    width: 80px;
  }
}

/*# sourceMappingURL=philosophy.css.map */
