@charset "UTF-8";

html {
  font-size:62.5%;
}
body {
  font-size:1.4rem;
  font-family: "Meiryo", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", sans-serif;
  background: url(../images/bg.png) no-repeat;
  background-size: 100% 100%;
  height: 100vh;
}
*, *::before, *::after {
  box-sizing:border-box;
}
.clearfix::after {
  content:'';
  display:block;
  clear:both;
}

/* common */
.flex-area {
  display: flex;
  justify-content: space-between;
}
.ttl {
  position: absolute;
  top: -20px;  
}

/* margin */
.marb_10 {
  margin-bottom: 10px;
}
.marb_20 {
  margin-bottom: 20px;
}
.marb_24 {
  margin-bottom: 24px;
}
.marb_40 {
  margin-bottom: 40px;
}

/* header */
header {
  max-width: 1280px;
  margin: 0 auto;
  width: 95%;
}
header#index_header {
    display: flex;
    align-items: center;
    padding: 50px;
}
header#index_header h1 {
  max-width: 710px;
}
header#index_header h1 img {
  max-width: 710px;
  max-height: 232px;
  width: 100%;
}
header#index_header .description {
  background-color: #fff;
  border-radius: 10px;
  padding: 16px;
  line-height: 1.2;
  max-width: 442px;
  margin-left: 36px;
  position: relative;
  width: 45%;
}

header#page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
}

header#page-header .page-ttl {
  width: 560px;
}

header#page-header .page-header-right {
  width: 420px;
}

header#page-header .page-ttl img,
header#page-header .page-header-right img {
  width: 100%;
}

header#index_header .description p img {
  width: 100%;
}
header#index_header .description p:last-of-type {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 143px;
}

header#page-header .page-header-blue {
  background-color: #253594;
  width: 420px;
  height: 120px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 2px 2px 5px 0px #777777;
}
header#page-header .page-header-blue p {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  line-height: 120px;
}

/* button */
.link-button {
  background-color: #253594;
  width: 18%;
  height: auto;
  text-align: center;
  border-radius: 20px;
  box-shadow: 2px 2px 5px 0px #777777;
  color: #fff;
  font-size: 24px;
  padding: 20px 0;
  text-decoration: none;
}
/* main */
#wrapper {
  max-width: 1280px;
  padding: 0 88px;
  margin: 0 auto;
  width: 100%;
}
#wrapper p {
  font-size: 16px;
  line-height: 1.5;
}
/* index */
.top-area {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}
.left-area,
.right-area,
.bottom-area {
  position: relative;
  border: 2px solid #253594;
  border-radius: 10px;
  background-color: #fff;
  padding: 32px 24px 24px;
  display: block;
  text-decoration: none;
}
.left-area,
.right-area {
  max-width: 523px;
  width: 48%;
}
.flex-area p {
  text-decoration: none;
  color: #000;
}
.left-area .flex-area,
.right-area .flex-area,
.bottom-area .flex-area {
  height: 100%;
}
.left-area .flex-area {
  padding-top: 40px;
}
.left-area .flex-area p:first-of-type {
  width: 40%;
  max-width: 195px;
}
.right-area .flex-area p:first-of-type {
  width: 35%;
  max-width: 130px;
}
.left-area img,
.right-area img {
  width: 100%;
}
.right-area .flex-area p:last-of-type {
  padding-top: 40px;
  padding-left: 10px;
}

.bottom-area .flex-area {
  margin-bottom: 10px;
  text-decoration: none;
}
.bottom-area p {
  color: #fff;
  text-align: center;
  margin: 0 auto;
}

h2.ttl {
  position: absolute;
  left: 50%;
  translate: -50%;
}
.bottom-area p.sencer-txt {
  color: #000;
}
.center-area {
  margin: 0 auto 10px;
}

