/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

@font-face {
  src: url(/../fonts/CommitMono-400-Italic.otf) format("opentype");
  font-family: "CommitMono400Italic";
}

@font-face {
  src: url(/../fonts/CommitMono-400-Regular.otf) format("opentype");
  font-family: "CommitMono400Regular";
}

@font-face {
  src: url(/../fonts/CommitMono-700-Italic.otf) format("opentype");
  font-family: "CommitMono700Bold";
}

@font-face {
  src: url(/../fonts/CommitMono-700-Regular.otf) format("opentype");
  font-family: "CommitMono700Regular";
}

:root {
  --black: #050505;
  --primary: #2598A5;
  --gray: #F6F5F4;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 1px;
  color: var(--black);
}
main {
  margin: 0 auto;
  max-width: 960px;
  padding: 1rem;
}

/* reset */
a {
  text-decoration: none;
  color: unset;
}
ul {
  margin: 0;
}
li {
  list-style: none;
}
button {
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
}
p {
  line-height: 30px;
  letter-spacing: 2px;
}

.button {
  border: 1px solid var(--black);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background-color: white;
  color: var(--black);
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  width: 100%;
}
.button:hover {
  opacity: 0.8;
  color: white;
  background: var(--black);
}
.text {
  font-size: 0.9rem;
  color: var(--black);
  font-family: "Noto Sans JP";
}
.section-wrapper {
  margin-bottom: 5rem;
}
.logo-mark {
  max-width: 48px;
}

/* components */
.header {
  max-width: 960px;
  height: 70px;
  margin: 0 auto;
  padding: 1rem;
  background-color: #fff;
}
.header-wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo > a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header-logo .logo-name {
  font-family: "CommitMono700Bold", sans-serif;
  font-size: 1rem;
  margin-left: 0.5rem;
  color: var(--primary);
}
.header-nav {
}
.header-nav .nav-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-nav .nav-list .nav-item {
  font-size: 0.9rem;
  margin-left: 1rem;
}
.header-nav .nav-list .nav-item a {
  color: var(--black);
}
.header-nav .nav-list .nav-item a:hover {
  color: var(--primary);
}
.header .navbar-toggler {
  display: none;
}
@media screen and (max-width: 768px) {
  .header .navbar-toggler {
    display: block;
  }
  .header .header-nav {
    display: none;
  }
  .offcanvas .nav-list {
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  .offcanvas .nav-list .nav-item {
    margin-left: 0;
    margin-bottom: 1rem;
  }
}

.footer .footer-inner-wrapper {
  text-align: center;
  line-height: 30px;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}
.footer .allrights {
  font-family: "CommitMono700Bold", sans-serif;
}
