@charset "UTF-8";

a,
a img {
  background: 0 0;
}

a:link,
a:visited,
ins {
  text-decoration: none;
}

a,
hr {
  padding: 0;
}

img,
svg {
  width: 100%;
  /* height: auto; */
  max-width: unset;
  /* max-height: 100%; */
}

abbr,
address,
article,
aside,
audio,
b,
blockquote,
body,
canvas,
caption,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
fieldset,
figcaption,
figure,
.foot,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
p,
pre,
q,
samp,
section,
small,
span,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: 0 0;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
}

ins,
mark {
  background-color: #ff9;
  color: #000;
}

* {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

*,
:after,
:before {
  box-sizing: border-box;
}

nav ul,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote::after,
blockquote::before,
q::after,
q::before {
  content: none;
}

a {
  margin: 0;
  font-size: 100%;
  vertical-align: baseline;
  cursor: pointer;
}

a:visited {
  color: inherit;
}

a:link {
  color: inherit;
}

a img {
  border: 0 #fff;
}

mark {
  font-style: italic;
  font-weight: 700;
}

del {
  text-decoration: line-through;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border-width: 1px 0 0;
  border-image: initial;
  border-style: solid initial initial;
  border-color: #ccc initial initial;
  margin: 1em 0;
}

input,
select {
  vertical-align: middle;
}

button,
input,
select,
textarea {
  appearance: none;
  font-family: inherit;
  border-radius: 0;
  box-sizing: border-box;
  font-size: 16px;
  color: #c3cbd1;
  -webkit-appearance: none;
}

input:focus,
textarea:focus {
  outline: 0;
}

html {
  font-size: 62.5%;
}

body::-webkit-scrollbar {
  display: none;
}

img[src$=".svg"] {
  width: auto;
  height: auto;
}

svg {
  overflow: hidden;
}

html {
  font-size: 62.5%;
}
input {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  text-rendering: optimizelegibility;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  background: #ffffff;
  color: #333;
  position: relative;
  letter-spacing: 0.1em;
  font-weight: normal;
}
canvas {
  touch-action: none;
}
header .pc {
  display: none;
}
footer .pc {
  display: none;
}
#pc_page {
  display: none;
  background-color: #0171bf;
  line-height: 0;
}
#pc_page .pc_01 {
}
#pc_page .pc_02 {
  margin-top: calc((-190 / 1440) * 100vw);
  position: relative;
}
#pc_page .pc_03 {
  margin-top: calc((-420 / 1440) * 100vw);
}
#top #sp_page {
  background-color: #00214b;
}
#sp_page {
  display: block;
}
header {
  line-height: 0;
  width: 100%;
  position: relative;
}
header a {
  display: block;
  position: absolute;
  width: calc((78 / 375) * 100vw);
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn {
  line-height: 0;
}

main {
}
.content {
  opacity: 0;
  transition: 0.5s ease;
  /* transform: scale(0.95); */
}
.onload .content {
  opacity: 1;
  /* transform: scale(1); */
}

#top {
}
#fv {
  position: relative;
  /* opacity: 0; */
  /* transition: 1s; */
  /* transform: scale(0.95); */
}
#fv .kv {
  line-height: 0;
}
#fv .btn {
  position: absolute;
  /* bottom: 100px; */
  padding: 0 25px;
  line-height: 0;
  bottom: calc((100 / 375) * 100vw);
}
#fv .btn a {
  display: block;
}
#top .btn .on{
  display: none;
}
#top .btn.active .on{
  display: block;
}
#top .btn.active .off{
  display: none;
}
.onload #fv {
  /* opacity: 1; */
  transform: scale(1);
}
#top .check {
  /* bottom: calc((180 / 375) * 100vw); */
  display: flex;
  padding: 0 25px;
  /* position: absolute; */
  align-items: center;
  line-height: 0;
  justify-content: center;
  width: 100%;
}
#step .check {
  margin-bottom: 15px;
}
#fv .check{
  position: absolute;
  bottom: calc((180 / 375) * 100vw);
}
#top .modal-open {
  width: calc((120 / 375) * 100vw);
  margin-left: 6px;
}

#top .checkboxItem {
  display: flex;
  align-items: center;
  column-gap: 4px;
  width: fit-content;
  line-height: 1;
  cursor: pointer;
}

