#top #main {
  padding: 0 0 0;
  /* background: #F7F8FA; */
  position: relative;
}

#one-column #global-head,
#top #global-head {
  display: none;
}

#top #main-in {
  max-width: 1400px;
  margin: 0 auto;
}

#top .pc-logo {
  margin: 0 auto 0 0px;
}

#one-column .pc-logo {
  margin: 0 auto 0 40px;
}

#top .page-head-nav {
  width: 100%;
  justify-content: flex-end;
  padding: 24px 24px 24px;
  position: absolute;
  top: 0;
  z-index: 90;
}

#main-visual-warapper {
  width: 100%;
  max-width: 100vw;
  position: relative;
  overflow: hidden;
  background-image: url(../img/index/kv-bg.svg);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 0px;
  padding-top: 80px;
}

#main-visual {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto 0;
  padding: 64px 24px 64px;
}

#main-visual img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

#main-visual .fluid-anim {
  width: 34%;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 61% 39% 16% 84% / 57% 72% 28% 43%;
  animation: fluid-anim 20s infinite;
  background: #c4daf0;
}

@keyframes fluid-anim {
  0% {
    border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%;
  }

  12.5% {
    border-radius: 60% 75% 40% 80% / 70% 70% 60% 65%;
  }

  25% {
    border-radius: 55% 95% 65% 90% / 75% 65% 85% 70%;
  }

  37.5% {
    border-radius: 60% 40% 50% 45% / 60% 40% 60% 40%;
  }

  50% {
    border-radius: 55% 95% 65% 90% / 75% 65% 85% 70%;
  }

  62.5% {
    border-radius: 60% 40% 50% 45% / 60% 40% 60% 40%;
  }

  75% {
    border-radius: 60% 75% 40% 80% / 70% 70% 60% 65%;
  }

  87.5% {
    border-radius: 40% 60% 55% 45% / 50% 60% 40% 50%;
  }

  100% {
    border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%;
  }
}

#main-visual .copy {
  width: 60%;
}

#main-visual .mv-button {
  display: flex;
  gap: 24px;
  margin-top: 48px;
}

#main-visual h2 {
  font-size: 3.2rem;
}

#main-visual h2 span {
  font-size: 2.4rem;
}

#main-visual .copy p {
  margin-bottom: 16px;
}

#main-visual .copy p a {
  text-decoration: underline;
  color: #60ac8d;
}

#main-visual .copy p:last-child {
  margin-bottom: 0px;
}

#main-visual .copy p span {
  color: #fe7d7c;
  font-size: 4.0rem;
}

.section {
  margin: 0 auto;
  width: 100%;
  padding: 64px 0;
}

.what {
  background-color: #FFF;
}

.section.what {
  padding-top: 0px;
}

.faq {
  background-color: #F3F4F3;
}

.section-inner {
  max-width: 1280px;
  margin: 0px auto;
  padding: 0 24px 0;
}

.wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 80px calc(160vw / 19.2) 80px;
  max-width: 1920px;
  margin: 0 0 64px calc(180vw / 19.2);
}

/* .wrap:not(:last-child) {
  margin-bottom: 80px;
} */
.wrap:nth-child(even) {
  flex-direction: row-reverse;
  margin: 0 calc(180vw / 19.2) 0 0;
}

.wrap img {
  display: block;
  width: 30%;
  max-width: 420px;
  height: auto;
  margin: 0 auto 16px;
}

