@charset "UTF-8";
/*
Theme Name:     OKAMOTO ITSUKI's THEME
Theme URI:      http://example.com/my-theme/
Author:         MY NAME
Author URI:     http://example.com/
Description:    MY THEME DESCRIPTION
Version:        1.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    my-theme
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

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

a {
  text-decoration: none;
  color: inherit;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 300;
  font-style: normal;
}

/* 768px以下のデバイスでspとpcの改行タグを切り替える */
br.sp {
  display: none;
}

@media (max-width: 768px) {
  br.sp {
    display: block;
  }
  br.pc {
    display: none;
  }
}
.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition-property: transform, opacity;
  transition-duration: 1.5s;
  transition-delay: 0s;
}

.fadein.is-active {
  opacity: 1;
  transform: translateY(0);
}

.page__title {
  width: 100%;
  font-size: 3.2rem;
  text-align: center;
  margin: 4rem auto 2rem;
}

@media (min-width: 769px) {
  .header {
    width: 100%;
    position: fixed;
    z-index: 10;
  }
  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 3.2rem;
  }
  .header .h-logo h1 {
    font-size: 2.4rem;
  }
  .header .h-nav__list {
    display: flex;
    flex-direction: row;
    gap: 2.4rem;
  }
  .header .h-nav__item a {
    font-size: 1.6rem;
  }
  .header .h-menu {
    display: none;
  }
}
@media (max-width: 768px) {
  .header {
    width: 100%;
    position: fixed;
    z-index: 10;
  }
  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.6rem 2rem;
  }
  .h-logo h1 {
    font-size: 1.8rem;
  }
  .h-nav {
    display: none;
  }
  .h-menu {
    position: relative;
    z-index: 100;
    padding-top: 1.2rem;
  }
  .h-menu #h-menu {
    display: none;
  }
  .h-menu #h-menu:checked ~ .h-menu__open {
    right: 0;
    opacity: 1;
    visibility: visible;
  }
  .h-menu #h-menu:checked ~ .h-menu__overlay {
    opacity: 1;
    visibility: visible;
  }
  .h-menu #h-menu:checked + .h-menu__button span {
    background-color: transparent;
  }
  .h-menu #h-menu:checked + .h-menu__button span::before {
    transform: rotate(45deg);
    top: 0;
  }
  .h-menu #h-menu:checked + .h-menu__button span::after {
    transform: rotate(-45deg);
    top: 0;
  }
  .h-menu #h-menu:checked + .h-menu__button::after {
    content: "CLOSE";
  }
  .h-menu__button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    position: relative;
  }
  .h-menu__button span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000;
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 0.8em;
  }
  .h-menu__button span::before, .h-menu__button span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    transition: all 0.3s ease;
  }
  .h-menu__button span::before {
    transform: translateY(-8px);
  }
  .h-menu__button span::after {
    transform: translateY(8px);
  }
  .h-menu__button::after {
    content: "MENU";
    font-size: 1.2rem;
  }
  .h-menu__open {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    padding: 80px 20px;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }
  .h-menu__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 98;
  }
  .h-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .h-menu__list li a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 1.2rem 0;
    transition: color 0.3s ease;
  }
  .h-menu__list li a:hover {
    color: #666;
  }
}
main {
  padding-top: 6rem;
  overflow: hidden;
}

footer .footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .f-nav {
  margin: 4rem 0 2rem;
}
footer .f-nav__list {
  display: flex;
  gap: 2rem;
}
footer .footer__copy {
  text-align: center;
  font-size: 1.2rem;
  padding: 0.8rem;
}

p strong {
  font-weight: bold;
}
p em {
  font-style: italic;
}

.has-text-align-center {
  text-align: center;
}

.wp-block-group {
  width: fit-content;
}

.is-vertical {
  flex-direction: column;
}

.is-content-justification-center {
  justify-content: center;
  align-items: center;
}

.is-layout-flex {
  display: flex;
}

section.wp-block-group {
  width: 100vw;
}

.wp-block-group .content {
  max-width: 100rem;
  margin: 0 auto;
  padding: 3.2rem 2rem 6.4rem;
}

.wp-block p {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto 0.8em;
  line-height: 1.7;
}
.wp-block p strong {
  font-weight: bold;
}
.wp-block p em {
  font-style: italic;
}

h2.wp-block-heading {
  font-size: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2em;
  margin: 4rem auto 3.2rem;
}
h2.wp-block-heading span {
  font-size: 1.4rem;
  color: #FF8E78;
}
h2.wp-block-heading .h2__line {
  width: 6em;
  height: 0.6em;
  margin: 0 auto;
  border-bottom: 1px solid #FF8E78;
  position: relative;
}
h2.wp-block-heading .h2__line::before, h2.wp-block-heading .h2__line::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -2.3px;
  width: 4px;
  height: 4px;
  background: #FF8E78;
  transform: rotate(45deg);
}
h2.wp-block-heading .h2__line::before {
  left: 0;
}
h2.wp-block-heading .h2__line::after {
  right: 0;
}
h2.wp-block-heading .h2__line*, h2.wp-block-heading .h2__line::before, h2.wp-block-heading .h2__line::after {
  box-sizing: border-box;
}

