/* GLOBAL */
body {
  background: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
}

a {
  text-decoration: none;
}

/*DEFAULT (xs) */
h1 {
  color: #2d3747;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: 1.2rem;
  font-weight: 800 !important;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600 !important;
}

p {
  color: #444d5b;
  font-size: 0.9rem;
}

.fs-5 {
  font-size: 0.75rem !important;
}

/* NAVBAR */
.shadow-dark {
  -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.35) !important;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.35) !important;
}

.navbar-brand img {
  width: 90%;
  height: auto;
}

/* BREADCRUMBS */
.breadcrumb {
  --bs-breadcrumb-divider: "　〉";
  font-size: 0.8rem;
}

.breadcrumb-item a {
  color: #2d3747 !important;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: #333333 !important;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #87add8 !important;
}

.breadcrumb-item::before {
  color: #2d3747 !important;
}

/* LEFT BOXES */
.left-box {
  background: #6b9ace;
}

/* LIST WRAPPER */
.left-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* LIST ITEM */
.left-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

/* NUMBER CIRCLE */
.num-circle {
  background: #6a9acf;
  color: #fff;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* TEXT BLOCK (two rows) */
.text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* HIGHLIGHT ROW */
.highlight {
  color: #79a4d3;
  font-weight: 600;
  font-size: 0.9rem;
}

/* NORMAL ROW */
.normal {
  color: #36404f;
  font-size: 0.8rem;
  font-weight: 500;
}

/* LEFT SUBTITLE */
.left-subtitle {
  color: #2d3747;
  font-weight: 600 !important;
}

/* FORM LABEL */
.form-label-custom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: #2d3747;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.form-label-custom a {
  color: #367af7 !important;
  text-decoration: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
  display: flex;
  align-items: center;
}

.form-label-custom a:hover {
  color: #1868fc !important;
}
.form-label-custom .agree-label {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
  font-weight: 500;
}

/* REQUIRED TAG */
.required-tag {
  color: #e99275;
  font-size: 0.9rem;
  font-weight: 700;
  margin-left: 0;
  white-space: nowrap;
}

/* HELP TEXT */
.help-text {
  color: #777676;
  font-size: 0.7rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0;
}

/* smaller ※ */
.help-text .mark {
  font-size: 0.5rem;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.post_code {
  max-width: 60%;
}

.field-area {
  display: flex;
  align-items: baseline !important;
  min-height: 3.6rem;
}

.form-control {
  border-color: #747b86;
  padding: 0.7rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

.form-control:focus {
  border-color: #636569;
  box-shadow: none;
}
.form-control::placeholder {
  color: #878c96;
  opacity: 1;
}

/* ==========================================
   CHECKBOX & RADIO COMMON
========================================== */

.form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid #2d3747;
  margin-top: 0.1rem;
  cursor: pointer;
}

.form-check-input:focus {
  border-color: #222935;
  box-shadow: none;
}

/* ==========================================
   CHECKBOX
========================================== */

input[type="checkbox"].form-check-input {
  -webkit-appearance: none;
  appearance: none;
   border-radius: 0;/
}

input[type="checkbox"].form-check-input:checked {
  -webkit-appearance: none; /* iOSでの上書きを確実に防ぐ */
  appearance: none;
  
  background-color: #fff;
  border-color: #747b86;

  /* 変更点: xmlns以外のクォーテーションを %27 に置換、d属性の後ろの / も修正 */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox=%270 0 20 20%27%3e%3cpath fill=%27%23000000%27 d=%27M16.707 5.293a1 1 0 0 1 0 1.414l-8 8a1 1 0 0 1-1.414 0l-4-4a1 1 0 1 1 1.414-1.414L8 12.586l7.293-7.293a1 1 0 0 1 1.414 0z%27 /%3e%3c/svg%3e");
  
  /* アイコンがずれないように背景の位置とサイズを指定 */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%; 
}


/* ==========================================
   RADIO
========================================== */

input[type="radio"].form-check-input:checked {
  background-color: #fff;
  border-color: #636569;

  background-image: radial-gradient(circle, #000 0, #000 35%, transparent 40%);
}

/* ==========================================
   LABEL
========================================== */

.form-check-label {
  color: #2d3747;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  margin-left: 0.3rem;
  margin-bottom: 0.5rem;
}

/* ==========================================
   SUBMIT BTN
========================================== */
#submitBtn {
  background-color: #e88c6e;
  border-color: #e88c6e;

  height: 3.5rem;
  border-radius: 0.75rem;

  font-size: 1.2rem;
  font-weight: 700;

  color: #fff;

  transition: all 0.2s ease;
}

/* Hover */
#submitBtn:hover {
  background-color: #de7f60;
  border-color: #de7f60;
}

