@charset "UTF-8";

/* ===============================================
  サイト全体で使用するスタイル
  共通のブレイクポイント：768px
=============================================== */


/* ===============================================
  変数
=============================================== */
:root {
  --margin: 30px;
  --margin-xs: 10px;
  --margin-s: calc(var(--margin) / 2);
  --margin-l: calc(var(--margin) * 2);
  --margin-section: calc(var(--margin) * 3);
  --aside: 200px;
  --contents-width: calc(1328px + var(--margin) * 2);
  --contents-width-s: calc(880px + var(--margin) * 2);
  --contents-width-xs: calc(660px + var(--margin) * 2);
  --font-xxl: 3rem; /* heading1 */
  --font-xl: 2.125rem; /* heading2 */
  --font-l: 1.75rem; /* heading3 */
  --font-m: 1.25rem; /* heading4 */
  --font-s: .85rem;
  --font-xs: .75rem;
  --font-lead: 1.125rem;
  --font-caption: var(--font-s);
  --font-caption-s: .75rem;

  --color-primary: 39,41,55;
  --color-primary-light: 223,223,230;
  --color-primary-dark: 28,29,38;
  --color-secondary: 255,223,221;
  --color-secondary-light: 252,240,239;
  --color-secondary-dark: 208,175,173;
  --color-text: rgb(var(--color-primary-dark));
  --color-text-gray: rgba(var(--color-primary-dark),.65);
  --color-border: rgba(var(--color-primary-dark),.26);
  --color-link: 33,105,221;
}

@media (max-width: 768px) {
  :root {
    --aside: 100%;
    --margin-section: calc(var(--margin) * 3);
    --font-l: 1.57rem;
    --font-xl: 2rem;
  }
}


/* ===============================================
  リセット
=============================================== */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-break: break-all;
}

html {
  scroll-behavior: initial;
}
html,
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.75;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: var(--color-text);
}
/* △△△lenisの動作のために、min-heightとheightはデフォルトにする */

div {
  margin-left: auto;
  margin-right: auto;
}

p {
  text-align: left;
  margin-top: 0;
  margin-bottom: 0;
}
* + p {
  margin-top: 1.75em;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: bottom;
  display: inline-block;
}

hr {
  height: 0;
  margin: 1em 0;
  border: 0;
  border-top: 1px solid #ccc;
}

a {
  color: rgb(var(--color-primary-dark));
  text-decoration: underline;
}
a:focus,
a:hover {
  opacity: 0.5;
}

a,
button,
input,
textarea,
.btn {
  transition: 0.3s ease;
}

table {
  width: 100%;
}

main,section,aside,article {
  display: block;
}

picture {
  margin: 0;
  display: block;
}

* + picture {
  margin-top: 1em;
}

svg {
  overflow: unset;
}

iframe {
  width: 100%;
  border: 0;
}

/* ===============================================
  split block
=============================================== */

.gcol {
  width: 100%;
  position: relative;
  display: flex;
  flex-flow: row wrap;
  gap: var(--margin);
  justify-content: flex-start;
  align-items: stretch;
}
* + .gcol {
  margin-top: var(--margin);
}

.gcol .col {
  width: 100%;
  margin: 0 !important;
  display: block;
  position: relative;
  list-style: none;
}

.gcol .col > :first-child {
  margin-top: 0 !important;
}
.gcol .col > :last-child {
  margin-bottom: 0 !important;
}

.gcol.align-left {
  justify-content: flex-start;
}
.gcol.valign-top {
  align-items: top;
}
.gcol.valign-middle {
  align-items: center;
}
.gcol.valign-bottom {
  align-items: flex-end;
}

/* split spacing
------------------------------------- */
.gcol.space-none {
  gap: 0;
}
.gcol.space-xs {
  gap: var(--margin-xs);
}
.gcol.space-s {
  gap: var(--margin-s);
}
.gcol.space-l {
  gap: var(--margin-l);
}

/*  sprit 2
------------------------------------- */
.gcol.split-2 > .col {
  width: calc( ( 100% - var(--margin) ) /2 );
}
.gcol.split-2.space-none > .col {
  width: calc(100%/2);
}
.gcol.split-2.space-xs > .col {
  width: calc( ( 100% - var(--margin-xs) ) /2 );
}
.gcol.split-2.space-s > .col {
  width: calc( ( 100% - var(--margin-s) ) /2 );
}
.gcol.split-2.space-l > .col {
  width: calc( ( 100% - var(--margin-l) ) /2 );
}