/* page */
.page-main-area {
  border: 2px solid #253594;
  border-radius: 10px;
  background-color: #fff;
  display: flex;
  position: relative;
  padding: 36px 0 24px;
  margin-bottom: 10px;
}
.page-main-area h2.ttl,
.page-sp-main h2.ttl  {
  top: -35px;
}
.page-main-area > a {
  display: block;
  width: 288px;
  padding: 0 16px;
  border-right: 2px dotted #253594;
  text-decoration: none;
  color: #000;
}
.page-main-area > a:last-of-type {
  border: 0;
}
.page-sp-main {
  border: 2px solid #253594;
  border-radius: 10px;
  background-color: #fff;
  position: relative;
  padding: 36px 0 24px;
  margin-bottom: 10px;
}
.page-sp-main > .page-sp-main-area {
  display: flex;
}
.page-sp-main-area > a {
  display: block;
  width: 288px;
  padding: 0 16px 70px;
  border-right: 2px dotted #253594;
  text-decoration: none;
  color: #000;
  position: relative;
}
.page-sp-main-area > a:last-of-type {
  border: 0;
}
.content-ttl {
  font-size: 24px;
  text-align: center;
}
.page-main-area a img,
.page-sp-main a img {
  width: 100%;
  padding: 10px;
}
.page-sp-main .link-button img {
  padding: 0;
}
#wrapper .page-main-area p,
#wrapper .page-sp-main p {
  text-align: center;
  font-size: 15px;
}
.page-sp-main .kaijo-area {
  width: 100%;
  padding: 24px 0 0;
}
.page-sp-main .kaijo-area {
  width: 100%;
}
.page-sp-main .kaijo-area .link-button {
  display: flex;
  margin: 20px auto 0;
  justify-content: space-around;
  padding: 20px 10px 15px;
  align-items: center;
}
.page-sp-main .link-button span:first-of-type {
  line-height: 1.2;
}
.page-sp-main .kaijo-area .link-button span:last-of-type {
  width: 17%;
}
.back-button {
  width: 150px;
}

.link-area .link-button {
  display: block;
  margin: 20px 0 0 auto;
  font-size: 18px;
  width: 180px;
  height: 54px;
  border-radius: 12px;
}
.back-button-area {
  display: flex;
  justify-content: space-between;
}
.back-button-area a {
  display: block;
  font-size: 18px;
}
.back-button-area a:last-of-type {
  padding: 20px 0 0;
  height: 54px;
  margin-top: 6px;
  border-radius: 12px;
}
#wrapper .page-main-area p.online span,
#wrapper .page-sp-main p.online span {
  background-color: #ffff00;
  font-size: 14px;
  border-radius: 15px;
  padding: 2px 10px;
  font-weight: 700;
  color: #253594;
}
#wrapper .page-main-area .area-1 p.online,
#wrapper .page-sp-main .area-1 p.online {
  padding-top: 40px;
}

#wrapper .page-main-area .area-3 p.online,
#wrapper .page-sp-main .area-3 p.online {
  padding-top: 24px;
}

#wrapper .page-sp-main-area div.link-button {
  width: 70%;
  display: flex;
  justify-content: space-around;
  padding: 12px 10px 10px;
  font-size: 14px;
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
}
#wrapper .page-sp-main-area .link-button span:first-of-type {
  padding-top: 2px;
}
#wrapper .page-sp-main .link-button span:last-of-type {
  width: 17%;
}

.page-control-area {
  width: 756px;
  border: 2px solid #253594;
  border-radius: 25px;
}
.alert {
  text-align: center;
  color: #ff0000;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.outer-box {
  width: 756px;
  border: 2px solid #253594;
  border-radius: 25px;
  background-color: #FFF; /* 背景色は白 */
  margin: 0 auto 20px;
}

.inner-box {
  width: 100%;
  height: 100%;
  border-top: 10px solid #FFD700; /* 上の黄色い枠線 */
  border-bottom: 25px solid #253594; /* 下の黄色い枠線 */
  border-radius: 22px;
}


