/* WordPress管理バー・プラグイン出力を非表示 */
#wpadminbar,
.yoast-seo-meta-tag,
[data-aioseo],
.aioseo-head {
  display: none !important;
}

/*==========================================================================
# reset - ブラウザの差異や不要なスタイルを無くすためのスタイル
========================================================================== */

* {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td,
small,
button,
time,
figure {
  border: 0;
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  vertical-align: baseline;
}

html {
  line-height: 1;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

ol,
ul {
  list-style: none;
}

li,
dd {
  list-style-type: none;
}

header,
footer,
nav,
section,
article,
aside,
figure,
figcaption {
  display: block;
}

img {
  border: none;
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
}

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

.l-inner {
  padding: 0 40px;
}

/* ボタン配置（親コンテナ） */

.buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ボタン本体の基本スタイル */

.btn--consultation,
.btn--contact {
  align-items: center;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family:
    "M P LUS 1p",
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 400;
  height: 48px;
  justify-content: center;
  position: relative;
  white-space: nowrap;
  width: auto;
}

.btn--consultation .btn__label,
.btn--contact .btn__label {
  padding: 0 40px 0 14px;
}

.btn--consultation .icon_arrow,
.btn--contact .icon_arrow {
  height: 20px;
  object-fit: contain;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
}

.btn--consultation:hover,
.btn--contact:hover {
  opacity: 0.7;
}

.btn--consultation:active,
.btn--contact:active {
  transform: translateY(0);
}

.btn--consultation:focus-visible,
.btn--contact:focus-visible {
  outline: none;
}

.btn--consultation {
  background: linear-gradient(to bottom, #c72a80, #fb833f);
  width: 220px;
}

.btn--contact {
  background: linear-gradient(to bottom, #5b5ada, #273992);
  max-width: 250px;
  width: 180px;
}

.header__nav .buttons {
  gap: 8px;
}

.header__nav .buttons .btn--consultation,
.header__nav .buttons .btn--contact {
  font-size: 13px;
  height: 44px;
}

.header__nav .buttons .btn--consultation {
  max-width: 200px;
}

.header__nav .buttons .btn--contact {
  max-width: 180px;
}

.header__nav .buttons .btn--contact .icon_arrow {
  right: 30px;
}

/* TOPに戻るボタン */

.btn-page-top {
  margin: 0 auto;
  max-width: 240px;
  padding: 80px 0 140px;
  text-align: center;
}

.btn-page-top:hover {
  opacity: 0.7;
}

.btn-page-top a {
  background-color: #253490;
  border-radius: 8px;
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: 500;
  padding: 16px 24px;
  transition: all 0.3s ease;
}

/* ========================================
  Header
======================================== */

.header .header__inner {
  align-items: center;
  display: flex;
  height: 70px;
  justify-content: flex-end;
  margin: auto;
  max-width: 1840px;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1004;
}

.header .header__inner.active {
  background: rgba(251, 251, 251, 0.2);
  transition: all 0.3s ease-in;
}

.header .header__inner .p-header__logo {
  left: 40px;
  position: fixed;
  z-index: 1004;
}

.header .header__inner .p-header__logo a {
  display: flex;
  gap: 30px;
}

.header .header__inner .p-header__logo a img:nth-child(2) {
  width: 280px;
}

.header .header__inner .header__nav {
  align-items: center;
  display: flex;
  gap: 40px;
  margin-right: auto;
  position: fixed;
  right: 40px;
}

.header .header__inner .header__nav .header__link {
  color: #000;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 3px;
  position: relative;
  transition: color 0.3s ease;
}

.header .header__inner .header__nav .header__link::after {
  background: #860c7c;
  bottom: -5px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transition: all 0.5s;
  width: 0;
}

.header .header__inner .header__nav .header__link:hover::after,
.header .header__inner .header__nav .header__link:active::after {
  width: 100%;
}

.header .header__inner .drawer-icon {
  background: transparent;
  height: 40px;
  position: relative;
  width: 40px;
  z-index: 1003;
}

.header .header__inner .drawer-icon .drawer-icon__bar {
  background-color: #4b4b4b;
  border-radius: 2px;
  height: 7px;
  left: 0;
  position: absolute;
  transition: all 0.3s ease;
  width: 100%;
}

.header .header__inner .drawer-icon .drawer-icon__bar:nth-of-type(1) {
  top: 0;
}

.header .header__inner .drawer-icon .drawer-icon__bar:nth-of-type(2) {
  top: 14px;
}

.header .header__inner .drawer-icon .drawer-icon__bar:nth-of-type(3) {
  top: 29px;
}

.header
  .header__inner
  .drawer-icon.is-checked
  .drawer-icon__bar:nth-of-type(1) {
  top: 15px;
  transform: rotate(45deg);
}

.header
  .header__inner
  .drawer-icon.is-checked
  .drawer-icon__bar:nth-of-type(2) {
  opacity: 0;
}

.header
  .header__inner
  .drawer-icon.is-checked
  .drawer-icon__bar:nth-of-type(3) {
  top: 15px;
  transform: rotate(-45deg);
}

/* ========================================
  Drawer (SP)
======================================== */

.drawer-content {
  background: #222222;
  height: 100%;
  inset: 60px 0 0 auto;
  padding: 55px 0 0 0;
  position: fixed;
  transform: translateX(100%);
  transition: transform 0.3s linear;
  width: 300px;
  z-index: 1001;
}

.drawer-content.is-checked {
  transform: translateX(0);
}

.drawer-content .drawer-content__menu {
  color: #fff;
}

.drawer-content
  .drawer-content__menu
  .drawer-content__item
  .drawer-content__link {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0 0 33px 55px;
  white-space: nowrap;
}

.drawer-content
  .drawer-content__menu
  .drawer-content__item
  .header__dropdown-sp {
  padding: 0 0 30px 40px;
}

.drawer-content
  .drawer-content__menu
  .drawer-content__item
  .header__dropdown-sp
  li {
  font-size: 1.1rem;
  padding: 5px 0;
}

/* ========================================
  Footer
======================================== */

.footer {
  background: linear-gradient(to bottom, #5b5ada, #273992);
  padding: 35px 20px 28px;
}

.footer .p-footer__content {
  text-align: center;
}

.footer .p-footer__content .p-footer__content-nav {
  margin-top: 7px;
}

.footer .p-footer__content .p-footer__content-nav .nav {
  display: flex;
  gap: 2.4rem;
  justify-content: center;
}

.footer .p-footer__content .p-footer__content-nav .nav__item .nav__link {
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 2px;
}

.footer-copy-right {
  color: #fff;
  font-size: 12px;
  margin-top: 40px;
  text-align: center;
}

/* ========================================
  Responsive - PC (min-width: 768px)
======================================== */

@media screen and (min-width: 768px) {
  .u-is-sp {
    display: none;
  }

  .header .header__inner .header__open {
    display: none;
  }
}

/* ========================================
  Responsive - SP (max-width: 767px)
======================================== */

@media screen and (max-width: 767px) {
  .u-is-pc {
    display: none;
  }

  .l-inner {
    padding: 0 20px;
  }

  .header__nav .buttons .btn--consultation {
    max-width: 120px;
  }

  .header__nav .buttons .btn--consultation .icon_arrow {
    right: 20px;
  }

  .header__nav .buttons .btn--contact {
    align-items: center;
    border-radius: 50%;
    height: 48px;
    justify-content: center;
    max-width: 48px;
    min-width: 48px;
    padding: 0;
    width: 48px;
  }

  .header__nav .buttons .btn--contact .btn__label {
    display: none;
  }

  .header__nav .buttons .btn--contact .icon_arrow {
    height: 24px;
    position: static;
    right: auto;
    top: auto;
    transform: none;
    width: 24px;
  }

  .header .header__inner .p-header__logo {
    left: 8px;
  }

  .header .header__inner .header__nav {
    right: 8px;
  }

  .header .header__inner .drawer-icon {
    z-index: 1009;
  }

  .drawer-content
    .drawer-content__menu
    .drawer-content__item
    .drawer-content__link {
    font-size: 1.1rem;
  }

  .footer .p-footer__content {
    gap: 10px;
  }

  .footer .p-footer__content .p-footer__content-nav .nav {
    display: block;
  }
}
