@charset "UTF-8";
@import url("global.css");
#bodyarea {
  overflow: hidden;
  padding-top: 30px;
}

.section {
  position: relative;
}
.section .sec_title {
  margin-bottom: 80px;
  line-height: 1;
}
.section .sec_title span {
  display: block;
}
.section .sec_title .en {
  font-size: clamp(36px, 5.2vw, 63px);
  font-family: "Vollkorn", "Zen Old Mincho", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.section .sec_title .ja {
  font-size: clamp(14px, 1.6vw, 19px);
}
.section + .section {
  margin-top: 100px;
}

#greeting {
  padding-bottom: 90px;
}
#greeting::before {
  content: "";
  background: url("../img/bg_texture_pink.jpg") repeat center;
  position: absolute;
  top: 30px;
  left: 0;
  bottom: 0;
  right: 17vw;
  border-top-right-radius: 4.2vw;
  z-index: -1;
}
#greeting .sec_title {
  margin-block: -30px 60px;
  display: flex;
  align-items: center;
  gap: 40px;
}
#greeting .greeting {
  display: flex;
  flex-direction: row-reverse;
  margin-right: calc( -1 * ( (100vw - 1200px) * .35 ) );
}
#greeting .greeting .text {
  width: 56%;
  flex-grow: 1;
}
#greeting .greeting .text p + p {
  margin-top: 20px;
}
#greeting .president {
  width: 32%;
  margin-inline: 5%;
}

#outline .sec_title {
  text-align: center;
}
#outline .sec_title .en {
  margin-bottom: 5px;
}
#outline .outline {
  display: flex;
  gap: 40px;
  margin-left: calc( -1 * ( (100vw - 1200px) * .43 ) );
}
#outline .outline .image {
  width: 53%;
  flex-shrink: 0;
}
#outline .outline .data {
  flex-grow: 1;
}
#outline .outline .data table {
  width: 100%;
  border-collapse: collapse;
  border-top: #CFB29D 1px solid;
  line-height: 1.5;
}
#outline .outline .data table tr {
  border-bottom: #CFB29D 1px solid;
}
#outline .outline .data table th {
  padding: 20px 20px;
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
}
#outline .outline .data table td {
  padding: 20px 15px;
}
#outline .outline .data table td .br {
  padding-right: 1em;
}
#outline .outline .data table td .slash::before {
  content: "／";
  padding-inline: 5px;
}
#outline .outline .data table td ul {
  margin-block: -5px;
}
#outline .outline .data table td ul li {
  margin-block: 5px;
}
#outline .outline .data table td ul.number {
  counter-reset: number 0;
}
#outline .outline .data table td ul.number > li {
  counter-increment: number 1;
  padding-left: 25px;
  text-indent: -25px;
}
#outline .outline .data table td ul.number > li::before {
  display: inline-block;
  width: 25px;
  text-indent: 0;
  content: counter(number) ".";
}
#outline .outline .data table td ul.dot li {
  text-indent: -14px;
  padding-left: 14px;
}
#outline .outline .data table td ul.dot li::before {
  content: "";
  width: 7px;
  height: 7px;
  background-color: #CFB29D;
  border-radius: 50%;
  display: inline-block;
  text-indent: 0;
  margin-right: 7px;
  vertical-align: 2px;
}
#outline .outline .data table td ul.sub li {
  display: inline-block;
  margin-right: 20px;
}

