@charset "UTF-8";

:root {
  --green: #017b63;
}

/* ===================================================

  "デジタル防災訓練" Common Styles

=================================================== */
body { background-color: #d3f3e6; }
.inner {
  max-width: 1280px;
  width: calc(327 / 375 * 100%);
  margin: auto;
}
.site-wrapper > main {
  position: relative;
  padding: 0;
  display: flex;
}

@media screen and (max-width:768px) {
  .site-wrapper > main {
    padding: 0 0 25%;
    display: block;
  }
}

/*
  Header
---------------------------------------------- */
.l-header {
  position: relative;
  padding: 20px 0;
  background-color: #ffffff;
}
.l-header h1 {
  width: 180px;
  height: auto;
  font-size: 0;
  line-height: 1.0;
}

@media screen and (max-width:768px) {
  .l-header {
    padding: calc(25 / 750 * 100%) 0;
  }
  .l-header h1 { width: calc(206 / 750 * 100vw); }
}

/*
  Stripes
---------------------------------------------- */
/* .site-wrapper > main::before,
.site-wrapper > main::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 10px;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 7px, rgba(51,51,51,.5) 7px, rgba(51,51,51,.5) 14px );
  background-color: rgba(217,245,234,1);
} */
.site-wrapper > main::before { top: 0; }
.site-wrapper > main::after { bottom: 0; }

@media screen and (max-width:768px) {
  .site-wrapper > main::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 10px;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 7px, rgba(51,51,51,.5) 7px, rgba(51,51,51,.5) 14px );
    background-color: rgba(217,245,234,1);
  }
  .site-wrapper > main::after {
    display: none;
  }
}

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

  "デジタル防災訓練" Index Styles

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

.gift-main {
  position: relative;
  width: 32%;
  max-width: 375px;
}
.gift-main::before,
.gift-main::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 10px;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 7px, rgba(51,51,51,.5) 7px, rgba(51,51,51,.5) 14px );
  background-color: rgba(217,245,234,1);
}
.gift-main::before { top: 0; }
.gift-main::after { bottom: 0; }
@media screen and (max-width:768px) {
  .gift-main {
    width: 100%;
    max-width: inherit;
  }
  .gift-main::before,
  .gift-main::after {
    display: none;
  }
}

/*
  Logo
---------------------------------------------- */
.c_logo {
  /* width: 457px; */
  margin: 0 auto 0 20px;
  width: calc(212 / 768 * 100%);
  padding: 30px 0 0;
  font-size: 1em;
}
.c_logo img {
  width: 100%;
  height: auto;
}

.logo {
  /* width: 457px; */
  margin: auto;
  width: calc(468 / 768 * 100%);
  padding: 28px 0 0;
}
.logo img {
  width: 100%;
  height: auto;
}

@media screen and (max-width:768px) {
  .c_logo {
    width: calc(185 / 768 * 100vw);
    padding: calc(60 / 768 * 100%) 0 0;
  }
  .logo {
    width: calc(468 / 768 * 100vw);
    padding: calc(50 / 768 * 100%) 0 0;
  }
}

/*
  Key Visual
---------------------------------------------- */
.kv::before { content: none; }
.kv__container {
  height: auto;
  background: none;
  text-align: center;
  padding: 30px calc(40 / 768 * 100%) 36px;
}
.kv__inner {
  position: static;
  width: 100%;
  height: auto;
  background: none;
  border-radius: 0;
}
.kv__inner > h2 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .075em;
  color: var(--green);
  margin: 0 0 20px;
}
.kv__inner > picture {
  display: block;
  width: 100%;
  flex-shrink: 1;
}
.kv__inner > picture > img {
  width: 100%;
}
.kv__inner > p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  letter-spacing: .05em;
  line-height: calc(44 / 28);
  margin: 20px 0 0;
}

@media screen and (max-width:768px) {
  .kv__container { padding: calc(50 / 768 * 100%) calc(50 / 768 * 100%) calc(90 / 768 * 100%); }
  .kv__inner > h2 {
    font-size: calc(28 / 768 * 100vw);
    margin: 0 0 calc(20 / 768 * 100%);
  }
  .kv__inner > p {
    font-size: calc(28 / 768 * 100vw);
    margin: calc(35 / 768 * 100%) 0 0;
  }
}

