@charset "UTF-8";

/* ---------------------------------------------------------
  base.css（サイト全体に関わる共通CSS）
  - Reset / フォント / 基本レイアウト / 共通コンポーネント
  - レスポンシブ基礎（data-sc-*, rem設計 等）
  - メディアクエリは下部に集約
--------------------------------------------------------- */

/* ---------------------------------------------------------
  CSS運用版（SCSS廃止）

  - 旧SCSSの構成をコメントで引き継ぎ
    - Base: 旧 `scss/_base.scss` 相当（Reset / 基本設定 / ユーティリティ）
    - Main: 旧 `scss/style.scss` 相当（共通パーツ / 各セクション）
  - メディアクエリはファイル下部に集約
--------------------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

/* ---------------------------------------------------------
  Base（旧 `scss/_base.scss` 相当）
  - A Modern CSS Reset
--------------------------------------------------------- */

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

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
dd,
ol,
ul,
li,
td,
th,
figure,
input,
select,
button,
optgroup,
textarea {
  margin: 0;
  padding: 0;
}

article,
aside,
footer,
header,
main,
nav,
section,
figcaption,
figure {
  display: block;
}

ul[role=list],
ol[role=list] {
  list-style: none;
}

li {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture {
  max-width: 100%;
  display: block;
}

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

/* ---------------------------------------------------------
  Base（旧 `scss/_base.scss` 相当）
  - SP / PC 表示切り替え
--------------------------------------------------------- */

/* data-sc-pc / data-sc-sp の制御はメディアクエリへ集約（下部参照） */

/* ---------------------------------------------------------
  Base（旧 `scss/_base.scss` 相当）
  - フォント 設定
--------------------------------------------------------- */

body {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 500;
  line-height: 1.5;
  color: #FFFFFF;
  font-size: 20px;
  letter-spacing: 0.05em;
  word-break: break-all;
  background-color: #CF140D;
}

img {
  border-style: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  object-fit: cover;
}

a,
button {
  outline: 0;
  text-decoration: none;
  color: inherit;
  background-color: transparent;
  transition: 0.3s;
  opacity: 1;
}

a:hover,
button:hover {
  cursor: pointer;
  opacity: 0.7;
}

/* ---------------------------------------------------------
  Base（旧 `scss/_base.scss` 相当）
  - row 初期設定
--------------------------------------------------------- */

.row {
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
}

.row > * {
  flex: 1;
}

/* ---------------------------------------------------------
  Base（旧 `scss/_base.scss` 相当）
  - 幅 初期設定
--------------------------------------------------------- */

.w1280 {
  /* width: 100%; */
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------------------------------------------------------
  Base（旧 `scss/_base.scss` 相当）
  - TOPへ戻る
--------------------------------------------------------- */

div#page_top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 100px;
  height: 107px;
  z-index: 990;
}

/* ---------------------------------------------------------
  Base（旧 `scss/_base.scss` 相当）
  - ローディング画面
--------------------------------------------------------- */

#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #CF140D;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
}

.spinner {
  width: 100px;
  height: 100px;
  margin: 200px auto;
  background-color: #fff;
  border-radius: 100%;
  animation: sk-scaleout 1s infinite ease-in-out;
}

@keyframes sk-scaleout {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

/* ---------------------------------------------------------
  Base（旧 `scss/_base.scss` 相当）
  - スマホナビ
--------------------------------------------------------- */

.navToggle {
  position: fixed;
  top: 30px;
  right: 10px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background: #ff0700;
  border-radius: 5px;
}

.navToggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 64%;
  height: 3px;
  background: #fff;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.navToggle span.bar01 {
  top: 32%;
}

.navToggle span.bar03 {
  top: 68%;
}

.navToggle.active .bar01 {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.navToggle.active .bar02 {
  opacity: 0;
}

.navToggle.active .bar03 {
  top: 50%;
  transform: translate(-50%, -50%) rotate(135deg);
}

nav.spMav {
  z-index: 999;
  font-weight: 400;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 7, 0, 0.8);
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 3;
  font-size: 1.5em;
}

nav.spMav li {
  list-style: none;
  text-align: center;
}

/* ---------------------------------------------------------
  Main（旧 `scss/style.scss` 相当）
--------------------------------------------------------- */

html {
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-size: 2rem;
}

