@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Montserrat:wght@400..700&family=Noto+Sans+JP:wght@100..900&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  -webkit-overflow-scrolling: touch;
}

ul,
ol {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

img,
picture,
video,
canvas,
svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

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

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

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

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

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

textarea {
  overflow: auto;
  resize: vertical;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-weight: bold;
  line-height: 1.2;
}

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

pre,
code,
kbd,
samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1em;
}

p,
figure {
  margin: 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid #eee;
}

progress {
  vertical-align: baseline;
}

[hidden] {
  display: none;
}

:focus {
  outline: 0;
}

::selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}

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

@media screen and (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}

/* body */

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.caveat {
  font-family: "Caveat", sans-serif;
  font-weight: 400;
}

@media screen and (max-width: 600px) {
  body.admin-bar {
    padding-top: unset;
  }
}

/* site-container  */

.site-container {
  width: 976px;
  margin: 0 auto;
}

@media screen and (max-width: 1366px) {
  .site-container {
    max-width: 92%;
  }
}

/* ヘッダー */

header {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

body.admin-bar header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar header {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar header.fixed {
    top: 0;
  }
  body.admin-bar.work-template-work-post header.fixed,
  body.admin-bar.news-template-news-post header.fixed {
    top: 46px;
  }
  body.admin-bar.work-template-work-post header.fixed.has-shadow,
  body.admin-bar.news-template-news-post header.fixed.has-shadow {
    top: 0;
  }
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 33px;
}

header .site-branding,
header #primary-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

header .custom-logo-link {
  width: 268px;
  height: 47px;
  background-image: url("/wp-content/uploads/2025/04/logo.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 8px;
}

header .custom-logo-link img {
  display: none;
}

header #primary-menu > .menu-item > a {
  display: flex;
  font-weight: 600;
  padding: 0.6em 1.2em;
  color: #fff;
  font-size: 15px;
  text-decoration: none !important;
}

header #primary-menu > .menu-item:nth-of-type(1) > a {
  padding-left: 1.4em;
  background-image: url("../images/icon-arrow-down.png");
  background-size: 14px;
  background-position: left 1px top 14px;
  background-repeat: no-repeat;
  pointer-events: none;
}

header #primary-menu > .menu-item:nth-last-of-type(3) {
  border-right: 1px solid #fff;
  padding-right: 0.7em;
}

header #primary-menu > .menu-item:nth-last-of-type(2) {
  position: relative;
}

header #primary-menu > .menu-item:nth-last-of-type(2) > a {
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  margin-left: 200px;
  color: #001bac;
  font-size: 14px;
  font-weight: 600;
  width: 140px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
}

header #primary-menu > .menu-item:nth-last-of-type(2) > a::before {
  content: "";
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: all 0.3s ease;
  opacity: 1;
}

header #primary-menu > .menu-item:nth-last-of-type(2) > a::after {
  content: "";
  background: linear-gradient(to right, #203ac3, #9198e5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  transition: all 0.3s ease;
  opacity: 0;
}

header #primary-menu > .menu-item:nth-last-of-type(2)::before {
  content: "03-6812-6901";
  position: absolute;
  top: 6px;
  left: 26px;
  width: fit-content;
  white-space: nowrap;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  user-select: text;
}

header #primary-menu > .menu-item:nth-last-of-type(2)::after {
  content: "受付時間 平日 09:30〜18:00";
  position: absolute;
  top: 32px;
  left: 26px;
  width: fit-content;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  user-select: text;
}

header #primary-menu > .menu-item:nth-last-of-type(1) {
  display: none !important;
}

header .menu-toggle {
  display: none;
}

header .menu-item-has-children {
  position: relative;
  padding: 32px 0;
}

header .menu-item-has-children .sub-menu {
  display: none;
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 248px;
  transform: translateY(100%);
  border-radius: 7px;
  background-color: #fff;
  padding: 0 20px;
}

header .menu-item-has-children .sub-menu .menu-item a {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  padding: 1em 0 1em 1.4em;
  background-image: url("../images/icon-arrow-right2.png") !important;
  background-size: 14px;
  background-position: left 1px top 19px;
  background-repeat: no-repeat;
  width: 100%;
  border-bottom: 1px solid #4764dd;
  text-decoration: none !important;
  display: block;
  line-height: 1.4;
}

