@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  /* line-heightをemベースでcalc()で計算。font-sizeを小さくするとline-heightは大きくなり、font-sizeを大きくするとline-heightは小さくなります。参考: https://kittygiraudel.com/2020/05/18/using-calc-to-figure-out-optimal-line-height/ */
  line-height: calc(0.25rem + 1em + 0.25rem);
  font-size: 62.5%;
  font-style: normal;
  font-weight: unset;
}

/* より直感的なボックスサイズのモデルを使用 */
*,
::before,
::after {
  box-sizing: border-box;
}

/* fieldset, progress, meter以外のすべての要素でボーダーを削除し、背景に適切なデフォルトを設定 */
*:where(:not(fieldset, progress, meter)) {
  border-width: 0;
  border-style: solid;
  background-origin: border-box;
  background-repeat: no-repeat;
}

html {
  /* アプリケーションでパーセントによる高さを許可する  */
  block-size: 100%;
  /* テキストのサイズはfont-sizeのみで制御されるようにする */
  text-size-adjust: none;
  font-size: 62.5%;
  height: fit-content;
  min-height: 100%;
  overflow-x: hidden;
  /* スムーススクロール */
  scroll-behavior: smooth;
}

/* 減速を好まないユーザーのためにスムーズなスクロールを実現 */
@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}
body {
  position: relative;
  font-size: 1.6em;
  height: fit-content;
  min-height: 100%;
  overflow-x: hidden;
  min-block-size: 100%;
}

a {
  color: inherit;
}
a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}

/* 各メディア要素のデフォルトを改善 */
:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

:where(img, svg, video) {
  block-size: auto;
  max-inline-size: 100%;
}

/* ストロークを削除し、fillの塗りつぶしカラーはフォントカラーを継承 */
:where(svg) {
  stroke: none;
  fill: currentcolor;
}

