@charset "UTF-8";
/*--------------------------------------*
 * foundation
 *--------------------------------------*/
:root {
  --color-primary: #0051A2; /* プライマリーカラー */
  --color-background: #ffffff; /* 背景色 */
  --color-muted-background: #cccccc; /* 背景色 */
  --color-primary-light-background: rgba(0, 81, 162, 0.1);
  --color-text: #333333; /* テキスト色 */
  --color-border: #cccccc; /* ボーダー色 */
  --color-form-border:#a5a5a5;
  --color-ebase-red:#f9090a;
  --color-link:#0088FF;
  --color-primary-background-text:#fff;
  --color-success:#2eae0c;
  --color-danger:#e5151f;
}

:root {
  --font-size-base: 16px; /* 基本フォントサイズ */
  --font-size-lg: 1.5rem; /* 大きなフォントサイズ */
  --font-size-sm: 0.875rem; /* 小さなフォントサイズ */
  --line-height-base: 1.5; /* 基本ラインハイト */
  --font-family-sans: "Noto Sans JP", "Helvetica Neue", Helvetica, Arial, sans-serif; /* サンセリフフォント */
  --font-family-serif: "Noto Serif JP", "Georgia", serif; /* セリフフォント */
  --font-family-num: "Roboto", sans-serif;
}

:root {
  --max-width: 800px; /* コンテンツの最大幅 */
  --gutter:10px;
  --transition: all var(--animation-duration) var(--animation-easing); /* トランジション */
}

/* モバイル用のブレイクポイント */
:root {
  --is-mobile: false;
}

@media (max-width: 767px) {
  :root {
    --is-mobile: true;
  }
}
:root {
  --box-shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1); /* 軽いシャドウ */
  --box-shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.2); /* 中程度のシャドウ */
  --box-shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.3); /* 重いシャドウ */
  --border-radius: 4px; /* ボーダー半径 */
}

:root {
  --animation-duration: 0.3s; /* アニメーションの持続時間 */
  --animation-easing: ease-in-out; /* アニメーションのイージング */
}

/* リセットスタイル */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
}