.bg-radius {
  background-image: linear-gradient(-225deg, #E3FDF5 0%, #FFE6FA 100%);
  /* background-color: #FFF8D2; */
  border-radius: 64px 0px 0px 64px
}

.bg-radius:nth-child(even) {
  background: linear-gradient(90deg, #f6f9fd 0%, #dde9fd 100%);
  /* background: #D6EFF7; */
  border-radius: 0px 64px 64px 0px
}

h2.c-heading {
  text-align: center;
  position: relative;
  margin: 0 0 80px;
}

h2.c-heading::after {
  content: '';
  width: 120px;
  height: 5px;
  display: inline-block;
  background-color: #fe7d7c;
  position: absolute;
  bottom: -24px;
  left: calc(50% - 60px)
}

.what-box {
  width: 48%;
}

.what-box h2 {
  font-size: 3.2rem;
}

.what-box h2 span {
  font-size: 2.4rem;
}

.what-box p a {
  text-decoration: underline;
  color: #60ac8d;
}

.box-area {
  background: #fff;
  padding: 32px 32px 24px;
  border-radius: 8px;
}

.bg-gray {
  background: #f4f4f4;
}

.border-black {
  border: 3px solid #333;
}

.box-area p {
  line-height: 1.5 !important;
}

/* faq */
.accordion {
  background: #fff;
  padding: 32px 120px 32px;
  margin-bottom: 24px;
  border-radius: 16px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.accordion:last-of-type {
  margin-bottom: 0px;
}

.accordion summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.8rem;
}

.accordion summary span {
  color: #3bba95;
  font-size: 2.8rem;
  padding-right: 16px;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 16px;
  height: 16px;
  padding-left: 13px;
  border-bottom: 3px solid #3bba95;
  border-right: 3px solid #3bba95;
  content: '';
  transition: transform .3s;
  margin-left: auto;
}

.accordion[open] summary::after {
  transform: rotate(225deg);
}

.accordion[open] summary {
  border-bottom: 2px solid #dddddd;
  padding: 0 0 8px;
  margin: 0 0 16px;
}

.accordion p {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0 !important;
  padding: 0 0 0;
  transition: transform .5s, opacity .5s;
}

.accordion[open] p {
  transform: none;
  opacity: 1;
}

.accordion-warapper {
  margin-bottom: 64px;
}

.accordion-warapper:last-child {
  margin-bottom: 0px;
}

/* related-info */
.related {
  margin: 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 32px;
  justify-content: space-around;
}

.related-item {
  max-width: 256px;
}

.prelated-link {
  display: block;
  height: 100%;
  position: relative;
}

.related-item img {
  border-radius: 8px;
  max-width: 100%;
  outline: 1px solid #ccc;
}

.prelated-cate {
  display: block;
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 8px 0 4px;
}

.related-ttl {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-weight: bold;
  line-height: 1.5;
}

.top-news {
  margin-bottom: 48px;
}

.news-list li:first-child {
  border-top: none;
}

.news-list li {
  padding: 24px 0;
  border-bottom: 1px solid #DDDDDD;
}

#pub .news-list dl {
  display: block;
}

.news-list dl {
  display: flex;
  align-items: flex-start;
}

.news-list dl .news-date {
  margin-right: 20px;
}

#pub .news-list dl dd:hover {
  text-decoration: none;
  color: #333;
}

#pub .news-list dl dd a {
  text-decoration: underline;
  color: #3bba95;
}

.news-list dl dd:hover {
  text-decoration: underline;
  color: #3bba95;
}

.procedure-list li:first-child {
  border-top: none;
}

.procedure-list li {
  padding: 24px 0;
  border-bottom: 1px solid #DDDDDD;
}

dl.code-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  border: solid 1px #ccc;
  border-radius: 16px;
  padding: 32px 32px 24px;
  margin-bottom: 32px;
}

dl.code-list dt {
  width: 60%;
  margin-bottom: 8px;
}

dl.code-list dd {
  width: 40%;
  text-align: right;
  margin-bottom: 8px;
}

h4.heading-icon {
  display: flex;
  align-items: center;
}

h4 span.material-icons {
  font-size: 3.5rem;
  padding-right: 4px;
}

#main {
  background: #fff;
  padding-left: 310px;
}

#main p {
  margin-bottom: 1em;
  line-height: 2;
  font-size: 1.6rem;
}

#main ol {
  text-indent: -1em;
  padding-left: 1em;
  line-height: 2;
}

#main ol li {
  margin-bottom: 1em;
}

#main .inner {
  padding: 64px 24px;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 20px 20px;
  background-repeat: repeat;
  background-position: center center;
}

#main .inner .row {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 48px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

#main .inner .row p:last-child {
  margin-bottom: 0px;
}

#main .inner .row p a {
  font-weight: 700;
  color: #3bba95;
  text-decoration: underline;
}

#main .inner .row img {
  margin: 0 auto 24px;
}

