/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* ===========================
   CSS Variables
   =========================== */
:root {
  --container-sp: 430px;
  --gutter-sp: 40px;
  --container: var(--container-sp);
  --gutter: var(--gutter-sp);
}

/* ===========================
   Normalize Styles
   =========================== */
html {
  line-height: 1;
  -webkit-text-size-adjust: 100%;
}

html,
body,
header,
footer,
h1,
h2,
h3,
h4,
table,
figure,
div,
p {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  text-decoration: none;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/* ===========================
   Base Styles
   =========================== */
*,
*:before,
*:after {
  box-sizing: border-box;
}

figure {
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

@media (min-width: 768px) {
  html {
    font-size: 62.5%;
  }
}

html.js-scroll-prevent {
  overflow: hidden;
}

body {
  color: #3d3d3d;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  width: 100%;
}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  body {
    width: 100%;
  }
}

h1 {
  margin: 0;
}

iframe,
img,
svg {
  height: auto;
  max-width: 100%;
}

b,
strong {
  font-weight: bold;
}

iframe,
img {
  vertical-align: bottom;
}

a {
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

dl {
  margin: 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  appearance: none;
  background: none;
  border: none;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  outline: none;
  padding: 0;
  white-space: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.list-none {
  list-style: none;
  padding-left: 0;
}

/* ===========================
   Layout
   =========================== */

.container {
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: visible;
  border: 1px solid #e0e0e0; /* うすい枠線 */
} 
.l-body {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
}

.l-container {
  max-width: calc(var(--container) - 30px);
  margin: 0 auto;
  width: 90vw;
}

.l-section {
  padding: var(--gutter) 0;
}


@media (min-width: 768px) {
  body {
    background-color: #f5f5f5;
  }

  /* サイト全体を中央に配置し、境界線とシャドウを追加 */
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 100vh;
    background-color: #fff;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: -1;
    pointer-events: none;
  }

  .l-container {
  max-width: calc(var(--container) - 70px);
  margin: 0 auto;
  width: 90vw;
  } 
}