/*  sprit 3
------------------------------------- */
.gcol.split-3 > .col {
  width: calc( ( 100% - var(--margin) * 2 ) /3 );
}
.gcol.split-3.space-none > .col {
  width: calc(100%/3);
}
.gcol.split-3.space-xs > .col {
  width: calc( ( 100% - var(--margin-xs) * 2 ) /3 );
}
.gcol.split-3.space-s > .col {
  width: calc( ( 100% - var(--margin-s) * 2 ) /3 );
}
.gcol.split-3.space-l > .col {
  width: calc( ( 100% - var(--margin-l) * 2 ) /3 );
}

/*  sprit 4
------------------------------------- */
.gcol.split-4 > .col {
  width: calc( ( 100% - var(--margin) * 3 ) /4 );
}
.gcol.split-4.space-none > .col {
  width: calc(100%/4);
}
.gcol.split-4.space-xs > .col {
  width: calc( ( 100% - var(--margin-xs) * 3 ) /4 );
}
.gcol.split-4.space-s > .col {
  width: calc( ( 100% - var(--margin-s) * 3 ) /4 );
}
.gcol.split-4.space-l > .col {
  width: calc( ( 100% - var(--margin-l) * 3 ) /4 );
}

/*  sprit 5
------------------------------------- */
.gcol.split-5 > .col {
  width: calc( ( 100% - var(--margin) * 4 ) /5 );
}
.gcol.split-5.space-none > .col {
  width: calc(100%/5);
}
.gcol.split-5.space-xs > .col {
  width: calc( ( 100% - var(--margin-xs) * 4 ) /5 );
}
.gcol.split-5.space-s > .col {
  width: calc( ( 100% - var(--margin-s) * 4 ) /5 );
}
.gcol.split-5.space-l > .col {
  width: calc( ( 100% - var(--margin-l) * 4 ) /5 );
}

/*  sprit 6
------------------------------------- */
.gcol.split-6 > .col {
  width: calc( ( 100% - var(--margin) * 5 ) /6 );
}
.gcol.split-6.space-none > .col {
  width: calc(100%/6);
}
.gcol.split-6.space-xs > .col {
  width: calc( ( 100% - var(--margin-xs) * 5 ) /6 );
}

.gcol.split-6.space-s > .col {
  width: calc( ( 100% - var(--margin-s) * 5 ) /6 );
}
.gcol.split-6.space-l > .col {
  width: calc( ( 100% - var(--margin-l) * 5 ) /6 );
}

/*  diff
------------------------------------- */
[class*=" split-diff"].gcol > .col {
  width: calc(60% - var(--margin));
}
.gcol.split-diff-left > :nth-child(2n-1),
.gcol.split-diff-right > :nth-child(2n){
  width: 40% !important;
}
[class*=" split-diff"].gcol.space-none > .col {
  width: 60%;
}
[class*=" split-diff"].gcol.space-xs > .col {
  width: calc(60% - var(--margin-xs));
}
[class*=" split-diff"].gcol.space-s > .col {
  width: calc(60% - var(--margin-s));
}
[class*=" split-diff"].gcol.space-l > .col {
  width: calc(60% - var(--margin-l));
}

