@charset "UTF-8";

/*== Jost ==*/
/*Regular*/
@font-face {
font-family: "Jost";
font-display: swap;
src:
url("../fonts/Jost-Regular.woff2") format("woff2"),
url("../fonts/Jost-Regular.ttf") format("ttf");
font-weight: 400;
font-style: normal;
}

/*Medium*/
@font-face {
font-family: "Jost";
font-display: swap;
src:
url("../fonts/Jost-Medium.woff2") format("woff2"),
url("../fonts/Jost-Medium.ttf") format("ttf");
font-weight: 500;
font-style: normal;
}


/*==Noto Sans JP==*/
/*Midium*/
@font-face {
font-family: 'Noto Sans JP';
font-display: swap;
src:
url("../fonts/NotoSansJP-Medium.woff2") format("woff2"),
url("../fonts/NotoSansJP-Medium.ttf") format("ttf");
font-weight: 500;
font-style: normal;
}

/*Bold*/
@font-face {
font-family: 'Noto Sans JP';
font-display: swap;
src:
url("../fonts/NotoSansJP-Bold.woff2") format("woff2"),
url("/fonts/NotoSansJP-Bold.ttf") format("ttf");
font-weight: 700;
font-style: normal;
}

.num,
[data-num] {
  font-family: "Jost","Noto Sans JP","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: proportional-nums;
}

/*--------------------------------
  共通スタイル設定
--------------------------------*/
* {
  box-sizing: border-box;
}

body {
  font-family: "Jost","Noto Sans JP","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: #333333;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #F8FAFC;
  color: #333;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
}