.page-head {
  background-color: #EAD809;
  position: relative;
  border-top-left-radius: 48px;
  overflow: hidden;
  z-index: 1;
  /* background-image: linear-gradient(-225deg, #fff1eb 0%, #fbfcdb 100%); */
  background-image: linear-gradient(-225deg, #E3FDF5 0%, #FFE6FA 100%);
}

#one-column .page-head {
  background-image: linear-gradient(-225deg, #E3FDF5 0%, #FFE6FA 100%);
}

#pub .page-head {
  background-image: linear-gradient(-225deg, #E3FDF5 0%, #FFE6FA 100%);
}

#teacher .page-head {
  background-image: linear-gradient(-225deg, #f6f6f6 0%, #ebebeb 100%);
}

#results-list .page-head {
  background-image: linear-gradient(-225deg, #f6f6f6 0%, #ebebeb 100%);
}

.page-head-nav {
  width: 94%;
  display: flex;
  justify-content: flex-end;
  padding-top: 40px;
  position: relative;
  align-items: center;
}

.page-head-nav ul {
  display: flex;
  margin-right: 16px;
}

.page-head-nav ul li {
  font-size: 1.5rem;
  font-weight: 700;
}

.page-head-nav ul a {
  margin-right: 24px;
  position: relative;
}

.page-head-nav ul a:hover {
  color: #3bba95;
  transition: 0.5s;
}

.page-inner {
  margin: 48px 0 80px;
  padding: 0 80px;
}

.page-inner img {
  margin: 0 auto;
}

/* .page-head-nav ul a::after {
  content: '';
  width: 8px;
  height: 8px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  right: -24px;
  top: 4px;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 400;
  border-top: 2px solid #666666;
  border-right: 2px solid #666666;
  transform: rotate(45deg);
} */
.page-head .ttl .text-en {
  display: block;
  font-size: 7.2rem;
  text-transform: capitalize;
}

.page-head .ttl .text-jp {
  display: block;
  font-size: 2.4rem;
}

/* info-date */
.info-date {
  display: flex;
  display: none;
  flex-wrap: wrap;
  width: 100%;
  padding: 16px 24px;
  margin-bottom: 16px;
  border-radius: 24px;
  background: #fff;
  border: 2px solid #ececec;
}

.info-date dl {
  display: flex;
}

.info-date dd {
  margin-right: 20px;
}

.info-date dt .material-icons {
  vertical-align: -2px;
  font-size: 1.6rem;
  padding-right: 8px;
}

.couse-date {
  margin-bottom: 16px;
}

.couse-date dl {
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  justify-content: flex-end;
}

/* typo */
h3 {
  position: relative;
  padding-bottom: 8px;
}

h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  display: block;
  height: 2px;
  background: linear-gradient(-225deg, #6fd5b6 0%, #ecda07 100%);
}

h3 span.free {
  background: #ff5055;
  padding: 4px;
  font-size: 1.4rem;
  color: #fff;
  margin-left: 8px;
  display: inline-block;
  font-weight: 700;
  vertical-align: 5px;
}

.text-red {
  font-weight: 700;
  color: #ff5055;
}

.text-black {
  font-weight: 700;
  color: #333333;
}

p span.annotation {
  display: block;
  margin: 0.5rem 0 0;
  font-size: 1.4rem;
}

.text-center {
  text-align: center;
}

.circle-heading {
  position: relative;
  padding: 0 0 0 24px;
}

.circle-heading::before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #222;
  pointer-events: none;
}

.color-circle {
  display: block;
  text-decoration: underline;
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
  display: flex;
  align-items: center;
}

.color-circle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background-color: #23a57f;
  border-radius: 100%;
}

.color-circle .material-icons {
  font-size: 2.0rem;
  padding-left: 8px;
}

.circle li {
  margin-bottom: 8px;
  padding-left: 24px;
  position: relative;
}

.circle li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #383838;
  border-radius: 100%;
}

.topics-list li {
  padding: 24px 0;
  border-bottom: 1px solid #DDDDDD;
}

.topics-list li:first-child {
  border-top: none;
}

.topics-list li a {
  text-decoration: underline;
  font-weight: 700;
  color: #3bba95;
}

.view-stocks dt {
  font-weight: 700;
}

.view-stocks dd {
  margin-bottom: 16px;
}

.movie-wrapper {
  margin: 40px auto 0;
  text-align: center;
  aspect-ratio: 16 / 9;
  max-width: 800px;
}

.movie-wrapper p {
  font-weight: 700;
}

.movie-wrapper iframe {
  width: 100%;
  height: 100%;
}

/* button */
.button-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 40px 0;
}

.flex-start {
  justify-content: flex-start;
}

.button {
  position: relative;
  margin: 0 0;
  color: #fff;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  background: #57d5a7;
  border: 2px solid #57d5a7;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20rem;
  max-width: 320px;
  border-radius: 4rem;
  cursor: pointer;
  padding: 16px 0px;
}

.logout-button {
  border: 2px solid #57d5a7;
  background: #fff;
  color: #57d5a7;
}

.button-black {
  background: #000;
  color: #fff;
  border: none;
}

.button-border-line {
  border: 2px solid #333;
  background: #fff;
  color: #333;
}

.half-button {
  padding: 8px 0;
}

.edit-button {
  padding: 4px 0;
  width: 80px;
  background: #9d9d9d;
  border: none;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.2rem;
}

.button-border-line:hover {
  background: #333;
  color: #fff;
  transition: 0.5s;
}

.small-button {
  font-size: 1.4rem;
  padding: 4px 40px;
  margin: 0 auto;
  text-decoration: none !important;
  color: #333 !important;
}

.small-button:hover {
  color: #fff !important;
}

.icon-button {
  width: 320px;
}

.demo-button {
  width: 320px;
}

.button-text {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
}

.button:hover {
  opacity: 0.7;
  transition: 0.5s;
}

.sw-table:before {
  content: "表を非表示"
}

.sw-table.open:before {
  content: "表を表示"
}

.sw-graph:before {
  content: "グラフを非表示"
}