header .menu-item-has-children .sub-menu .menu-item:last-of-type a {
  border-bottom: none;
}

header.fixed {
  position: fixed;
  background-color: #fff;
  transform: translateY(0);
}

header.has-shadow {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

header.fixed .custom-logo-link {
  background-image: url("/wp-content/uploads/2025/04/logo-footer.png");
}

@media screen and (min-width: 768px) {
  header.fixed #primary-menu > .menu-item > a {
    color: #000;
  }
  header.fixed #primary-menu > .menu-item:nth-last-of-type(2)::before,
  header.fixed #primary-menu > .menu-item:nth-last-of-type(2)::after {
    color: #000;
  }
  header.fixed .menu-item-has-children {
    padding: 25px 0;
  }
  header.fixed #primary-menu > .menu-item:nth-last-of-type(2) > a {
    color: #fff;
  }
  header.fixed #primary-menu > .menu-item:nth-last-of-type(2) > a::before {
    background: linear-gradient(to right, #9198e5, #203ac3);
  }
  header.fixed .menu-item-has-children:hover .sub-menu {
    transform: translateY(110%);
  }
  header.fixed .menu-item-has-children:hover .sub-menu:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4%;
    background-color: transparent;
    transform: translateY(-100%);
  }

  header.fixed #primary-menu > .menu-item:nth-last-of-type(3) {
    border-right: 1px solid #000;
  }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  header .container {
    padding: 0 2.75vw;
  }

  header .custom-logo-link {
    width: 22.3vw;
    height: 3.9vw;
    margin-bottom: 0.6vw;
  }

  header #primary-menu > .menu-item > a {
    font-size: 1.25vw;
  }

  header #primary-menu > .menu-item:nth-of-type(1) > a {
    background-size: 1.16vw;
    background-position: left 1px top 1.16vw;
  }

  header #primary-menu > .menu-item:nth-last-of-type(3) {
    padding-right: 0.875vw;
  }

  header #primary-menu > .menu-item:nth-last-of-type(2) > a {
    border-radius: 4.1vw;
    margin-left: 16.6vw;
    font-size: 1.16vw;
    width: 11.6vw;
    height: 4.3vw;
  }

  header #primary-menu > .menu-item:nth-last-of-type(2)::before {
    font-size: 1.9vw;
    top: 0.5vw;
    left: 1.8vw;
  }

  header #primary-menu > .menu-item:nth-last-of-type(2)::after {
    font-size: 1vw;
    top: 2.6vw;
    left: 1.8vw;
  }

  header .menu-item-has-children {
    padding: 2.6vw 0;
  }

  header .menu-item-has-children .sub-menu {
    bottom: 1.5vw;
    width: 20.67vw;
    border-radius: 0.5vw;
    padding: 0 1.6vw;
  }

  header .menu-item-has-children .sub-menu .menu-item a {
    font-size: 1.25vw;
    background-size: 1.16vw;
    background-position: left 1px top 1.58vw;
  }

  header.fixed .menu-item-has-children {
    padding: 2vw 0;
  }
}