/* Focus */ 
#submitBtn:focus,
#submitBtn:active,
#submitBtn.focus-visible {
  box-shadow: none;
  background-color: #e88c6e !important;
  border-color: #e88c6e !important;
  color: #fff !important;
}

/* Disabled */
#submitBtn:disabled {
  background-color: #e88c6e;
  border-color: #e88c6e;
  opacity: 0.5;
  cursor: not-allowed;
}

.privacy-text {
  font-size: 0.8rem;
  color: #0f1218;
}

.small {
  font-size: 0.775rem;
}

/* Thanks page*/
.h1-thanks {
  font-size: 1.3rem;
  font-weight: 500;
  color: #6b9ace;
}

.h4-thanks {
  font-size: 1rem;
  font-weight: 400 !important;
  color: #202020;
  line-height: 1.6;
}

.p-thanks {
  font-size: 0.875rem;
  font-weight: 400;
  color: #202020;
}
.btn-return {
  background-color: #6b9ace;
  border-color: #6b9ace;
  border-radius: 0.5rem;

  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;

  transition: all 0.2s ease;
}
.break-on-small {
  display: inline;
}
.break-on-medium {
  display: inline;
}

/* Hover */
.btn-return:hover {
  background-color: #538cce;
  border-color: #538cce;
  color: #fff;
}

/* Focus */
.btn-return:focus,
.btn-return:active,
.btn-return:focus-visible{
  box-shadow: none;
  background-color: #538cce !important;
  border-color: #538cce !important;
  color: #fff !important;
}