.sw-graph.open:before {
  content: "グラフを表示"
}

.blank:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28px;
  width: 24px;
  height: 24px;
  margin: auto;
  background: no-repeat center url(../img/common/icon-blank.svg);
}

.print:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28px;
  width: 24px;
  height: 24px;
  margin: auto;
  background: no-repeat center url(../img/common/icon-print.svg);
}

.input:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28px;
  width: 32px;
  height: 32px;
  margin: auto;
  background: no-repeat center url(../img/common/icon-input.svg);
}

.excel:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28px;
  width: 32px;
  height: 32px;
  margin: auto;
  background: no-repeat center url(../img/common/icon-xls.svg);
}

.step-bar {
  width: 100%;
  margin: 0 auto 32px;
  text-align: center;
}

.step-bar li {
  position: relative;
  display: inline-block;
  width: 15vw;
  min-width: 80px;
  margin: 0 32px 0 0;
  padding-bottom: 24px;
}

.step-bar li:after {
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: calc(100% + 40px);
  height: 4px;
  margin: 0;
  content: "";
  background: #b5b5b5;
}

.step-bar li :before {
  position: absolute;
  z-index: 1;
  right: auto;
  bottom: -2px;
  left: 50%;
  width: 15px;
  height: 15px;
  content: "";
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: #b5b5b5;
}

.stepbarLi_2lines:before {
  top: 83%
}

.step-bar li.visited:after {
  width: calc(100% + 34px)
}

.step-bar li.current :before,
.step-bar li.visited:after,
.step-bar li.visited :before {
  background-color: #333333;
}

.step-bar li.current :after {
  position: absolute;
  z-index: 1;
  bottom: -7px;
  left: 50%;
  width: 25px;
  height: 25px;
  content: "";
  transform: translateX(-50%);
  border: 2px solid #333333;
  border-radius: 50%
}

.step-bar li:last-of-type {
  margin-right: 0
}

.step-bar li:last-of-type:after {
  display: none
}

.step-bar span {
  font-size: 1.6rem;
  font-weight: 700;
  color: #b5b5b5;
}

.step-bar .current span,
.step-bar .visited span {
  color: #333333;
}

#drag-and-drop-area {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 450px;
  margin-bottom: 60px;
  text-align: center;
  border-radius: 24px;
  background: #f6f6f6;
}

input.hidden {
  display: none
}

#file-name {
  font-weight: 700;
  position: relative;
  padding-top: 35px;
  padding-left: 20px;
  margin-bottom: 16px;
}

#file-name:before {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  content: "";
  transition: .25s;
  transform: translateY(-53%);
  background: no-repeat 50% url(../img/common/icon-xls.svg);
}

#file-select {
  display: flex;
  flex-direction: column;
}

.page-link {
  display: flex;
  width: 100%;
  gap: 0 2%;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.page-link-item {
  width: 48%;
  margin-bottom: 2%;
}

.page-link-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  height: 100%;
  padding: 2.3rem 6.0rem 2.3rem 3.2rem;
  font-weight: 700;
  background: #ecda07;
  transition: transform 0.3s;
  border-radius: 8px;
}

.unker .page-link-button {
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.unker .page-link-button::before {
  transform: rotate(135deg);
}

.jump .page-link-button {
  background: #ecda07;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.jump .page-link-button::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28px;
  width: 24px;
  height: 24px;
  margin: auto;
  background: no-repeat center url(../img/common/icon-blank.svg);
  transform: rotate(0deg);
  border: none;
}

#teacher .page-link-button {
  background: #3bba95;
  color: #fff;
}

.page-link-button:hover {
  opacity: 0.7;
  transition: 0.5s;
}

.page-link-button::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28px;
  width: 12px;
  height: 12px;
  margin: auto;
  border-top: 4px solid #383838;
  border-right: 4px solid #383838;
  transform: rotate(45deg);
  box-sizing: border-box;
}

#teacher .page-link-button::before {
  border-top: 4px solid #ffffff;
  border-right: 4px solid #ffffff;
}

.page-link-button-text {
  display: block;
}

#main #copyright {
  text-align: center;
  font-size: 1.2rem;
  padding: 16px 0;
  background: #F3F4F3;
}

#footer {
  max-width: 1280px;
  margin: 0px auto;
  padding: 0 24px 0;
  text-align: center;
}

#footer .footer-logo {
  margin-top: 48px;
}

#footer .footer-logo img {
  width: 140px;
  line-height: 1;
}

#footer .sponsored {
  margin-bottom: 40px;
}

#footer .sponsored p {
  margin-bottom: 8px !important;
}

#footer .sponsored {
  margin-bottom: 40px;
}

#footer .sponsored small a {
  text-decoration: underline;
  color: #60ac8d;
}

