@charset "utf-8";

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

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0
}

ul[role="list"],
ol[role="list"] {
  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
}

@media(prefers-reduced-motion:reduce) {
  html:focus-within {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* ----------------------------------------------- */
/* base */

@font-face {
  font-family: "Local Noto Sans JP";
  src: local("Noto Sans JP");
}

body {
  line-height: 1.75;
}

a {
  color: var(--wp--preset--color--main);
  text-decoration: none;
}

/* ----------------------------------------------- */
/* Header Styles */
.header {
  margin: 2rem 2rem;
  width: calc(100% - 2rem * 2);
  position: fixed;
  z-index: 100;
  @media (width <= 768px) {
    margin: 1rem 1rem;
    width: calc(100% - 1rem * 2);
  }
}

.header-menu {
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  padding: 1.25em 4em 1.25em 3em;
  border-radius: 9999px;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  font-size: .9em;
  font-weight: 500;
  font-family: "Local Noto Sans JP", "Noto Sans JP", sans-serif;
  @media (width <= 600px) {
    padding: 1em 1.5em 1em 1.5em;
  }
}

.header-menu nav .catalog {
  color: var(--wp--preset--color--custom-text-1);
}
.header-menu nav .catalog::before {
  content: "";
  display: inline-block;
  width: 3em;
  height: 2em;
  background-image: url("../images/icon_catalog.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  @media (width <= 600px) {
    display: block;
    margin-inline: auto;
  }
}

.header-menu nav .tone {
  color: #fff;
  background-color: var(--wp--preset--color--main);
  padding: .375em 2em .25em 2em;
  border-radius: 9999px;
}

.header-menu .wp-block-site-logo {
  @media (width <= 600px) {
    max-width: 92px !important;
  }
}
.wp-block-site-logo img {
  width: 100% !important;
  max-width: 180px !important;
  @media (width <= 768px) {
    max-width: 160px !important;
  }
}

.header-menu .catalog-btn {
  display: none;
  line-height: 1;
  @media (width <= 600px) {
    display: inline-block;
    width: 42px;
    margin-right: 2em;
    margin-bottom: -4px;
  }
}


.wp-block-navigation__container {
  font-size: 1rem;
  align-items: center !important;
  text-align: center;
  width: 100%;
}


footer {
  margin: 0;
}
footer .wp-block-columns {
  @media (width <= 600px) {
    flex-flow: column-reverse;
  }
}
footer .wp-block-column:first-child {
  @media (width <= 600px) {
    margin: 2em auto;
  }
}
.footer-menu {
    font-family: "Local Noto Sans JP", "Noto Sans JP", sans-serif;
}

footer .copyright {
  @media (width <= 600px) {
    text-align: center;
  }
}

/* ----------------------------------------------- */

main.page {
  margin-top: 0;
  padding-top: 12rem;
  margin-inline: 1rem;
  @media (width <= 600px) {
    padding-top: 6rem;
  }
}


/* ----------------------------------------------- */
/* about */

.about-logo {
  width: 20%;
  max-width: 376px;
  @media (width <= 600px) {
    width: 40%;
  }
}

/* ----------------------------------------------- */
/* examples */
.taxonomy-area.wp-block-post-terms a{
  font-size: .9em;
  border: 1px solid #000;
  padding: .125em .75em;
  margin-right: .5em;
  border-radius: 9999px;
}