.control-header {
  display: flex;
  justify-content: space-between;
  background-color: #253594;
  padding: 10px;
  align-items: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.control-header::before {
  border:2x solid #253594;
}
.gender {
  display: flex;
}
h2.control-ttl span {
  color: #fff;
  font-size: 18px;
}
.gender p {
  background-image: linear-gradient(180deg, rgba(241, 244, 246, 1), rgba(220, 223, 222, 1));
  padding: 2px 5px;
  margin-left: 5px;
  border-radius: 5px;
  width: 45px;
  text-align: center;
}
.right-image-area img {
  height: 360px;
  width: auto;
}
.right-image-area.control img {
  width: 156px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.control-contents {
  display: flex;
  align-items: center;
  border-bottom: 10px solid #ffd700;;
}
.left-button-area {
  margin-top: 16px;
  margin-left: 10px;
}
.left-button-area a {
  background-image: linear-gradient(180deg, rgba(241, 244, 246, 1), rgba(220, 223, 222, 1));
    padding: 2px 5px;
    margin-left: 5px;
    border-radius: 5px;
    width: 154px;
    height: 40px;
    text-align: center;
    display: block;
    font-size: 20px;
    color: #0000ff;
    line-height: 40px;
    text-decoration: none;
}
.left-button-area a.active {
  color: #ff0000;
}
.right-image-area {
  width: calc(100% - 159px);
  text-align: center;
  position: relative;
}
.right-image-area a.out-alsok1 {
  position: absolute;
  top: 50px;
  left: 45%;
  width: 100px;
  height: 100px;
}
.right-image-area div.out-alsok2 {
  position: absolute;
  top: 135px;
  left: 19%;
  width: 180px;
  height: 20px;
  color: transparent;
  cursor: pointer;
}
.right-image-area div.out-alsok6 {
  position: absolute;
  top: 123px;
  right: 19%;
  width: 190px;
  height: 20px;
  color: transparent;
  cursor: pointer;
}
.right-image-area .drag-and-drop {
  display: block;
  position: absolute;
  width: 100px;
  height: auto;
  top: 0;
  right: 5%;
}

.right-image-area div.out-alsok3 {
  position: absolute;
  width: 50px;
  height: 45px;
  color: transparent;
  cursor: pointer;
}

.right-image-area div#btn1{
  top: 145px;
  right: 234px;
  /*background-color: #FFD700;*/

}
.right-image-area div#btn2{
  top: 145px;
  right: 184px;
  /* background-color: #FFD705; */

}
.right-image-area div#btn3{
  top: 145px;
  right: 134px;
  /* background-color: #FFD710; */

}
.right-image-area div#btn4{
  top: 190px;
  right: 234px;
  /* background-color: #FFD715; */

}
.right-image-area div#btn5{
  top: 190px;
  right: 184px;
  /* background-color: #FFD720; */

}
.right-image-area div#btn6{
  top: 190px;
  right: 134px;
  /* background-color: #FFD725; */

}
.right-image-area div#btn7{
  top: 235px;
  right: 234px;
  /* background-color: #FFD730; */

}
.right-image-area div#btn8{
  top: 235px;
  right: 184px;
  /* background-color: #FFD735; */

}
.right-image-area div#btn9{
  top: 235px;
  right: 134px;
  /* background-color: #FFD740; */

}
.right-image-area div#btn0{
  top: 270px;
  right: 184px;
  /* background-color: #FFD745; */

}
.right-image-area div#submit{
  top: 270px;
  right: 134px;
  /* background-color: #FFD750; */

}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-move {
  animation: fadeIn 2s ease forwards;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

a.next-button {
  background-color: #253594;
    width: 200px;
    height: 50px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 2px 2px 5px 0px #777777;
    position: absolute;
    bottom: 35px;
    right: 10px;
    display: block;
    text-decoration: none;
}
#wrapper a.next-button p {
  color: #fff;
  font-size: 20px;
  line-height: 50px;
  text-decoration: none;
}

.onpu {
  position: absolute;
  top: -20px;
  right: 50px;
  z-index: 1;
  width: 200px;
  height: 200px;
  display: block;
}
.onpu img {
  width: 100%;
  height: 100%;
}

