/* :::::リセットCSS:::::: */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}
ol,
ul {
  list-style: none;
}

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

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
  font-weight: normal;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}
th,
td {
  font-weight: normal;
}
/* buttonタグをリセット */
button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
summary::-webkit-details-marker {
  /* Safariで表示されるデフォルトの三角形アイコン削除 */
  display: none;
}
/* acodion */
/* Chrome、Safari以外 */

summary {
  display: block;
}
/* main {
  overflow: hidden;
} */
/* Chrome、Safari */
summary::-webkit-details-marker {
  display: none;
}

/* =============================================================
ベース設定/root変数
============================================================= */

:root {
  /* フォント */
  --font-family: "Inter", sans-serif;
  --font-family-sub: "Noto Sans JP", sans-serif;
  /* color */
  --color--primary: #d31b00;
  --color--secondry: #d23d24;
  --color--btn: #d10000;
  --color--text: #000000;
  --color--light-gray: #d9d9d9;
  /* フォントサイズ */
  --font-size--xs: 0.75rem; /* 12px */
  --font-size--sm: 0.875rem; /* 14px */
  --font-size--md: clamp(1rem, 0.9697rem + 0.1294vw, 1.125rem); /* 16px〜18px */
  --font-size--xl: clamp(1.125rem, 1.0947rem + 0.1294vw, 1.25rem); /* 18px〜20px */
  --font-size--2xl: clamp(1.25rem, 1.2197rem + 0.1294vw, 1.375rem); /* 20px〜22px */
  --font-size--3xl: clamp(1.375rem, 1.3447rem + 0.1294vw, 1.5rem); /* 22px〜24px */
  --font-size--4xl: clamp(1.5rem, 1.4393rem + 0.2589vw, 1.75rem); /* 24px〜28px */
  --font-size--5xl: clamp(1.5rem, 1.1674rem + 1.4199vw, 2.25rem); /* 24px〜36px */
  /* マスク */
  /* --color--mask: rgba(17, 55, 107, 0.7); */
}
html,
body {
  width: 100%;
  margin: 0 auto;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--color--text);
  background-color: var(--color--primary);
  font-size: clamp(0.875rem, 0.75rem + 0.32vw, 1rem);
  line-height: 1.7;
  letter-spacing: -0.05em;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  interpolate-size: allow-keywords;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  display: inline-block;
  transition: all 0.6s ease-out;
}

a:hover {
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.6s ease-out;
}

::before,
::after {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* .contents-wrapper {
  width: calc(100% - 30px);
  max-width: 1100px;
  margin-inline: auto;
} */
/* カスタムクラス */
.text-xs {
  font-size: var(--font-size--xs);
}
.text-sm {
  font-size: var(--font-size--sm);
}

.text-md {
  font-size: var(--font-size--md);
}
.text-xl {
  font-size: var(--font-size--xl);
}
.text-2xl {
  font-size: var(--font-size--2xl);
}
.text-3xl {
  font-size: var(--font-size--3xl);
}
.text-4xl {
  font-size: var(--font-size--4xl);
}
.text-5xl {
  font-size: var(--font-size--5xl);
}
.w500 {
  font-weight: 500;
}
.w600 {
  font-weight: 600;
}
.w700 {
  font-weight: 700;
}

.w900 {
  font-weight: 900;
}
.pt20 {
  padding-top: 20px;
}
.pt60 {
  padding-top: 60px;
}
.pt40 {
  padding-top: 40px;
}
.pb20 {
  padding-bottom: 20px;
}
.pb40 {
  padding-bottom: 40px;
}
.pb80 {
  padding-bottom: 80px;
}
.mb20 {
  margin-bottom: 20px;
}
.mb30 {
  margin-bottom: 30px;
}
.mb40 {
  margin-bottom: 40px;
}
/* drawerメニュー表示中のbody固定（スクロール位置を維持） */
body.is-fixed {
  /* position: fixed; */
  /* width: 100%; */
  overflow: hidden;
  /* left: 0; */
}
.inline-block-item {
  display: inline-block;
}
@media screen and (min-width: 1024px) {
  /* html {
    font-size: 16px;
  } */

  .contents-wrapper {
    width: calc(100% - 80px);
  }
}
