@charset "utf-8";

/*================================================
  about
================================================*/


/*------------------------------------------------
  greeting
------------------------------------------------*/

.greeting {
  position: relative;
}
.greeting::before {
  content: "";
  display: block;
  width: 80%;
  height: 80%;
  max-width: 830px;
  background-image: url(../../image/common/common_logo_mark.svg);
  background-size: contain;
  opacity: 0.15;
  z-index: -1;
  position: absolute;
  right: 0;
  top: 5%;
}
.greeting-inner p + p {
  margin-top: 2em;
}
.greeting-inner p.signature {
  font-size: 0.8em;
  text-align: right;
}
.greeting-inner p.signature > span {
  font-size: 1.5em;
  padding-left: 1em;
}
.greeting-pic {
  width: 60%;
  max-width: 300px;
  margin:calc(var(--layout-gap)/1.5) auto calc(var(--layout-gap)/1.5) 0;
}
.greeting-pic > img {
  box-shadow: 5px 5px 0 var(--tertiary-color);
}

.greeting-detail {
  max-width: 600px;
  margin-left: auto;
}

@media print, screen and (min-width: 769px) {
  .greeting-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .greeting-detail {
    width: 65%;
    max-width: 760px;
  }
  .greeting-pic {
    width: 30%;
    position: inherit;
    margin: 0;
  }
}

/*------------------------------------------------
  philosophy
------------------------------------------------*/
.philosophy {
  position: relative;
}
.philosophy-container {
  position: relative;
}
.philosophy::before {
  content: "";
  display: block;
  position: absolute;
  border-top-right-radius: 50px;
  background-color: var(--color-gray);
  height: 100%;
  width: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}
.philosophy::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url(../../image/common/common_logo_mark.svg);
  background-size: contain;
  background-position: bottom left;
  height: 50%;
  width: 80%;
  max-width:830px;
  z-index: -1;
  bottom: -1px;
  left: 0;
}
.philosophy .section-title {
  text-align: center;
  margin-bottom: 0;
}