#footer .sponsored img {
  width: 140px;
  line-height: 1;
  margin: 0 auto;
}

/* sidebar */
#global-head {
  position: fixed;
  width: 310px;
  text-align: center;
  z-index: 99;
  padding: 48px 40px 40px;
  background-color: #fff;
}

.pc-logo {
  line-height: 1;
  max-width: 160px;
  margin: 0 auto;
}

#sidebar {
  font-size: 1.5rem;
  width: 310px;
  height: 100%;
  position: fixed;
  background: #fff;
  text-align: left;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  padding: 140px 40px 0;
  overflow-y: scroll;
}

.global-nav ul {
  list-style: none;
  margin-left: 0;
}

.global-nav>ul>li {
  position: relative;
}

.global-nav>ul>li.current a {
  color: #3bba95;
}

.global-nav>ul>li.current a::after {
  content: "";
  position: absolute;
  left: -16px;
  width: 8px;
  height: 8px;
  background-color: #23a57f;
  border-radius: 100%;
}

.global-nav a {
  font-weight: 700;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.global-nav .sub-menu.is-active>a,
.global-nav a:hover {
  color: #3bba95;
  transition: 0.5s;
}

.global-nav .sub-menu-nav a,
.global-nav .sub-menu:hover .sub-menu-nav {
  width: 300px;
}

#sidebar h4.account {
  background-color: #ebd908;
  border-radius: 24px;
  text-align: center;
  padding: 4px 0px 4px;
  margin-bottom: 16px;
  font-size: 1.8rem;
}

#teacher #sidebar h4.account {
  background-color: #383838;
  color: #fff;
}

.login-warapper {
  margin-top: 40px;
}

.login-warapper .button {
  width: 100%;
}

.sub-nav {
  display: flex;
  width: 100%;
  gap: 0 2%;
  flex-wrap: wrap;
  margin-top: 32px;
}

.sub-nav-item {
  width: 100%;
}

.secondary-nav {
  margin-top: 32px;
}

.secondary-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 80px;
  margin: 0 auto 16px;
  padding: 16px;
  border-radius: 16px;
  background: #EAD809;
  box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
}

.secondary-nav-item-text {
  font-weight: 700;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  letter-spacing: 0px;
}

.secondary-nav-item-text .material-icons {
  font-size: 3.5rem;
  padding-right: 4px;
}

.secondary-nav-item-text:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28px;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 2px solid #383838;
  border-right: 2px solid #383838;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.sub-nav-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  height: 100%;
  padding: 12px 32px;
  font-weight: 700;
  background: #f6f6f6;
  transition: transform 0.3s;
  border-radius: 40px;
  box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.sub-nav-link:hover {
  opacity: 0.7;
  transition: 0.5s;
}

.sub-nav-link-text {
  display: block;
}

.sub-nav-link:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 28px;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 2px solid #383838;
  border-right: 2px solid #383838;
  transform: rotate(45deg);
  box-sizing: border-box;
}

/* SP-menu */
.menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: #fff;
  padding: 48px;
  box-sizing: border-box;
  z-index: 400;
  -webkit-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.open {
  overflow: hidden;
}

.menu.open {
  -webkit-transform: translate3d(-300px, 0, 0);
  transform: translate3d(-300px, 0, 0);
}

.hamburger {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  height: 32px;
  cursor: pointer;
  z-index: 20;
}

.hamburger>div {
  position: relative;
  width: 32px;
}

.hamburger span {
  width: 100%;
  height: 2px;
  left: 0;
  display: block;
  background: #033560;
  position: absolute;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 11px;
}

.hamburger span:nth-child(3) {
  top: 22px;
}

.hamburger.active span:nth-child(1) {
  top: 11px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  width: 0;
  left: 50%;
}