/*
  QR CODE
---------------------------------------------- */
.qr-unit {
  max-width: 1000px;
  margin: auto calc(50 / 768 * 100%) 20px;
  background-color: #afdaca;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-unit figure {
  flex-shrink: 0;
  width: 24%;
  max-width: 70px;
}
.qr-unit figure > img {
  width: 100%;
}
.qr-unit > div {
  width: calc(76% - 16px);
  max-width: 205px;
  text-align: center;
  padding: 0 0 0 16px;
}
.qr-unit > div h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .05em;
  color: #3b3b3a;
  text-align: center;
}
.qr-unit > div h3 span {
  font-size: 14px;
  font-weight: 400;
}

@media screen and (max-width:768px) {
  .qr-unit { display: none; }
  .qr-unit > div h3 {
    font-size: 26px;
  }
  .qr-unit > div h3 span {
    font-size: calc(28 / 36 * 1em);
    display: block;
  }
}

/*
  Gift Message
---------------------------------------------- */
.gift-message {
  position: relative;
  width: calc(100% - 375px);
  height: 100vh;
  background-color: #afdaca;
}
.gift-message__wrapper {
  height: 100%;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.gift-message__wrapper::-webkit-scrollbar {
  display:none;
}
.gift-message > .gift-message__wrapper > h2 {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  letter-spacing: .05em;
  margin: 48px 0 32px;
}

.gift-message__contents {
  padding: 0 0 15px 0;
}

.gift-message__contents button {
  width: calc(636 / 768 * 100vw);
  margin: calc(60 / 768 * 100%) auto 0;
}

@media screen and (max-width:1180px) {
  .gift-message {
    width: 68%;
  }
  .gift-message__contents {
    width: 100%;
    padding: 0 30px;
  }
}

@media screen and (max-width:768px) {
  .gift-message {
    width: inherit;
    height: inherit;
    background-color: #D3F3E6;
  }
  .gift-message__wrapper {
    height: inherit;
    overflow-y: inherit;
  }
  .gift-message > .gift-message__wrapper > h2 {
    font-size: calc(48 / 768 * 100vw);
    margin: 0 0 calc(60 / 768 * 100%);
  }
  .gift-message__contents {
    height: auto;
    padding: 0 calc(50 / 768 * 100%) 15px;
    overflow-x: scroll;
    overflow-y: hidden;
  }
}

/*
  Gift Button
---------------------------------------------- */
.gift-trigger__wrap {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px 0 32px;
  background-color: #D3F3E6;
  border-radius: 0 40px 0 0;
  z-index: 5;
  border-left: 1px solid #AFDACA;
}
#gift-trigger {
  width: 320px;
  margin: 0 auto;
  display: block;
}
.gift-btn { display: none; }
.is-show { display: block !important; }
.gift-btn img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

@media screen and (max-width:768px) {
  /* .gift-trigger__wrap {
    position: inherit;
    width: 100%;
    border-left: none;
  } */
  .gift-trigger__wrap {
    position: fixed;
    width: 100%;
    padding: 20px 0 32px;
    border-top: 1px solid #AFDACA;
    border-left: none;
    border-radius: 0;
    z-index: 10;
  }
  #gift-trigger {
    width: calc(668 / 768 * 100vw);
    /* margin: calc(60 / 768 * 100%) auto 0; */
    display: block;
  }
}