/* ---------------------------------------------------------
  共通パーツ
--------------------------------------------------------- */

span.inBlo {
  display: inline-block;
}

.font-noto {
  font-family: "Noto Sans JP", sans-serif;
}

.obi {
  background-image: url(../images/obi.png);
  background-size: contain;
  height: 25px;
}

.stky {
  /* PC用の調整はメディアクエリへ集約（下部参照） */
}

.stkyB {
  /* PC用の調整はメディアクエリへ集約（下部参照） */
}

span.inlineblock {
  display: inline-block;
}

section {
  padding-top: 3em;
  padding-bottom: 3em;
}

header {
  background-color: #fff;
}

header .w1280 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

header .w1280 h1 {
  color: #242424;
  font-size: 1.1em;
}

header .w1280 a {
  width: 28px;
  margin: 0 10px;
  display: inline-block;
}

footer {
  background: #fff;
  padding: 27px 0;
  color: #242424;
}

footer a {
  display: block;
  max-width: 183px;
  margin: 0 auto;
}

footer small {
  font-size: 12px;
  text-align: center;
  display: block;
  margin-top: 1.65em;
}

.gnavWrap {
  background-color: #fff;
  margin-top: 2.8em;
}

.gnav {
  color: #000000;
  background: url(../images/tyukaline.png);
  background-size: 3em;
  background-position-y: top;
  background-repeat: repeat-x;
  font-size: 1.1em;
  font-weight: bold;
  padding-top: 1rem;
}

.gnav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url(../images/tyukaline.png);
  background-size: 3em;
  background-position-y: bottom;
  background-repeat: repeat-x;
  padding-bottom: 1rem;
  flex-wrap: wrap;
  width: 127rem;
  margin: 0 auto;
}

.gnav ul li {
  list-style: none;
  margin: 0 1em;
}

/* ---------------------------------------------------------
  Media Queries（ここに集約）
--------------------------------------------------------- */

/* ---------------------------------------------------------
  Base / Accessibility
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------
  Base / レスポンシブ基礎（表示切替・rem設計）
--------------------------------------------------------- */

@media screen and (max-width: 750px) {
  /* 表示切替（SP時PC要素を隠す） */
  [data-sc-pc] {
    display: none !important;
  }

  /* レイアウト基礎 */
  .row {
    display: block;
  }

  /* rem基準（SP） */
  html {
    font-size: 1.7vw;
  }
}

@media screen and (min-width: 751px) {
  /* 表示切替（PC時SP要素を隠す） */
  [data-sc-sp] {
    display: none !important;
  }
}

@media screen and (min-width: 751px) and (max-width: 1000px) {
  html {
    font-size: 37.5%; /* 1rem = 6px (10px * 0.6) */
  }
}

@media screen and (min-width: 1001px) and (max-width: 1200px) {
  html {
    font-size: 46.875%; /* 1rem = 7.5px (10px * 0.75) */
  }
}

@media screen and (min-width: 1201px) and (max-width: 1300px) {
  html {
    font-size: 56.25%; /* 1rem = 9px (10px * 0.9) */
  }
}

/* ---------------------------------------------------------
  共通パーツ（PC）
--------------------------------------------------------- */

@media print, screen and (min-width: 750px) {
  /* スマホナビ（PCでは非表示） */
  .navToggle {
    display: none;
  }

  /* アンカーずれ対策 */
  .stky {
    padding-top: 13rem;
    margin-top: -13rem;
  }

  .stkyB {
    padding-top: 10rem;
    margin-top: -10rem;
  }

  /* グロナビ固定 */
  .gnavWrap {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
}

/* ---------------------------------------------------------
  共通パーツ（SP）
--------------------------------------------------------- */

@media screen and (max-width: 749px) {
  /* TOPへ戻る */
  div#page_top {
    width: 50px;
    height: 55px;
  }

  /* スマホナビ */
  header nav.main-navigation {
    display: none;
  }

  .navToggle {
    display: none;
    top: 20px;
  }

  .navToggle.on {
    display: block;
  }

  /* 共通 */
  .obi {
    height: 10px;
  }

  header .w1280 a {
    width: 20px;
    margin: 0 5px;
  }

  .gnav ul li {
    width: 50%;
    text-align: center;
    margin: 0;
  }
}