.hamburger.active span:nth-child(3) {
  top: 11px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.page-menu {
  width: 100%;
  display: none;
  margin-bottom: 24px;
}

.page-menu .accordion {
  padding: 16px 24px;
  border-radius: 16px 16px 0px 0px;
  background: #ececec;
  box-shadow: none;
}

.page-menu .one {
  border-radius: 16px 16px 16px 16px;
  margin-bottom: 16px;
}

.page-menu .accordion li {
  padding: 4px 0px;
}

.page-menu .none-accordion {
  background: #ececec;
  padding: 16px 24px 16px;
  margin-bottom: 16px;
  border-radius: 0px 0px 16px 16px;
  font-weight: 700;
  display: block;
}

.page-menu .secondary-nav {
  margin-top: 0px;
  display: flex;
  gap: 0px 8px;
}

.page-menu .secondary-nav p {
  margin-bottom: 0px !important;
}

.page-menu .secondary-nav-item {
  height: auto;
  margin: 0 auto 0;
}

.page-menu .secondary-nav-item-text .material-icons {
  font-size: 2.4rem;
  padding-right: 4px;
}

.sidebar-info {
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 32px 0 32px;
}

.sidebar-info dt {
  font-weight: 700;
  display: flex;
  align-items: center;
}

.sidebar-info dd {
  margin-bottom: 8px;
  padding-left: 24px;
}

.sidebar-info dt .material-icons {
  font-size: 1.6rem;
  padding-right: 8px;
}

/* table */
.table-area {
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.scrolltable {
  height: 530px;
  overflow-y: auto;
}

.scrolltable thead {
  position: sticky;
  top: 0;
}

table {
  width: 100%;
  font-size: 1.5rem;
  letter-spacing: 0px;
  border-collapse: separate;
  border-spacing: 0;
  border: 0.5px solid #ececec;
  border-radius: 8px;
  margin-bottom: 8px;
  contain: paint;
  /* overflow: hidden; */
}

table.sp-table {
  min-width: 600px;
}

table a {
  text-decoration: underline;
}

th,
td {
  line-height: 1.5;
  height: 48px;
  min-height: 48px;
}

th {
  font-weight: 700;
  padding: 8px 24px;
  text-align: left;
  background: #add8e6;
  white-space: nowrap;
}

td {
  padding: 8px 16px;
  word-break: break-all;
  background: #fff;
}

table thead th,
table tbody th,
table tbody td {
  border-bottom: 0.5px solid #ececec;
}

table thead th+th,
table tbody td {
  border-left: 0.5px solid #ececec;
}

table tbody tr:last-child th,
table tbody tr:last-child td {
  border-bottom: none;
}

th span {
  margin-left: 5px;
}

td span {
  display: inline-block;
  vertical-align: middle;
}

table tbody tr:nth-child(even) td {
  background: #f9f9f9;
}

td label~span {
  margin-left: 7px;
  padding-top: 3px;
}

th.tw20,
td.tw20 {
  width: 20%;
}

th.tw30,
td.tw30 {
  width: 30%;
}

th.tw50,
td.tw50 {
  width: 50%;
}

th span {
  margin-left: 5px
}

td span {
  display: inline-block;
  vertical-align: middle
}

td label~span {
  margin-left: 7px;
  padding-top: 3px
}

table.unclasp {
  border: none;
  color: #888;
  margin: 0px 0px 24px !important;
}

table.unclasp th {
  background: none;
  font-weight: normal;
  padding: 0px 24px;
  height: auto;
}

table.unclasp td {
  border: none;
  padding: 0px 16px;
  height: auto;
}

.error {
  color: #ff5055;
  font-weight: 700;
}

.text-right {
  text-align: right
}

.no_wrap {
  white-space: nowrap;
}

/* graph */
#results-list #main .inner {
  padding: 64px 64px;
  background-image: none;
}

#results-list #main {
  padding: 0 0 0;
  position: relative;
}

#results-list .table-area {
  margin-bottom: 0px;
}

#performanceDate {
  text-align: right;
  font-weight: 700;
  margin-bottom: 0px;
}

#performanceDate p {
  font-size: 1.4rem;
}

.table_title {
  border-bottom: 1px solid #DDDDDD;
}

.unit {
  font-size: 1.4rem !important;
  text-align: right;
  margin-bottom: 0px !important;
}

.nkh {
  text-align: right;
  margin-bottom: 0px;
}

#temoCash,
#temoStock,
#temounclasp {
  display: flex;
  justify-content: flex-end;
}

#temoCash table,
#temoStock table,
#temounclasp table {
  width: 335px;
  margin: 8px 0;
}

.mb24 {
  margin-bottom: 24px;
}

.pt16 {
  padding-top: 16px;
  display: block;
}

.pt24 {
  padding-top: 24px;
  display: block;
}

/* login */
#one-column #main .inner {
  padding: 64px 64px;
  background-image: none;
}

#one-column #main {
  padding: 0 0 0;
  position: relative;
}

.input-area {
  max-width: 480px;
  margin: 40px auto 40px;
}

.error-message {
  margin-bottom: 24px;
  color: #ff5055;
}

.error-message p {
  display: flex;
  align-items: center;
}

.error-message p .material-icons {
  padding-right: 8px;
}

