@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Noto+Sans+JP:wght@300;400;500;700&family=Montserrat:wght@400;500&display=swap");

* {
	font-family: 'Jost',"Noto Sans JP",sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

html {
	height: 100%;
	overflow-y: scroll;
  scroll-padding-top: 64px;
}

body * {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

body,
header,
footer,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
input,
p,
table,
th,
td,
tr,
button {
  margin:0;
	padding:0;
}

ul {
	list-style: none;
}

a {
	display: inline-block;
	box-sizing: border-box;
	text-decoration: none;
	text-decoration-line: none;
	color: unset;
	transition: all .2s;
	cursor: pointer;
}

a:hover {
	opacity: .7;
}

img {
	vertical-align: bottom;
	width: 100%;
}

/* カラー変数 */
:root {
  --primary-color: #233BB5;
  --ad-primary-color: #0b1a72;
  --ma-primary-color: #216fb8;
  --base-color: #4f4e4e;
  --accent-color: #FCA005;
}

/* 背景色 */
.bg-first {
  background-color: #dae7f7;
}

.bg-second {
  background-color: #f3f4f8;
}

.bg-third {
  background-color: #ebf4f8;
}

.bg-fourth {
  background-color: #EFF6F8;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  z-index: 5;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.header__wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  height: 64px;
}

.header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--base-color);
}

.header__nav {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 140px;
}

.mailButton {
  display: flex;
  align-items: center;
  justify-items: center;
  background-color: var(--primary-color);
  color: #fff;
  cursor: pointer;
  width: 48px;
  height: 48px;
}

.mailButton__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
  gap: 4px;
  width: 100%;
}

.mailButton__image {
  width: 22px;
  height: auto;
}

.mailButton__label {
  font-size: 10px;
}

/* セクション */
.section__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 44px 14px;
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

.section__body {
  width: 100%;
}

/* カード */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  border-radius: 5px;
  position: relative;
  padding: 24px 14px;
}

.card__label {
  font-size: 14px;
  font-weight: 600;
  border-radius: 40px;
  padding: 8px 28px;
  position: absolute;
  top: -18.5px;
}

.card__header {
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  width: 100%;
}

.card__label + .card__header {
  margin-top: 8px;
}

.card__body {
  display: flex;
  flex-grow: 1;
  width: 100%;
}

.card--border {
  border: 2px solid currentColor;
  padding: 0;
  gap: 0;
}

.card--border .card__header,
.card--border .card__body {
  padding: 18px 14px;
}

/* ボタン */
.button {
  width: 100%;
  padding: 12px 4px;
  background-color: var(--base-color);
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  max-width: 400px;
}

.button--primary {
  background-color: var(--primary-color);
}

.button--accent {
  background-color: var(--accent-color);
}

.button--ad {
  background-color: var(--ad-primary-color);
}

.button--ma {
  background-color: var(--ma-primary-color);
}

.button--border {
  border: 2px solid #fff;
}

/* ラベル */
.label {
  padding: 8px 12px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  width: fit-content;
}

/* 矢印 */
.arrow {
  width: 0;
  height: 0;
  border-left: 32px solid transparent;
  border-right: 32px solid transparent;
  border-top: 32px solid currentColor;
}

/* 罫線 */
.border {
  border-top: solid 1px currentColor;
  border-bottom: solid 1px currentColor;
  padding: 4px;
  width: 100%;
}

/* リスト */
.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.list__item {
  position: relative;
  padding-left: 12px;
  color: var(--base-color);
  font-weight: 600;
}

.list__item span {
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  font-weight: 400;
  background-color: var(--base-color);
  border-radius: 999px;
}

/* アコーディオン */
.accordion {
  width: 100%;
  font-size: 14px;
}

.accordion__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  width: 100%;
  padding: 12px;
  background: #fff;
  color: var(--base-color);
  cursor: pointer;
  transition: all .25s ease;
  font-weight: 600;
  border-radius: 5px;
}

.accordion.active .accordion__head {
  color: #fff;
  border-radius: 5px 5px 0 0;
}

.accordion__text {
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(100% - 14px);
}

.accordion__action {
  display: inline-block;
  vertical-align: middle;
  color: currentColor;
  line-height: 1;
  width: 14px;
  height: 0.1em;
  background: currentColor;
  border-radius: 0.1em;
  position: relative;
}

.accordion__action::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: inherit;
  transform: rotate(90deg);
}

.accordion.active .accordion__action::before {
  content: none;
}

.accordion__body {
  overflow: hidden;
  width: 100%;
  height: 0;
  padding: 0 18px;
  color: var(--base-color);
  font-weight: 600;
  background: #fff;
  letter-spacing: 0.7px;
  line-height: 1.8;
  transition: all .25s ease;
  border-radius: 0 0 5px 5px;
}

.accordion.active .accordion__body {
  height: auto;
  padding: 18px;
}

/* テーブル */
.table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 4px;
}