/* Send Message - Menu
---------------------------------------------- */
.gift-message__menu {
  overflow-x: scroll;
  padding: 0 0 calc(20 / 768 * 100%);
}
.gift-message__menu::-webkit-scrollbar { display: none; }
.gift-message__menu ul li { font-size: 16px; }
.gift-message__menu ul li a { padding: 0 0 0 calc(40 / 768 * 100vw); }
.gift-message__menu ul {
  width: 650px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gift-message__menu ul li {
  font-weight: 600;
  letter-spacing: .05em;
  white-space: nowrap;
  margin: 0 8px 0 0;
}
.gift-message__menu ul li:last-child {
  margin: 0;
}
.gift-message__menu ul li.is-selected {
  border-style: solid;
  border-width: 2px;
  border-color: var(--green);
  border-radius: 30px;
  padding: .35em 1.25em;
  background: rgba(255,255,255,1.0);
}
.gift-message__menu ul li a {
  position: relative;
  color: var(--green);
  transition: all .3s;
}
.gift-message__menu ul li a { padding: 0 0 0 calc(40 / 768 * 100vw); }
.gift-message__menu ul li a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: calc(32 / 768 * 100vw);
  height: calc(21 / 768 * 100vw);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-image: url(../assets/images/icon_check.svg);
  background-size: cover;
  display: inline-block;
  transition: all .3s;
}
.gift-message__menu ul li a:hover::before,
.gift-message__menu ul li.is-selected a::before { background-image: url(../assets/images/icon_checked.svg); }

@media screen and (max-width:1100px) {
  .gift-message__menu ul {
    width: 90%;
    flex-wrap: wrap;
  }
  .gift-message__menu ul li {
    margin: 0 8px 8px 0;
  }
}

@media screen and (max-width:768px) {
  .gift-message__menu ul {
    width: 650px;
    flex-wrap: nowrap;
  }
  .gift-message__menu ul li {
    margin: 0 8px 0 0;
  }
}

/* Radio Button
---------------------------------------------- */
.gift-message__menu ul li label input[type="radio"] { display: none; }
.gift-message__menu ul li label span {
  position: relative;
  width: 100%;
  border-radius: calc(40 / 768 * 100vw);
  padding: .6em 1.5em .6em 3em;
  background: rgba(255,255,255,.8);
  color: var(--green);
  display: inline-block;
}
.gift-message__menu ul li label span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 15px;
  height: 10px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-image: url(../assets/images/icon_check.svg);
  background-size: cover;
  display: inline-block;
}
.gift-message__menu ul li label input[type="radio"]:checked + span::before { background-image: url(../assets/images/icon_checked.svg); }
.gift-message__menu ul li label input[type="radio"]:checked + span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-style: solid;
  border-width: 2px;
  border-color: var(--green);
  border-radius: calc(40 / 768 * 100vw);
  display: inline-block;
}

/* Select Message */
.select-message input[type="radio"] { display: none; }
.select-message input[type="radio"] + p {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: calc(4 / 768 * 100vw);
}
.select-message input[type="radio"]:checked + p {
  /* top: calc(5 / 768 * 100vw); */
  /* width: calc(100% - calc(8 / 768 * 100vw)); */
  /* height: calc(100% - calc(10 / 768 * 100vw)); */
  margin: auto;
}
.select-message input[type="radio"]:checked + p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline-style: solid;
  outline-width: calc(1.5 / 768 * 100vw);
  outline-color: #ffffff;
  display: block;
  border-radius: calc(4 / 768 * 100vw);
}
.select-message input[type="radio"]:checked + p::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline-style: solid;
  outline-width: calc(3 / 768 * 100vw);
  outline-offset: calc(2 / 768 * 100vw);
  outline-color: var(--green);
  display: block;
  border-radius: calc(4 / 768 * 100vw);
}

/*
.select-message input[type="radio"]:checked + p.sm01 { outline-color: #009393; }
.select-message input[type="radio"]:checked + p.sm02 { outline-color: #ffcf66; }
.select-message input[type="radio"]:checked + p.sm03 { outline-color: #1e344a; }
.select-message input[type="radio"]:checked + p.sm04 { outline-color: #005f4d; }
.select-message input[type="radio"]:checked + p.sm05 { outline-color: #50b2a6; }
.select-message input[type="radio"]:checked + p.sm06 { outline-color: #ececff; }
.select-message input[type="radio"]:checked + p.sm07 { outline-color: #50b2a6; }
.select-message input[type="radio"]:checked + p.sm08 { outline-color: #f45c27; }
*/

.select-message input[type="radio"] + p img { border-radius: calc(4 / 768 * 100vw); }