@media screen and (min-width: 768px) {
  header #primary-menu .menu-item > a {
    transition: all 0.3s ease;
  }

  header #primary-menu .menu-item > a:hover,
  header #primary-menu .menu-item:hover > a {
    color: #4764dd;
  }

  header #primary-menu > .menu-item:nth-last-of-type(2) > a:hover {
    color: #fff;
  }

  header #primary-menu > .menu-item:nth-last-of-type(2) > a:hover::before {
    opacity: 0;
  }

  header #primary-menu > .menu-item:nth-last-of-type(2) > a:hover::after {
    opacity: 1;
  }

  header .menu-item-has-children:hover .sub-menu {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  }

  header .menu-item-has-children:hover .sub-menu {
    display: block;
  }

  header .menu-item-has-children .sub-menu .menu-item a span {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  header .container {
    padding-left: 4vw;
    padding-right: 0;
  }

  header .custom-logo-link {
    width: 60.5vw;
    height: 10.6vw;
    margin-bottom: unset;
  }

  header .menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 19.2vw;
    height: 17.3vw;
    background: linear-gradient(to right bottom, #203ac3, #9198e5);
  }

  header .hamburger-icon {
    display: block;
    position: relative;
    width: 45%;
    height: 0.8vw;
    border-radius: 1.6vw;
    background-color: #fff;
  }

  header .hamburger-icon::before,
  header .hamburger-icon::after {
    content: "";
    width: 100%;
    height: 0.8vw;
    border-radius: 1.6vw;
    background-color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
  }

  header .hamburger-icon::before {
    top: -3.2vw;
    transform-origin: top left;
  }

  header .hamburger-icon::after {
    top: 3.2vw;
    transform-origin: bottom left;
  }

  body.menu-open header .hamburger-icon {
    background-color: transparent;
  }

  body.menu-open header .hamburger-icon::before {
    width: 120%;
    transform: rotate(35deg) translateX(-50%);
    transform-origin: top left;
    top: 0;
  }

  body.menu-open header .hamburger-icon::after {
    width: 120%;
    transform: rotate(-35deg) translateX(-50%);
    transform-origin: bottom left;
    top: 0;
  }

  body:not(.menu-open) header .hamburger-icon {
    background-color: #fff;
  }

  body:not(.menu-open) header .hamburger-icon::before {
    width: 100%;
    transform: translateX(-50%);
    transform-origin: top left;
    top: -3.2vw;
  }

  body:not(.menu-open) header .hamburger-icon::after {
    width: 100%;
    transform: translateX(-50%);
    transform-origin: bottom left;
    top: 3.2vw;
  }

  header .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: calc(100lvh - 17.3vw);
    flex-direction: column;
  }

  body.menu-open header .main-navigation {
    display: flex;
  }

  header .menu-main-container {
    background: linear-gradient(to bottom, #203ac3, #9198e5);
    padding: 9.3vw 4vw 27.9vw;
    width: 100%;
    height: 100%;
    overflow-y: auto;
  }

  header #primary-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  header #primary-menu .menu-item {
    width: 100%;
  }

  header .menu-item-has-children .sub-menu {
    display: block;
    position: relative;
    bottom: unset;
    left: unset;
    width: 100%;
    padding: 0;
    transform: unset;
    background-color: unset;
    border-radius: unset;
    padding: 3.5vw 0;
  }

  header #primary-menu > .menu-item > a {
    width: 100%;
    font-size: 4.2vw;
    padding: 0.5em 0 0.5em 1.4em;
    background-image: url("../images/icon-arrow-right3.png") !important;
    background-size: 3.7vw !important;
    background-position: left 1px center !important;
    background-repeat: no-repeat !important;
    border-bottom: 1px solid #8498f5;
  }

  header #primary-menu > .menu-item:nth-of-type(1) {
    margin-bottom: 2vw;
  }

  header #primary-menu > .menu-item:nth-of-type(2),
  header #primary-menu > .menu-item:nth-of-type(3) {
    margin-bottom: 8.2vw;
  }

  header #primary-menu > .menu-item:nth-of-type(2),
  header #primary-menu > .menu-item:nth-of-type(3),
  header #primary-menu > .menu-item:nth-of-type(4),
  header #primary-menu > .menu-item:nth-of-type(5) {
    width: 45.5%;
  }

  header .menu-item-has-children .sub-menu > .menu-item a {
    font-size: 3.7vw;
    padding: 1em 0 1em 1.4em;
    background-image: url("../images/icon-arrow-right4.png") !important;
    background-size: 3.7vw !important;
    background-position: left 1px center !important;
    background-repeat: no-repeat !important;
    border-bottom: unset !important;
    color: #fff;
  }

  header #primary-menu > .menu-item:nth-last-of-type(2) {
    height: 16.2vw;
    border-radius: 13.3vw;
    margin-top: 35.2vw;
  }

  header #primary-menu > .menu-item:nth-last-of-type(2) a {
    font-size: 4vw;
    height: 100%;
    width: 100%;
    margin-left: 0;
    background-image: unset !important;
    padding: 0 !important;
  }

  header #primary-menu > .menu-item:nth-last-of-type(2)::before {
    font-size: 8vw;
    top: -19vw;
    left: 50%;
    transform: translateX(-50%);
  }

  header #primary-menu > .menu-item:nth-last-of-type(2)::after {
    font-size: 3.7vw;
    top: -9vw;
    left: 50%;
    transform: translateX(-50%);
  }

  header #primary-menu > .menu-item:nth-last-of-type(3) {
    border-right: none;
    padding-right: 0;
  }

  header #primary-menu > .menu-item:nth-last-of-type(2) > a::before {
    content: "お問い合わせフォームはこちら";
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: unset;
  }
}