.table__caption {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.table th,
.table td {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  width: 50%;
  padding: 8px;
}

.table__body th {
  height: 60px;
}

.table__body th,
.table__body td {
  text-align: center;
  vertical-align: middle;
}

/* フォーム */
.formCard {
  background-color: #fff;
}

.form {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  letter-spacing: 0.05em;
  gap: 28px;
  color: var(--base-color);
  width: 100%;
  max-width: 600px;
  margin: auto;
  padding-top: 16px;
}

.form__title {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

.form__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form__input,
.form__select,
.form__textarea {
  border-radius: 5px;
  border: 1px solid #d2e3f4;
  padding: 12px;
  font-size: 14px;
  background-color: #fff;
}

.form__label {
  text-align: left;
  font-weight: 600;
  font-size: 14px;
}

.form__label--must {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #fff;
  padding: 2px 8px;
  margin-left: 4px;
}

.form__check {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.form__action {
  display: flex;
  justify-content: center;
}

.form__button {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 4px;
  text-align: center;
  border-radius: 999px;
  width: 100%;
  max-width: 400px;
  border: none;
  cursor: pointer;
  transition: all .2s;
}

.form__button:hover {
  opacity: .7;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("img/arrow.png");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: right center;
  background-position-x: 97%;
  color: var(--base-color)
}

.select::-ms-expand {
  display: none;
}

.select::-webkit-scrollbar {
  width: 8px;
}

.select::-webkit-scrollbar-track {
  background-color: #f5f5f5;
}

.select::-webkit-scrollbar-thumb {
  background-color: #aaa;
}

/* フッター */
.footer {
  width: 100%;
}

.footer__links {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
}

.footer__wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--base-color);
  padding: 0 16px;
}

.footer__wrapper img {
  width: 100px;
}

.footer__wrapper a {
  width: fit-content;
}

.footer__copyright {
  background-color: #323d3f;
  font-weight: 400;
  font-size: 10px;
  line-height: 3;
  letter-spacing: 0.07em;
  color: #fdfdfc;
  text-align: center;
}

/* 表示切り替え */
.pc-only {
  display: none;
}

.sp-only {
  display: block;
}

/* 「フォーム送信完了」ページ,「会社概要」ページ,「プライバシーポリシー」ページ */
.comple,
.company,
.privacy {
  margin: 64px 0 32px;
}

.comple h2,
.company h2,
.privacy h2 {
  font-size: 18px;
}

.comple__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
}

.comple__text {
  font-size: 16px;
  text-align: center;
  color: var(--base-color);
  font-weight: 600;
}

.comple__action {
  display: flex;
  justify-content: center;
  width: 100%;
}

.company__table {
  width: 100%;
  max-width: 600px;
  margin: auto;
}

.company__table .table__body {
  color: var(--base-color);
}

.company__table tr {
  width: 100%;
}

.company__table th {
  border-bottom: 1px solid var(--primary-color);
  width: 100px;
}

.company__table td {
  border-bottom: 1px solid var(--base-color);
  width: calc(100% - 100px);
  text-align: left;
}

.companyAddress {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.companyAddress__body {
  padding-left: 8px;
}

.privacy__content {
  font-size: 14px;
  font-weight: 600;
  color: var(--base-color);
  letter-spacing: 0.08em;
  line-height: 24px;
  max-width: 780px;
  margin: auto;
}

.email,
.link {
  color: var(--primary-color);
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 82px;
  }

  /* ヘッダー */
  .header__wrapper {
    padding: 12px 16px;
    max-width: 1000px;
    margin: 0 auto;
    height: 82px;
  }

  .header__menu {
    gap: 16px;
  }

  .header__nav {
    display: block;
  }

  .nav {
    display: flex;
    gap: 14px;
  }

  .nav__link {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
  }

  .logo img {
    width: 160px;
  }
  
  .mailButton {
    width: 58px;
    height: 58px;
  }
  
  .mailButton__image {
    width: 26px;
  }
  
  .mailButton__label {
    font-size: 12px;
  }

  /* セクション */
  .section__wrapper {
    gap: 44px;
    padding: 72px 16px;
  }

  /* カード */
  .card {
    padding: 28px 16px;
  }

  .card--border {
    padding: 0;
  }
  
  .card--border .card__header,
  .card--border .card__body {
    padding: 20px 16px;
  }

  /* ボタン */
  .button {
    padding: 14px 4px;
    font-size: 16px;
  }

  /* ラベル */
  .label {
    padding: 8px 14px;
    font-size: 16px;
  }

  /* リスト */
  .list__item span {
    top: 10px;
  }

  /* アコーディオン */
  .accordion {
    font-size: 16px;
  }

  .accordion__head {
    gap: 16px;
    padding: 16px;
  }

  .accordion__action {
    width: 16px;
  }

  .accordion__body {
    padding: 0 20px;
  }
  
  .accordion.active .accordion__body {
    padding: 20px;
  }

  /* テーブル */
  .table__caption {
    font-size: 18px;
  }

  .table th,
  .table td {
    font-size: 16px;
    padding: 12px;
  }

  /* フォーム */
  .form {
    padding-top: 24px;
  }

  .form__title {
    font-size: 28px;
  }

  .form__input,
  .form__select,
  .form__textarea {
    padding: 14px 12px;
    font-size: 16px;
  }

  .form__label {
    font-size: 16px;
  }

  .form__label--must {
    font-size: 14px;
  }

  .form__button {
    font-size: 16px;
    padding: 14px 4px;
  }
  
  .form__check {
    gap: 6px;
  }

  /* フッター */
  .footer__links {
    gap: 32px;
    padding: 44px 0;
  }
  
  .footer__wrapper {
    gap: 36px;
    font-size: 16px;
  }

  .footer__wrapper img {
    width: 140px;
  }

  .footer__copyright {
    font-size: 12px;
  }

  /* 表示切り替え */
  .pc-only {
    display: block;
  }

  .sp-only {
    display: none;
  }

  /* 「フォーム送信完了」ページ,「会社概要」ページ,「プライバシーポリシー」ページ */
  .company,
  .privacy {
    margin: 82px 0 32px;
  }

  .comple h2,
  .company h2,
  .privacy h2 {
    font-size: 24px;
  }

  .comple__wrapper {
    gap: 44px;
  }
  
  .comple__text {
    font-size: 18px;
  }

  .company__table th {
    width: 160px;
  }

  .company__table td {
    width: calc(100% - 160px);
  }
}