#top .checkboxItem:not(:last-of-type) {
  margin-bottom: 16px;
}

#top .checkbox {
  appearance: none;
  position: relative;
  width: calc((18 / 375) * 100vw);
  height: calc((18 / 375) * 100vw);
  border: 1px solid #ffffff;
  /* border-radius: 2px; */
  cursor: pointer;
  background-color: #ffffff;
}

 #top .checkbox:checked {
  /* background-color:#00214B; */
}

.checkbox:checked::after {
  content: "";
  position: absolute;
  top: calc((3 / 375) * 100vw);
  left: calc((2 / 375) * 100vw);
  width: calc((12 / 375) * 100vw);
  height: calc((6 / 375) * 100vw);
  border-bottom: 2px solid #00214B;
  border-left: 2px solid #00214B;
  transform: rotate(-45deg);
}


#read {
  margin-top: calc((-60 / 375) * 100vw);
  position: relative;
  z-index: 1;
}
#read .tit {
  line-height: 0;
  /* opacity: 0; */
}
#read .text {
  line-height: 0;
  margin-top: calc((-30 / 375) * 100vw);
}
#step {
  background-color: #0071be;
  position: relative;
  /* padding-top: calc((60 / 375) * 100vw); */
  padding-bottom: 100px;
}
#step .swiper {
  margin-bottom: 60px;
}
#step .swiper-wrapper {
  margin-bottom: 30px;
  height: auto;
}
#step li {
  padding: 0 5px;
  line-height: 0;
  height: auto;
}
#step li img {
  /* height: 100%; */
}
#step .swiper-pagination {
  position: unset;
}
#step .swiper-pagination-bullet {
  margin: unset;
  background-color: #fff;
  opacity: 0.5;
  width: 10px;
  height: 10px;
  margin: 0 8px;
}
#step .swiper-pagination-bullet-active {
  background-color: #00214b;
  opacity: 1;
}
#step .bg {
  line-height: 0;
  position: absolute;
  top: 0;
}
#step .btn {
  padding: 0 25px;
  line-height: 0;
}
#step .btn a {
  display: block;
}
#step .btn a:nth-child(1) {
  /* margin-bottom: 30px; */
}
footer {
  line-height: 0;
  position: relative;
}
footer #pagetop {
  position: absolute;
  width: calc((20 / 375) * 100vw);
  right: calc((10 / 375) * 100vw);
  /* bottom: 0; */
  top: calc((20 / 375) * 100vw);
}
footer .logo {
  width: calc((85 / 375) * 100vw);
  position: absolute;
  right: 0;
  left: 0;
  margin: auto;
  top: calc((40 / 375) * 100vw);
}
#subpage {
  background-color: #e3e3e3;
  padding: 0 25px;
  padding-bottom: 100px;
}
#subpage #head {
  padding: 60px 0;
}
.step01 #list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.step01 #list img {
  width: calc(50% - 6px);
  margin-bottom: 30px;
  line-height: 0;
}

.step02 #view_area {
  position: relative;
  margin-bottom: 30px;
}
.step02 #view_area .bg {
  line-height: 0;
}
.step02 #view_area #canvas {
  width: 200px;
  height: 100px;
  border: solid 1px #00214b;
  position: absolute;
  background-color: rgb(255 255 255 / 80%);
  /* top: 0; */
  right: 0;
  left: 0;
  bottom: 10%;
  margin: auto;
}
.step02 #input_area #message {
  width: 100%;
  border: solid 1px #00214b;
  padding: 10px 15px;
  background-color: #fff;
  font-size: 20px;
  height: 140px;
  color: #00214b;
  font-weight: bold;
}
.step02 #input_area {
  margin-bottom: 60px;
}
.step02 #input_area #message[type="text"] {
  color: #00214b;
}
.step02 .btn a {
  display: block;
}
.step02 .btn a:nth-child(1) {
  margin-bottom: 30px;
}