@media screen and (max-width: 767px) and (min-width: 601px) {
  body.admin-bar header .main-navigation {
    height: calc(100lvh - 17.3vw - 46px);
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar header .main-navigation {
    height: calc(100lvh - 17.3vw - 46px);
  }

  body.admin-bar header.fixed .main-navigation {
    height: calc(100lvh - 17.3vw);
  }
}

/* Contact */

.contact {
  background-color: #4764dd;
  background-image: linear-gradient(to right, rgb(98, 116, 222) 1px, transparent 1px), linear-gradient(to bottom, rgb(98, 116, 222) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  padding: 80px 0;
}

.contact .site-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact .contact-title {
  font-size: 30px;
  font-weight: 600;
  color: #fff;
}

.contact .contact-text {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  margin-top: 17px;
  margin-bottom: 53px;
  line-height: 1.8;
}

.contact .contact-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 22px;
}

.contact .contact-info .contact-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-right: 35px;
  border-right: 1px solid #fff;
  margin-right: 35px;
}

.contact .contact-info .contact-phone .contact-phone-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.contact .contact-info .contact-phone .contact-phone-icon img {
  width: 30.3px;
  object-fit: contain;
  margin-right: 0.2em;
}

.contact .contact-info .contact-phone .contact-time {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  margin-top: 5px;
  padding-left: 50px;
}

.contact .contact-info .contact-form {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 332px;
  height: 61px;
  border-radius: 30px;
  background-color: #fff;
  padding-left: 25px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.contact .contact-info .contact-form .contact-form-text {
  font-size: 16px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: #0d32ac;
  position: relative;
  z-index: 1;
}

.contact .contact-info .contact-form:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #9198e5, #213ac3);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.contact .contact-info .contact-form .contact-form-img {
  width: 28.5px;
  height: 23px;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(0, -50%);
  z-index: 1;
}

.contact .contact-info .contact-form .contact-form-img::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(0, 0);
  background-image: url(../images/right.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: none;
}

.contact .contact-info .contact-form .contact-form-img::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-40%, 0);
  background-image: url(../images/right-hover-2.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: none;
}