/* responsive
------------------------------------- */
@media (max-width: 768px) {
  .gcol {
    justify-content: flex-start;
  }
  .gcol.reverse {
    flex-direction: column-reverse;
  }
  .gcol:not([class*=" hold"]) > .col {
    width: 100% !important;
  }

  /* split spacing
  ------------------------------------- */
  .gcol.space-l {
    row-gap: var(--margin);
  }

  /*  hold 2
  ------------------------------------- */
  .gcol.hold-2 > .col {
    width: calc( ( 100% - var(--margin) ) / 2 ) !important;
  }
  .gcol.hold-2.space-none > .col {
    width: calc( 100%/2) !important;
  }
  .gcol.hold-2.space-xs > .col {
    width: calc( ( 100% - var(--margin-xs) ) / 2 ) !important;
  }
  .gcol.hold-2.space-s > .col {
    width: calc( ( 100% - var(--margin-s) ) / 2 ) !important;
  }
  .gcol.hold-2.space-l > .col {
    width: calc( ( 100% - var(--margin-l) ) / 2 ) !important;
  }

  /*  hold 3
  ------------------------------------- */
  .gcol.hold-3 > .col {
    width: calc( ( 100% - var(--margin) * 2 ) / 3 ) !important;
  }
  .gcol.hold-3.space-none > .col {
    width: calc( 100%/3) !important;
  }
  .gcol.hold-3.space-xs > .col {
    width: calc( ( 100% - var(--margin-xs) * 2 ) / 3 ) !important;
  }
  .gcol.hold-3.space-s > .col {
    width: calc( ( 100% - var(--margin-s) * 2 ) / 3 ) !important;
  }
  .gcol.hold-3.space-l > .col {
    width: calc( ( 100% - var(--margin-l) * 2 ) / 3 ) !important;
  }

  /*  hold 4
  ------------------------------------- */
  .gcol.hold-4 > .col {
    width: calc( ( 100% - var(--margin) * 3 ) / 4 ) !important;
  }
  .gcol.hold-4.space-none > .col {
    width: calc( 100%/4) !important;
  }
  .gcol.hold-4.space-xs > .col {
    width: calc( ( 100% - var(--margin-xs) * 3 ) / 4 ) !important;
  }
  .gcol.hold-4.space-s > .col {
    width: calc( ( 100% - var(--margin-s) * 3 ) / 4 ) !important;
  }
  .gcol.hold-4.space-l >.col {
    width: calc( ( 100% - var(--margin-l) * 3 ) / 4 ) !important;
  }

  /*  hold 5
  ------------------------------------- */
  .gcol.hold-5 > .col {
    width: calc( ( 100% - var(--margin) * 4 ) / 5 ) !important;
  }
  .gcol.hold-5.space-none > .col {
    width: calc( 100%/5) !important;
  }
  .gcol.hold-5.space-xs > .col {
    width: calc( ( 100% - var(--margin-xs) * 4 ) / 5 ) !important;
  }
  .gcol.hold-5.space-s > .col {
    width: calc( ( 100% - var(--margin-s) * 4 ) / 5 ) !important;
  }
  .gcol.hold-5.space-l > .col {
    width: calc( ( 100% - var(--margin-l) * 4 ) / 5 ) !important;
  }

  /*  hold 6
  ------------------------------------- */
  .gcol.hold-6 > .col {
    width: calc( ( 100% - var(--margin) * 5 ) / 6 ) !important;
  }
  .gcol.hold-6.space-none > .col {
    width: calc( 100%/6 ) !important;
  }
  .gcol.hold-6.space-xs > .col {
    width: calc( ( 100% - var(--margin-xs) * 5 ) / 6 ) !important;
  }
  .gcol.hold-6.space-s > .col {
    width: calc( ( 100% - var(--margin-s) * 5 ) / 6 ) !important;
  }
  .gcol.hold-6.space-l > .col {
    width: calc( ( 100% - var(--margin-l) * 5 ) / 6 ) !important;
  }

}


/* ===============================================
  container contents 
=============================================== */
[class^="contents-"] > :first-child {
  margin-top: 0 !important;
}
[class^="contents-"] > :last-child {
  margin-bottom: 0 !important;
}
.contents-wrapper {
  min-height: 100vh;
  position: relative;
}

/* main
------------------------------------- */
.contents-main > .inner {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}
.contents-main > .inner > * {
  display: inline-block;
}
.contents-main > .inner > .main {
  width: 100%;
  max-width: calc( 100% - var(--aside) - var(--margin));
}
.contents-main > .inner > .aside {
  width: var(--aside);
}
.contents-main > .inner > .aside > * {
  padding-left: 0;
  padding-right: 0;
}
.contents-main > .inner > * + * {
  margin-left: var(--margin);
}

@media (max-width: 768px) {
  .contents-main > .inner {
    flex-direction: column;
  }
  .contents-main > .inner > * {
    max-width: inherit !important;
    /*margin-top: var(--margin-section);*/
    margin-left: 0;
    order: 2;
  }
  .contents-main > .inner > .main {
    width: 100%;
    margin-left: 0;
    order: 1;
  }
  .contents-main > .inner > .main + .aside {
    margin-top: var(--margin-section) !important;
  }
}

/* footer
------------------------------------- */
.contents-footer.position-bottom {
  width: 100%;
  position: absolute;
  bottom: 0;
}
.contents-footer .section.copyright {
  padding: 10px;
  line-height: 1;
}