#history {
  padding-bottom: 80px;
}
#history::before {
  content: "";
  background: url("../img/bg_texture_pink.jpg") repeat center;
  position: absolute;
  top: 30px;
  right: 0;
  bottom: 0;
  left: max(calc((100% - 1600px) / 2), 5vw);
  border-top-left-radius: 4.2vw;
  z-index: -1;
}
#history .sec_title {
  margin-block: -30px 140px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 40px;
  width: fit-content;
  position: relative;
}
#history .sec_title .sub {
  position: absolute;
  bottom: -20px;
  letter-spacing: .1em;
  font-size: clamp(14px, 1.6vw, 19px);
}
#history .history {
  position: relative;
}
#history .history::before {
  content: "";
  position: absolute;
  display: block;
  top: 20px;
  bottom: -20px;
  width: 10px;
  left: 50%;
  margin-left: -5px;
  background-color: #fff;
}
#history .history::after {
  content: "";
  position: absolute;
  display: block;
  bottom: -30px;
  width: 10px;
  height: 10px;
  left: 50%;
  background-color: #fff;
  margin-left: -5px;
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
}
#history .history .block {
  position: relative;
  padding-bottom: 240px;
  margin-bottom: 60px;
}
#history .history .block:first-of-type .title {
  letter-spacing: .3em;
}
#history .history .block:last-of-type {
  padding-bottom: 100px;
  margin-bottom: 0;
}
#history .history .block:nth-of-type(2) {
  padding-bottom: 110px;
}
#history .history .block:nth-of-type(odd) .title {
  right: 50%;
  margin-right: 150px;
}
#history .history .block:nth-of-type(odd) ol li .time {
  text-align: right;
}
#history .history .block:nth-of-type(even) .title {
  left: 50%;
  margin-left: 150px;
}
#history .history .block:nth-of-type(even) ol li {
  flex-direction: row-reverse;
}
#history .history .block:nth-of-type(even) ol li .text {
  text-align: right;
}
#history .history .block .title {
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  white-space: nowrap;
  line-height: 1.4;
  font-size: min(50px,5.5vw);
  font-weigth: 700;
  position: absolute;
  top: -60px;
}
#history .history .block .image {
  position: absolute;
  border: #fff 5px solid;
  background-color: #fff;
  border-radius: 4px;
  width: 25%;
}
#history .history .block .image.tate {
  width: 19%;
}
#history .history .block .image.image1a {
  left: max(-60px,-4vw);
  top: -30px;
}
#history .history .block .image.image1b {
  left: 12%;
  bottom: 0;
}
#history .history .block .image.image2a {
  left: min(1080px,73vw);
  top: -60px;
}
#history .history .block .image.image2b {
  left: min(980px,65vw);
  bottom: 0;
}
#history .history .block .image.image3a {
  right: min(1090px,79vw);
  top: -100px;
}
#history .history .block .image.image3b {
  right: min(940px,73vw);
  bottom: -20px;
}
#history .history .block .image.image4a {
  left: min(920px,69vw);
  top: -140px;
}
#history .history .block .image.image4b {
  left: min(1070px,73vw);
  bottom: -20px;
}
#history .history .block ol li {
  margin-bottom: 40px;
  position: relative;
  display: flex;
  width: 100%;
  gap: 90px;
}
#history .history .block ol li:has(.is-active)::before {
  animation: .3s dot-animation linear 0s both;
}
#history .history .block ol li::before {
  content: "";
  width: 40px;
  height: 40px;
  background-color: #DAC59B;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -20px;
  scale: .1;
  opacity: 0;
}
#history .history .block ol li .time {
  font-size: 18px;
  flex: 1;
  padding-top: 3px;
}
#history .history .block ol li .text {
  flex: 1;
  padding-top: 5px;
}
#history .history .block ol li .text p + p {
  margin-top: 1em;
}