/*sencer*/
.sencer-header {
  display: flex;
  justify-content: center;
  background-color: #253594;
  padding: 10px;
  align-items: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.sencer-header::before {
  border:2x solid #253594;
}
.sencer-contents {
  border-bottom: 10px solid #ffd700;
  padding: 30px;
}
.sencer-contents ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sencer-contents ul li {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.opacity {
  opacity: 0.3;
}
/*.sencer-contents ul li p {
  display: grid;
  place-items: center;
  height: 93px;
}*/
.sencer-contents ul li button {
  position: relative;
}
.sencer-contents ul li button:before {
  position: absolute;
  content: "";
  width: 93px;
  height: 93px;
  border: 7px solid yellow;
  border-radius: 50%;
  box-sizing: content-box;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.sencer-contents ul li button {
  background: none;
  border: none;
}
/* 点滅 */
.blinking {
  -webkit-animation:flash 1s step-end infinite;
    -moz-animation:flash 1s step-end infinite;
    animation:flash 1s 1s step-end infinite;
}
@-webkit-keyframes flash {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}
@-moz-keyframes flash {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes flash {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

/* アプリ */
.right-image-area div.sp_out-alsok1 {
  position: absolute;
  top: 50px;
  left: 40%;
  width: 50px;
  height: 50px;
  color: transparent;
  cursor: pointer;
}

.right-image-area div.sp_out-alsok2 {
  position: absolute;
  top: 100px;
  left: 40%;
  width: 120px;
  height: 120px;
  color: transparent;
  cursor: pointer;
  background: #00f;
  opacity: 0.5;
}
.right-image-area p#sp-toggle img {
  width: 127px;
  height: auto;
}
#sp-toggle {
  position: absolute;
  top: 136px;
  left: 228px;
}

.right-image-area div.sp_out-alsok4 {
  position: absolute;
  top: 138px;
  left: 50%;
  width: 72px;
  height: 28px;
  color: transparent;
  cursor: pointer;
}
.sp-area {
  padding: 10px 0;
}

.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
  body {
    background-size: cover;
    height: auto;
  }
  /* header */
  header#index_header {
    display: block;
  }
  header#index_header .description {
    margin: 40px auto;
    width: 100%;
    max-width: 523px;
  }
  header#index_header .description p {
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: center;
    font-weight: 500;
  }
  /* index */
  main {
    padding-bottom: 40px;
  }
  .top-area {
    display: block;
  }
  .left-area,
  .right-area,
  .bottom-area {
    width: 100%;
    margin: 0 auto 40px;
    max-width: 523px;
  }
  .bottom-area p.link-button {
    width: 150px;
  }
  h2.ttl img {
    height: 46px;
    width: auto;
  }
  /* start */
  header#page-header {
    display: block;
  }
  header#page-header .page-ttl {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }
  header#page-header .page-header-right {
    margin: 20px auto 0;
  }
  .page-main-area,
  .page-sp-main > .page-sp-main-area {
    flex-wrap: wrap;
    padding: 36px 10px 24px;
  }
  .page-main-area h2.ttl,
  .page-sp-main h2.ttl {
    top: -20px;
  }
  .page-main-area > a,
  .page-sp-main-area > a {
    width: 50%;
  }
  .page-main-area > a:nth-child(3),
  .page-main-area > a:nth-child(5),
  .page-sp-main-area > a:nth-child(2) {
    border-right: 0;
  }
  .page-main-area > a:nth-child(2),
  .page-main-area > a:nth-child(3),
  .page-sp-main-area > a:nth-child(1),
  .page-sp-main-area > a:nth-child(2),
  .page-main-area.sencer > a:nth-child(4),
  .page-main-area.sencer > a:nth-child(5) {
    border-bottom: 2px dotted #000;
    padding-bottom: 20px;
  }
  .page-main-area > a:nth-child(n+4),
  .page-sp-main-area > a:nth-child(n+3) {
    padding-top: 20px;
  }
  .page-main-area.sencer > a:nth-child(6) {
    border-right: 2px dotted #000;
  }
  .link-area .link-button {
    margin-top: 0;
  }
  /* model */
  header#page-header .page-header-blue {
    width: 80%;
    max-width: 420px;
    margin: 40px auto 0;
  }
  .outer-box {
    width: 100%;
  }
  .control-contents {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  .left-button-area,
  .right-image-area {
    width: 100%;
  }
  .right-image-area img {
    width: 100%;
    height: auto;
  }
  .right-image-area img#keibi-image {
    width: 90%;
    padding-top: 5%;
  }
  .right-image-area .drag-and-drop {
    width: 80px;
  }
  .right-image-area div.out-alsok3 {
    width: 8%;
    height: 40px;
  }
  .right-image-area div#btn1 {
    top: 39%;
    right: 40%;
  }
  .right-image-area div#btn2 {
    top: 39%;
    right: 31%;
  }
  .right-image-area div#btn3 {
    top: 39%;
    right: 22%;
  }
  .right-image-area div#btn4 {
    top: 48%;
    right: 40%;
  }
  .right-image-area div#btn5 {
    top: 48%;
    right: 31%;
  }
  .right-image-area div#btn6 {
    top: 48%;
    right: 22%;
  }
  .right-image-area div#btn7 {
    top: 56%;
    right: 40%;
  }
  .right-image-area div#btn8 {
    top: 56%;
    right: 31%;
  }
  .right-image-area div#btn9 {
    top: 56%;
    right: 22%;
  }
  .right-image-area div#btn0 {
    top: 65%;
    right: 31%;
  }
  .right-image-area div#submit {
    top: 65%;
    right: 22%;
  }
  .left-button-area {
    margin-left: 0;
  }
  .left-button-area .block-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 10px;
    gap: 2%;
  }
  .left-button-area .block-area a {
    width: 23%;
    margin: 0 0 10px;
  }
  .page-sp-main .kaijo-area .link-button {
    width: 70%;
    margin-top: 0;
  }
  .sencer-contents ul {
    display: block;
  }
  .sencer-contents ul li {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 10px;
  }
  .sencer-contents ul li:last-child {
    margin-bottom: 0;
  }
  .sencer-contents ul li p,
  .sencer-contents ul li button {
    width: auto;
  }
  .back-button-area a:last-of-type {
    width: 180px;
  }
  .right-image-area {
    padding: 5%;
  }
  .right-image-area div.out-alsok2 {
    top: 36%;
    left: 13%;
    width: 36%;
  }
  .right-image-area div.out-alsok6 {
    top: 34%;
    width: 36%;
  }
  a.next-button {
    bottom: 62px;
    right: 6%;
  }
  #wrapper .page-sp-main .area-1 p.online {
    padding-top: 24px;
  }
  .page-sp-main-area > a:nth-child(1),
  .page-sp-main-area > a:nth-child(2) {
    height: 420px;
  }
  #wrapper .page-sp-main-area .area-1 div.link-button,
  #wrapper .page-sp-main-area .area-2 div.link-button {
    bottom: 20px;
  }
  .page-sp-main-area > a:nth-child(1),
  .page-sp-main-area > a:nth-child(2) {
    height: 420px;
  }
}
@media screen and (max-width: 660px) {
  .left-button-area .block-area a {
    width: 49%; 
  }
  .right-image-area .drag-and-drop {
    width: 80px;
  }
  .right-image-area div.out-alsok3 {
    width: 8%;
    height: 32px;
  }
  .right-image-area div#btn1 {
    top: 39%;
    right: 40%;
  }
  .right-image-area div#btn2 {
    top: 39%;
    right: 31%;
  }
  .right-image-area div#btn3 {
    top: 39%;
    right: 22%;
  }
  .right-image-area div#btn4 {
    top: 47%;
    right: 40%;
  }
  .right-image-area div#btn5 {
    top: 47%;
    right: 31%;
  }
  .right-image-area div#btn6 {
    top: 47%;
    right: 22%;
  }
  .right-image-area div#btn7 {
    top: 55%;
    right: 40%;
  }
  .right-image-area div#btn8 {
    top: 55%;
    right: 31%;
  }
  .right-image-area div#btn9 {
    top: 55%;
    right: 22%;
  }
  .right-image-area div#btn0 {
    top: 63%;
    right: 31%;
  }
  .right-image-area div#submit {
    top: 63%;
    right: 22%;
  }
}
@media screen and (max-width: 480px) {
  #wrapper {
    padding: 0 5%;
  }
  #wrapper p {
    font-size: 1.4rem;
  }
  header#index_header {
    padding: 40px 5% 0;
  }
  header#page-header .page-header-right {
    width: 100%;
  }
  .page-main-area > a,
  .page-sp-main-area > a {
    width: 100%;
    border-right: 0;
    border-bottom: 2px dotted #000;
    padding: 30px 10px;
  }
  .page-sp-main-area > a:last-of-type {
    border-bottom: 2px dotted #000;
  }
  .page-sp-main > .page-sp-main-area,
  .page-main-area > a:first-of-type,
  .page-sp-main-area > a:first-of-type {
    padding-top: 0;
  }
  #wrapper .page-sp-main-area div.link-button {
    position: static;
    transform: none;
    margin: 20px auto 0;
  }
  .page-sp-main .kaijo-area {
    padding: 0;
  }
  .left-area, .right-area, .bottom-area {
    padding: 32px 16px 24px;
  }
  .left-area .flex-area {
    padding-top: 10px;
  }
  .left-area .flex-area p:first-of-type {
    width: 29%;
    margin-right: 1%;
  }
  .right-area .flex-area p:last-of-type {
    padding-top: 10px;
  }
  .right-area .flex-area p:first-of-type {
    width: 26%;
  }
  .sencer-contents ul li:first-child > p,
  .sencer-contents ul li:first-child > button {
    width: 30%;
  }
  .sencer-contents ul li:first-child img {
    width: 100%;
    height: auto;
  }
  .sencer-contents ul li:first-child > p:first-child img,
  .sencer-contents ul li:first-child > button:first-child img {
    width: 64%;
  }
  .sencer-contents ul li img {
    width: 100%;
  }
  .sencer-contents ul li:nth-child(3) button:before {
    width: 60px;
    height: 60px;
  }
  a.next-button {
    bottom: 68px;
  }
  /* model */
  header#page-header {
    padding: 40px 5% 30px;
  }
  header#page-header .page-header-blue {
    height: 100px;
  }
  header#page-header .page-header-blue p {
    line-height: 100px;
  }
  .page-main-area.sencer > a:nth-child(6) {
    border-right: 0;
  }
}