.philosophy-read {
  background-image: url(../../image/about/philosophy_head_bg_img.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  padding:3em 1em;
}
.philosophy-read > img {
  width: 90%;
  max-width: 780px;
  display: block;
  margin: auto;
}
.philosophy-read > p {
  margin-top: 2em;
}

.philosophy-list {
  display: grid;
  gap:calc(var(--layout-gap)/2);
}

.philosophy-item {
  background-color: rgba(var(--color-white-rgb),0.94);
  border-radius: 35px;
  padding: 35px;
  font-size: clamp(1rem, 0.72rem + 1.4vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  box-shadow: 20px 20px 20px rgba(var(--color-black-rgb), 0.06);
}

.philosophy-item > mark {
  color: var(--secondary-color);
}
@media print, screen and (min-width: 480px) {
  .philosophy-list {
    width: 80%;
    margin: auto;
  }
}


@media print, screen and (min-width: 690px) {
  .philosophy-list {
    grid-template-columns: 1fr 1fr;
    gap:calc(var(--layout-gap)/2);
    width: 100%;
  }
  .philosophy-read  {
    text-align: center;
    padding: 4em 1em;
  }
  .philosophy-item {
    padding: 75px 15px;
  }
}

@media print, screen and (min-width: 769px) {
  .philosophy::before {
    border-top-right-radius: 60px;
  }
  .philosophy-item {
    padding: 75px 25px;
  }
}

@media print, screen and (min-width: 1200px) {
  /* .philosophy::before {
    border-top-right-radius: 100px;
    width: calc(100% - calc(50% - 590px));
  } */
  .philosophy-read  {
    text-align: center;
    padding: 6em 1em;
  }
  .philosophy-list {
    gap: var(--layout-gap);
  }
  .philosophy-item {
    padding: 100px 70px;
    border-radius: 70px;
  }
}

@media print, screen and (min-width: 1600px) {
  .philosophy::before {
    width: calc(100% - calc(50% - 680px));
    border-top-right-radius: 100px;
  }
}

/*------------------------------------------------
overview
------------------------------------------------*/

.overview {
  background:linear-gradient(180deg, #61C0BA, #4694D1);
}

.overview .section-title-en {
  -webkit-text-fill-color: var(--color-white);
}

.overview .section-title-jp {
  color: var(--color-white);
}

.overview-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom:  calc(var(--layout-gap) * 1.5) ;
}
.overview-list-title {
  color: var(--color-white);
  letter-spacing: 0.15em;
  font-weight: 700;
  width: calc(6em + calc(var(--layout-gap) / 2));
  border-bottom: 1px solid var(--color-white);
  padding: calc(var(--layout-gap) / 2) calc(var(--layout-gap) / 4);
}
.overview-list-text {
  color: var(--color-white);
  width:calc(100% - 6em - calc(var(--layout-gap) / 2));
  border-bottom: 1px solid rgba(var(--color-white-rgb), 0.25);
  padding:  calc(var(--layout-gap) / 2) calc(var(--layout-gap) / 4) calc(var(--layout-gap) / 2);
}

@media print, screen and (min-width: 769px) {

  .overview-list {
    margin-bottom:  calc(var(--layout-gap) * 2) ;
  }
  .overview-list-title {
    width: 30%;
    padding: calc(var(--layout-gap) / 1) calc(var(--layout-gap) / 4);
  }
  .overview-list-text {
    width: 70%;
    padding: calc(var(--layout-gap) / 1) calc(var(--layout-gap) / 4);
  }
}

@media print, screen and (min-width: 1200px) {
  .overview-list {
    margin-bottom:  calc(var(--layout-gap) * 3) ;
  }
  .overview-list-title {
    width: 25%;
  }
  .overview-list-text {
    width: 75%;
  }
}

@media print, screen and (min-width: 1600px) {
  .overview-list-title {
    width: 20%;
    padding: calc(var(--layout-gap) / 1);
  }
  .overview-list-text {
    width: 80%;
    padding: calc(var(--layout-gap) / 1);
  }
}
/*------------------------------------------------
  agency-rights
------------------------------------------------*/
.agency-rights-title {
  font-size: clamp(1.6rem, 1.44rem + 0.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  /* margin: var(--layout-gap) 0 calc(var(--layout-gap) / 1.5) ; */
  margin: 3em 0 1em;
  padding: 1.5em 0 1.5em 2em;
  position: relative;
}
.agency-rights-title::before {
  content: "";
  display: block;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #61C0BA, #4694D1);
  position: absolute;
  left: 0;
  top: 0;
}

.agency-rights-text {
  padding-bottom: calc(var(--layout-gap) / 1.5);
  padding-left: 3.5em;
}

.agency-rights-text::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background-color: var(--primary-text-color);
  margin-left: -1em;
  margin-right: 0.5em;
}
@media print, screen and (min-width: 1200px) {
  .agency-rights-title {
    padding: 1.5em 0 1.5em 3em;
  }
  .agency-rights-text {
    padding-left: 4.5em;
  }
}

/*------------------------------------------------
  history
------------------------------------------------*/
.history {
  position: relative;
}
.history-container {
  position: relative;
}
.history::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  background-color: var(--color-gray);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  z-index: -2;
}
.history::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url(../../image/common/common_logo_mark_white.svg);
  background-size: contain;
  background-position: bottom right;
  height: 50%;
  width: 80%;
  max-width:830px;
  z-index: -1;
  bottom: 0;
  right: 0;
}

.history-list {
  padding-left: calc(var(--layout-gap) /1);
  position: relative;
}
.history-list::before {
  content: "";
  display: block;
  position: absolute;
  left: 6px;
  top: 36px;
  width: 2px;
  height: calc(100% - 56px);
  background-color: rgba(var(--primary-color-rgb), 0.4);
}
.history-item {
  padding: calc(var(--layout-gap) /4) 0;
}
.history-item-year {
  color: var(--secondary-color);
  font-size: 2rem;
  font-weight: 700;
  position: relative;
}
.history-item-year::before {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  top: calc(50% - 5px);
  left: -38px;
}