@media screen and (min-width: 768px) {
  .contact .contact-info .contact-form:hover {
    background-color: transparent;
  }
  .contact .contact-info .contact-form:hover:before {
    opacity: 1;
  }
  .contact .contact-info .contact-form:hover .contact-form-text {
    color: #fff;
  }
  .contact .contact-info .contact-form:hover .contact-form-img::after {
    opacity: 1;
    transform: translate(0, 0);
    transition: transform 0.3s ease 0.3s, opacity 0.3s ease 0.3s;
  }
  .contact .contact-info .contact-form:hover .contact-form-img::before {
    opacity: 0;
    transform: translate(40%, 0);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
}

@media screen and (max-width: 1200px) and (min-width: 768px) {
  .contact {
    background-size: 5vw 5vw;
    padding: 6.6vw 0;
  }

  .contact .contact-title {
    font-size: 2.5vw;
  }

  .contact .contact-text {
    font-size: 1.33vw;
    margin-top: 1.4vw;
    margin-bottom: 4.4vw;
  }

  .contact .contact-info {
    padding-left: 1.83vw;
  }

  .contact .contact-info .contact-phone {
    padding-right: 2.9vw;
    margin-right: 2.9vw;
  }

  .contact .contact-info .contact-phone .contact-phone-icon {
    font-size: 3.33vw;
  }

  .contact .contact-info .contact-phone .contact-phone-icon img {
    width: 2.5vw;
  }

  .contact .contact-info .contact-phone .contact-time {
    font-size: 1.33vw;
    margin-top: 0.4vw;
    padding-left: 4.17vw;
  }

  .contact .contact-info .contact-form {
    width: 27.67vw;
    height: 5.1vw;
    border-radius: 2.5vw;
    padding-left: 2.1vw;
  }

  .contact .contact-info .contact-form .contact-form-text {
    font-size: 1.35vw;
  }

  .contact .contact-info .contact-form .contact-form-img {
    width: 2.3vw;
    height: 1.9vw;
    right: 1.7vw;
  }
}

@media screen and (max-width: 767px) {
  .contact {
    background-size: 10.67vw 10.67vw;
    padding: 16vw 0 18vw;
    background-image: linear-gradient(to right, rgb(98, 116, 222) 0.3vw, transparent 0.3vw), linear-gradient(to bottom, rgb(98, 116, 222) 0.3vw, transparent 0.3vw);
  }

  .contact .contact-title {
    font-size: 5.8vw;
    line-height: 1.6;
    text-align: center;
  }

  .contact .contact-text {
    font-size: 3.8vw;
    text-align: center;
    margin-top: 7vw;
    margin-bottom: 7vw;
  }

  .contact .contact-info {
    padding-left: 0;
    flex-direction: column;
    width: 100%;
  }

  .contact .contact-info .contact-phone {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    padding-top: 8vw;
    border-top: 1px solid #fff;
    width: 100%;
  }

  .contact .contact-info .contact-phone .contact-phone-icon {
    font-size: 8vw;
    transform: translateX(-3vw);
  }

  .contact .contact-info .contact-phone .contact-phone-icon img {
    width: 8vw;
  }

  .contact .contact-info .contact-phone .contact-time {
    font-size: 4.2vw;
    margin-top: 3.5vw;
    padding-left: 0vw;
  }

  .contact .contact-info .contact-form {
    width: 100%;
    height: 16.2vw;
    margin-top: 8vw;
    border-radius: 13.3vw;
    padding-left: 8vw;
  }

  .contact .contact-info .contact-form .contact-form-text {
    font-size: 4.2vw;
  }

  .contact .contact-info .contact-form .contact-form-img {
    width: 6vw;
    height: 4.8vw;
    right: 5.3vw;
  }
}

/* フッター */

footer {
  background-color: #e0ebff;
}

footer .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 976px;
  margin: 0 auto;
}

footer .site-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: unset;
  padding-top: 45px;
}

footer .footer-branding a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 306px;
  margin-bottom: 30px;
}

footer .footer-branding img {
  width: 100%;
  object-fit: contain;
}

footer #footer-menu {
  position: relative;
  margin-top: 6px;
}

footer #footer-menu > .menu-item {
  width: 215px;
}

footer #footer-menu > .menu-item:first-of-type {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-308px);
}

footer #footer-menu > .menu-item:first-of-type > a {
  margin-bottom: 10px;
  pointer-events: none;
}

footer #footer-menu > .menu-item > a {
  display: block;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  padding: 0.5em 0.5em 0.5em 1.4em;
  background-image: url("../images/icon-arrow-right.png");
  background-size: 14px;
  background-position: left 1px center;
  background-repeat: no-repeat;
  border-bottom: 1px solid #4764dd;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

footer #footer-menu > .menu-item:nth-last-of-type(2) {
  display: none;
}

footer #footer-menu .sub-menu {
  padding-left: 22px;
}

footer #footer-menu .sub-menu a {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  padding: 1em 0 1em 1.4em;
  background-image: url("../images/icon-arrow-right2.png");
  background-size: 14px;
  background-position: left 1px top 19px;
  background-repeat: no-repeat;
  line-height: 1.6;
  transition: all 0.3s ease;
}

footer .footer-address {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  white-space: nowrap;
}