@keyframes dot-animation {
  0% {
    opacity: 0;
    scale: .1;
  }
  85% {
    opacity: .9;
    scale: 1.3;
  }
  to {
    scale: 1;
    opacity: 1;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-1 ( 1300px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 1300px) {
  #greeting .sec_title {
    gap: 30px;
  }
  #greeting .greeting {
    margin-right: -40px;
  }
  #greeting .greeting .text {
    width: 52%;
  }

  #outline .outline {
    gap: 3vw;
    margin-left: -50px;
  }

  #history .history .block {
    padding-bottom: 220px;
  }
  #history .history .block .image.image1a {
    left: -3vw;
  }
  #history .history .block .image.image1b {
    left: 16%;
    bottom: 40px;
  }
  #history .history .block .image.image2a {
    width: 23%;
    left: 75vw;
    top: -60px;
  }
  #history .history .block .image.image2b {
    width: 24%;
    left: 66vw;
    bottom: 0;
  }
  #history .history .block .image.image3a {
    width: 17%;
  }
  #history .history .block .image.image3b {
    width: 22%;
    right: 76vw;
    bottom: auto;
    top: 50%;
  }
  #history .history .block .image.image4b {
    bottom: 0;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-2 ( 959px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 959px) {
  #bodyarea {
    padding-top: 0;
  }

  .section .sec_title {
    margin-bottom: 0;
  }
  .section + .section {
    margin-top: 80px;
  }

  #greeting {
    padding-bottom: 50px;
  }
  #greeting::before {
    top: 50px;
    right: 4vw;
  }
  #greeting .sec_title {
    margin: 0 0 0 30px;
    display: block;
    position: absolute;
    top: 18vw;
  }
  #greeting .sec_title .en {
    margin-bottom: 5px;
  }
  #greeting .greeting {
    display: block;
    margin-right: 0;
  }
  #greeting .greeting .president {
    width: 45%;
    max-width: 540px;
    margin: 0 5% 30px auto;
  }
  #greeting .greeting .text {
    width: auto;
    margin-right: 4vw;
  }

  #outline .outline {
    display: block;
    margin: 0;
  }
  #outline .outline .image {
    width: auto;
    max-width: 440px;
    margin: 0 auto 20px;
  }

  #history {
    padding-bottom: 80px;
  }
  #history::before {
    top: 2.7vw;
  }
  #history .sec_title {
    margin-block: 0 70px;
    gap: 20px;
  }
  #history .history .block {
    padding-bottom: 130px;
    margin-bottom: 100px;
  }
  #history .history .block:nth-of-type(2) {
    padding-bottom: 130px;
  }
  #history .history .block:nth-of-type(3) {
    padding-bottom: 290px;
  }
  #history .history .block:last-of-type {
    padding-bottom: 240px;
    margin-bottom: 0;
  }
  #history .history .block .title {
    top: -30px;
  }
  #history .history .block .image {
    width: 180px;
  }
  #history .history .block .image.tate {
    width: 130px;
  }
  #history .history .block .image.image1a {
    left: auto;
    right: 57%;
    top: 100px;
  }
  #history .history .block .image.image1b {
    left: auto;
    bottom: auto;
    right: 62%;
    top: 270px;
  }
  #history .history .block .image.image2a {
    width: 140px;
    left: 78%;
    top: 200px;
  }
  #history .history .block .image.image2b {
    width: 180px;
    left: 58%;
    bottom: auto;
    top: 310px;
  }
  #history .history .block .image.image3a {
    width: 130px;
    right: auto;
    left: 54%;
    top: auto;
    bottom: 100px;
    z-index: 1;
  }
  #history .history .block .image.image3b {
    width: 180px;
    right: auto;
    left: 70%;
    bottom: 0;
    top: auto;
  }
  #history .history .block .image.image4a {
    left: auto;
    right: 53%;
    top: auto;
    bottom: 100px;
  }
  #history .history .block .image.image4b {
    left: auto;
    right: 71%;
    bottom: 0;
  }
  #history .history .block ol li {
    margin-bottom: 30px;
  }
  #history .history .block ol li .text {
    padding-top: 7px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-3 ( 644px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 644px) {
  #bodyarea {
    padding-top: 0;
  }

  .section + .section {
    margin-top: 80px;
  }

  #greeting {
    padding-bottom: 40px;
  }
  #greeting::before {
    top: 40px;
    right: 4vw;
    border-top-right-radius: 20px;
  }
  #greeting .sec_title {
    margin: 0;
    top: 23vw;
  }
  #greeting .greeting .president {
    width: 55%;
  }
  #greeting .greeting .text {
    margin-right: 3vw;
  }
  #greeting .greeting .text p + p {
    margin-top: 1em;
  }

  #outline .outline .data table th {
    padding: 20px 20px 20px 5px;
  }
  #outline .outline .data table td {
    padding: 20px 5px;
  }
  #outline .outline .data table td .br {
    padding-right: 0;
    display: block;
  }
  #outline .outline .data table td .slash {
    display: block;
  }
  #outline .outline .data table td .slash::before {
    display: none;
  }
  #outline .outline .data table td ul.dot li::before {
    vertical-align: 1px;
  }

  #history {
    padding-bottom: 80px;
  }
  #history::before {
    top: 18px;
    left: 4vw;
    border-top-left-radius: 40px;
  }
  #history .sec_title {
    margin-block: 0 70px;
  }
  #history .history::before {
    width: 8px;
    margin-left: -4px;
  }
  #history .history::after {
    bottom: -28px;
    width: 8px;
    height: 8px;
    margin-left: -4px;
  }
  #history .history .block {
    padding-bottom: 110px;
    margin-bottom: 50px;
  }
  #history .history .block:last-of-type {
    padding-bottom: 180px;
    margin-bottom: 0;
  }
  #history .history .block:nth-of-type(2) {
    padding-bottom: 130px;
  }
  #history .history .block:nth-of-type(3) {
    padding-bottom: 220px;
  }
  #history .history .block:nth-of-type(odd) .title {
    margin-right: 105px;
  }
  #history .history .block:nth-of-type(even) .title {
    margin-left: 105px;
  }
  #history .history .block .title {
    top: -15px;
    letter-spacing: .1em;
  }
  #history .history .block .image {
    border: #fff 4px solid;
    border-radius: 3px;
    width: 140px;
  }
  #history .history .block .image.tate {
    width: 100px;
  }
  #history .history .block .image.image1a {
    right: 70%;
    top: auto;
    bottom: 100px;
  }
  #history .history .block .image.image1b {
    right: 54%;
    top: auto;
    bottom: 0;
  }
  #history .history .block .image.image2a {
    width: 130px;
    left: auto;
    right: 43%;
    top: auto;
    bottom: 0;
  }
  #history .history .block .image.image2b {
    width: 140px;
    left: 54%;
    bottom: 40px;
    top: auto;
  }
  #history .history .block .image.image3a {
    width: 110px;
    right: 45%;
    left: auto;
    top: auto;
    bottom: 80px;
    z-index: 1;
  }
  #history .history .block .image.image3b {
    width: 140px;
    right: auto;
    left: 40%;
    bottom: 0;
    top: auto;
  }
  #history .history .block .image.image4a {
    left: auto;
    right: 53%;
    top: auto;
    bottom: 70px;
  }
  #history .history .block .image.image4b {
    left: 44%;
    right: auto;
  }
  #history .history .block ol li {
    margin-bottom: 20px;
    gap: 60px;
  }
  #history .history .block ol li::before {
    width: 30px;
    height: 30px;
    margin-left: -15px;
  }
  #history .history .block ol li .time {
    font-size: 16px;
    padding-top: 1px;
  }
  #history .history .block ol li .text {
    padding-top: 4px;
  }
}