/* section
------------------------------------- */
.section {
  margin: 0;
  padding-top: var(--margin-section);
  padding-bottom: var(--margin-section);
}

@media (min-width: 769px) {
  .aside .section + .section {
    margin-top: calc(var(--margin) * 1.5);
  }
}
@media (max-width: 768px) {
  .aside .section + .section {
    margin-top: var(--margin-l);
  }
}

.section > :first-child ,
[class^="section-"] > :first-child {
  margin-top: 0 !important;
}
.section > :last-child,
[class^="section-"] > :last-child {
  margin-bottom: 0 !important;
}


/* section-
------------------------------------- */

.section > *,
.inner {
  max-width: var(--contents-width);
  margin: 0 auto;
  padding-left: var(--margin);
  padding-right: var(--margin);
  /*position: relative;*/
  display: block;
}

.inner .section > * {
  padding-left: 0;
  padding-right: 0;
}

.inner > :last-child {
  margin-bottom: 0 !important;
}

[class^="section-"] > .inner {
  padding-left: 0;
  padding-right: 0;
}

.section.size-s > *,
.section > .size-s {
  max-width: var(--contents-width-s);
}

.section.size-xs > *,
.section > .size-xs {
  max-width: var(--contents-width-xs);
}

.section.size-full > *,
.section > .size-full {
  max-width: 100%;
}

[class^="section-"] {
  position: relative;
}

[class^="section-"] + [class^="section-"] {
  margin-top: var(--margin-l);
}

.aside [class^="section-"] + [class^="section-"] {
  margin-top: var(--margin-s);
}

@media (max-width: 768px) {
  [class^="section-"] + [class^="section-"] {
    margin-top: calc(var(--margin) * 1.5);
  }
  .inner .aside .section > * {
    padding-left:  var(--margin);
    padding-right:  var(--margin);
  }
}


/* ===============================================
  standard class 
=============================================== */
.align-left {
  text-align: left !important;
}
.align-center {
  text-align: center !important;
}
.align-right {
  text-align: right!important;
}

.margin-xl,
.margin-xl[class^="section-"] {
  margin-top: calc(var(--margin) * 4) !important;
}
.margin-l,
.margin-l[class^="section-"] {
  margin-top: var(--margin-l) !important;
}
.margin-m,
.margin-m[class^="section-"] {
  margin-top: var(--margin) !important;
}
.margin-s,
.margin-s[class^="section-"] {
  margin-top: var(--margin-s) !important;
}
.margin-xs,
.margin-xs[class^="section-"] {
  margin-top: var(--margin-xs) !important;
}
.margin-none,
.margin-none[class^="section-"] {
  margin-top: 0 !important;
}

.family-en {
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
}

.lead {
  font-size: var(--font-lead);
  font-weight: 500;
}

.note {
  color: var(--color-text-gray);
  font-size: var(--font-caption);
  line-height: 1.48;
}
* + .none {
  margin-top: 1em;
}

.strong {
  font-weight: 500;
}

.uppercase {
  text-transform: uppercase;
}

.movie {
  position: relative;
}
.movie::after {
  content: '';
  width: 100%;
  padding-top: 56.25%;
  display: block;
}
.movie > iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

picture > * + p {
  margin-top: 1em;
}

.kakomi {
  padding: var(--margin);
  background-color: rgb(var(--color-primary-light));
}
* + .kakomi {
  margin-top: 1.75em;
}

@media (min-width: 769px) {
  .view-sp {
    display: none !important;
  }
  .view-sp + * {
    margin-top: 0 !important;
  }
}

@media (max-width: 768px) {
  .hold-center {
    text-align: center !important;
  }
  .view-pc {
    display: none !important;
  }
}

/* disabled
------------------------------------- */
.btn.disabled,
.btn.disabled:focus,
.btn.disabled:hover,
.form.disabled,
.form.type-select.disabled {
  color: #ccc !important;
  background-color: #eee !important;
  border-color: #ccc !important;
  opacity: 1;
  pointer-events: none;
  box-shadow: none !important;
}

.disabled::placeholder {
  color: #ccc !important;
}

/* scroll
------------------------------------- */
.scroll-y {
  height: 20em;
  padding: 1em;
  border: 1px solid #ccc;
  overflow-y: scroll;
  position: relative;
}
.scroll-x > :first-child,
.scroll-y > :first-child {
  margin-bottom: 0 !important;
}
.scroll-x > :last-child,
.scroll-y > :last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .scroll-x {
    white-space: nowrap;
    overflow-x: scroll;
  }
  .scroll-x > * {
    width: 150vw; 
  }
}