/*
.select-message input[type="radio"] + p.sm01 img { background-color: #009393; }
.select-message input[type="radio"] + p.sm02 img { background-color: #ffcf66; }
.select-message input[type="radio"] + p.sm03 img { background-color: #1e344a; }
.select-message input[type="radio"] + p.sm04 img { background-color: #005f4d; }
.select-message input[type="radio"] + p.sm05 img { background-color: #50b2a6; }
.select-message input[type="radio"] + p.sm06 img { background-color: #ececff; }
.select-message input[type="radio"] + p.sm07 img { background-color: #50b2a6; }
.select-message input[type="radio"] + p.sm08 img { background-color: #f45c27; }
*/

@media screen and (max-width:768px) {
  .gift-message__menu {
    overflow-x: scroll;
    padding: 0 0 calc(55 / 768 * 100%);
    -ms-overflow-style: none;
    /* Firefox 対応 */
    scrollbar-width: none;
  }
  .gift-message__menu::-webkit-scrollbar { display: none; }
  .gift-message__menu ul {
    width: inherit;
    justify-content: initial;
  }
  .gift-message__menu ul li {
    font-size: calc(26 / 768 * 100vw);
    margin: 0 calc(20 / 768 * 100vw) 0 0;
  }
  .gift-message__menu ul li a { padding: 0 0 0 calc(40 / 768 * 100vw); }
  .gift-message__menu ul li label span {
    padding: .6em 1.5em .6em calc(85 / 768 * 100vw);
  }
  .gift-message__menu ul li label span::before {
    left: calc(40 / 768 * 100vw);
    width: calc(32 / 768 * 100vw);
    height: calc(21 / 768 * 100vw);
  }

  .select-message input[type="radio"] { display: none; }
  .select-message input[type="radio"] + p {
    border-radius: calc(40 / 768 * 100vw);
  }
  .select-message input[type="radio"]:checked + p {
    /* top: calc(12 / 768 * 100vw); */
    /* width: calc(100% - calc(24 / 768 * 100vw)); */
    /* height: calc(100% - calc(24 / 768 * 100vw)); */
    margin: auto;
  }
  .select-message input[type="radio"]:checked + p::before {
    outline-width: calc(4 / 768 * 100vw);
    outline-offset: calc((14 / 768 * 100vw) * -1);
    border-radius: calc(40 / 768 * 100vw);
  }
  .select-message input[type="radio"]:checked + p::after {
    outline-width: calc(10 / 768 * 100vw);
    outline-offset: calc((10 / 768 * 100vw) * -1);
    border-radius: calc(40 / 768 * 100vw);
  }

  .select-message input[type="radio"] + p img { border-radius: calc(40 / 768 * 100vw); }
}

#sel02, #sel03, #sel04, #sel05 { 
  /*display: none;*/
  opacity: 0;
  height: 0;
  overflow: hidden;
 }

/*
  Swiper Styles
---------------------------------------------- */
.swiper-wrapper {
  width: 650px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.swiper-slide {
  width: 30%;
  max-width: 200px;
  margin-right: 3%;
  margin-bottom: 16px;
}
.swiper-slide:nth-of-type(3n) {
  margin-right: 0;
}
@media screen and (max-width:1180px) {
  .swiper-wrapper {
    width: 100%;
  }
}
@media screen and (max-width:768px) {
  .swiper-wrapper {
    width: 100%;
    justify-content: initial;
    flex-wrap: nowrap;
  }
  .swiper-slide {
    width: 100%;
    max-width: inherit;
    margin-right: 0;
    margin-bottom: 0;
  }
}

.swiper-slide > a {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  transition: all .3s;
}
.swiper-slide > a:hover { opacity: .7; }
.swiper-slide > a.is-selected {
  top: calc(12 / 768 * 100vw);
  width: calc(100% - calc(24 / 768 * 100vw));
  height: calc(100% - calc(24 / 768 * 100vw));
  margin: auto;
}
.swiper-slide > a.is-selected::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline-style: solid;
  outline-width: calc(4 / 768 * 100vw);
  outline-color: #ffffff;
  display: block;
  border-radius: calc(40 / 768 * 100vw);
}
.swiper-slide > a.is-selected::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline-style: solid;
  outline-width: calc(8 / 768 * 100vw);
  outline-offset: calc(4 / 768 * 100vw);
  outline-color: var(--green);
  display: block;
  border-radius: calc(40 / 768 * 100vw);
}
.swiper-slide > a img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: calc(40 / 768 * 100vw);
}
.swiper-slide img {
  /*
  width: calc(200 / 375 * 100vw);
  height: calc(240 / 375 * 100vw);
  */
  width: 100%;
  height: auto;
}

