@import url("https://fonts.googleapis.com/earlyaccess/mplus1p.css");
@import url("https://fonts.googleapis.com/earlyaccess/notosansjapanese.css");

/* 定義
----------------------------------------------------------------------------------------------------*/
:root {
  --main: #396eb8;
  --sub: #45a684;
  --sub2: #65bce3;
  --red: #e94f4e;
  --orange: #fa8165;
  --bg_green: #e6f4e6;
  --bg_blue: #e7f4f5;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
h3,
.h3 {
  font-size: 27px;
  margin-top: 40px;
  margin-bottom: 20px;
}
h4,
.h4 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 20px;
}
h5,
.h5 {
  font-size: 22px;
  margin-top: 25px;
}
h6,
.h6 {
  font-size: 18px;
  margin-top: 20px;
}

/* ヘッダー
----------------------------------------------------------------------------------------------------*/
.jumbotron {
  padding: 0;
  margin: 0;
  background-color: transparent;
}

/* メニューバー定義
----------------------------------------------------------------------------------------------------*/
.menu {
  background-color: var(--bg_green);
  position: sticky;
  top: 47px;
  left: 0;
  right: 0;
  padding: 1rem 0;
  z-index: 2;
}
.menu ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin: 0;
}
.menu ul li {
  display: flex;
  flex: 1;
}
.menu a {
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.3;
  flex: 1;
  background-color: var(--sub2);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.3rem 1rem;
}
.menu a:hover {
  background-color: var(--main);
}
@media (min-width: 768px) {
  .menu ul {
    display: flex;
    gap: 10px;
  }
  .menu a {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}
@media (min-width: 992px) {
  .menu {
    top: 58px;
  }
}
/* レイアウト
----------------------------------------------------------------------------------------------------*/
main {
  margin: 0;
  padding: 0;
}
main section > div {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  main section > div {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
.bg-main {
  background-color: var(--main);
}
.bg-orange {
  background-color: var(--orange);
}
.bg-green {
  background-color: var(--bg_green);
}
.bg-blue {
  background-color: var(--bg_blue);
}
.text-red {
  color: var(--red) !important;
}

.title-headline {
  font-size: clamp(1.125rem, 0.9878rem + 0.5854vw, 1.5rem);
  color: var(--sub);
  line-height: 1;
  margin: -100px 0 2rem !important;
  text-align: center;
  font-weight: 600;
  padding-top: 100px;
}
.title-headline::before {
  content: attr(en);
  display: block;
  color: var(--bg_green);
  font-size: clamp(2.5rem, 1.0854rem + 3.9024vw, 4.5rem);
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-transform: capitalize;
  line-height: 0.8;
}

.bg-green .title-headline::before,
.bg-blue .title-headline::before {
  color: #fff;
}
.lead {
  font-weight: 500;
}

.explanation {
  max-width: 800px;
  margin: 2rem auto 0;
  display: grid;
  gap: 1rem;
}
.explanation div {
  display: grid;
  align-items: start;
  gap: 1rem;
}
.explanation div dt {
  font-weight: 600;
  background-color: var(--red);
  color: #fff;
  padding: 0.3rem 1rem;
  text-align: center;
}
.explanation div dd {
  font-size: clamp(1.5rem, 1.3171rem + 0.7805vw, 2rem);
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
}
.explanation strong {
  font-size: clamp(1.5rem, 0.7683rem + 3.122vw, 3.5rem);
  display: block;
  font-weight: 600;
}
.explanation .explanation-line {
  display: inline;
  padding: 0 10px 0;
  background: linear-gradient(transparent 60%, #fff 60%);
}
.lottery .explanation div dd {
  font-size: 1.2rem;
  text-align: left;
}
@media (min-width: 576px) {
  dl.explanation div {
    grid-template-columns: 140px 1fr;
  }
  .explanation div dd {
    text-align: left;
  }
  .lottery .explanation div dd {
    font-size: clamp(1.5rem, 1.3171rem + 0.7805vw, 2rem);
  }
}
.goods-list h4 {
  margin: 0 0 10px;
  line-height: 1;
  text-align: center;
  padding-bottom: 15px;
  position: relative;
  font-weight: 600;
}
.goods-list h4:before {
  content: "";
  width: 150px;
  height: 3px;
  background-color: var(--main);
  position: absolute;
  inset: 0;
  top: auto;
  margin: auto;
}
.lottery .goods-list a:hover {
  color: var(--orange);
}
.lottery .goods-list h4:before {
  background-color: var(--orange);
}

.link-list li a:not([href^="http"]) {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

/* トップへ戻る
----------------------------------------------------------------------------------------------------*/
#page_top {
  position: fixed;
  bottom: 50px;
  right: 20px;
  font-size: 100%;
  z-index: 10;
}
#page_top .btn-back {
  border: none;
  background-color: #ffb000;
  text-decoration: none;
  color: #ffffff;
  font-weight: normal;
  border-radius: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

/* スマホ時
----------------------------------------------------------------------------------------------------*/

@media (max-width: 767px) {
  h3,
  .h3 {
    font-size: 23px;
  }
  h4,
  .h4 {
    font-size: 21px;
  }
  h5,
  .h5 {
    font-size: 19px;
  }
  h6,
  .h6 {
    font-size: 17px;
  }

  .lead {
    font-size: 110%;
    font-weight: 500;
  }

  div.title h2 {
    font-size: 1.3rem;
  }
  div.title h2 span {
    padding: 0 15px;
  }
  div.title h3 span {
    padding: 0 20px;
    font-size: 1.1rem;
  }

  img.max300 {
    max-width: 300px;
    width: 100%;
  }
}

@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