/* thumbnail
------------------------------------- */
.thumbnail {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  position: relative;
}
.thumbnail::after {
  content: '';
  width: 100%;
  padding-top: 75%;
  display: block;
}
.thumbnail > img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}


/* ===============================================
  heading / fontsize
=============================================== */
h1, h2, h3, h4, h5, h6 {
  font-size: 1em;
  line-height: 1.66;
}

.heading {
  position: relative;
  font-weight: 700;
  font-feature-settings: "palt";
}

.heading > a {
  text-decoration: none;
}

* + .heading {
  margin-top: 2em;
}

.lead + .heading {
  margin-top: .5em;
}

.heading.size-xxl {
  font-size: var(--font-xxl);
  line-height: 1.375;
}
.heading.size-xl {
  font-size: var(--font-xl);
  line-height: 1.53;
}
.heading.size-l {
  font-size: var(--font-l);
  line-height: 1.43;
}
.heading.size-m {
  font-size: var(--font-m);
  line-height: 1.6;
}
.heading.size-s {
  font-size: 1rem;
}

.font-s {
  font-size: var(--font-caption);
}
.font-xs {
  font-size: var(--font-caption-s);
}

.heading.size-l + * {
  margin-top: var(--margin-l);
}

span.heading {
  margin-right: 2em;
  display: inline-block;
}

.heading-caption {
  font-size: .666em;
  display: inline-block;
}

.heading.type-vertical {
  writing-mode: vertical-rl;
  line-height: 1;
}

.heading.type-vertical.size-xxl {
  font-size: 6rem;
}

.heading.type-line::before {
  content: '';
  height: 100%;
  border-left: 3px solid rgb(var(--color-primary));
  position: absolute;
  top: 50%;
  left: -1em;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .heading {
    line-height: 1.6;
  }
  .heading.type-vertical {
    writing-mode: unset;
  }
  .heading.type-vertical.size-xl {
    font-size: 3.5rem;
  }
  span.heading {
    margin-right: 0;
    display: block;
  }
  .heading.type-line {
    padding-left: 1em;
  }
  .heading.type-line::before {
    left: 0;
  }
}


/* ===============================================
  リスト
=============================================== */

ol, ul {
  padding: 0;
  list-style: none;
}
li {
  text-align: left;
  position: relative;
}

* + .list {
  margin-top: 1.75em;
}

.list .list {
  margin-top: .8em;
}

/* disc
------------------------------------- */
.list.type-disc > li {
  padding-left: 1em;
}

.list.type-disc > li::before {
  content: '';
  width: .25em;
  height: .25em;
  border-radius: 50%;
  background-color: rgb(var(--color-primary-dark));
  display: inline-block;
  position: absolute;
  top: .65em;
  left: 0;
}

/* num
------------------------------------- */
.list.type-num {
  counter-reset: count;
}

.list.type-num > li {
  padding-left: 2em;
}

.list.type-num > li::before {
  counter-increment: count;
  content: '('counter(count)')';
  position: absolute;
  left: 0;
}

.list.type-num > li + li {
  margin-top: 1.75em;
}

/* split
------------------------------------- */
.list.type-split {
  display: flex;
  flex-wrap: wrap;
}

/* line
------------------------------------- */
.list.type-line {
  display: flex;
  flex-wrap: wrap;
  gap: var(--margin-s);
}

.list.type-line > li::after {
  content: '';
  height: 100%;
  border-left: 1px solid #ccc;
  position: absolute;
  top: 0;
  right: calc(var(--margin-s) / -2);
}

.list.type-line > :last-child::after {
  display: none;
}

/* chip
------------------------------------- */
.list.type-chip {
  font-size: var(--font-s);
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
}

.list.type-chip a {
  padding: .25em 1em;
  color: var(--color-text-gray) !important;
  text-decoration: none;
  border: 1px solid var(--color-text-gray);
  display: inline-block;
}

.list.type-chip a:hover {
  color: rgb(var(--color-primary-dark)) !important;
  border-color: rgb(var(--color-primary-dark));
  background-color: rgb(var(--color-secondary-light));
  opacity: 1;
}

/* vertical
------------------------------------- */
.list.type-vertical a {
  text-decoration: none;
  display: block;
  opacity: 1;
}