.no-scroll{
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fontL{
  font-size: 2.0em;
  line-height: 1;
}

@media (min-width: 769px) {
  .fontL{
  font-size: 3.5em;
  }
}

/*--------------------------------
  ヘッダー・ナビゲーション
--------------------------------*/
header {
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #0068B7, #005fa8);
  z-index: 1000;
  bottom: 0;
}

@media (min-width: 769px) {
  header {
    position: fixed;
    width: 200px;
    height: 100vh;
    padding: 0;
    border-right: 1px solid #E2E2E2;
  }
}

@media (max-width: 768px) {
  header {
    position: sticky;
    width: 100%;
    height: 50px;
    background:#fff;
  }

  header .header_inner{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    padding-left: 5px;
    position: relative;
    z-index: 1000;
  }
}

body.logout {
}

/* ブランドロゴ */
.header-brand {
  font-size: 1.25rem;
  height: 4.5rem;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #FFFFFF;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}

.header-brand img {
  height: auto;
  width: 100%;
}


@media (max-width: 768px) {
  .header-brand {
    padding: 0;
    height: 100%;
    border-bottom: none;
    font-size: 1.125rem;
  }

  .header-brand img {
  height: 100%;
  width: auto;
  }
}

/*--------------------------------
ハンバーガーメニュー
--------------------------------*/
header .header_inner label {
  margin-left: auto;
  width: 50px;
  height: 50px;
  background-color: #0068B7;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center; }
  @media print, screen and (min-width: 769px) {
    header .header_inner label {
      display: none; } }
  header .header_inner label input:checked + b span:nth-of-type(1) {
    top: 2px;
    transform: translateY(6px) rotate(-45deg); }
  header .header_inner label input:checked + b span:nth-of-type(2) {
    opacity: 0; }
  header .header_inner label input:checked + b span:nth-of-type(3) {

    transform: translateY(-6px) rotate(45deg); }
  header .header_inner label b {
    display: block;
    position: relative;
    width: 22px;
    height: 16px;
}
  header .header_inner label span {
    position: absolute;
    background-color: #fff;
    transition: ease .3s;
    height: 2px;
    width: 100%;
    display: block; }
    header .header_inner label span:nth-of-type(1) {
      top: 0; }
    header .header_inner label span:nth-of-type(2) {
      top: 0;
      bottom: 0;
      margin: auto; }
    header .header_inner label span:nth-of-type(3) {
      bottom: 0; }

header input[type="checkbox"]{
  display: none;
}


/* ナビゲーションメニュー */
.nav-menu {
    overflow-y: auto;
    background: #fff;
}

@media (min-width: 769px) {
  .nav-menu {
    background: linear-gradient(135deg, #0068B7, #005fa8);
    height: calc(100vh - 5.75rem);
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-flex-direction: column;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 50px;
    right: 0;
    width: 100%;
    height: calc(100vh - 50px);
    transform: translateX(+100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 999;
  }

  .no-scroll .nav-menu {
    transform: translateX(+0%);
  }
}

/* メニューアイテム */
.nav-menu ul {
  width: 100%;
  padding: 0;
  margin: 0;
}

.nav-item {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-item > a,
.nav-item > label {
  display: flex;
  position: relative;
  font-size: 1.15em;
  align-items: center;
  padding: 1.1rem 1.24rem;
  font-weight: 500;
  transition: all 0.2s ease;
  font-weight: bold;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-item > a,
  .nav-item > label {
    font-size: 1.125em;
    border-top:1px solid #c1c1c1;
    padding: 1rem 15px;
  }

  .nav-item:first-child a{
    border-top: none;
  }
}

@media (min-width: 769px) {
  .nav-item > a,
  .nav-item > label {
    color: #FFFFFF;
    }
}

@media (min-width: 769px) {
  .nav-item > label:hover,
  .nav-item > label.active,
  .nav-item > a:hover,
  .nav-item > a.active {
    background:#00467C;

  }
}

.nav-item svg {
  margin-right: 0.25rem;
  width: 1.25em;
}

/* サブメニュー */
.nav-item .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
  padding-bottom: 0;
}

.nav-item.has-submenu > label::after,
.nav-item.has-submenu > a::after {
  content: "";
  opacity: 1;
  position: absolute;
  vertical-align: middle;
  top: 1.45em;
  right: 1.1em;
  margin: auto;
  border-top: 0.125em solid #333;
  border-right: 0.125em solid #333;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  -webkit-transition: 0.3s all linear;
  transition: 0.3s all linear;
  width: 0.5em;
  height: 0.5em;
}

@media (min-width: 769px) {
  .nav-item.has-submenu > label::after,
  .nav-item.has-submenu > a::after {
  border-top-color:#fff;
  border-right-color: #fff;
  }
}

.nav-item input[type="checkbox"]:checked + label::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.nav-item input[type="checkbox"]:checked + label + .submenu {
  padding-bottom: 1.45em;
  max-height: 400px;
}

@media (min-width: 769px) {
  .nav-item input[type="checkbox"]:checked + label + .submenu {
    padding-bottom: 1.45em;
  }
}

.submenu li a,
.submenu li span {
  display: block;
  font-weight: bold;
  padding:0.4rem 1.24rem 0.4rem 2.75rem;
  transition: all 0.2s ease;
}

@media (min-width: 769px) {
.submenu li a,
.submenu li span {
  color: #ffffff;
  padding:0.3rem 1.24rem 0.3rem 2.75rem;
}
}


.submenu li:not(:last-child) ul {
  padding-bottom: 1.5em;
}

.submenu li ul li a,
.submenu li ul li span {
  padding-left: 4.5em;
}

.submenu li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.submenu li label:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

/*--------------------------------
ユーザー情報
--------------------------------*/
header .user-section {
  margin-top: auto;
  margin-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2em 1em;
  width: 100%;
  color: #ffffff;
}

@media (max-width: 768px) {
  header .user-section {
    border-top:1px solid #c1c1c1;
    padding: 1.1rem 15px;
    margin-top: 0;
    color: #333333;
  }
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding-bottom: 1.5em;
}

.user-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-color: #ddd;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NCA2NCI+PGcgZmlsbD0iIzc3NyI+PGNpcmNsZSBjeD0iMzIiIGN5PSIyMCIgcj0iMTIiLz48cGF0aCBkPSJNMzIgMzZjLTggMC0xNCA0LTE2IDEybC0yIDE2aDM2bC0yLTE2Yy0yLTgtOC0xMi0xNi0xMnoiLz48L2c+PC9zdmc+');
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.user-name {
  font-weight: bold;
}

.user-company {
  font-size: 0.9em;
  opacity: 0.7;
}

@media (min-width: 769px) {
  .user-details {
    flex-grow: 1;
  }
  header .user-name {
  font-size: 0.75rem;
  }

  header .user-company {
  font-size: 0.7rem;
  }
}

/*--------------------------------
 ログアウトボタン
--------------------------------*/
.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.6em 0.6em;
  background: transparent;
  background-color: #fff;
  color: #333;
  margin-top: 0;
  border-radius: 0.25em;
  font-size: 1.15em;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
  border:1px solid #333333;
}

@media (min-width: 769px) {
  .logout-btn {
      border-color: transparent;
  }

  .logout-btn:hover {
    background-color:#00467C;
    border-color: #fff;
    color: #fff;
  }
}

.logout-btn svg {
  width: 1em;
  margin-right: 0.25em;
}


/*--------------------------------
  閉じるボタン（スマホのみ）
--------------------------------*/
.close-btn {
  border-top: 1px solid #c1c1c1;
  display: block;
  width: 100%;
  padding: 1em;
  text-align: center;
}

.close-btn svg {
  width: 1em;
  margin-right: 0.25em;
  opacity: 0.9;
}


@media (min-width: 769px) {
  .close-btn {
    display: none;
  }
}


/*--------------------------------
  パンくずナビゲーション
--------------------------------*/
.breadcrumb {
  margin-bottom: 20px;
}

.breadcrumb li{
  position: relative;
  display: inline-block;
  font-size: 0.93em;
  width: fit-content;
  text-decoration: none;
}

.breadcrumb li + li{
  padding-left: 1em;
}

.breadcrumb li + li::before{
    position: absolute;
    content: "";
    opacity: 1;
    vertical-align: middle;
    top: 0;
    bottom: 0;
    left: 0.15em;
    margin: auto;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: 0.3s all linear;
    transition: 0.3s all linear;
    width: 0.4em;
    height: 0.4em;
}

.breadcrumb li a{
  display: flex;
  align-items: center;
}

.breadcrumb li:first-child a{
  position: relative;
  padding-left: 1.25em;
}


@media (max-width: 768px) {
  .breadcrumb {
    margin-bottom: 10px;
  }

  .breadcrumb li {
      font-size:0.85em;
  }
}

.breadcrumb-item svg{
  position: absolute;
  left: 0;
  width: 1em;
  height: auto;
}

.breadcrumb li a:hover {
  color: #2563EB;
}

/*--------------------------------
  セクション
--------------------------------*/
.wrapper{
  max-width: 1180px;
}


/*------------------------------------------------
main
-------------------------------------------------*/
main {
  background-color: #F5F7FA;
  padding: 15px;
  padding-bottom: 4em;
  flex: 1;
}

@media (min-width: 769px) {
  main {
    padding: 2.15em;
    margin-left: 200px;
    padding-bottom: 6em;
  }
}


/*------------------------------------------------
footer
-------------------------------------------------*/
footer {
  margin-top: auto;
  margin-bottom: 0;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 769px) {
  footer {
    padding: 1em 2.15em;
    margin-left: 200px;
  }
}

footer ul {
  display: flex;
  gap: 0;
}

footer ul li {
  border-right: 1px solid #666;
  padding: 0 1em;
}

footer ul li:last-child {
  border-right: none;
  padding-right: 0;
}

footer ul li:first-child {
  padding-left: 0;
}

footer ul li a {
  color: #333;
  text-decoration: none;
  font-size: 0.85em;
  display: block;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  line-height: 1;
}

footer ul li a:hover {
  color: #0068B7;
  text-decoration: underline;
}

footer small {
  color: #666;
  font-size: 0.85em;
}

/*------------------------------------------------
section
-------------------------------------------------*/
section,.section {
  background: #fff;
  padding: 2.15em;
  border-radius: 10px;
  margin-bottom: 2.15em;
}

section[class*="clmn"] {
  background: transparent;
  padding: 0;
  border-radius: 0;
  width: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 2.15em;
  gap: 2.15em;
}

[class*="clmn"] .section {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  section,.section {
    padding: 1.5em 1em;
    margin-bottom: 1.5em;
  }

  section[class*="clmn"] {
    margin-bottom: 1.5em;
    gap: 1.5em;
  }
}

@media (min-width: 769px) {
  section.clmn2 > *{
    width: calc((100% - 2.15em) / 2);
  }

  section.clmn3 > *{
    width: calc((100% - 2.15em * 2) / 3);
  }

  section.clmn4 > *{
    width: calc((100% - 2.15em * 3) / 4);
  }

  section[class*="clmn"] > .button{
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  section.clmn2 > * {
    width: 100%;
  }

  section.clmn4 > *,
  section.clmn3 > *{
    width: calc((100% - 1.5em) / 2);
  }
}

@media (max-width: 1400px) and (min-width: 769px) {
  section.clmn4,
  section.clmn3 {
    gap: 2.15em;
  }

  section.clmn4 > *,
  section.clmn3 > *{
    width: calc((100% - 2.15em) / 2);
    margin-bottom: 0;
  }
}

section p {
  font-size: 16px;
}

section p + canvas {
  margin-top: 2em;
}

canvas {
  display: block;
  height: 100%!important;
  width: 100%;
  margin-top: 0;
}

/*--------------------------------
  セクションヘッダー
--------------------------------*/
section h2:not(.section-title),
.section h2:not(.section-title){
  color: #0068B7;
  border: #0068B7 2px solid;
  width: fit-content;
  font-weight: bold;
  padding: 0.15em 0.25em;
  border-radius: 4px;
  font-size: 20px;
  margin-bottom: 0.5em;
}

h1 + h2:not(.section-title),
h1 + h2:not(.section-title){
  font-size: 1.15em;
  margin-top: 0.5em;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 1.43em;
}

@media (max-width: 768px) {
  .section-header {
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }
}

.section-title {
  font-weight: bold;
  font-size: 1.43em;
  font-weight: 600;
  padding: 0.25em 0.25em 0.25em 0.5em;
  border-left: solid #0068B7 7px;
}

.more-link {
  position: relative;
  font-size: 0.93em;
  padding: 0.15em 0.5em;
  padding-right: 1.25em;
  text-decoration: none;
  border: 1px solid #333333;
  border-radius: 1em;
}

@media (min-width: 769px) {
  .more-link:hover{
    opacity: 0.7;
  }
}

.more-link:after {
    position: absolute;
    content: "";
    opacity: 1;
    vertical-align: middle;
    top: 0;
    bottom: 0;
    right: 0.65em;
    margin: auto;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: 0.3s all linear;
    transition: 0.3s all linear;
    width: 0.4em;
    height: 0.4em;
}

@media (max-width: 768px) {
  .section-title {
  font-size: 1.25em;
  padding: 0 0.25em 0 0.5em;
  }

  .more-link {
    font-size: 0.85em;
  }

}


/**/
label.hyouzi {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  cursor: pointer;
  z-index: 10000;
}

input[type="checkbox"]{
  display: block;
  scale: calc(2);
}

label.hyouzi::before,
label.hyouzi::after {
  background-color: #ddd;
  border-radius: 50%;
  transition: 0.3s;
  transform: translateY(-50%);
  top: 50%;
  left: 0px;
}


label.hyouzi::before {
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
  height: 20px;
  width: 40px;
  left: 5px;
}

label.hyouzi::after {
  background-color: #ddd;
  border-radius: 50%;
  opacity: 1;
  height: 22px;
  width: 22px;
  left: 0px;
}

input:checked + label.hyouzi::before {
  background-color: #73e600;
}

input:checked + label.hyouzi::after {
  left: 27px;
}

/*--------------------------------------
ボタン
--------------------------------------*/
button,
.button {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  width: 100%;
  font-size: 1.3em;
  margin-top: 1em;
  text-align: center;
  background-color:#0068B7;
  border-radius: 1.5em;
  font-weight: bold;
  color: #ffffff;
  padding: 0.55em 1em;
  text-decoration: none;
  transition: background 0.2s ease;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNTAyLjYgMjc4LjZjMTIuNS0xMi41IDEyLjUtMzIuOCAwLTQ1LjNsLTE2MC0xNjBjLTEyLjUtMTIuNS0zMi44LTEyLjUtNDUuMyAwcy0xMi41IDMyLjggMCA0NS4zTDQwMi43IDIyNCAzMiAyMjRjLTE3LjcgMC0zMiAxNC4zLTMyIDMyczE0LjMgMzIgMzIgMzJsMzcwLjcgMC0xMDUuNCAxMDUuNGMtMTIuNSAxMi41LTEyLjUgMzIuOCAwIDQ1LjNzMzIuOCAxMi41IDQ1LjMgMGwxNjAtMTYweiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==');
  background-repeat: no-repeat;
  background-size: 0.75em auto;
  background-position: center right 1em;
}

button:hover,
.button:hover {
  background-color: #00467C;
}

button.is-disabled,
.button.is-disabled {
    background-color: #cccccc;
    color: #888888;
    opacity: 0.6;
    pointer-events: none;
    cursor: not-allowed;
    background-image: none;
}

button:disabled:hover,
.button.is-disabled:hover {
    background-color: #cccccc;
}

@media (max-width: 768px) {
  button,
  .button {
    font-size: 1.125em;
    background-size: 0.75em auto;
  }
}

button.square,
.button.square{
    border-radius: 10px;
}

section.clmn2 > button,
section.clmn2 > .button{
  margin-top: 0;
}

button svg,
.button svg {
  width: 1.1em;
  height: auto;
  margin-right: 0.25em;
}

button.cancel,
button.button.cancel,
a.button.cancel{
  font-size: 14px;
  width: 200px;
  background-color  : #FFFFFF;
  border: 1px solid #999999;
  color: #5c5c5c;
  padding: 0.25em 1em;
}

@media (min-width: 769px) {
  button.cancel,
  button.button.cancel,
  a.button.cancel{
    padding: 0.55em 1em;
  }
}

button.cancel svg,
a.button.cancel svg{
  width: 0.85em;
}

button.answer,
a.button.answer{
  font-size: 18px;
  width: 330px;
  border: 2px solid #ffffff;
  padding: 0.3em 1em;
}

@media (min-width: 769px) {
  button.answer,
  a.button.answer{
    padding: 0.55em 1em;
  }

  button.answer:hover,
  a.button.answer:hover {
    background-color: #00467C;
  }

}

@media (max-width: 768px) {
  button.answer,
  a.button.answer{
    font-size: 1.125em;
    background-size: 0.75em auto;
  }
}

/*------------------------------------------------
floatBtn
-------------------------------------------------*/
.floatBtn {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.5em 1em;
  background: rgba(51, 51, 51, 0.8);
  gap: 1em;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  z-index:999;
  line-height: 1.25;
}

@media (min-width: 769px) {
  .floatBtn {
    padding: 1em;
    padding-left: calc(200px + 1em);
  }
}

.floatBtn .button,
.floatBtn button {
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  margin-top: 0;
}

/*------------------------------------------------
結果ポイント表示
-------------------------------------------------*/
.result-point {
  margin: 0;
  text-align: center;
  font-weight: bold;
}

.result-point dt {
  font-size: 20px;
  color: #333;
  margin-bottom: 0.25em;
  line-height: 1.4;
}

.result-point dd {
  margin: 0;
  line-height: 1;
}

.result-point .num,
.result-point [data-num] {
  font-size: clamp(2.15em, 6.5vw, 4.5em);
  margin-right: 0.05em;
  color: #333;
  line-height: 1;
}

.result-point small,
.result-point small .num,
.result-point small [data-num] {
  font-size: 19px;
}

@media (max-width: 768px) {
  .result-point dt {
    font-size: 16px;
  }

  .result-point small {
    font-size: 1em;
  }
}

/*-------------------------------------------------------
エラーページ
-------------------------------------------------------*/
.error-container {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}
.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    color: #FF6B6B;
}
.error-title {
    font-size: 32px;
    color: #333;
    margin: 20px 0;
    font-weight: bold;
}

.error-message {
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  padding: 0.5em;
  padding-left: 2.25em;
  gap: 8px;
  color: #DC2626;
  margin-bottom: 0;
  margin-top: 0;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBmaWxsPSIjREMyNjI2Ij4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yNTYgMzJjMTQuMiAwIDI3LjMgNy41IDM0LjUgMTkuOGwyMTYgMzY4YzcuMyAxMi40IDcuMyAyNy43IC4yIDQwLjFTNDg2LjMgNDgwIDQ3MiA0ODBINDBjLTE0LjMgMC0yNy42LTcuNy0zNC43LTIwLjFzLTctMjcuOCAuMi00MC4xbDIxNi0zNjhDMjI4LjcgMzkuNSAyNDEuOCAzMiAyNTYgMzJ6bTAgMTI4Yy0xMy4zIDAtMjQgMTAuNy0yNCAyNFYyOTZjMCAxMy4zIDEwLjcgMjQgMjQgMjRzMjQtMTAuNyAyNC0yNFYxODRjMC0xMy4zLTEwLjctMjQtMjQtMjR6bTMyIDIyNGEzMiAzMiAwIDEgMCAtNjQgMCAzMiAzMiAwIDEgMCA2NCAweiI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICA8L3N2Zz4=');
  background-size: 1.25em auto;
  background-repeat: no-repeat;
  background-position: left 0.6em top 0.5em;
}

fieldset .error-message {
  margin-bottom: 1.25em;
}

/*-------------------------------------------------------
フラッシュメッセージ
-------------------------------------------------------*/
/* 共通 */
.message {
    margin: 1em 0;
    padding: 0.9em 1.2em;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
    border: 1px solid transparent;
    animation: flash-message 4s ease forwards;
}

/* 成功 */
.message.success {
    background-color: #e6f4ea;
    color: #1e7e34;
    border-color: #b7e1c1;
}

/* エラー */
.message.error {
    background-color: #fdecea;
    color: #b02a37;
    border-color: #f5c2c7;
}

/* 警告 */
.message.warning {
    background-color: #fff4e5;
    color: #8a6d3b;
    border-color: #ffddb3;
}

/* 情報 */
.message.info {
    background-color: #e7f3fe;
    color: #084298;
    border-color: #b6d4fe;
}

.flash-container {
    position: fixed;
    top: 1em;
    right: 1em;
    width: 320px;
    z-index: 1000;
}

.flash-container.message {
    margin-bottom: 0.8em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

@keyframes flash-message {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    80% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
    }
}

/*--------------------------------
  モーダル共通
--------------------------------*/
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.modal-content {
  background: #fff;
  border-radius: 10px;
  width: 90%;
  max-width: 450px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10001;
}

.modal-header {
  padding: 1.5em 2em 0em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5em;
  font-weight: bold;
  color: #333;
  flex: 1;
  text-align: center;
}

.modal-close {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  color: #666;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-close:hover {
  background-color: #f5f5f5;
  color: #333;
}

.modal-close svg {
  width: 2.25em;
  height: 2.25em;
}

.modal-body {
  padding: 2em;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.form-group label {
  font-weight: bold;
  color: #333;
  cursor: inherit;
}

.form-group input {
  padding: 0.75em;
  border: 2px solid #E2E2E2;
  border-radius: 5px;
  font-size: 1em;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #0068B7;
}

.modal-overlay .form-actions {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 1em;
  }

  .modal-header {
    padding: 1.5em 1.5em 0em 1.5em;
  }

  .modal-body {
    padding: 1em 1.5em 1.5em 1.5em;
  }

  .modal-header h2 {
    font-size: 1.25em;
  }
}

/*--------------------------------
  ログイン モーダル
--------------------------------*/
#loginModalToggle:checked ~ .login.modal-overlay {
  display: flex;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.login-btn {
  border-radius: 5px;
}

.forgot-password {
  color: #0068B7;
  display: block;
  text-decoration: underline;
  width: fit-content;
  margin:0 auto;
}

.forgot-password:hover {
  text-decoration: underline;
}

/*--------------------------------
  ログアウト モーダル
--------------------------------*/
#logoutModalToggle:checked ~ .logout.modal-overlay {
  display: flex;
}