footer .copyright {
  width: 100%;
  text-align: center;
  font-size: 12px;
  padding: 15px 0 24px;
  border-top: 1px solid #bababa;
  color: #000;
  font-weight: 400;
  margin-top: 135px;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  footer .container {
    max-width: 81.3vw;
  }

  footer .site-container {
    padding-top: 3.75vw;
    width: 100%;
  }

  footer .footer-branding a {
    width: 25.5vw;
    margin-bottom: 2.5vw;
  }

  footer #footer-menu {
    margin-top: 0.5vw;
  }

  footer #footer-menu > .menu-item {
    width: 18.3vw;
  }

  footer #footer-menu > .menu-item:first-of-type {
    transform: translateX(-25.6vw);
  }

  footer #footer-menu > .menu-item:first-of-type > a {
    margin-bottom: 0.8vw;
  }

  footer #footer-menu > .menu-item > a {
    font-size: 1.3vw;
    background-size: 1.16vw;
    margin-bottom: 1.6vw;
  }

  footer #footer-menu .sub-menu {
    padding-left: 1.8vw;
  }

  footer #footer-menu .sub-menu a {
    font-size: 1.16vw;
    background-size: 1.16vw;
    background-position: left 1px top 1.6vw;
  }

  footer .footer-address {
    font-size: 1.16vw;
  }

  footer .copyright {
    font-size: 1vw;
    padding: 1.25vw 0 2vw;
    margin-top: 11.25vw;
  }
}

@media screen and (min-width: 768px) {
  footer #footer-menu .sub-menu a span {
    display: none;
  }

  footer #footer-menu .menu-item a:hover {
    color: #5e73e5;
  }
}

@media screen and (max-width: 767px) {
  footer .container {
    max-width: 92vw;
  }

  footer .site-container {
    padding-top: 13.3vw;
    width: 100%;
    flex-direction: column;
    align-items: unset;
  }

  footer #footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  footer #footer-menu > .menu-item:first-of-type {
    transform: unset;
    position: relative;
    top: unset;
    left: unset;
    margin-bottom: 1.5vw;
    width: 100%;
    margin-bottom: 7vw;
  }

  footer #footer-menu .sub-menu {
    padding-left: 0;
    padding: 3vw 0;
  }

  footer #footer-menu > .menu-item:nth-of-type(2),
  footer #footer-menu > .menu-item:nth-of-type(3),
  footer #footer-menu > .menu-item:nth-of-type(4),
  footer #footer-menu > .menu-item:nth-of-type(5) {
    width: 45.5%;
  }

  footer .footer-branding a {
    width: 68vw;
    margin-bottom: 6.9vw;
  }

  footer #footer-menu {
    margin-top: 0;
  }

  footer #footer-menu > .menu-item:first-of-type > a {
    margin-bottom: 0;
  }

  footer #footer-menu > .menu-item > a {
    font-size: 4.2vw;
    background-size: 3.7vw !important;
    background-position: left 1px center !important;
    background-repeat: no-repeat !important;
    margin-bottom: 0;
  }

  footer #footer-menu .sub-menu a {
    font-size: 3.7vw;
    background-size: 3.7vw !important;
    background-position: left 1px center !important;
    background-repeat: no-repeat !important;
    padding: 0.9em 0 0.9em 1.4em;
  }

  footer .footer-address {
    font-size: 3.73vw;
    margin-bottom: 9vw;
    white-space: nowrap;
  }

  footer #footer-menu > .menu-item:nth-of-type(2),
  footer #footer-menu > .menu-item:nth-of-type(3),
  footer #footer-menu > .menu-item:nth-of-type(4),
  footer #footer-menu > .menu-item:nth-of-type(5) {
    margin-bottom: 8.2vw;
  }

  footer .copyright {
    width: 100%;
    font-size: 3.1vw;
    padding: 3vw 0 7vw;
    margin-top: 34.6vw;
  }

  footer #footer-menu > .menu-item {
    width: 100%;
  }
}

main .container {
  max-width: 976px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
  main .container {
    max-width: 81.3vw;
  }
}

@media screen and (max-width: 767px) {
  main .container {
    max-width: 92vw;
  }
}