.list.type-vertical * + * {
  margin-top: 1em;
}

.list.type-vertical li.current a {
  position: relative;
}

.list.type-vertical > li > a:hover::before,
.list.type-vertical li.current > a::before {
  content: '';
  height: 100%;
  border-left: 3px solid rgb(var(--color-primary));
  position: absolute;
  top: 50%;
  left: -1em;
  transform: translateY(-50%);
}

.list.type-vertical li .children {
  padding-left: 1em;
  display: none;
}

.list.type-vertical li.current .children {
  display: block;
}


/* ===============================================
  table
=============================================== */

.table {
  border-collapse: separate;
  border-spacing: 0;
}
* + .table {
  margin-top: 1.75em;
}

.table td,
.table th {
  padding: var(--margin-s) 0;
  text-align: left;
  vertical-align: middle;
}
.table * + th,
.table * + td {
  padding-left: var(--margin);
}
.table th {
  font-weight: 500;
}
.table td > :first-child,
.table th > :first-child {
  margin-top: 0;
}


/* セル等間隔 */
.table.fixed {
  table-layout: fixed;
}


@media (max-width: 768px) {
  * + .table:not(.hold) {
    margin-top: 1em;
  }
  .table:not(.hold),
  .table:not(.hold) > tbody,
  .table:not(.hold) > tbody > tr,
  .table:not(.hold) > tbody > tr > td,
  .table:not(.hold) > tbody > tr > th,
  .table:not(.hold) > thead,
  .table:not(.hold) > thead > tr,
  .table:not(.hold) > thead > tr > td,
  .table:not(.hold) > thead > tr > th {
    width: 100% !important;
    display: block;
  }
  .table:not(.hold) > tbody > tr,
  .table > tbody > tr > [class^="hold-"] {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
  }
}

/* responsive
------------------------------------- */

@media (max-width: 768px) {
  [class*=" hold-"].table > tbody > tr {
    font-size: 0;
  }
  [class*=" hold-"].table > tbody > tr > td {
    font-size: 1rem;
    display: inline-block;
  }
  .table > tbody > tr > [class^="hold-"] > * {
    width: 100%;
    margin: 0;
  }
  .table.hold-half > tbody > tr > td,
  .table > tbody > tr > .hold-half > * {
    margin: 0;
    width: 50% !important;
    font-size: 1rem;
  }
  .table.hold-third > tbody > tr > td {
    width: 33.333% !important;
  }
}

@media (max-width: 768px) {
  .table:not(.hold) th,
  .table:not(.hold) td {
    padding: 0;
  }
  .table:not(.hold) * + th,
  .table:not(.hold) * + td {
    margin-top: var(--margin-s);
  }
  /* 横スクロール */
  .table-wrap {
    width: 100%;
    max-height: 90vh;
    overflow: auto;
  }
  .table-wrap > table {
    width: var(--contents-width-s);
  }
}

/* type-line
------------------------------------- */
.table.type-line {
  position: relative;
}

.table.type-line tbody,
.table.type-line tr {
  position: relative;
}

.table.type-line tbody::after,
.table.type-line tr::after {
  content: '';
  width: 100%;
  position: absolute;
  left: 0;
}
.table.type-line tbody::after {
  border-top: 1px solid var(--color-border);
}
.table.type-line tr::after {
  border-bottom: 1px solid var(--color-border);
}

.table.type-line thead tr::after {
  display: none;
}

.table.type-line tr > :first-child {
  width: 15em;
}

.table.type-line tbody th,
.table.type-line tbody td {
  vertical-align: top;
}

@media (max-width: 768px) {
  .table.type-line:not(.hold) thead {
    display: none;
  }
  .table.type-line:not(.hold) tr {
    padding-top: 1em;
    padding-bottom: 1em;
  }
  .table.type-line tr::after {
    top: 0;
  }
}

/* type-grid
------------------------------------- */
.table.type-grid {
  border-collapse: separate; /* stickyでborderもスクロールするためseparate */
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}
.table.type-grid th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #fff;
}

.table.type-grid th,
.table.type-grid td {
  padding: var(--margin-xs) var(--margin-s);
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  vertical-align: middle;
}

@media (max-width: 768px) {
  .table.type-grid:not(.hold) thead {
    display: none;
  }
  .table.type-grid:not(.hold) tr {
    padding-top: 1em;
    padding-bottom: 1em;
  }
  .table.type-grid tr::after {
    top: 0;
  }
}