.history-item-year .era {
  font-size: 0.5em;
  opacity: 0.7;
  padding-left: 1em;
}
.history-item-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.history-item-detail .month {
  color: var(--secondary-color);
  background-color: var(--color-white);
  width: 4em;
  border-radius: 2em;
  padding: 0.25em 0.5em;
  line-height: 1.5;
  margin-right: 1em;
  display: inline-block;
  text-align: center;
}
.history-item-detail .text {
  padding: 0.25em 0;
  display: inline-block;
  width: calc(100% - 5em);
  line-height: 1.5;
}

@media print, screen and (min-width: 769px) {
  .history .section-title {
    width: 35%;
  }
  .history-container {
    display: flex;
  }
  .history-list {
    padding-left: calc(var(--layout-gap) *1.5);
    width: 60%;
    max-width: 860px;
  }
  .history-list::before {
    top: calc(1em + 40px);
    height: calc(100% - calc(1em + 60px));
  }
  .history-item {
    padding: calc(var(--layout-gap) /2) 0;
  }
  .history-item-year {
    font-size: 3.2rem;
  }
  .history-item-year::before {
    left: -58px;
  }
}



/*------------------------------------------------
  access
------------------------------------------------*/
.access {
  position: relative;
  background-color: var(--color-gray);
}
.access-container {
  position: relative;
}

.access::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  background-color: var(--color-white);
  border-top-left-radius: 30px;
}
.access-item +.access-item {
  margin: calc(var(--layout-gap)*2) 0 0;
}
.access-item > address  {
  font-style: normal;
  margin-bottom: 1em;
}
.google-map {
  width: 100%;
  height: 300px;
}

.google-map > iframe {
  width: 100%;
  height: 100%;
}

@media print, screen and (min-width: 769px) {
  .google-map {
    height: 500px;
  }
}

@media print, screen and (min-width: 1200px) {
  .access::before {
    border-top-left-radius: 50px;
  }
}

@media print, screen and (min-width: 1600px) {
  .access::before {
    border-top-left-radius: 80px;
  }
}

.access-map {
  width: 100%;
  height: 250px;
}

.access-map > iframe {
  width: 100%;
  height: 100%;
}

.address-detail {
  display: block;
  position: relative;
  margin-top: 1em;
}
.address-detail::before {
  content: "";
  width: 1.5em;
  height: 1.5em;
  background-image: url(../../image/common/icon_pin.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: inline-block;
  margin-right: 7.5px;
  vertical-align: middle;
}

.methods-detail {
  margin: 2em 0;
}
.methods-detail dt {
  position: relative;
  font-weight: 700;
}
.methods-detail dt.by-car {
  margin-top: calc(var(--layout-gap) / 3);
}
.methods-detail dt::before {
  content: "";
  display:inline-block;
  width: 1.5em;
  height: 1.5em;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 7.5px;
  vertical-align: middle;
}
.methods-detail dt.by-train::before {
  background-image: url(../../image/common/icon_train.svg);
}
.methods-detail dt.by-car::before {
  background-image: url(../../image/common/icon_car.svg);
}
.methods-detail dd {
  padding-left: 30px;
}

.access-img {
  max-width: 600px;
}

@media print, screen and (min-width: 769px) {
  .access-map {
    height: 450px;
  }

  .access-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: var(--layout-gap) ;
  }
  .address-detail {
    width: 50%;
  }
  .address-detail::before,
  .methods-detail dt::before {
    margin-right: 15px;
    width: 26px;
    height: 26px;
  }
  .methods-detail {
    margin: 0;
  }
  .methods-detail dd {
    padding-left: 41px;
  }

  .access-img {
    width: 45%;
  }
}
@media print, screen and (min-width: 1200px) {
  .access-img {
    width: 50%;
  }
}
