@charset 'utf-8';

body {
  min-height: 100%;
  touch-action: manipulation;
}
h1, h2, section {
  margin: unset;
  padding: unset;
  touch-action: manipulation;
}
h1 > a {
  text-decoration: none;
}
h1 > a:hover {
  text-decoration: none;
}

/** レイアウト: 共通 **/
main {
  max-width: 980px;
  min-width: 390px;
  margin: 0 auto 0;
  padding-top: 0 !important;
  touch-action: manipulation;
}

main > nav > ul {
  display: inline-flexbox;
  list-style: none;
  justify-content: left;
  align-items: center;
  padding: 0 1rem;
}

main > nav > ul > li {
  display: inline-block;
  margin-right: 0.5rem;
}

main > nav > ul > li:not(:first-child)::before {
  content: '\003E';
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

main > nav > ul > li span {
  margin: 0 0.5rem;
  color: #666;
}

main > h1 {
  display: block;
  position: relative;
  width: 100%;
  max-width: 980px;
  min-width: 390px;
  margin: 0 auto 0;
  padding: 0;
  text-align: center;
  line-height: clamp(6rem, 6vw, 7rem);
  font-size: clamp(4rem, 5vw, 5rem);
  font-weight: 400;
  text-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
}

/** レイアウト **/
span.button {
  display: block;
  height: 5.5rem;
  width: 50%;
  min-width: 355px;
  margin: 3rem auto 3rem;
  border-radius: 5px;
  background-color:rgb(83, 223, 118);
  cursor: pointer;
}

span.button:hover {
  background-color:rgb(156, 248, 179);
}

span.button > a {
  display: flex;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  letter-spacing: 1rem;
  line-height: 5rem;
  text-indent: 1.5rem;
  font-size: 3rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
}

span.select {
  display: block;
  height: 5.5rem;
  width: 50%;
  min-width: 355px;
  margin: 3rem auto 3rem;
  border-radius: 5px;
  border: 1px #e7e1e1 dotted;
  background-color:rgb(255, 255, 255);
  cursor: pointer;
}

span.select:hover {
  border: 1px #aaa solid;
  background-color:rgb(214, 214, 214);
}

span.select > a {
  display: flex;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  letter-spacing: 1rem;
  line-height: 5rem;
  text-indent: 1.5rem;
  font-size: 3rem;
  font-weight: 400;
  color: #999;
  text-decoration: none;
}

span.select > a:hover {
  color: #fff;
}

div.box-banner {
  display: block;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 395px;
  width: 100%;
  text-align: center;
  padding: 0;
}

div.box-banner > img {
  display: block;
  width: 100%;
  margin: 0 auto 0;
}

/** ヘルプ：贈り方・受け取り方・使い方 **/
section.box-help {
  width: 100%;
  margin-top: 20px;
}

section.box-help > h2 {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 1px #999 dotted;
  justify-content: center;
  align-items: center;
  line-height: 5rem;
  font-size: 3rem;
  font-weight: 600;
  text-shadow: 6px 6px 0 rgba(33, 33, 33, 0.1);
  background-color: rgba(245, 245, 245, 0.8);
  box-shadow: 0 15px 15px rgba(245, 245, 245, 0.8);
}
/** ヘルプ：ページ **/
.box-help > p {
  min-width: 390px;
  max-width: 640px;
  margin: 0 auto 20px;
  padding: 2rem 1rem;
  border-bottom: 3px #ccc double;
}
.box-content {
  width: 100%;
  min-width: 390px;
  max-width: 640px;
  margin: 0 auto 20px;
  padding: 1rem;
}
.box-content p {
  text-indent: 1rem;
  padding: 0 1rem;
}
.box-content > h4 {
  width: 100%;
  min-width: 350px;
  max-width: 640px;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 0.5rem;
  font-size: 1.6rem;
  font-weight: 600;
  border-bottom: 3px #ccc double;
}
.box-content h5 {
  margin: 0 auto 10px;
  border-bottom: 1px #ccc dashed;
  text-indent: 1.5rem;
  line-height: 2.5rem;
  font-size: 1.5rem;
  font-weight: 400;
}

/** ヘルプ：履歴問い合わせ・再発行 (flex) **/
.box-search {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 350px;
  max-width: 600px;
  flex-direction: column;
  justify-self: center;
  align-items: center;
}
.box-search label {
  flex: 1;
  width: 100%;
  margin-top: 20px;
  padding-right: 50%;
  justify-self: center;
  align-items: flex-start;
  font-size: 1.5rem;
  font-weight: 600;
}
.box-search input[type='email'],
.box-search input[type='tel'],
.box-search input[type='text'] {
  flex: 1;
  width: 70%;
  padding-left: 10%;
  border: none;
  border-bottom: 3px #999 double;
  justify-self: center;
  align-items: flex-end;
}
.box-search input[type='email']:focus,
.box-search input[type='tel']:focus,
.box-search input[type='text']:focus {
  border: none;
  border-bottom: 3px #333 double;
}
.box-search input[type='email']:enabled,
.box-search input[type='tel']:enabled,
.box-search input[type='text']:enabled {
  outline: none;
  border: none;
  border-bottom: 3px #ccc double;
}
.box-search button {
  flex: 1.5;
  width: 100%;
  min-height: 50px;
  margin-top: 20px;
  margin-bottom: 20px;
  border: 1px #888 solid;
  border-radius: 5px;
  justify-self: center;
  align-items: center;
  background-color: #fff;
  cursor: pointer;
}
.box-search button:hover {
  background-color: #fcc;
}

div.disable-layer {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

/** よくあるご質問 (accordionは汎用|faq用はオプション要素)**/
.accordion {
  display: flex;
  flex-direction: column;
  min-height: 80vh;
  margin-top: 30px;
}
.accordion label {
  flex:1;
  display: block;
  width: 100%;
  max-width: 640px;
  min-width: 360px;
  margin: 0 auto 1.5rem;
  padding: 1rem;
  letter-spacing: 0.2rem;
  line-height: 3rem;
  font-size: 2rem;
  cursor: pointer;
}

.accordion label > input[type='checkbox'] {
  display: none;
}

.accordion label > input[type='checkbox']:checked ~ p {
  display: block;
}

.accordion label > h6::before {
  content: 'Q';
  margin-right: 1rem;
  color: #f00;
}

.accordion label > h6::after {
  content: "\e145";
  margin-left: auto;
  color: #000;
  font-family: 'material icons';
  transition: 1s;
}

.accordion label:has(input[type='checkbox']:checked) > h6::after {
  content: "\e15b";
}

.accordion label > h6 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-weight: 600;
}

.accordion label > p::before {
  content: 'A';
  margin-right: 1.1rem;
  font-weight: 600;
  color: #00f;
}

.accordion label > p {
  display: none;
  margin: 1rem auto 1rem;
  padding: 1rem 2rem;
  border-bottom: 1px #eee dotted;
  letter-spacing: 0.2rem;
  line-height: 3.5rem;
  font-size: 2rem;
}

/** フッター **/
footer nav {
  display: block;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.4);
}

footer nav > ul {
  display: flex;
  gap: 10px;
  width: 100%;
  list-style: none;
}

footer nav > ul > li {
  flex: 1;
  min-width: 120px;
}

footer nav > ul > li > a {
  color: #333;
  font-weight: 400;
}