/* ===============================================
  video
=============================================== */
.video {
  max-width: none !important;
  position: relative;
  display: block;
}

.video > video,
.video > iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.video::after {
  content: '';
  width: 100%;
  padding-top: 56.25%;
  display: block;
}


/* ===============================================
  accordion
=============================================== */

.accordion-trigger {
  cursor: pointer;
}
.accordion-trigger + .accordion-content {
  height: 0;
  padding: 0;
  transition: 0.3s ease;
  overflow: hidden;
}
.accordion-trigger.active + .accordion-content {
  height: auto;
  padding-top: 1em;
}


/* ===============================================
  btn
=============================================== */

.btn,
button,
input[type="submit"] {
  min-width: 10em;
  padding: 1em 2em;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  background-color: rgb(var(--color-primary));
  border: 1px solid rgb(var(--color-primary));
  border-radius: 10em;
  display: inline-block;
  cursor: pointer;
  position: relative;
}

.btn:focus,
.btn:hover,
button:focus,
button:hover,
input[type="submit"]:focus,
input[type="submit"]:hover {
  color: rgb(var(--color-secondary));
  border-color: rgb(var(--color-primary-dark));
  background-color: rgb(var(--color-primary-dark));
  opacity: 1;
  position: relative;
}

.btn > .description,
button > .description {
  margin-bottom: 1em;
  font-size: var(--font-s);
  display: block;
}

.inversion .btn,
.inversion button,
.inversion input[type="submit"],
.btn.inversion,
button.inversion,
input[type="submit"].inversion {
  color: rgb(var(--color-primary));
  border-color: rgb(var(--color-secondary));
  background-color: rgb(var(--color-secondary));
}

.inversion .btn:hover,
.inversion button:hover,
.inversion input[type="submit"]:hover,
.btn.inversion:hover,
button.inversion:hover,
input[type="submit"].inversion:hover {
  border-color: rgb(var(--color-secondary-light));
  background-color: rgb(var(--color-secondary-light));
}

* + .btn,
* + button,
* + input[type="submit"] {
  margin-top: 1.75em;
}

@media (max-width: 768px) {
  .btn:not(.hold),
  button:not(.hold),
  input[type="submit"]:not(.hold) {
    width: 100%;
  }
  * + .btn:not(.hold),
  * + button:not(.hold),
  * + input[type="submit"]:not(.hold) {
    margin-top: 1em;
    margin-left: 0;
  }
  .btn .description,
  button .description {
    display: none;
  }
}

/* size
------------------------------------- */
.btn.size-s,
button.size-s,
input[type="submit"].size-s {
  font-size: var(--font-s);
}

.btn.size-l,
button.size-l,
input[type="submit"].size-l {
  font-size: 1.25rem;
}

/* ghost
------------------------------------- */
.btn.type-ghost,
button.type-ghost,
input[type="submit"].type-ghost {
  color: rgb(var(--color-primary));
  background-color: transparent;
}

.btn.type-ghost:focus,
.btn.type-ghost:hover,
button.type-ghost:focus,
button.type-ghost:hover,
input[type="submit"].type-ghost:focus,
input[type="submit"].type-ghost:hover {
  background-color: rgb(var(--color-secondary));
  opacity: 1;
}

.inversion .btn.type-ghost,
.inversion button.type-ghost,
.inversion input[type="submit"].type-ghost,
.btn.type-ghost.inversion,
button.type-ghost.inversion,
input[type="submit"].type-ghost.inversion {
  color: #fff;
  border-color: #fff;
}

.inversion .btn.type-ghost:hover,
.inversion button.type-ghost:hover,
.inversion input[type="submit"].type-ghost:hover,
.btn.type-ghost.inversion:hover,
button.type-ghost.inversion:hover,
input[type="submit"].type-ghost.inversion:hover {
  color: rgb(var(--color-secondary));
  border-color: rgb(var(--color-secondary));
  background-color: transparent;
}

/* shadow
------------------------------------- */
.btn.type-shadow,
button.type-shadow,
input[type="submit"].type-shadow {
  box-shadow: 0 3px 0 0 rgba(0,0,0,0.5);
  position: relative;
  top: 0;
}
.btn.type-shadow:focus,
.btn.type-shadow:hover,
button.type-shadow:focus,
button.type-shadow:hover,
input[type="submit"].type-shadow:focus,
input[type="submit"].type-shadow:hover {
  box-shadow: none;
  top: 1px;
  opacity: 1;
}