/* fill属性のないSVG */
:where(svg):where(:not([fill])) {
  /* fillを取り除き、ストロークのカラーはフォントカラーを継承 */
  stroke: currentcolor;
  fill: none;
  /* 丸みを帯びたストローク */
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* width属性のないSVGのサイズを設定 */
:where(svg):where(:not([width])) {
  inline-size: 5rem;
}

/* テキストのオーバーフローを回避 */
:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

/* リストの役割をするul、ol要素のリストスタイルを削除。デフォルトのスタイルが削除されることを示唆しています */
:where(ul, ol, li)[role=list] {
  list-style: none;
}

ul,
ol,
li {
  list-style: none;
}

/* クラスを持たないアンカータグに、より読みやすい下線スタイルを設定。アンカータグに設定することもできますが、コンフリクトを引き起こす可能性があります */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* フォーカスのアウトラインをアニメーション化 */
@media (prefers-reduced-motion: no-preference) {
  :focus-visible {
    transition: outline-offset 145ms cubic-bezier(0.25, 0, 0.4, 1);
  }
  :where(:not(:active)):focus-visible {
    transition-duration: 0.25s;
  }
}
:where(:not(:active)):focus-visible {
  outline-offset: 5px;
}

/* ユーザーがボタンのテキストを選択できないようにする */
:where(button,
button[type],
input[type=button],
input[type=submit],
input[type=reset]),
:where(input[type=file])::-webkit-file-upload-button,
:where(input[type=file])::file-selector-button {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  text-align: center;
}

/* 無効化されたボタンには無効化されたカーソルを表示 */
:where(button,
button[type],
input[type=button],
input[type=submit],
input[type=reset])[disabled] {
  cursor: not-allowed;
}

time {
  font-size: 1em;
}

hr {
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

span,
strong,
em,
small,
i,
b {
  font-size: 1em;
}

button {
  border: none;
  text-decoration: none;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
  appearance: none;
  cursor: pointer;
}

/* ==========================================================
	formタグ
========================================================== */
/* フォーム内のタイポグラフィのスタイルを削除 */
:where(input, button, textarea, select),
:where(input[type=file])::-webkit-file-upload-button {
  color: inherit;
  font: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

/* =================================
 * 	ウィンドウ・フォントサイズ設定
 * ------------------------------ */
/* =================================
 * フォント設定
 * ------------------------------ */
@font-face {
  font-display: swap;
  font-family: "Noto Sans JP";
  @import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
}
@font-face {
  font-display: swap;
  font-family: "Roboto";
  @import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
}
/* フォント設定 */
/* =================================
 * カラー変数
 * ------------------------------ */
/* =================================
 * レスポンシブ設定
 * ------------------------------ */
/* =================================
 * ホバー処理
 * ------------------------------ */
body {
  font-family: "Roboto", "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-feature-settings: "palt";
  font-size: clamp(1.2rem, 0.6163328197vw + 9.688751926px, 1.6rem);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  justify-content: space-between;
  width: 100%;
  color: #000e21;
  background-color: #faf9f6;
}
@media (max-width: 1194px) and (orientation: landscape) {
  body {
    overflow-x: clip;
  }
}
@media (max-width: 834px) and (orientation: portrait) {
  body {
    font-size: 1.4vw;
  }
}
@media (max-width: 480px) and (orientation: portrait) {
  body {
    font-size: 3.6vw;
  }
}
body img {
  width: 100%;
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  pointer-events: none;
}
@media (min-width: 768px) {
  body a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
@media (max-width: 480px) and (orientation: portrait) {
  body br.pc {
    display: none;
  }
}
body br.sp {
  display: none;
}
@media (max-width: 480px) and (orientation: portrait) {
  body br.sp {
    display: inline;
  }
}

main {
  font-size: inherit;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

section,
article,
header,
footer {
  width: 100%;
  position: relative;
  font-size: inherit;
  z-index: 1;
}

svg {
  width: 100%;
  fill: unset;
  stroke: unset;
}

@media (max-width: 480px) and (orientation: portrait) {
  br.pc {
    display: none;
  }
}
br.sp {
  display: none;
}
@media (max-width: 480px) and (orientation: portrait) {
  br.sp {
    display: inline;
  }
}

header {
  position: relative;
  font-size: inherit;
  display: flex;
  justify-content: space-between;
  height: 10rem;
  padding-left: 6vw;
  gap: 0 3em;
}
@media (max-width: 480px) and (orientation: portrait) {
  header {
    justify-content: center;
    height: unset;
    padding-block: 4vw;
    z-index: 100;
  }
}
header h1 {
  font-size: max(12px, 2em);
  font-weight: 700;
  align-self: center;
  letter-spacing: 0.1em;
}
header h1 a {
  font-size: inherit;
}
@media (max-width: 480px) and (orientation: portrait) {
  header h1 {
    margin-right: 1em;
  }
}
header .box-mobile {
  font-size: inherit;
  display: contents;
}
@media (max-width: 480px) and (orientation: portrait) {
  header .box-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    translate: 100vw;
    width: 100%;
    background-color: #faf9f6;
    padding-block: 20vw;
    transition: 0.3s ease-out;
  }
  header .box-mobile.active {
    translate: 0;
  }
}
header .box-mobile nav {
  margin-left: auto;
  align-self: center;
  font-size: inherit;
  display: flex;
  align-items: center;
  gap: 0 2em;
}
@media (max-width: 480px) and (orientation: portrait) {
  header .box-mobile nav {
    flex-direction: column;
    gap: 4vw 0;
    margin-left: unset;
  }
}
header .box-mobile nav a {
  font-size: max(12px, 1.125em);
  letter-spacing: 0.1em;
}
header .box-mobile .link-contact {
  background-color: #821900;
  font-size: max(12px, 1em);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: #faf9f6;
  padding-inline: 2em;
}
@media (max-width: 480px) and (orientation: portrait) {
  header .box-mobile .link-contact {
    margin-top: 10vw;
    height: 10vw;
  }
}

footer {
  position: relative;
  font-size: inherit;
  display: flex;
  justify-content: space-between;
  background-color: #821900;
  color: #faf9f6;
  padding: 4.6rem 4vw;
  gap: 0 3em;
}
@media (max-width: 480px) and (orientation: portrait) {
  footer {
    flex-direction: column;
  }
}
footer .title {
  font-size: max(12px, 2em);
  font-weight: 700;
  align-self: center;
  letter-spacing: 0.1em;
}
footer nav {
  margin-left: auto;
  align-self: center;
  font-size: inherit;
  display: flex;
  align-items: center;
  gap: 0 2em;
}
@media (max-width: 480px) and (orientation: portrait) {
  footer nav {
    display: none;
  }
}
footer nav a {
  font-size: max(12px, 1.125em);
  letter-spacing: 0.1em;
}
footer .link-contact {
  background-color: #faf9f6;
  font-size: max(12px, 1em);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: #821900;
  padding-inline: 2em;
  height: 10rem;
}
@media (max-width: 480px) and (orientation: portrait) {
  footer .link-contact {
    height: 8vw;
    margin-top: 6vw;
  }
}

.item-h2 {
  position: relative;
  font-size: max(12px, 1.5em);
  font-weight: 700;
  letter-spacing: 0.5em;
  padding-top: 3rem;
  align-self: center;
  margin-top: 5rem;
}
.item-h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50%;
  width: 6rem;
  height: 3px;
  background-color: #fe3101;
}

/*==========================================
	ハンバーガーメニュー
==========================================*/
.hamburger-button {
  position: absolute;
  --boxSize: 8vw;
  width: var(--boxSize);
  right: 2vw;
  top: 50%;
  translate: 0 -50%;
  aspect-ratio: 1;
  z-index: 100;
  transition: 0.8s ease-out;
  font-size: 1em;
  border-radius: 0.5rem;
  display: none;
}
@media (max-width: 480px) and (orientation: portrait) {
  .hamburger-button {
    display: block;
  }
}
.hamburger-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 2px;
  background-color: #821900;
  transition: 0.5s ease-out;
}
@media (max-width: 480px) and (orientation: portrait) {
  .hamburger-button span {
    width: 80%;
  }
}
.hamburger-button span:nth-of-type(1) {
  transform: translate(-50%, calc(-50% - 1.4vw));
}
@media (max-width: 480px) and (orientation: portrait) {
  .hamburger-button span:nth-of-type(1) {
    transform: translate(-50%, calc(-50% - 2vw));
  }
}
.hamburger-button span:nth-of-type(2) {
  transform: translate(-50%, -50%);
  transition-delay: 0.3s;
}
.hamburger-button span:nth-of-type(3) {
  transform: translate(-50%, calc(-50% + 1.4vw));
}
@media (max-width: 480px) and (orientation: portrait) {
  .hamburger-button span:nth-of-type(3) {
    transform: translate(-50%, calc(-50% + 2vw));
  }
}
.hamburger-button.active span {
  transition: 0.3s ease-out;
}
.hamburger-button.active span:nth-of-type(1) {
  transform: translate(-50%, -50%) rotate(135deg);
}
.hamburger-button.active span:nth-of-type(2) {
  transform: translate(100%, -50%);
  opacity: 0;
}
.hamburger-button.active span:nth-of-type(3) {
  transform: translate(-50%, -50%) rotate(-135deg);
}

/*# sourceMappingURL=common.css.map */