/* HTML5 セマンティック要素のスタイルリセット */
header, footer, section, article, nav, aside {
  display: block;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

/* 表のリセット */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

/* アンカーのスタイル調整 */
a {
  color: var(--color-link);
  text-decoration: none;
}

/* フォーム */
input, select, textarea {
  border: 2px solid var(--color-form-border);
  border-radius: var(--border-radius);
  color: var(--color-text);
  font-size: 1.2em;
  padding: 7px 9px;
}

textarea {
  resize: vertical;
}

/* その他 */
:focus {
  outline: none;
}

/*--------------------------------------*
 * foundation
 *--------------------------------------*/
/*--------------------------------------*
* layout
*--------------------------------------*/
.l-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.l-header {
  container-type: inline-size;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  /* ハンバーガーメニューアイコン */
}

.l-header__content {
  -moz-column-gap: 25px;
  align-items: center;
  background-color: #fff;
  border-bottom: 1px solid var(--color-border);
  column-gap: 25px;
  display: flex;
  justify-content: center;
  padding: var(--gutter) calc(var(--gutter) * 2);
}

@container style(--is-mobile: true) {
  .l-header__content {
    padding: var(--gutter);
  }
}
.l-header__content__logo {
  -o-object-fit: contain;
  align-items: center;
  display: flex;
  display: block;
  flex-shrink: 0;
  height: 100%;
  max-height: 80px;
  object-fit: contain;
  width: 100%;
}

.l-header__content__title-wrap {
  align-items: center;
  display: flex;
}

.l-header__nav-list {
  display: flex;
  gap: calc(var(--gutter) * 2);
}

.l-header__nav-list a {
  color: var(--color-text);
  font-weight: bold;
  text-decoration: none;
}

.l-header__nav-toggle {
  display: none;
  /* チェックボックスは非表示 */
}

.l-header__nav-toggle-icon {
  cursor: pointer;
  display: none;
  font-size: 24px;
  text-align: right;
  /* デフォルトでは非表示 */
}

@container style(--is-mobile: true) {
  .l-header {
    /* PC向けスタイル */
  }
  .l-header__nav-toggle-icon {
    display: block;
    margin: 0 10px 0 auto;
    text-align: right;
  }
  .l-header__nav-toggle-icon .fa-xmark {
    display: none;
    /* 初期状態で非表示 */
  }
  .l-header__nav-toggle:checked + .l-header__nav-toggle-icon .fa-bars {
    display: none;
  }
  .l-header__nav-toggle:checked + .l-header__nav-toggle-icon .fa-xmark {
    display: inline;
  }
  .l-header__nav-list {
    background-color: var(--color-primary);
    color: var(--color-primary-background-text);
    flex-direction: column;
    max-height: 0;
    opacity: 0;
    padding: var(--gutter);
    position: absolute;
    right: 0;
    top: 56px;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, visibility 0.3s;
    visibility: hidden;
    width: 100%;
    z-index: 1000;
  }
  .l-header__nav-list a {
    color: var(--color-primary-background-text);
  }
  .l-header__nav-toggle:checked ~ .l-header__content__nav .l-header__nav-list {
    max-height: 500px;
    /* 適切な最大高さを設定 */
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }
  .l-header__nav-list__item {
    /* アイテムを中央揃え */
    padding: 10px 0;
    text-align: center;
    /* アイテムにパディングを追加 */
  }
}
.l-main {
  container-type: inline-size;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}

section[id] {
  scroll-margin-top: 56px; /* 固定ヘッダーの高さと一致させる */
}

.l-footer {
  background-color: var(--color-muted-background);
}

.l-footer__content {
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  padding: var(--gutter) calc(var(--gutter) * 2);
}

/*--------------------------------------*
 * object
 *--------------------------------------*/
/*-------------------
 * component
 -------------------*/
.c-inner {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 20px 0;
  width: 100%;
}

@container style(--is-mobile: true) {
  .c-inner {
    padding: 20px 10px;
  }
}
@container (max-width: 767px) {
  .c-inner {
    padding: 20px 10px;
  }
}
.c-txt-e {
  color: var(--color-ebase-red);
}

.e-color {
  color: var(--color-ebase-red);
}

.c-section__title + .c-section__text {
  margin-top: var(--gutter);
}

.c-link {
  align-items: center;
  display: flex;
}

.c-link::before {
  align-items: center;
  content: "\f105";
  display: flex;
  font: var(--fa-font-solid);
  margin-right: 0.5rem;
}

.c-button {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  display: inline-flex;
  padding: var(--gutter) calc(var(--gutter) * 2);
  white-space: nowrap;
  /* font-size: var(--font-size-fluid-1);
  font-weight: var(--font-weight-7);

  padding-inline: var(--size-6);
  padding-block: var(--size-3);

  color: var(--blue-9);
  border: var(--border-size-2) solid var(--blue-5);
  background-color: transparent;
  border-radius: var(--radius-2); */
  /* &:active:not(:focus-visible) {
    position: relative;
  } */
}

.c-button:is(:hover, :focus) {
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  cursor: pointer;
  transition-duration: 0.15s;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.c-button:disabled {
  background-color: var(--color-muted-background);
  border: 1px solid var(--color-border);
  box-shadow: none;
  color: var(--color-text);
  cursor: not-allowed;
  opacity: 0.6;
}

.c-button--primary {
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: var(--color-primary-background-text);
}

.c-button--primary:is(:hover, :focus) {
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: var(--color-primary-background-text);
}

.c-button--primary:disabled {
  background-color: var(--color-muted-background);
  border: 1px solid var(--color-border);
  box-shadow: none;
  color: var(--color-text);
  cursor: not-allowed;
  opacity: 0.6;
}

.c-button--lg {
  padding: var(--gutter) calc(var(--gutter) * 3);
}

.c-form-table {
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: auto 1fr;
  margin: 0;
  position: relative;
  width: 100%;
}

@container style(--is-mobile: true) {
  .c-form-table {
    grid-template-columns: 1fr;
  }
}
.c-form-table__item {
  display: contents;
  position: relative;
  width: 100%;
}

.c-form-table__title {
  align-items: flex-start;
  background-color: #f1f1f1;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: center;
  justify-content: space-between;
  margin: 0px;
  max-width: 250px;
  padding: 1em;
  width: 100%;
}

@container style(--is-mobile: true) {
  .c-form-table__title {
    max-width: 100%;
    width: 100%;
  }
}
.c-form-table__body {
  background-color: #fff;
  border-right: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  justify-content: center;
  margin: 0px;
  padding: 1em;
  width: 100%;
  word-break: break-word;
}

@container style(--is-mobile: true) {
  .c-form-table__body {
    border-left: 1px solid var(--color-border);
    width: 100%;
  }
}
.c-form-table__body__input {
  width: 100%;
}

.c-form-table__body__note {
  margin: 0;
}

@container style(--is-mobile: true) {
  .c-form-table__body__note {
    margin: 20px 0 0 0;
  }
}
.c-form-table__body__note dl,
.c-form-table__body__note dd {
  margin: 0;
}

.c-form-err-text {
  color: var(--color-danger);
  display: block;
  font-size: 0.8em;
}

.c-form-err-text.is-active {
  display: block;
}

.c-form-err-text:before {
  content: "・";
}

.c-form-remarks {
  display: block;
}

.c-form-input {
  margin: 7px 0;
  width: 100%;
}

.c-form-input:where(select) {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

.c-form-input-item-wrap {
  position: relative;
}

.c-form-input-item-wrap__btn {
  cursor: pointer;
  display: inline-block;
  padding: 6px 14px 6px 10px;
  position: absolute;
  right: 0;
  top: 9px;
  z-index: 999;
}

.c-form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-form-radio {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 8px;
}

.c-form-radio input[type=radio] {
  cursor: pointer;
  flex-shrink: 0;
  height: 18px;
  margin: 0;
  width: 18px;
}

.c-form-radio span {
  margin: 0;
}

.c-form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-form-checkbox {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 8px;
}

.c-form-checkbox input[type=checkbox] {
  cursor: pointer;
  flex-shrink: 0;
  height: 18px;
  margin: 0;
  width: 18px;
}

.c-form-checkbox span {
  margin: 0;
}

/* Generic inline layout for small-group inputs (checkbox + text input inline) */
.c-form-inline {
  align-items: center;
  align-items: center;
  display: flex;
  gap: 0.75rem;
  /* external link next to inputs (e.g., postal code lookup) */
  /* postal-field: keep the postal mark and input inline on all viewports */
}

.c-form-inline .c-form-inline__input {
  flex: 1 1 auto;
  min-width: 0;
}

.c-form-inline .external-link {
  align-items: center;
  color: var(--color-link, #0a66c2);
  display: inline-flex;
  font-size: 0.95rem;
  gap: 0.375rem;
  margin-left: auto;
  text-decoration: none;
}

.c-form-inline .external-link .fa-external-link-alt,
.c-form-inline .external-link .fa-arrow-up-right-from-square {
  color: inherit;
  font-size: 0.9em;
}

.c-form-inline .postal-field {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  width: 100%;
  /* ensure link inside postal-field can be pushed to the right */
}

.c-form-inline .postal-field .c-form-input {
  flex: 0 0 auto;
  width: auto;
}

.c-form-inline .postal-field .external-link {
  margin-left: auto;
  white-space: nowrap;
}

.c-form-inline .postal-field .postal-mark {
  display: inline-block;
  font-weight: 700;
  margin-right: 0.25rem;
}

@container style(--is-mobile: true) {
  .c-form-inline {
    align-items: stretch;
    flex-direction: column;
    gap: 0.5rem;
    /* make the input full width */
    /* move the external link to its own row and right-align it */
    /* When postal-field contains the link, allow it to wrap so the link can sit on its own row */
  }
  .c-form-inline .c-form-inline__input {
    width: 100%;
  }
  .c-form-inline .external-link {
    align-self: flex-end;
    display: inline-flex;
    justify-content: flex-end;
    justify-self: end;
    margin-left: 0;
    width: 100%;
  }
  .c-form-inline .postal-field {
    flex-wrap: wrap;
  }
  .c-form-inline .postal-field .external-link {
    flex-basis: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }
}
/* Error state: highlight inputs when their field has .is-error */
/* Input-level error styles: toggle on the input element with .is-input-error */
.c-form-input.is-input-error,
textarea.is-input-error,
select.is-input-error {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.06);
}

/* Keep error text visible when .is-error exists on the field (text managed by JS) */
.js-field.is-error .c-form-err-text {
  color: var(--color-danger);
  display: block;
}

.c-form-label {
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  margin: 0 5px;
  padding: 0px 3px;
  white-space: nowrap;
}

.c-form-label--required {
  background-color: var(--color-success);
}

.is-error .c-form-label {
  background-color: var(--color-danger);
}

.c-tooltip {
  font-size: var(--font-size-base);
  opacity: 0;
  position: relative;
  white-space: nowrap;
}

.c-tooltip::before,
.c-tooltip::after {
  font-size: var(--font-size-base);
  position: absolute;
  transition: all 0.3s ease 0s;
}

.c-tooltip::before {
  border: 10px solid transparent;
  border-bottom-color: #333;
  content: "";
  left: -32px;
  top: 10px;
}

.c-tooltip::after {
  background: #333;
  border-radius: 5px;
  color: #fff;
  content: attr(data-tooltip);
  display: block;
  padding: 10px;
  right: 0px;
  top: 30px;
}

.c-tooltip:hover::before {
  top: 16px;
}

.c-tooltip:hover::after {
  top: 36px;
}

/* Error dialog and inline error message styles */
.p-form__error-message {
  background-color: #ffebee;
  border: 1px solid #d32f2f;
  border-radius: 4px;
  color: #d32f2f;
  display: none; /* default hidden */
  margin-bottom: 16px;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Native dialog styling */
.p-form__error-dialog::backdrop {
  background: rgba(0, 0, 0, 0.35);
}

.p-form__error-dialog {
  border: none;
  border-radius: 6px;
  box-sizing: border-box;
  left: 50%;
  /* keep dialog from growing beyond viewport */
  max-height: 80vh;
  max-width: 600px;
  overflow: auto;
  padding: 0;
  /* center the dialog in the viewport */
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  z-index: 10000;
}

.p-form__error-dialog__inner {
  max-width: 560px;
  padding: 20px;
}

.p-form__error-dialog__title {
  color: #d32f2f;
  font-size: 1.1rem;
  margin: 0 0 12px 0;
}

.p-form__error-dialog__body {
  color: #333;
  margin-bottom: 16px;
  white-space: pre-wrap;
}

.p-form__error-dialog__actions {
  text-align: right;
}

.p-form__error-dialog__actions button {
  min-width: 88px;
}

/*-------------------
 * project
 -------------------*/
.p-form__guide {
  background-color: #f1f1f1;
  border-left-color: #2973b2;
  border-left-style: solid;
  border-left-width: 4px;
  margin-bottom: 2rem;
  padding: 1rem;
}

@media (min-width: 768px) {
  .p-form__guide {
    padding: 1.5rem;
  }
}
.p-form__guide-list {
  list-style: disc;
  margin: 0;
  padding-left: 1rem;
}

.p-form__guide-list li {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0.5rem 0;
}

.p-form__guide-list li:first-child {
  margin-top: 0;
}

.p-form__guide-list li:last-child {
  margin-bottom: 0;
}

.p-form__btn-area {
  -moz-column-gap: var(--gutter);
  align-items: center;
  column-gap: var(--gutter);
  display: flex;
  justify-content: center;
  margin-top: calc(var(--gutter) * 4);
}

@container style(--is-mobile: true) {
  .p-form__btn-area {
    row-gap: var(--gutter);
  }
}
.p-form__agreement {
  background-color: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  margin: 2rem 0;
  padding: 1.5rem;
}

.p-form__agreement-label {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
}

.p-form__agreement-input {
  accent-color: #2973b2;
  cursor: pointer;
  flex-shrink: 0;
  height: 1.25rem;
  margin-top: 0.25rem;
  width: 1.25rem;
}

.p-form__agreement-text {
  -webkit-user-select: none;
  -moz-user-select: none;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  user-select: none;
}

.p-form__note {
  border-radius: 4px;
  color: var(--color-muted, #666);
  display: block;
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

.p-form__complete-message {
  background: linear-gradient(135deg, #f0f7ff 0%, #f9fafb 100%);
  border: 2px solid #e0effe;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  padding: 3rem 2rem;
  text-align: center;
}

.p-form__complete-title {
  color: #1a365d;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.p-form__complete-text {
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.p-form__complete-text:last-child {
  margin-bottom: 0;
}

.p-form__notice-area .p-form__notice-title:not(:first-of-type) {
  padding-top: 10px;
}

.p-form__notice-area {
  background-color: #ffffff;
  border-radius: 0.5rem;
  margin-bottom: calc(var(--gutter) * 2);
  margin-top: calc(var(--gutter) * 4);
  transition-duration: 0.3s;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.p-form__notice-title {
  border-bottom: 2px solid #2973b2;
  color: #2973b2;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75rem;
  margin-bottom: 1.5rem;
  margin-top: 0;
  padding-bottom: 0.75rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.p-form__notice-subtitle {
  color: #374151;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  margin: 1.5rem 0 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.p-form__notice-subtitle:before {
  color: #2973b2;
  content: "●";
  font-weight: bold;
  left: 0;
  position: absolute;
}

.p-form__notice-text {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0.75rem 0;
}

.p-form__notice-text a {
  color: #2973b2;
  text-decoration: underline;
  transition-duration: 0.3s;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.p-form__notice-text a:hover {
  opacity: 0.8;
}

.p-form__notice-text:last-child {
  margin-bottom: 0;
}

.p-form__notice-list {
  list-style: disc;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.p-form__notice-list li {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.p-form__notice-message {
  color: #dc2626;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  margin-top: 0.75rem;
  padding-left: 1.75rem;
  position: relative;
}

@media (min-width: 768px) {
  .p-form__notice-message {
    font-size: 1.125rem;
    line-height: 1.75rem;
    margin-top: 1rem;
  }
}
.p-form__notice-message:before {
  content: "⚠";
  font-size: 1.25rem;
  left: 0;
  margin-right: 0.5rem;
  position: absolute;
}

.p-header-sub {
  color: var(--color-muted, #666);
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.p-header-title {
  color: var(--color-text);
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .p-header-sub {
    font-size: 1rem;
  }
  .p-header-title {
    font-size: 1.5rem;
  }
}
.u-txt-bold {
  font-weight: bold;
}

.u-txt-primary {
  color: var(--color-primary);
}

.u-gutter-top {
  margin-top: var(--gutter);
}

.u-gutter-buttom {
  margin-bottom: var(--gutter);
}

.u-flex {
  -moz-column-gap: var(--gutter);
  column-gap: var(--gutter);
  display: flex;
}
/*# sourceMappingURL=sourcemaps/style.css.map */