/* Pagination */
.swiper-pagination {
  display: none;
}
.swiper-container {
  position: relative;
  padding: 0 0 calc(60 / 768 * 100vw);
}
.swiper-pagination-bullets.swiper-pagination-horizontal { bottom: 0; }
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  width: calc(16 / 768 * 100vw);
  height: calc(16 / 768 * 100vw);
  background: #50b2a6;
  opacity: 1;
  margin: 0 calc(8 / 768 * 100vw);
}
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet-active { background: var(--green); }
@media screen and (max-width:1000px) {
  .swiper-container {
    padding: 0 0 calc(60 / 768 * 100vw);
  }
}
@media screen and (max-width:768px) {
  .swiper-pagination {
    display: inline-block;
  }
}

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

  "デジタル防災訓練" Receipt Styles

--------------------------------------------------- */
.receipt .gift-message { display: block; }
.receipt .gift-message__contents {
  padding: 0;
  overflow-x: auto;
  text-align: center;
}

.receipt .gift-message__contents button:first-of-type {
  margin: calc(65 / 768 * 100%) auto 0;
}
.receipt .gift-message__contents button:last-of-type {
  margin: calc(25 / 768 * 100%) auto 0;
}

/* Select Message */
.receipt .select-message input[type="radio"] + p {
  width: calc(590 / 768 * 100vw);
  margin: calc(35 / 768 * 100%) auto 0;
}
.receipt .select-message input[type="radio"]:checked + p { top: 0; }
.receipt .select-message input[type="radio"]:checked + p::before,
.receipt .select-message input[type="radio"]:checked + p::after { content: none; }

.receipt .gift-message p {
  width: calc(636 / 768 * 100vw);
  font-size: calc(26 / 768 * 100vw);
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--green);
  line-height: 1.4;
  margin: calc(25 / 768 * 100%) auto 0;
}
.receipt .gift-message img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

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

  "デジタル防災訓練" Map Styles

--------------------------------------------------- */
.map { background-color: #ececec; }
.map .site-wrapper > main { padding: 0; }
.map .site-wrapper > main::before,
.map .site-wrapper > main::after { content: none; }

/*
  Check It Out
---------------------------------------------- */
.check-it-out { padding: calc(15 / 768 * 100vw); }
.check-it-out > div {
  text-align: center;
  border-radius: calc(15 / 768 * 100vw);
  background-color: #ffffff;
  padding: calc(35 / 768 * 100%) 0 calc(25 / 768 * 100%);
}
.check-it-out h2 {
  font-size: calc(44 / 768 * 100vw);
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.0;
  margin: 0 0 .25em;
}
.check-it-out a {
  font-size: calc(24 / 768 * 100vw);
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--green);
  transition: all .3s;
  text-decoration: underline;
}
.check-it-out a:hover { text-decoration: none; }

/* Hazard Map */
.hazard-map {
  position: relative;
  height: 0;
  padding: 0 0 calc(16 / 9 * 100%);
  overflow: hidden;
}
.hazard-map ul {
  position: absolute;
  z-index: 1;
  right: calc(25 / 768 * 100vw);
  bottom: calc(50 / 768 * 100vw);
}
.hazard-map ul li {
  position: relative;
  width: calc(85 / 768 * 100vw);
  height: calc(85 / 768 * 100vw);
  border-radius: 50%;
  border: solid 2px var(--green);
  background-color: #ffffff;
  margin: 10px 0 0;
}
.hazard-map figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../assets/images/hazard-map.jpg) no-repeat 50% 50%;
  background-size: cover;
}
.hazard-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.pc-footer {
  display: block;
  padding-bottom: 180px;
}
.sp-footer {
  display: none;
}
@media screen and (max-width:768px) {
  .pc-footer {
    display: none;
  }
  .sp-footer {
    display: block;
    background-color: #AFDACA;
    padding: calc(80 / 768 * 100%) calc(40 / 768 * 100vw) calc(220 / 768 * 100%);
  }
}
