@charset "utf-8";
/*----------------------------------------------------
	カスタムプロパティ
----------------------------------------------------*/
:root {
  --mainSize: 1000px;
  --mainColor: #FF6666;
  --subColor: #FFD1D1;
}

/*----------------------------------------------------
	サイズ設定
----------------------------------------------------*/
/* 基準値 */
.main { width: min(100% - 4em, var(--mainSize)); margin-inline: auto; line-height: 2.0; }
/* 基準値より小さくなったら */
/* 固定値px / 基準幅px * 100vw */
@media (min-width:576px) and ( max-width:1000px) {
  html{ font-size: calc(100vw / 100); }
}
/*画面サイズが575px以下のとき*/
@media (max-width: 575px) {
  html { font-size: 50%; }
}

.inner { padding: 3em 0; }
/* 指定値よりブラウザ幅が小さい場合は左右 4em あけて100%サイズに */
.containerS { width: min(100% - 4em, 700px); margin-inline: auto; }
.containerL { width: min(100% - 4em, 1200px); margin-inline: auto; }

/*----------------------------------------------------
	header
----------------------------------------------------*/
.js-scroll { background: var(--subColor);  transition: all 0.5s ease; }
.header__inner { width: min(100% - 4em, 1100px); margin-inline: auto; }

@media (min-width:576px) { /* PC */
header { background: rgba(255,102,102,0.30); }
.toppage .header .nav__link,
.toppage .header .nav__link:hover { color: #000; }
.toppage .header .nav__item { border-left: #000 1px solid; }
.toppage .header .nav__item:last-child { border-right: #000 1px solid; }
.toppage .headerSns a { color: #000; }

.toppage .js-scroll .nav__link,
.toppage .js-scroll .nav__link:hover { color: #000; }
.toppage .js-scroll .nav__item { border-left: #000 1px solid; }
.toppage .js-scroll .nav__item:last-child { border-right: #000 1px solid; }
.toppage .js-scroll .headerSns a { color: #000; }

.header { position: sticky; top: 0; margin: 0 auto; z-index: 100; }
.header__inner { padding: 0; display:flex; align-items: center; justify-content: space-between; height: 100px; }
.header__link { display: block; margin-top: -100px; padding-top: 100px; }/*pc 追従ヘッダーの高さ*/
.headerLogo { width: 20%; }
.headerNav { display:flex; align-items: center; }
.headerSns { line-height: 1.8; }
.headerSns a { color: #000; }
header .nav__list { display: flex; list-style: none; }
header .nav__link { color: #000; padding-left: 1em; padding-right: 1em; text-decoration: none; display: block; }
header .nav__link:hover { color: #000; }
header .nav__item { position: relative; z-index: 1; border-left: #000 1px solid; transform: skewX(150deg); }
header .nav__item:first-child { display: none; }
header .nav__item:last-child { display: none; }
header .nav__item > a { transform: skewX(-150deg); }
header .nav__item::after {
  content: '';
  position: absolute;
  bottom: -.5em;
  left: 15%;
  width: 70%;
  height: 2px;
  background: var(--mainColor);
  transition: all .3s;
  transform: scale(0, 1);
  transform-origin: center top;
}
header .nav__item:hover::after { transform: scale(1, 1); }
}
@media (max-width:575px) { /* SP */
.header { position: sticky; top: 0; z-index: 100; }
.header__inner {  }
.header__link { display: block; margin-top: -100px; padding-top: 100px; }/*sp 追従ヘッダーの高さ*/
.headerLogo { width: 100%; text-align: center; }
.headerSns { display: none; }
header .nav__link { color: #fff; text-decoration: none; display: block; }
header .nav__list { display: none; width: 100vw; height: 100vh; position: fixed; top: 0; left: 0; z-index: 2; background: rgba(0,0,0,0.8); list-style: none; text-align: center; padding: 2em 0; }
header .nav__item:first-child { margin: 2em 0 1em; }
header .nav__item { font-size: 2.4rem; padding: .7em 0; }
header .nav__spButton { background: var(--mainColor) url("../images/btn.png") no-repeat; display: block; width: 50px; height: 50px; position: absolute; top: 10px; right: 10px; cursor: pointer; z-index: 200; }
header .nav__spButton.open { background-position: -50px 0; z-index: 300; }
}

/*----------------------------------------------------
	footer
----------------------------------------------------*/
.footer__inner { width: min(100% - 4em, 1000px); margin-inline: auto; }
footer { background: var(--subColor); margin-top: 2em; }
.footerLogo { text-align: center; padding: 2em 0; }
footer .nav__list { display: flex; list-style: none; }
footer .nav__item { border-left: #000 1px solid; transform: skewX(150deg); }
footer .nav__item > a { transform: skewX(-150deg); }
footer .nav__item:first-child { border-left: none; }
footer .nav__link { display: block; color: #000; text-decoration: none; padding: 0 1em; }
.footerCopyright { text-align: center; font-size: 1.4rem; padding: 2em 0; }


@media (max-width:575px) { /* SP */
footer .nav__list { flex-wrap: wrap; justify-content: center;}
footer .nav__item { margin: .4em 0; }
}

/*----------------------------------------------------
	link
----------------------------------------------------*/
a { text-decoration: none; }
a:hover img { opacity: 0.6; }

/*----------------------------------------------------
	共通パーツ
----------------------------------------------------*/
/* リンクボタン */
.button {
  display: inline-block;
  padding: .7em 1em;
  background: var(--mainColor);
  border: 2px solid transparent;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
  color: #fff;
  font-size: 2.4rem;
  width: min(400px, 100%);
  text-align: center;
  text-decoration: none;
  transition: .25s;
  border-radius: 100vh;
}
.button:focus,
.button:hover {
  background: #fff;
  border-color: currentColor;
  color: var(--mainColor);
}

/*----------------------------------------------------
	トップページ
----------------------------------------------------*/
.slider-fade img { width: 100%; margin: 0 auto; }
@media (max-width: 767px) { /* SP */
  .slider-fade img {
    display: block;
    height: 200px;
    object-fit: cover;
    width: auto;
  }
}
.top_text { font-size: 2.2rem; color: var(--mainColor); margin-bottom: .5em; }