.step03 #canvas {
  width: calc(100vw - 50px);
  /* margin-bottom: 60px; */
  max-width: calc(100vw - 50px);
  /* user-select: none; */
  /* -webkit-user-select: none; */
  aspect-ratio: 1 / 1;
}
.step03 .content {
  display: flex;
  flex-direction: column;
}
.step03 .canvas_area {
  background-image: url(../img/step03_bg.jpg);
  background-size: cover;
  background-position: center;
  margin-bottom: 30px;
  line-height: 0;
}
.step03 button {
  border: unset;
  background: unset;
  padding: unset;
  line-height: 0;
  padding-block: unset;
  padding-inline: unset;
  margin-bottom: 30px;
}
.step03 .btn_01 {
  margin-top: 30px;
}
.step03 .btn_02 {
}
.step03 .note {
  margin-bottom: 60px;
  line-height: 0;
}
.step03 button.btn_03 {
  margin-bottom: 30px;
}
.step03 .note.bottom {
  margin-bottom: 60px;
}
.step03 #canvas.bg-chosen {
  touch-action: none; /* 念のためCSS側でも */
}
/* 1本指スクロール優先 */
.step03 #canvas {
  touch-action: pan-y;
}
/* 選択後の見た目制御に使える（必要に応じて） */
.step03 #canvas.bg-chosen {
  /* 例: cursorや枠だけ変える */
  /* pointer-events: auto;  ← 基本は触れるまま */
}
#step03_note {
  display: none;
}
#step03_note.active {
  display: block;
}
.finish #final {
  width: 100%;
  margin-bottom: 30px;
  background-color: #fff;
}
.finish .text {
  margin-bottom: 30px;
}
.finish .note {
  margin-bottom: 60px;
}
.finish .sns {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
.finish .sns a {
  width: calc((75 / 375) * 100vw);
  display: block;
  line-height: 0;
  margin: 0 15px;
}
#next {
  pointer-events: none;
  opacity: 0.5;
}
#next.active {
  pointer-events: auto;
  opacity: 1;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0,0,0,0.6); */
}

.modal .modal-content {
  background: #e3e3e3;
  text-align: center;
  padding: 0 25px;
}

.modal .modal-content h2 {
  margin-bottom: 15px;
  font-size: 18px;
}

.modal .image-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

.modal .image-options img {
  width: 100px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s, border 0.2s;
  width: calc(50% - 6px);
  margin-bottom: 30px;
}

.modal .image-options img:hover {
  /* transform: scale(1.05); */
  border: 2px solid #007bff;
}

.modal .close {
  float: right;
  font-size: 22px;
  cursor: pointer;
}

#top .modal .modal-content {
  padding: 0;
  background-color: rgb(0 0 0 / 50%);
}
#top .modal .modal-inner {
  padding: 0px 25px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#top .modal .image-options {
  display: block;
  margin: auto;
  position: relative;
  padding: 80px 0;
}
#top .modal .image-options img {
  width: 100%;
  /* width: calc(100% / 3); */
  margin: unset;
  /* transform: scale(1); */
}
#top .modal .close {
  position: absolute;
  bottom: 110px;
  width: 100%;
  left: 25px;
  line-height: 0;
  width: calc(100% - 50px);
}
.over-wrap-menu {
  height: 100%;
  display: flex;
  align-items: flex-start;
  overscroll-behavior: contain;
  overflow-y: scroll;
}

.over-wrap-menu::after,
.over-wrap-menu::before {
  content: "";
  width: 1px;
  height: calc(100vh + 1px);
}
@media screen and (min-width: 600px) {
  header .sp {
    display: none;
  }
  footer .sp {
    display: none;
  }
  header .pc {
    display: block;
  }
  footer .pc {
    display: block;
  }
  #pc_page {
    display: block;
  }

  #sp_page {
    display: none;
  }
  header .logo {
    position: absolute;
    width: calc((120 / 1440) * 100vw);
    height: 100%;
    right: 0;
    left: 0;
    margin: auto;
    transition: opacity 0.3s;
  }
  header .logo:hover {
    opacity: 0.5;
  }
  footer #pagetop {
    position: absolute;
    width: calc((20 / 1440) * 100vw);
    top: calc((30 / 1440) * 100vw);
    right: calc((100 / 1440) * 100vw);
    z-index: 1;
  }
  footer .logo {
    /* width: 20%; */
    /* height: 46%; */
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    top: calc((60 / 1440) * 100vw);
    width: calc((120 / 1440) * 100vw);
    transition: opacity 0.3s;
  }
  footer .logo:hover {
    opacity: 0.5;
  }
  #subpage {
    padding: 0px;
    padding-bottom: 0px;
  }
}