label.inquiry-label {
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.inquiry-input-wrapper {
  position: relative;
  margin-bottom: 32px;
}

/* 直後にエラーメッセージを配置する場合には, マージンを 0 にする. */
.inquiry-input-wrapper:has(+ .error-message) {
  margin-bottom: 0;
}

input.inquiry-input {
  width: 100%;
  border: solid 1px #ccc;
  border-radius: 4px;
  padding: 8px;
  color: #000;
  background-color: white;
}

label.inquiry-label span {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
  background-color: #ff5055;
  border-radius: 10px;
  padding: 4px 8px;
  margin-left: 8px;
  display: inline;
}

.inquiry-select-wrapper {
  position: relative;
  margin-bottom: 32px;
}

/* 直後にエラーメッセージを配置する場合には, マージンを 0 にする. */
.inquiry-select-wrapper:has(+ .error-message) {
  margin-bottom: 0;
}

.inquiry-description {
  font-size: 1.3rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 24px;
  padding: 12px 16px;
  background-color: #f8f9fa;
  border-left: 4px solid #999;
  border-radius: 4px;
}

.applicant-id-display {
  text-align: center;
  margin: 32px auto 24px;
}

.applicant-id-display p {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 0;
}

.applicant-id-display strong {
  color: #20222c;
  font-weight: 700;
}

select {
  -webkit-appearance: none;
  appearance: none;
  border: solid 1px #ccc;
  border-radius: 4px;
  padding: 8px;
  position: relative;
  color: #000;
  background-color: white;
}

select.inquiry-select {
  width: 100%;
}

/* プレースホルダー状態 - 薄い色 */
select.inquiry-select.placeholder {
  color: #888;
}

/* 選択状態 - 濃い色 */
select.inquiry-select:not(.placeholder) {
  color: #000;
}

.inquiry-select-wrapper::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0, -30%);
  border: 7px solid transparent;
  border-top: 10px solid #20222c;
  z-index: 1;
}

.privacy {
  text-align: center;
}

.privacy-check {
  display: flex;
  /* align-items: baseline; */
  align-items: center;
  text-align: left;
  line-height: 1.5;
  max-width: 480px;
}

.privacy-check input {
  margin-top: 0px;
  margin-right: 14px;
  flex-shrink: 0;
}

.terms-container {
  margin-top: 20px;
  margin-bottom: 30px;
}

.terms-box {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.terms-content {
  max-height: 300px;
  overflow-y: auto;
  padding: 20px 24px;
  text-align: left;
  line-height: 1.6;
}

.terms-content::-webkit-scrollbar {
  width: 8px;
}

.terms-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.terms-content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.terms-content::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.terms-content h5 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #20222c;
  margin: 24px 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e9ecef;
}

.terms-content h5:first-child {
  margin-top: 0;
}

.terms-content p {
  margin-bottom: 12px;
  font-size: 1.3rem !important;
  color: #333;
}

.terms-content ul {
  margin: 8px 0 16px 20px;
  padding: 0;
}

.terms-content li {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 6px;
  list-style-type: disc;
}

p.form-reset {
  text-align: right;
  font-size: 1.4rem !important;
  text-decoration: underline;
}

.demo1 .tg-dialog-footer {
  display: none !important;
}

.sp-br {
  display: none;
}

a[href*=".pdf"]::after {
  content: '';
  margin-left: 8px;
  width: 24px;
  height: 24px;
  background: no-repeat center url(../img/common/icon-pdf.svg);
}

a[href*=".xls"]::after {
  content: '';
  margin-left: 8px;
  width: 24px;
  height: 24px;
  background: no-repeat center url(../img/common/icon-xls.svg);
}

/* バリデーションエラー時のスタイル */

/* 入力フィールドのエラー表示（赤いボーダー + 薄い赤背景） */
.is-invalid {
  border: 2px solid #dc2626 !important;
  background-color: #fef2f2 !important;
}

/* テーブル行のエラー表示（薄い赤背景） */
.table-danger {
  background-color: #fee2e2 !important;
}

