﻿

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

  top
  
----------------------------------------------------------------------------------------------------*/
/* Main visual */
#mainvisual {
  width: 100%;
  height: auto;
}

/* top-news */
#top-news {
  background-color: #fff;
}
#top-news .top-news-wrap {
  display: grid;
  grid-template-columns: 5em auto;
  gap: 30px;
  padding: 24px 0;
  line-height: 1.4;
}
#top-news .top-news-title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5em;
  height: 2em;
  background-color: var(--color-primary);
  color: #fff;
  font-weight: bold;
}
#top-news .top-news-list {
  margin-top: 3px;
}
#top-news .top-news-link,
#top-news .top-news-nolink {
  width: 100%;
  display: grid;
  grid-template-columns: 7em auto;
  gap: 24px;
}
#top-news .top-news-link {
  text-decoration: none;
}
#top-news .top-news-link:hover {
  color: var(--link-color-hover);
}
#top-news .top-news-time {
  color: #777;
}
#top-news .top-news-cttitle {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#top-news .top-news-link .top-news-cttitle {
  text-decoration: underline;
}
@media (max-width:500px) {
  #top-news .top-news-wrap {
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    gap: 18px;
  }
  #top-news .top-news-list {
    display: grid;
    gap: 12px;
    margin-top: 0;
  }
}

/* information */
#information {
  width: 100%;
  padding: 84px 0;
  background-color: var(--color-primary-lightest);
}
#information .info-title {
  color: var(--color-primary);
  font-size: 48px;
  font-weight: normal;
  text-align: center;
  letter-spacing: 1pt;
  margin-bottom: 84px;
}
#information .info-title .eng {
  display: block;
  color: var(--color-primary-light);
  font-size: 18px;
}
#information .info-contents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 48px;
  font-size: 24px;
}
#information .info-logo {
  margin-bottom: 36px;
}
#information .info-contents h3 {
  color: var(--color-primary-light);
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 1pt;
}
#information .info-address {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px dashed var(--color-primary-light);
}
#information .info-address .contact-way {
  display: inline-block;
  width: 70px;
}
#information .info-map {
  width: 100%;
  height: 100%;
  border: none;
}
@media (max-width:768px) {
  #information .info-contents {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
  #information .info-text {
    display: block;
  }
  #information .info-address {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px dashed var(--color-primary-light);
  }
}
@media (max-width:500px) {
  #information .info-title {
    font-size: 42px;
  }
  #information .info-contents {
    font-size: 21px;
  }
  #information .info-contents h3 {
    font-size: 26px;
  }
}

/* online-shohosen */
#online-shohosen {
  width: 100%;
  padding: 84px 0;
  background-color: var(--color-forthry-pale);
}
#online-shohosen .os-contents {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}
#online-shohosen .os-title {
  color: var(--color-forthry);
  font-size: 48px;
  font-weight: normal;
  line-height: 1.4;
  letter-spacing: 1pt;
  margin-bottom: 36px;
}
#online-shohosen .os-img {
  text-align: center;
}
#online-shohosen .os-description p {
  line-height: 2;
}
#online-shohosen .os-btn-list {
  display: flex;
  justify-content: center;
  gap: 36px;
}
#online-shohosen .os-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 460px;
  height: 80px;
  border-radius: 40px;
  color: inherit;
  font-size: 30px;
  text-decoration: none;
}
#online-shohosen .os-epark {
  border: 2px solid var(--color-epark);
  background-color: var(--color-epark-pale);
}
#online-shohosen .os-melmo {
  border: 2px solid var(--color-melmo);
  background-color: var(--color-melmo-pale);
}
#online-shohosen .os-img {
  display: inline-block;
  margin-right: 0.25em;
}
#online-shohosen .os-melmo .os-img {
  width: 180px;
}
@media (max-width:768px) {
  #online-shohosen .os-contents {
    grid-template-columns: auto;
    justify-content: center;
  }
  #online-shohosen .os-btn-list {
    display: block;
  }
  #online-shohosen .os-btn {
    margin: 0 auto;
  }
  #online-shohosen .os-epark {
    margin-bottom: 36px;
  }
}
@media (max-width:500px) {
  #online-shohosen .os-title {
    font-size: 42px;
  }
  #online-shohosen .os-btn {
    font-size: 26px;
  }
  #online-shohosen .os-melmo .os-img {
    max-width: 188px;
  }
}

/* payment */
#payment {
  width: 100%;
  padding: 120px 0 84px;
  background-color: var(--color-primary-lightest);
}
#payment .payment-contents {
  padding: 48px;
  border: 3px solid var(--color-primary);
  border-radius: 36px;
  box-sizing: border-box;
}
#payment .payment-contents h2 {
  max-width: 503px;
  margin: -100px auto 0;
}
#payment .payment-contents h3 {
  margin-top: 48px;
  color: var(--color-primary-light);
  font-size: 24px;
  font-weight: bold;
}
#payment .payment-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  line-height: 1;
  margin-top: 18px;
}
#payment .credit-touch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 24px;
  padding-left: 60px;
  border: 1px solid #888777;
  border-radius: 12px;
  box-sizing: border-box;
  margin-left: 26px;
  position: relative;
}
#payment .credit-touch::before {
  content: "";
  position: absolute;
  left: -24px;
  display: block;
  width: 62px;
  height: 80px;
  background-image: url(../img/content/top/payment-tocth.png);
  background-repeat: no-repeat;
}
#payment .credit-notouch {
  display: flex;
  align-items: center;
  gap: 24px;
}
#payment .payment-note {
  margin-top: 18px;
  color: #999999;
  font-size: 14px;
  text-align: right;
}
@media (max-width:640px) {
  #payment .payment-contents {
    padding: 36px;
    border-radius: 24px;
  }
  #payment .payment-contents h2 {
    margin: -72px auto 0;
  }
  #payment .credit-touch {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    padding: 18px;
    padding-left: 42px;
    border-radius: 12px;
    box-sizing: border-box;
    margin-left: 20px;
    position: relative;
  }
  #payment .credit-touch::before {
    left: -20px;
    width: 50px;
    height: 64px;
    background-size: contain;
  }
}
@media (max-width:425px) {
  #payment .payment-contents {
    padding: 24px;
    border-radius: 18px;
  }
  #payment .payment-contents h2 {
    margin: -54px auto 0;
  }
  #payment .credit-touch {
    grid-template-columns: repeat(2,1fr);
  }
}