/* uchikeshi */
p {
  font-size: inherit;
}

.select-lang {
  font-size: 16px;
}

/* common */
#header {
  top: 0;
}

#header .lang #lang1,
#header .lang #lang2 {
  display: none;
}

#header .lang .option {
  position: relative;
}

#header .lang .title,
#header .lang .content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
  color: #353535;
}

#header .lang .title {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  min-width: 115px;
  min-height: 30px;
  border: 1px solid;
  border-color: #e1e1e1;
  border-radius: 20px;
  cursor: pointer;
}

#header .lang .title span:first-child {
  margin-left: 7px;
}

#header .lang .title span:last-child {
  margin-right: 10px;
  margin-bottom: 3px;
}

#header .lang .content {
  max-height: 0;
  overflow: hidden;
  position: absolute;
}

#header .lang .content li {
  background-color: #fff;
  border-right: solid 1px #ccc;
  border-left: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  margin: 0;
  font-size: 0.9em;
  line-height: 1.5;
  width: 115px;
}

#header .lang .content li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 1em 1em 1em;
}

#header .lang #lang1:checked + .title + .content {
  max-height: 500px;
  transition: all 1.5s;
}

#header .lang #lang2:checked + .title + .content {
  max-height: 500px;
  transition: all 1.5s;
}

#header .gnav .lang {
  display: flex;
}

#header .gnav .lang p {
  padding-top: 5px;
  padding-right: 0;
  padding-bottom: 0;
}

#header .gnav .lang .title {
  border: none;
  align-items: flex-start;
}

#header .gnav .lang .title p {
  position: relative;
  display: inline-block;
  padding: 5px;
  padding-right: 17px;
  background-color: brown;
  border: black;
}

#header .gnav .lang .title p::before {
  content: '';
  width: 6px;
  height: 6px;
  border: 0px;
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  -ms-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  position: absolute;
  top: 50%;
  right: 5px;
  margin-top: -5px;
}

#header .gnav .lang .content li a {
  background-color: brown;
  border: black;
  color: #fff;
  padding: 5px;
  padding-right: 17px;
  min-width: 115px;
  line-height: 100%;
}

#footer_copy .footer_copy_wrap {
  padding: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

.footer_copy_wrap .official {
  margin-bottom: 20px;
}

.footer_copy_wrap .official a {
  border-bottom: solid 1px;
}

body {
  font-family: source-han-sans-japanese, sans-serif;
}

.mv {
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 75px;
  padding: 65px 0 55px 0;
  width: 100%;
  background-color: #ffc130;
}

.mv .mv_inner {
  margin: 0 auto;
  text-align: center;
}

.mv .mv_inner h2 {
  font-family: source-han-sans-japanese, sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 225%;
  padding: 30px 0;
  letter-spacing: 5px;
}

.mv .mv_inner p {
  color: white;
  font-family: source-han-sans-japanese, sans-serif;
  font-style: normal;
  border-radius: 10px;
  font-size: 150%;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
  background-color: #ff4747;
  padding: 23px 0;
  max-width: 300px;
  letter-spacing: 2px;
}

.flex_container {
  display: flex;
}

.block {
  width: 1280px;
  margin: 0 auto;
  margin-bottom: 120px;
}

.block.w990 {
  width: 990px;
}

.centering {
  text-align: center;
}

.centering img {
  margin: 0 auto;
}

.mb60 {
  margin-bottom: 60px;
}

.rsrs {
  border-radius: 80px 0 80px 0;
  background-color: #ffc130;
  padding: 40px 0;
  justify-content: space-between;
  margin-bottom: 30px;
}