/* フォーカス時もエラー状態を維持 */
.is-invalid:focus {
  border-color: #dc2626 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

@media screen and (max-width: 1200px) {
  .wrap {
    padding: 64px calc(40vw / 12.0) 64px;
    max-width: 1200px;
    margin: 0 0 64px calc(120vw / 12.0);
  }

  .wrap:nth-child(even) {
    margin: 0 calc(120vw / 12.0) 0 0;
  }

  #footer .footer-logo img {
    margin: 0 auto;
  }

  #footer .footer-logo {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 900px) {

  #one-column #global-head,
  #top #global-head {
    display: block;
  }

  #top #main {
    padding-top: 64px;
  }

  #main {
    padding-top: 72px;
    padding-left: 0;
  }

  #one-column #main {
    padding-top: 72px;
    position: relative;
  }

  #main-visual {
    margin: 0px auto 0px;
    padding: 48px 24px;
  }

  #main-visual .copy p {
    margin-bottom: 24px;
  }

  #main-visual .copy p span {
    font-size: 2.8rem;
  }

  .section {
    padding: 80px 0;
  }

  #results-list #main .inner,
  #main .inner {
    padding: 48px 40px;
  }

  .row {
    margin-bottom: 40px;
  }

  .wrap {
    padding: 40px 40px 0px;
    margin: 0 0 80px 24px;
  }

  .wrap:nth-child(even) {
    padding: 40px 40px 0px;
    margin: 0 24px 0 0;
  }

  .what-box h2 {
    font-size: 2.4rem;
    margin: 0 0 24px;
  }

  h2.c-heading {
    font-size: 2.4rem;
    margin: 0 0 64px;
  }

  h3 {
    font-size: 2.4rem;
  }

  h4 {
    font-size: 1.8rem;
    padding: 0 0 16px;
  }

  .page-head .ttl .text-en {
    font-size: 4.8rem;
  }

  .news-list dl {
    display: block;
  }

  .related {
    justify-content: start;
  }

  .related-item {
    max-width: calc(50% - 16px);
  }

  .accordion {
    padding: 16px 32px 16px;
  }

  .accordion summary {
    font-size: 1.6rem;
  }

  .page-menu .accordion summary {
    font-size: 1.5rem;
  }

  .accordion[open] summary {
    padding: 0 0 4px;
    margin: 0 0 8px;
  }

  .page-head .ttl .text-jp {
    font-size: 2.0rem;
  }

  .accordion .accordion-item {
    padding: 16px 32px 16px;
  }

  .accordion summary span {
    font-size: 1.8rem;
    padding-right: 8px;
  }

  .button-box {
    padding: 24px 0 0;
  }

  .hamburger {
    display: block;
  }

  .pc-logo {
    width: 140px;
    margin: 0 0 0px;
  }

  .hamburger {
    display: block;
  }

  #global-head {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, .8);
    display: -webkit-flex;
    display: flex;
  }

  #sidebar {
    display: none;
  }

  .page-head-nav {
    display: none;
  }

  #one-column .pc-logo,
  .pc-logo {
    margin: 0px;
  }

  .info-date {
    display: block;
  }

  .info-date dd {
    margin-right: 0px;
  }

  .page-menu {
    display: block;
  }

  .what-box {
    width: 100%;
  }

  .wrap img {
    width: 50%;
  }

  .button-text {
    padding: 0 0;
    font-size: 1.4rem;
  }

  .button-wrapper {
    margin-top: 32px;
    gap: 16px 16px;
  }
}

@media screen and (max-width: 599px) {
  body {
    font-size: 1.5rem;
  }

  #top .pc-logo {
    margin: 0 0 0 10px;
  }

  .pc-logo {
    width: 120px;
    margin: 0 0 8px;
  }

  #main-visual {
    display: block;
    padding: 32px 24px;
  }

  #main-visual .copy {
    width: 100%;
  }

  #main-visual img {
    width: 100%;
    margin-top: 32px;
  }

  #main-visual .copy p {
    margin-bottom: 16px;
  }

  #main-visual .mv-button {
    margin-top: 32px;
    justify-content: center;
  }

  #main-visual .fluid-anim {
    width: 65%;
  }

  .section {
    padding: 40px 0;
  }

  #one-column #main .inner,
  #results-list #main .inner,
  #main .inner {
    padding: 24px 16px;
  }

  #main .inner .row {
    padding: 24px 16px;
    margin-bottom: 32px;
    border-radius: 16px;
  }

  #main p {
    line-height: 1.85;
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  #main ol li {
    margin-bottom: 1em;
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .wrap {
    padding: 32px 24px 0px;
    margin: 0 0 64px 16px;
  }

  .wrap:nth-child(even) {
    padding: 32px 24px 0px;
    margin: 0 16px 0 0;
  }

  .wrap img {
    width: 60%;
  }

  .row {
    margin-bottom: 32px;
  }

  .accordion summary::after {
    width: 14px;
    height: 14px;
    padding-left: 10px;
  }

  .related {
    gap: 16px 16px;
  }

  .related-item {
    max-width: calc(50% - 8px);
  }

  .prelated-cate {
    font-size: 1.2rem;
    margin: 8px 0 4px;
  }

  .related-ttl {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 2.4rem;
  }

  .page-head-nav {
    display: none;
  }

  .page-inner {
    margin: 32px 0 16px;
    padding: 0 40px;
  }

  .page-head .ttl .text-en {
    font-size: 4.0rem;
  }

  .page-head .ttl .text-jp {
    font-size: 1.8rem;
  }

  .page-link-item {
    width: 100%;
  }

  .button-wrapper {
    display: flex;
    justify-content: center;
    gap: 16px 16px;
    margin-top: 16px;
    flex-wrap: wrap;
  }

  .icon-button {
    margin: 0 auto;
  }

  .inquiry-input-wrapper {
    margin-bottom: 24px;
  }

  .sp-br {
    display: block;
  }
}

@media screen and (max-width: 400px) {}

@media screen and (max-width: 660px) {}

@media screen and (max-width: 768px) {}

@media only screen and (min-width: 601px) {}

@media only screen and (min-width: 993px) {}