h3.wp-block-heading {
  font-size: 1.8rem;
  margin-bottom: 0.6em;
}

.wp-block-list {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto 0.8em;
  list-style: disc inside;
  line-height: 1.7;
}

.wp-block-image {
  width: fit-content;
}
.wp-block-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ボタン */
.wp-block-buttons {
  margin: 2rem auto 4rem;
}

.wp-block-button {
  width: fit-content;
}
.wp-block-button__link {
  display: flex;
  border: 1px solid #111;
  border-radius: 2rem;
  color: #111;
  padding: 1.2rem 4rem;
  align-items: center;
  position: relative;
}

.button__arrow .wp-block-button__link::after {
  content: "→";
  display: block;
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
}

.wp-block-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.wp-block-cover .wp-block-cover__image-background {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.wp-block-cover .wp-block-cover__inner-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* === CF7 === */
.wpcf7-form {
  width: 100%;
  max-width: 80rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.wpcf7__table tr {
  width: 100%;
  display: flex;
  flex-direction: row;
}
@media (max-width: 768px) {
  .wpcf7__table tr {
    flex-direction: column;
  }
}
.wpcf7__table tr th, .wpcf7__table tr td {
  padding: 0.8rem 1.6rem;
}
@media (max-width: 768px) {
  .wpcf7__table tr th, .wpcf7__table tr td {
    padding: 0;
  }
}
.wpcf7__table tr th {
  width: 24rem;
}
@media (max-width: 768px) {
  .wpcf7__table tr th {
    width: 100%;
    text-align: justify;
    padding: 2rem 0 0.8rem;
  }
}
.wpcf7__table tr th p {
  text-align: start;
}
.wpcf7__table tr th span {
  font-size: 0.8rem;
  font-weight: 400;
  color: #fff;
  background-color: coral;
  padding: 0.2em 0.4em;
  border-radius: 0.4em;
  margin-left: 0.8em;
}

.wpcf7-form-control {
  color: #ccc;
  font-family: "Zen Maru Gothic";
  width: 100%;
  min-height: 2.4rem;
  border: 1px #ccc solid;
  border-radius: 0.4em;
  padding: 0.8rem 1.2rem 0.8rem 1rem;
}

.wpcf7-submit {
  width: fit-content;
  display: flex;
  border: 1px solid #111;
  border-radius: 2rem;
  background-color: white;
  color: #111;
  font-family: "Zen Maru Gothic";
  padding: 1rem 4rem;
  align-items: center;
}

blockquote {
  position: relative;
  border-left: 3px double #ccc;
  padding-left: 10px;
  background: #f4f4f4;
  margin-bottom: 2rem;
}
blockquote p {
  position: relative;
  padding: 1.2rem 0.8rem;
}

.content p {
  line-height: 1.7;
}
.content .wp-post-image {
  margin-bottom: 2rem;
}

/* hero */
.hero {
  height: 80vh;
}

/* service */
.service__list .wp-block-group__inner-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

/* work */
/* Category Filter */
.category-filter {
  border-bottom: 1px solid #eee;
  max-width: 100rem;
  margin: 0 auto 2rem;
  padding: 2rem;
}
.category-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.category-filter__item {
  margin: 0;
  padding: 0;
}
.category-filter__link {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 1.4rem;
}
.category-filter__link:hover, .category-filter__link.active {
  background-color: #333;
  color: #fff;
}

.work__list {
  display: grid;
  align-items: start;
  gap: 1.2rem 0.8rem;
}
@media (min-width: 769px) {
  .work__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 1000px) {
  .work__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .work__list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.work {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.work__image {
  width: 100%;
  margin-bottom: 0.8rem;
}
.work__image .wp-post-image {
  height: auto;
  width: 100%;
  aspect-ratio: 100/60;
  object-fit: cover;
}
.work__title {
  margin-bottom: 0.8rem;
  text-align: center;
}
.work__date {
  color: #ccc;
  font-size: 1.2rem;
}

/* news */
.news__list {
  display: grid;
  align-items: start;
  gap: 1.2rem 0.8rem;
}
@media (min-width: 769px) {
  .news__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .news__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.new {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.new__image {
  width: 100%;
  margin-bottom: 0.8rem;
}
.new__image .wp-post-image {
  height: auto;
  width: 100%;
  aspect-ratio: 100/60;
  object-fit: cover;
}
.new__title {
  margin-bottom: 0.8rem;
}
.new__date {
  color: #ccc;
  font-size: 1.2rem;
}

/* contact */
.sns__list {
  display: flex;
  gap: 2rem;
}
.sns__list .wp-block-image {
  padding: 0;
  margin: 0;
}