@charset "utf-8";

/* --------------------------------------------------------------- */
/* mainvisual */
/* --------------------------------------------------------------- */

.common-mainvisual .handwriting {
  top: calc(180 * var(--px));
  left: calc(390 * var(--px));
  width: calc(362 * var(--px));
  height: calc(154 * var(--px));
}

@media screen and (max-width: 767px) {
  .common-mainvisual .handwriting {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin-right: 0;
    margin-left: auto;
    width: 70%;
    height: calc(100% + 30px);
  }
}


.common-mainvisual .text-area-inner {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------- */
/* intro */
/* --------------------------------------------------------------- */

#intro {
  padding-top: 90px;
  padding-bottom: 151px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  #intro {
    padding-top: 50px;
    padding-bottom: 80px;
  }
}

#intro .inner > .title {
  font-family: '游明朝','Yu Mincho',YuMincho,'Noto Serif JP',serif;
  font-weight: 600;
  font-size: 44px;
  letter-spacing: 0.05em;
  line-height: 68px;
}

@media screen and (max-width: 767px) {
  #intro .inner > .title {
    font-size: 20px;
    line-height: 28px;
  }
}

#intro .inner > .title img {
  width: 620px;
}

@media screen and (max-width: 767px) {
  #intro .inner > .title img {
    width: 90%;
  }
}

#intro .main {
  margin-top: 53px;
  font-family: YuGothic, "Yu Gothic", 'Noto Sans JP', sans-serif;
  font-weight: bold;
  font-size: 26px;
  line-height: 50px;
  color: var(--theme-color01);
}

@media screen and (max-width: 767px) {
  #intro .main {
    margin-top: 30px;
    font-size: 18px;
    line-height: 26px;
  }
}

#intro .main span {
  display: inline-block;
}

#intro .sub {
  margin-top: 40px;
  margin-bottom: 84px;
  font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic", 'Noto Sans JP', sans-serif;
  font-size: 20px;
  line-height: 44px;
}

@media screen and (max-width: 767px) {
  #intro .sub {
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
  }
}

/* --------------------------------------------------------------- */
/* message */
/* --------------------------------------------------------------- */

#message {
  position: relative;
  padding-top: 114px;
  padding-bottom: 172px;
}

@media screen and (max-width: 767px) {
  #message {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

#message::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: calc((100% - 1680px) / 2);
  z-index: -1;
  background-color: var(--theme-color02);
}

@media screen and (max-width: 1680px) {
  #message::before {
    left: 12px;
  }
}

#message .contents {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 85px;
  padding-left: calc((100% - 1440px) / 2);
}

@media screen and (max-width: 1440px) {
  #message .contents {
    padding-left: 12px;
  }
}

@media screen and (max-width: 1080px) {
  #message .contents {
    flex-direction: column-reverse;
    padding-top: 30px;
  }
}

#message .text-area {
  width: 41.07%
}

@media screen and (max-width: 1080px) {
  #message .text-area {
    padding-right: 12px;
    padding-left: 12px;
    width: 100%;
  }
}

#message .text-area .title {
  margin-bottom: 52px;
  font-family: '游明朝','Yu Mincho',YuMincho,'Noto Serif JP',serif;
  font-size: 34px;
  letter-spacing: 0.05em;
  line-height: 54px;
}

@media screen and (max-width: 767px) {
  #message .text-area .title {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 26px;
  }
}

#message .text-area .title span {
  display: inline-block;
}

#message .text-area .text {
  margin-bottom: 38px;
  font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic",'Noto Sans JP',  sans-serif;
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: 38px;
}

@media screen and (max-width: 767px) {
  #message .text-area .text {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
  }
}

#message .text-area .text.right {
  margin-bottom: 0;
  text-align: right;
}

#message .pht-area {
  width: 52.62%;
}

@media screen and (max-width: 1080px) {
  #message .pht-area {
    margin-bottom: 20px;
    padding-right: 12px;
    padding-left: 12px;
    width: 100%;
  }
}

#message .pht-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------- */
/* history */
/* ------------------------------------------- */

#history {
  padding-top: 120px;
  padding-bottom: 120px;
}

#history .common-title-set.type05 {
  margin-bottom: 80px;
}

#history .title {
  margin-bottom: 30px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  width: 100%;
  color: var(--theme-color01);
  font-family: YuGothic, "Yu Gothic",'Noto Sans JP',  sans-serif;
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 0.05em;
  background-color: #f7fdf9;
  border-top: 1px solid var(--theme-color01);
}

#history .common-table th.year {
  vertical-align: middle;
}

@media screen and (max-width: 767px) {
  #history .common-table tr {
    display: flex;
    flex-direction: column;
    border: none;
  }

  #history .common-table th, #history .common-table td {
    width: 100%;
    border-right: solid 1px #D5D5D5;
    border-bottom: solid 1px #D5D5D5;
    border-left: solid 1px #D5D5D5;
  }

  #history .common-table tr:first-child th:first-child {
    border-top: solid 1px #D5D5D5;
  }

  #history .common-table th.year {
    background-color: var(--theme-color02);
  }
}

/* ------------------------------------------- */
/* organization */
/* ------------------------------------------- */

#organization {
  padding-bottom: 120px;
}

#organization .common-title-set.type05 {
  margin-bottom: 80px;
}

#organization .set {
  margin-bottom: 50px;
}

#organization img {
  display: block;
  margin-right: auto;
  margin-left: auto;
}