/* FOOTER */
footer {
  width: 100%;
  background: #6b9ace;
  border: none;
  padding: 2em 0;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-menu li {
  margin: 0;
  padding: 0;
}

.footer-menu a {
  position: relative;
  padding-left: 1.2rem;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.footer-menu a {
  position: relative;
  padding-left: 1.3rem; /* 矢印とテキストの重なりを防ぐ余白 */
}

.footer-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.2rem; /* 矢印の横幅（元のfont-size: 0.8rem相当） */
  height: 1.4rem; /* 矢印の縦幅 */

  /* ご提示のSVGをCSS用に最適化（白色 #ffffff で指定） */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polygon fill='%23ffffff' points='8,5 19,12 8,19'></polygon></svg>");

  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.copyright {
  margin: 0;
  text-align: center;
  color: #fff;
  font-size: 0.985rem;
}

.copyright span {
  display: block;
}

/* sm */
@media (min-width: 576px) {
  h1 {
    font-size: calc(2.2rem + 0.15vw);
  }

  h2 {
    font-size: 1.8rem;
  }
  h4 {
    font-size: calc(1.275rem + 0.3vw);
  }

  p {
    font-size: calc(0.95rem + 0.03vw);
  }

  .fs-5 {
    font-size: 1.1rem !important;
  }

  /* BREADCRUMBS */
  .breadcrumb {
    font-size: 0.8rem;
  }
  /* LIST ITEM */
  .left-list li {
    gap: 1.2rem;
    margin-bottom: 2.1rem;
  }

  /* NUMBER CIRCLE */
  .num-circle {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.3rem;
  }

  /* TEXT BLOCK (two rows) */
  .text-block {
    line-height: 1.6;
  }

  /* HIGHLIGHT ROW */
  .highlight {
    font-size: 1.25rem;
  }

  /* NORMAL ROW */
  .normal {
    font-size: 1.2rem;
  }

  .form-label-custom {
    font-size: 1.1rem;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
  }
  .required-tag {
    font-size: 1rem;
    margin-left: 1px;
  }

  .form-label-custom a {
    font-size: 0.78rem;
  }
  .form-label-custom .agree-label {
    font-size: 0.85rem;
    margin-left: -0.8rem;
  }

  .form-control {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  .field-area {
    min-height: 3.5rem;
  }

  #submitBtn {
    font-size: 1.3rem;
    height: 3.5rem;
  }
  .small {
    font-size: 0.875rem;
  }
  /* Thanks page*/
  .h1-thanks {
    font-size: 1.3rem;
  }

  .h4-thanks {
    font-size: 1rem;
    line-height: 1.4;
  }

  .p-thanks {
    font-size: 0.75rem;
  }
  .btn-return {
    font-size: 1rem;
    font-weight: 600;
  }
  .break-on-small {
    display: none;
  }
}

/* md */
@media (min-width: 768px) {
    body {
  background: #f7fafc;
   }
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: calc(1.9rem + 0.2vw);
  }

  h4 {
    font-size: calc(1.275rem + 0.3vw);
  }

  p {
    font-size: 1.13rem;
  }

  /* NAVBAR */
  .navbar-brand img {
    width: 100%;
  }

  fs-5 {
    font-size: 1.25rem !important;
  }

  /* LIST ITEM */
  .left-list li {
    gap: 1.8rem;
    margin-bottom: 2.5rem;
  }

  /* NUMBER CIRCLE */
  .num-circle {
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.7rem;
  }

  /* TEXT BLOCK (two rows) */
  .text-block {
    line-height: 1.6;
  }

  /* HIGHLIGHT ROW */
  .highlight {
    font-size: 1.5rem;
  }

  /* NORMAL ROW */
  .normal {
    font-size: 1.4rem;
  }

  /* FORM LABEL */
  .form-label-custom {
    display: flex;
    gap: 1.1rem;
    font-size: 1.275rem;
    line-height: 1.4;
    margin-bottom: 0.9rem;
  }

  .form-label-custom a {
    font-size: 0.9rem;
  }

  .form-label-custom .agree-label {
    font-size: 0.9rem;
    margin-left: -1rem;
  }

  /* REQUIRED TAG */
  .required-tag {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 2px;
  }

  /* HELP TEXT */
  .help-text {
    font-size: 0.76rem;
  }

  /* smaller ※ */
  .help-text .mark {
    font-size: 0.5rem;
  }
  .field-area {
    display: flex;
    min-height: 5rem;
  }

  .form-control {
    padding: 1rem 1.25rem;
    font-size: 1.275rem;
  }

  /* ==========================================
   CHECKBOX & RADIO COMMON
========================================== */

  .form-check-input {
    width: 1.4rem;
    height: 1.4rem;
  }

  /* ==========================================
   LABEL
========================================== */

  .form-check-label {
    font-size: 1.1rem;
    margin-left: 0.7rem;
    margin-bottom: 0.8rem;
  }

  /* ==========================================
   SUBMIT BTN
========================================== */
  #submitBtn {
    height: 4.6rem;
    border-radius: 0.75rem;
    font-size: 1.8rem;
    font-weight: 700;
  }

  .privacy-text {
    font-size: 0.8rem;
  }
  .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2.5rem;
    flex-direction: row;
  }
  .copyright span {
    display: inline;
    margin-left: 0.3rem;
  }
}

