/* ブレイクポイント（ PCデフォルトでのスタイル ）
- 1023（px）以下 SP表示
- 1024（px）以上 PC表示
*/

/* global.css */

:root {
  --font-color-base: #303644;
  --font-family-base: 'dnp-shuei-mgothic-std', sans-serif;

  /* TODO: 指定のwebフォントの設定 */
  --font-size-xx-large: 40px;
  --font-size-x-large: 26px;
  --font-size-large: 18px;
  --font-size-normal: 16px;
  --font-size-small: 14px;
  --font-size-x-small: 12px;
  --font-weight-base: 400;
  --font-weight-bold: 600;
  --letter-spacing-base: 0.04em;
  --line-height-base: 1.75;
  --link-color-base: #303644;
  --link-visited-color: #303644;
  --bg-color-base: #fff;
  --category-color-default: #818796;
  --category-color-dock-dark: #7994d8;
  --category-color-dock-middle: #88acf1;
  --category-color-dock-light: #f7f9ff;
  --category-color-kenshin-dark: #2b9dc1;
  --category-color-kenshin-middle: #5cc6dd;
  --category-color-kenshin-light: #e7f9ff;
  --category-color-gairai-dark: #41b5a4;
  --category-color-gairai-middle: #5ad7c4;
  --category-color-gairai-light: #e8fdfa;
  --category-color-chiryou-dark: #8836c9;
  --category-color-chiryou-middle: #d191e7;
  --category-color-chiryou-light: #f9e8ff;
  --category-color-woman-dark: #f95c6e;
  --category-color-woman-middle: #ff869c;
  --category-color-woman-light: #ffebee;
  --category-color-houjin-dark: #ec7100;
  --category-color-houjin-middle: #fa9538;
  --category-color-houjin-light: #fbeadb;
  --accent-blue: #7fbcf5;
  --main-blue: #64a4de;

  /* イージング */
  --linear: cubic-bezier(0.25, 0.25, 0.75, 0.75);
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-in: cubic-bezier(0.42, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.58, 1);
  --ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  --ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53);
  --ease-in-cubic: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --ease-in-quart: cubic-bezier(0.895, 0.03, 0.685, 0.22);
  --ease-in-quint: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  --ease-in-sine: cubic-bezier(0.47, 0, 0.745, 0.715);
  --ease-in-expo: cubic-bezier(0.95, 0.05, 0.795, 0.035);
  --ease-in-circ: cubic-bezier(0.6, 0.04, 0.98, 0.335);
  --ease-in-back: cubic-bezier(0.6, -0.28, 0.735, 0.045);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-sine: cubic-bezier(0.39, 0.575, 0.565, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-circ: cubic-bezier(0.075, 0.82, 0.165, 1);
  --ease-out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
  --ease-in-out-sine: cubic-bezier(0.445, 0.05, 0.55, 0.95);
  --ease-in-out-expo: cubic-bezier(1, 0, 0, 1);
  --ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);
  --ease-in-out-back: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@media screen and (max-width: 1024px) {
  :root {
    --font-size-xx-large: 30px;
    --font-size-x-large: 24px;
    --font-size-large: 20px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-normal);
  font-weight: var(--font-weight-base);
  line-height: var(--line-height-base);
  color: var(--font-color-base);
  letter-spacing: var(--letter-spacing-base);
  word-wrap: break-word;
  overflow-wrap: break-word;
  background-color: var(--bg-color-base);
  text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

a {
  color: var(--link-color-base);
  text-decoration: none;
  cursor: pointer;
}

td a {
  text-decoration: underline;
}

a:active,
a:hover {
  text-decoration: none;
  outline-width: 0;
  opacity: 0.5;
}

a:visited {
  color: var(--visited-color);
}

p a {
  color: var(--main-blue);
  text-decoration: underline;
}

p a:visited {
  color: var(--main-blue);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

button,
[type='button'],
[type='reset'],
[type='submit'],
[role='button'] {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.underline {
  text-decoration: underline;
}

@media screen and (max-width: 1024px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  a:active,
  a:hover {
    text-decoration: none;
    opacity: 1;
  }
}

/* ningendokku\common.css から移植 */
.f-w-600 {
  font-weight: 600;
}

.t-a-c {
  text-align: center;
}

p {
  letter-spacing: 0.04em;
}

.w100 {
  width: 100%;
}

.error-text {
  color: #d20000;
}

@media screen and (max-width: 1024px) {
  .pc {
    display: none;
  }
}

@media screen and (min-width: 1025px) {
  .sp {
    display: none;
  }
}

.baseContainer {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

@media screen and (min-width: 1025px) {
  .baseContainer {
    padding-bottom: 0;
  }
}

.baseContainer > .main {
  flex-grow: 1;
}

.ningendokku__container {
  margin: 0 16px;
  margin-bottom: 60px;
}

@media screen and (min-width: 1025px) {
  .ningendokku__container {
    width: 704px;
    margin: 0 auto;
    margin-bottom: 80px;
  }
}

.ningendokku__title {
  margin-bottom: 16px;
  font-size: 20px;
  line-height: 150%;
  border-bottom: 1px solid #88acf1;
}

@media screen and (min-width: 1025px) {
  .ningendokku__title {
    padding-bottom: 6px;
    margin-bottom: 32px;
    font-size: 24px;
    border-bottom: 2px solid #88acf1;
  }
}

.ningendokku__subTitle {
  position: relative;
  padding-top: 8px;
  padding-left: 13px;
  margin-bottom: 24px;
  font-size: 18px;
}

.ningendokku__subTitle::before {
  position: absolute;
  left: 0;
  width: 3px;
  height: 20px;
  content: '';
  background: #6282d5;
  transform: translateY(3px);
}

.progress {
  padding: 17px 14px;
  background: #fafafb;
  border-bottom: 1px solid #dbdfec;
}

.progress__wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.progress__image {
  width: 56px;
  margin-right: 12px;
}

.progress__title {
  font-size: 22px;
  line-height: 175%;
  color: #6282d5;
}

.progress__next {
  position: absolute;
  right: 0;
  bottom: -5px;
  font-size: 14px;
  line-height: 175%;
  color: #8e959e;
  letter-spacing: 0.04em;
}

@media screen and (min-width: 1025px) {
  .progress {
    display: flex;
    justify-content: center;
    padding: 18px 0;
  }

  .progress__wrapper {
    align-items: center;
    width: 704px;
  }

  .progress__image {
    width: 72px;
    margin-right: 25px;
  }

  .progress__title {
    font-size: 32px;
    line-height: 72px;
  }

  .progress__next {
    bottom: 18px;
  }
}

.form__course input[type='radio'] {
  position: fixed;
  width: 0;
  opacity: 0;
}

.form__course label {
  display: block;
  padding: 28px 18px;
  margin-bottom: 24px;
  cursor: pointer;
  border: 2px solid #bcc3ce;
  border-radius: 28px;
  outline: 2px solid transparent;
  transition: all 0.2s ease;
}

.form__course input[type='radio']:checked + label {
  border: 2px solid #88acf1;
}

.form__courseLayout {
  padding-left: 36px;
}

.form__courseHeader {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.form__courseHeader::before {
  position: absolute;
  top: 50%;
  left: -36px;
  width: 24px;
  height: 24px;
  content: '';
  background: #fff;
  border: 2px solid #bcc3ce;
  border-radius: 50%;
  transform: translateY(-12px);
}

.form__courseContent {
  padding-top: 18px;
  margin-top: 24px;
  border-top: 2px dashed #b9c2d7;
}

.form__course input[type='radio']:not(:checked) + label .form__courseHeader::after,
.form__course input[type='radio']:checked + label .form__courseHeader::after {
  position: absolute;
  top: 50%;
  left: -32px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  content: '';
  background-color: #6282d4;
  border-radius: 100%;
  transition: all 0.2s ease;
}

.form__course input[type='radio']:not(:checked) + label .form__courseHeader::after {
  opacity: 0;
  transform: scale(0);
}

.form__course input[type='radio']:checked + label .form__courseHeader::after {
  opacity: 1;
  transform: scale(1);
}

.form__course input[type='radio']:checked + label .form__courseHeader::before {
  border: 2px solid #6282d4;
}

.form__courseName {
  font-size: 18px;
  line-height: 150%;
  color: #6282d5;
}

.form__coursePrice {
  flex-shrink: 0;
  margin-top: auto;
}

.form__courseTax {
  font-size: 10px;
}

.form__courseSchedule {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  font-size: 14px;
}

.form__courseSchedule img {
  margin-right: 8px;
}

.form__courseSchedule span {
  min-width: 60px;
  margin-right: 13px;
}

.form__courseWord {
  margin-top: 10px;
}

.form__courseLink {
  padding-top: 10px;
  text-align: right;
}

.form__courseLink button {
  text-decoration: underline;
  background: none;
  border: none;
  outline: none;
}

.form__courseWoman {
  padding: 6px 20px;
  margin-top: -8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: white;
  background-color: #ff869c;
  border-radius: 20px;
}

.form__courseContentItem {
  display: flex;
  flex-direction: column;
  gap: 10px 0;
}

.form__courseContentItem + .form__courseContentItem {
  margin-top: 12px;
}

/* 受付終了告知スタイル */
.reception-closed-message {
  color: #d20000;
  padding: 10px 20px;
  border-radius: 5px;
  background: #eee;
  filter: unset;
}

@media screen and (min-width: 1025px) {
  .form__course label {
    padding: 40px;
  }

  .form__courseLayout {
    padding-left: 56px;
  }

  .form__courseHeader {
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 28px;
  }

  .form__courseHeader::before {
    left: -56px;
  }

  .form__courseName {
    font-size: 28px;
    line-height: 1.5;
  }

  .form__courseTax {
    display: block;
    float: right;
    margin-right: -15px;
    font-size: 20px;
    text-indent: -10px;
  }

  .form__courseSchedule {
    display: inline-flex;
    margin-right: 32px;
    margin-bottom: 12px;
    font-size: 16px;
  }

  .form__courseSchedule span {
    min-width: auto;
  }

  .form__courseWord {
    margin-top: 0;
  }

  input[type='radio']:not(:checked) + label .form__courseHeader::after,
  input[type='radio']:checked + label .form__courseHeader::after {
    left: -52px !important;
  }

  .form__courseLink button:hover {
    opacity: 0.5;
  }
}

.scheduleTable {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
}

.scheduleTable th {
  padding: 5px;
  color: white;
  background: #6282d5;
}

.scheduleTable td {
  padding: 5px;
  text-align: center;
  border-bottom: 1px solid #fafafb;
}

.scheduleTable td:first-child {
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  border-left: 1px solid #6282d5;
}

@media screen and (min-width: 1025px) {
  .scheduleTable td:first-child {
    padding-left: 24px;
  }
}

.scheduleTable td:last-child {
  border-right: 1px solid #6282d5;
}

.scheduleTable tr:last-child td {
  border-bottom: 1px solid #6282d5;
}

.scheduleTable tr:first-child th:first-child {
  border-top-left-radius: 15px;
}

.scheduleTable tr:first-child th:last-child {
  border-top-right-radius: 15px;
}

.scheduleTable tr:last-child td:first-child {
  border-bottom-left-radius: 15px;
}

.scheduleTable tr:last-child td:last-child {
  border-bottom-right-radius: 15px;
}

.--ningendokkuSchedule tr:nth-child(even) {
  background-color: #fafafb;
}

.--ningendokkuSchedule tr:nth-child(odd) {
  background-color: #fff;
}

.--ningendokkuSchedule .--specialRow {
  font-size: 16px;
  color: #f95c6e;
}

.--ningendokkuSchedule .--specialRow td {
  background-color: #ffebee;
}

/* calculate body scrollbar width for modal script */
.scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 100px;
  height: 100px;
  overflow: scroll;
}

textarea {
  width: 100%;
  min-height: 162px;
  padding: 11px 16px;
  resize: vertical;
  background: #fff;
  border: 2px solid #bcc3ce;
  border-radius: 12px;
  outline: none;
  transition: all 0.2s ease;
}

textarea:active,
textarea:focus {
  border: 2px solid #64a4de;

  /* outline: 2px solid #64a4de; */
  outline: none;
}