.hougan {
  /* 方眼紙模様に必須のスタイル */
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #ffcd59 calc(100% - 1px)),
    linear-gradient(90deg, transparent calc(100% - 1px), #ffcd59 calc(100% - 1px));
  background-size: 32px 32px;
  background-color: #ffc130;
  border: 1px solid #ffcd59;
  background-repeat: repeat;
  background-position: center center;
}

.l_orange {
  background-color: #ffefcb;
}

.w1000 {
  width: 1000px;
  margin: 0 auto;
}

.w1120 {
  width: 1120px;
  margin: 0 auto;
}

.under h3 {
  display: flex;
  justify-content: center;
  align-content: center;
  letter-spacing: 3px;
  margin-bottom: 60px;
}

.under h3 span {
  font-size: 175%;
  font-weight: bold;
  letter-spacing: 3px;
  padding: 39px 0 39px 0;
}

.under h3::before,
.under h3::after {
  content: '';
  width: 39px;
  height: 39px;
  background-repeat: no-repeat;
  margin: 0 10px;
}

.under h3::before {
  background-image: url('../img/function/img_brackets_before.png');
  align-self: flex-start;
}

.under h3::after {
  background-image: url('../img/function/img_brackets_after.png');
  align-self: flex-end;
}

.under h3.v2::before {
  background-image: url('../img/function/img_brackets_before_v2.png');
}

.under h3.v2::after {
  background-image: url('../img/function/img_brackets_after_v2.png');
}

.under h4 {
  font-weight: bold;
  font-size: 175%;
  border-bottom: solid 4px;
  display: inline-block;
  line-height: 158%;
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 60px;
}

.list_2line,
.list_3line {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.list_2line {
  flex-wrap: wrap;
}

.list_2line li {
  width: calc(50% - 15px);
  background-color: #fff;
  border-radius: 30px 30px 30px 0;
  padding: 40px 0;
  font-size: 150%;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
}

.list_2line li:nth-child(2),
.list_2line li:nth-child(3),
.list_2line li:nth-child(6) {
  background-color: #ffe539;
}

.list_3line.m60 {
  margin-left: 60px;
  margin-right: 60px;
}

.list_3line li {
  display: flex;
  flex-direction: column;
  text-align: center;
}

div.download_now {
  text-align: center;
  letter-spacing: 3px;
  margin-bottom: 120px;
}

div.download_now p {
  text-align: center;
  line-height: 150%;
  font-size: 2.25rem;
}

div.download_now .imasugu {
  margin-bottom: 1em;
  color: #353535;
  font-weight: bold;
}

.pankuzu {
  color: #000000;
  background-color: #f5f5f5;
  word-break: keep-all;
  white-space: nowrap;
}

.pankuzu .pankuzu_wrap {
  max-width: auto;
  margin: 0 auto;
  box-sizing: border-box;
}

.pankuzu span {
  display: inline-block;
  padding: 20px 30px 20px 10px;
  font-size: 0.75rem;
  /* background: url(/images/bg_pankuzu01.png) no-repeat center right; */
  text-decoration: none;
}

.pankuzu span:last-child {
  background: none;
  padding-right: 10px;
}

body.nf404 .main {
  margin-top: 300px;
  margin-bottom: 300px;
  text-align: center;
}

body.nf404 .main p {
  margin-bottom: 1em;
  line-height: 150%;
  padding: 20px;
}

body.nf404 .main p:first-child {
  font-size: 200%;
  color: #999;
  font-weight: bold;
}

body.nf404 .main p a {
  color: #fb9d2c;
}

@keyframes flash {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}
@media screen and (min-width: 960px) and (max-width: 1279px) {
  .block.w990 {
    width: auto;
  }
  .w1120 {
    width: auto;
  }
  .block {
    width: auto;
  }
}
/**************************************************************************/
/************************************Tab************************************/
/**************************************************************************/
@media screen and (min-width: 769px) and (max-width: 959px) {
  .block.w990 {
    width: auto;
  }
  .w1120 {
    width: auto;
  }
  .block {
    width: auto;
  }
}
/**************************************************************************/
/************************************SP************************************/
/**************************************************************************/
@media screen and (max-width: 768px) {
  /*519から暫定移植*/
  #header {
    padding: 0;
    height: var(--nav-height);
  }

  #header .logo {
    margin-left: 3vh;
  }

  #header .logo img {
    width: 40vw;
    max-width: 265px;
  }

  #footer {
    margin-top: 0;
    font-size: 16px;
  }

  #footer .footer_wrap {
    display: block;
    padding-top: 3vh;
    text-align: center;
    width: auto;
    margin: 30px;
  }

  #footer .footer_wrap .contents {
    width: 85%;
  }

  #footer .footer_wrap .footer_logo {
    margin: 0 0 20px 0;
  }

  #footer h2 {
    font-family: source-han-sans-japanese, sans-serif;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    color: rgba(59, 64, 67, 1);
    margin: 10px 0;
    text-align: start;
  }

  #footer .footer_wrap .contents_list {
    flex-direction: column;
    flex-wrap: wrap;
    margin-top: 30px;
    align-content: flex-start;
  }

  #footer .footer_wrap .contents ul li {
    padding: 0 0 15px 0;
    font-weight: bold;
    display: flex;
  }

  #footer .footer_wrap .contents ul {
    margin: 0px 8px 0px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
  }

  #footer .footer_wrap .follow {
    margin: 0 30px 0 0;
    width: auto;
  }

  #footer .footer_wrap .follow ul {
    flex-direction: row;
    margin: 30px 8px 20px 0;
  }

  #footer .link ul {
    padding: 3rem 0 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  #footer .link ul li {
    width: 90vw;
  }

  #footer .link ul li a {
    color: #555555;
  }

  #footer_copy {
    font-size: 16px;
    height: 152px;
    padding: 24px 0;
  }

  #footer_copy .footer_copy_wrap {
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    align-items: center;
  }

  #footer_copy a {
    text-align: center;
  }

  #footer .right {
    width: auto;
  }

  #footer .right p {
    text-align: left;
  }

  /*** base style ***/
  .btn {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    padding: 1rem 5rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #fff;
    border-radius: 100vh;
  }

  /*暫定移植end*/
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  .pc {
    display: none;
  }

  body,
  #footer .footer_wrap,
  .block {
    width: auto;
    min-width: auto;
  }

  body {
    font-size: 3.3vw;
  }

  .block.w990 {
    width: calc(100% - 40px);
    margin-bottom: 4em;
  }

  .flex_container,
  .list_2line,
  .list_3line,
  .list_2line li {
    flex-wrap: wrap;
    flex-direction: column;
    border-radius: 20px 20px 20px 0;
  }

  .list_2line {
    padding-left: 1.5em;
    padding-right: 1.5em;
  }

  .list_3line.m60 {
    margin-left: 0;
    margin-right: 0;
  }

  .mv {
    margin-bottom: 4em;
  }

  .mv .mv_inner h2 {
    font-size: 170%;
    padding-top: 1em;
    padding-bottom: 1em;
  }

  .mv .mv_inner p {
    width: 50%;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    max-width: none;
    font-size: 127%;
  }

  .under h3 span {
    font-size: 194%;
    line-height: 150%;
    text-align: center;
    padding: 0.8em 0;
  }

  .under h3::before,
  .under h3::after {
    margin-left: 3vw;
    margin-right: 3vw;
    background-size: 6vw;
    width: 6vw;
    height: 6vw;
  }

  .under h3::after {
    align-self: flex-end;
  }

  .list_2line li {
    padding: 1em 0;
  }

  .list_3line li {
    margin-bottom: 60px;
  }

  .list_3line li:last-child {
    margin-bottom: 0;
  }

  .rsrs {
    border-radius: 40px 0 40px 0;
  }

  div.download_now {
    text-align: center;
    letter-spacing: 3px;
  }

  div.download_now p {
    text-align: center;
    line-height: 150%;
    font-size: 2.25rem;
  }

  div.download_now .imasugu {
    font-size: 9vw;
  }

  #header .lang .content li {
    width: auto;
  }

  body.nf404 .main {
    margin-top: 150px;
    margin-bottom: 100px;
    text-align: center;
  }
}