/* ===============================================
  form
=============================================== */

fieldset {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}

label {
  display: block;
}

input:where(:not([type="radio"]):not([type="checkbox"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]):not([type="image"]):not([type="range"])),
textarea,
select {
  display: block;
  width: 100%;
  padding: .5em 1em;
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background-color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
  -webkit-appearance: none;
}

textarea {
  padding: 1em;
  height: 10em;
  resize: vertical;
}

select {
  padding-right: 2em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpolyline points='1,1 5,5 9,1' fill='none' stroke='%231c1d26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 10px 6px;
}

input:where(:not([type="radio"]):not([type="checkbox"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]):not([type="image"]):not([type="range"])):focus,
select:focus,
textarea:focus {
  outline: none;
  background-color: rgb(var(--color-secondary-light));
}

input:disabled,
textarea:disabled {
  background-color: #eee;
}


/* checkbox / radio
------------------------------------- */
input[type="checkbox"],
input[type="radio"] {
  opacity: 0;
  position: absolute;
}

input[type="checkbox"] + .label,
input[type="radio"] + .label {
  padding-left: 2.5rem;
  font-size: 1rem;
  line-height: 2;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

input[type="checkbox"] + .label::before,
input[type="radio"] + .label::before {
  content: '';
  width: 2em;
  height: 2em;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  background-position: center;
  cursor: pointer;
  transition: 0.3s ease;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
input[type="radio"] + .label::before {
  border-radius: 50%;
}

input[type="checkbox"]:checked + .label::before,
input[type="radio"]:checked + .label::before {
  background-color: rgb(var(--color-primary));
  border-color: rgb(var(--color-primary));
}
input[type="checkbox"]:checked + .label::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 65%;
}
input[type="radio"]:checked + .label::before {
  box-shadow: 0 0 0 4px #fff inset;
}

label:has(input[aria-required="true"]) .label::after {
  content: '*';
  width: auto;
  margin-left: .25em;
  color: #c00;
  font-size: .9rem;
  display: inline-block;
}


/* group
------------------------------------- */
.form-group > label{
  display: grid;
  gap: .25em;
}
.form-group + * {
  margin-top: 1.5em;
}

label > .label:first-child {
  font-size: .85rem;
  cursor: pointer;
}

/* responsive
------------------------------------- */
.alert {
  padding: .5em;
  color: #fff;
  font-size: .9rem;
  background-color: #c00;
  display: inline-block;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
}
.alert::before {
  content: '';
  margin-left: -6px;
  border-bottom: 4px solid #c00;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  display: inline-block;
  position: absolute;
  top: -4px;
  left: 50%;
}

@media (max-width: 768px) {
  .alert {
    position: relative;
    top: auto;
  }
}


/* ===============================================
  ContactForm7
  プラグインのデフォルトスタイル上書き
=============================================== */

/* 横並び項目の間隔調整 */
.wpcf7 .wpcf7-list-item {
  margin: 0;
}

/* 送信メッセージ */
div.wpcf7 form .wpcf7-response-output {
  margin: var(--margin-xs) 0 0;
  border: none;
  color: rgb(var(--color-primary));
  text-align: center;
  font-size: var(--font-s);
  font-weight: bold;
}

/* 送信完了時 */
div.wpcf7 form.sent .wpcf7-response-output {
  color: var(--color-text);
}

/* スピナー：位置とデザイン調整 */
.wpcf7 .wpcf7-spinner {
  display: none;
  margin: var(--margin-xs) auto 0;
  background-color: transparent;
  opacity: .7;
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-text);
}

.wpcf7 .wpcf7-spinner::before {
  background-color: var(--color-text);
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  transform-origin: 9px 9px;
  animation-duration: 1400ms;
}

form.submitting .wpcf7-spinner {
  display: block;
}

/* 全体のエラーメッセージ */
.wpcf7 .screen-reader-response {
  margin-bottom: 1em;
  color: #c00;
}
.wpcf7 .screen-reader-response > ul > li::before {
  content: '- ';
}

/* 項目ごとのエラーメッセージ */
.wpcf7 .wpcf7-not-valid-tip {
  margin-top: .35em;
  font-size: var(--font-caption);
  color: #c00;
}