/* lg */
@media (min-width: 992px) {
  h1 {
    font-size: calc(2.2rem + 0.15vw);
  }

  h2 {
    font-size: 1.8rem;
  }
  h4 {
    font-size: calc(1.275rem + 0.3vw);
  }

  p {
    font-size: calc(0.95rem + 0.03vw);
  }

  .fs-5 {
    font-size: 1.1rem !important;
  }

  .break-on-medium {
    display: none;
  }

  /* BREADCRUMBS */
  .breadcrumb {
    font-size: 0.8rem;
  }
  /* LIST ITEM */
  .left-list li {
    gap: 1.2rem;
    margin-bottom: 2.1rem;
  }

  /* NUMBER CIRCLE */
  .num-circle {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.3rem;
  }

  /* TEXT BLOCK (two rows) */
  .text-block {
    line-height: 1.6;
  }

  /* HIGHLIGHT ROW */
  .highlight {
    font-size: 1.25rem;
  }

  /* NORMAL ROW */
  .normal {
    font-size: 1.2rem;
  }

  .form-label-custom {
    font-size: 1.1rem;
    gap: 0.8rem;
  }
  .required-tag {
    font-size: 1rem;
    margin-left: 1px;
  }
  .form-label-custom {
    margin-bottom: 0.6rem;
  }
  .form-label-custom a {
    font-size: 0.78rem;
  }
  .form-label-custom .agree-label {
    font-size: 0.85rem;
    margin-left: -0.8rem;
  }
  .form-check-label {
    font-size: 0.95rem;
  }
  .form-control {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  .field-area {
    min-height: 3.5rem;
  }
  #submitBtn {
    font-size: 1.3rem;
    height: 3.5rem;
  }
  /* Thanks page*/
  .h1-thanks {
    font-size: 1.8rem;
  }

  .h4-thanks {
    font-size: 1.4rem;
    line-height: 1.6;
  }

  .p-thanks {
    font-size: 0.975rem;
  }
  .btn-return {
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: 0.75rem;
  }
}

/* xl */
@media (min-width: 1200px) {
  h1 {
    font-size: calc(2.1rem + 0.2vw);
  }

  h2 {
    font-size: calc(1.7rem + 0.15vw);
  }
  h4 {
    font-size: calc(1rem + 0.3vw);
  }

  p {
    font-size: 1.07rem;
  }

  fs-5 {
    font-size: 1.25rem !important;
  }

  /* LIST ITEM */
  .left-list li {
    gap: 1.8rem;
    margin-bottom: 2.5rem;
  }

  /* NUMBER CIRCLE */
  .num-circle {
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.7rem;
  }

  /* TEXT BLOCK (two rows) */
  .text-block {
    line-height: 1.6;
  }

  /* HIGHLIGHT ROW */
  .highlight {
    font-size: 1.5rem;
  }

  /* NORMAL ROW */
  .normal {
    font-size: 1.4rem;
  }

  /* FORM LABEL */
  .form-label-custom {
    display: flex;
    gap: 1.1rem;
    font-size: 1.275rem;
    line-height: 1.4;
    margin-bottom: 0.9rem;
  }

  .form-label-custom a {
    font-size: 0.9rem;
  }

  .form-label-custom .agree-label {
    font-size: 0.9rem;
    margin-left: -1rem;
  }

  /* REQUIRED TAG */
  .required-tag {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 2px;
  }

  /* HELP TEXT */
  .help-text {
    font-size: 0.76rem;
    white-space: nowrap;
  }

  /* smaller ※ */
  .help-text .mark {
    font-size: 0.5rem;
  }
  .field-area {
    display: flex;
    min-height: 5rem;
  }

  .form-control {
    padding: 1rem 1.25rem;
    font-size: 1.275rem;
  }

  /* ==========================================
   CHECKBOX & RADIO COMMON
========================================== */

  .form-check-input {
    width: 1.4rem;
    height: 1.4rem;
  }

  /* ==========================================
   LABEL
========================================== */

  .form-check-label {
    font-size: 1.1rem;
    margin-left: 0.7rem;
    margin-bottom: 0.8rem;
  }

  /* ==========================================
   SUBMIT BTN
========================================== */
  #submitBtn {
    height: 4.6rem;
    border-radius: 0.75rem;
    font-size: 1.8rem;
    font-weight: 700;
  }

  .privacy-text {
    font-size: 0.787rem;
  }
}

/* xxl */
@media (min-width: 1400px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: calc(1.9rem + 0.2vw);
  }

  h4 {
    font-size: calc(1.275rem + 0.3vw);
  }

  p {
    font-size: 1.13rem;
  }
}
