/* ========================================
   Reset CSS
======================================== */

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

html {
  -webkit-text-size-adjust: 100%;
}

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

body {
  min-height: 100vh;
  line-height: 1.5;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 14px 56px 14px 32px;
  border: 2px solid var(--color-primary);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 500;
  transition:
    color .3s ease,
    background-color .3s ease;
}

.button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
  transition: transform .3s ease;
}

.button:hover::after {
  transform: translate(4px, -50%) rotate(45deg);
}


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

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

textarea {
  resize: vertical;
}

address {
  font-style: normal;
}

/* ==============================
   Base
============================== */


:root {
  /* Color */
  --color-primary: #3fc0b1;
  --color-text: #393535;
  --color-secondary:#ccc;
  --color-accent:#ccc;
  --color-text-light:#828282;
  --color-border:#ccc;
  --color-bg: #FDFFF8;

  /* Font */
  --font-base:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;

  --font-heading:
    "M PLUS 1p",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;

  /* Layout */
  --width-wide: 1200px;
  --width-default: 1080px;
  --width-narrow: 900px;
  --side-padding: 40px;
  --side-padding: 40px;
}

.container {
  width: min(
    calc(100% - var(--side-padding) * 2),
    var(--width-default)
  );
  margin-inline: auto;
}

.container--wide {
  width: min(
    calc(100% - var(--side-padding) * 2),
    var(--width-wide)
  );
}

.container--narrow {
  width: min(
    calc(100% - var(--side-padding) * 2),
    var(--width-narrow)
  );
}


body {
  min-height: 100vh;
  line-height: 1.8;
  color: var(--color-text);
}

p{
  margin-bottom: 1rem;
}


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

.site-header {
  position: relative;
  background-color: #fff;
  font-family: var(--font-base);
}

.menu-button {
  display: none;
}

/* 上部装飾 */
.site-header::before {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  background: url("../img/common/header_pc.svg") center top / cover no-repeat;
}

.site-header > .inner {
  display: flex;
  align-items: center;
  margin: 0 auto;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-primary);
  /*margin-bottom: 40px;*/
}

/* Logo
------------------------------ */

.site-header__logo {
  flex-shrink: 0;
  margin: 0;
  padding-left: 32px;
}

.site-header__logo img {
  display: block;
  width: 330px;
  height: auto;
}

/* Navigation
------------------------------ */

.global-nav {
  display: flex;
  align-self: stretch;
  margin-left: auto;
}

.global-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav li {
  margin: 0;
}

/* 通常メニュー */

.global-nav__main > li {
  width: 110px;
}

.global-nav__main a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 16px 5px;
  box-sizing: border-box;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.global-nav__main img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.global-nav__main span {
  font-size: 14px;
  line-height: 1.4;
}

/* 採用・お問い合わせ
------------------------------ */

.global-nav__utility > li {
  width: 100px;
  font-size: 14px;
}

.global-nav__utility a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 16px 5px;
  box-sizing: border-box;
  color: var(--color-text);
  text-decoration: none;
}

.global-nav__utility img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.global-nav__utility .recruit {
  background-color: #fff0f0;
}

.global-nav__utility .contact {
  background-color: #f4fbff;
}

/* Hover
------------------------------ */

.global-nav a {
  transition: opacity .2s ease;
}

.global-nav a:hover {
  opacity: .65;
}

/* ==============================
   Layout
============================== */

.page-bg {
  background-image: url("../img/common/bg-gradation.png");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 0;
}
.page-visual{
  position: relative;
}
.page-visual img{
  margin: auto;
}
.page-visual h1{
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 500;
  position: absolute;
  right: 15%;
  bottom: 5%;

}


.button-primary{
  background: var(--color-primary);
  color: white;
  display: block;
  padding: .5rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
}

.button-secondary{
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  display: block;
  padding: .5rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
}


.content-box {
  max-width: 900px;
  margin-inline: auto;
  margin: 80px auto;
  padding: 16px 40px;
  margin-bottom: 80px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 16px rgba(57, 53, 53, 0.08);
}

.content-box--notice {
  background-color: rgba(63, 192, 177, 0.035);
  border-left: 2px solid rgba(63, 192, 177, 0.3);
}
/* ==============================
   Blog
============================== */

.blog__inner {
  display: flex;
  gap: 40px;
  padding: 80px 0;
  margin-inline: auto;
}
.blog-header {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.blog-header img{
  max-width: 120px;
}

.blog-header h2 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}
.blog-header span {
  font-size: 18px;
  display: block;
  border-bottom: 2px solid #FAE06A;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  flex: 1;
  min-width: 0;
  font-family: var(--font-base);
}

.blog-card {
  display: block;
}
.blog-card h3{
  font-weight: 400;
}
.blog-card img{
  border-radius: 8px;
}
.blog-card__meta{
  margin: .5rem 0;
  font-size: 14px;
}

.blog-card__category {
    color: var(--color-primary);
    border: 1px solid;
    padding: .25rem 1rem;
    font-size: 12px;
    border-radius: 20px;
    margin-right: .5rem;
}

.blog-card__date{
  color: var(--color-text-light);
}

.blog-card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 12px;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.03);
}


.blog-card__arrow {
  position: relative;
  display: block;
  width: 100%;
  height: 20px;
  margin-top: 24px;
}

/* 棒 */
.blog-card__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 16px;
  height: 1px;
  background-color: #d8d8d8;
  transition: background-color .3s ease;
}

/* 矢印 */
.blog-card__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 9px;
  height: 9px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
  transform: translateY(-50%) rotate(45deg);
  transition:
    border-color .3s ease,
    right .3s ease;
}

/* Hover */
.blog-card:hover .blog-card__arrow::before {
  background-color: var(--color-primary);
}

.blog-card:hover .blog-card__arrow::after {
  right: 0;
  border-color: var(--color-primary);
}
/* Blog Archive
------------------------------ */

.blog-archive {
  padding-top: 64px;
  padding-bottom: 120px;
}

.blog-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

.blog-filter a {
  min-width: 160px;
  padding: 10px 24px;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 100px;
  font-family: var(--font-heading);
  text-align: center;
  transition: color .3s ease, background-color .3s ease;
}

.blog-filter a:hover,
.blog-filter a.is-current {
  color: #fff;
  background: var(--color-primary);
}


/* Pagination
------------------------------ */

.pagination {
  margin-top: 80px;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--color-primary);
  border: 1px solid #d8eeeb;
  border-radius: 50%;
  transition: color .3s ease, background-color .3s ease, border-color .3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.blog-archive__empty {
  text-align: center;
}

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

footer{
  font-family: var(--font-base);
  font-size: 0.9rem;
}
.site-footer__name{
  margin-bottom: 1.5rem;
}
.site-footer__name img{
  max-width: 280px;
}
.site-footer__school {
    margin-bottom: 1rem;
}

.site-footer__nav-group {
    width: 220px;
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
}

.site-footer__nav {
    display: flex;
    gap: 40px;
    
}
.site-footer__nav-title {
    border-bottom: 1px solid;
    margin-bottom: .5rem;
    padding-bottom: .25rem;
    color: var(--color-primary);
}
.site-footer__nav-title ul li{
  color: var(--color-text-light);
}

/* Footer Navigation
------------------------------ */

.site-footer__nav li + li {
  margin-top: 8px;
}

.site-footer__nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color .3s ease;
}

.site-footer__nav a::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;

  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 1px;

  transform: rotate(45deg);
  transition: transform .3s ease;
}

.site-footer__nav a:hover {
  color: var(--color-primary);
}

.site-footer__nav a:hover::before {
  transform: translateX(3px) rotate(45deg);
}

/* ==============================
   Breadcrumb
============================== */

.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  line-height: 1.5;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;

  scrollbar-width: none;
}

.breadcrumb ol::-webkit-scrollbar {
  display: none;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: "";
  width: 6px;
  height: 6px;

  border-top: 1.5px solid var(--color-primary);
  border-right: 1.5px solid var(--color-primary);

  transform: rotate(45deg);
}

.breadcrumb a {
  transition: color .3s ease;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb [aria-current="page"] {
  color: #777;
}



/* ==============================
   Contact Form
============================== */

.contact-form {
  max-width: 1000px;
  margin-inline: auto;
  padding: 64px 0 80px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 32px;
}

.contact-form__row--textarea {
  align-items: center;
}

.contact-form__row--textarea .contact-form__label {
  padding-top: 20px;
}

.contact-form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 16px;
}

.contact-form__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  padding: 3px 10px;

  color: #fff;
  background: #ed4c4c;
  border-radius: 100px;

  font-size: 11px;
  line-height: 1.4;
}

/* Input */

/* input / select / textarea */

.contact-form__field input[type="text"],
.contact-form__field input[type="tel"],
.contact-form__field input[type="email"],
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  padding: 16px 18px;

  color: var(--color-text);
  background: #fff;

  border: 1px solid #ccc;
  border-radius: 6px;

  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;

  outline: none;

  transition:
    border-color .3s ease,
    box-shadow .3s ease;
}

.contact-form__field input[type="text"],
.contact-form__field input[type="tel"],
.contact-form__field input[type="email"],
.contact-form__field select {
  height: 64px;
}
.contact-form__field textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(63, 192, 177, .1);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: #999;
}

/* Radio */

.contact-form__field .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.contact-form__field .wpcf7-list-item {
  margin: 0;
}

.contact-form__field .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.contact-form__field input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-primary);
}

/* Error */

.contact-form .wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
}

.contact-form .wpcf7-response-output {
  margin: 32px 0 0;
  padding: 16px 20px;
  border-radius: 8px;
}

/* Submit */

.contact-form__submit {
  margin-top: 48px;
  text-align: center;
}

.contact-form__submit input[type="submit"] {
  min-width: 280px;
  padding: 16px 48px;
  color: #fff;
  background: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: color .3s ease, background-color .3s ease;
}

.contact-form__submit input[type="submit"]:hover {
  color: var(--color-primary);
  background: #fff;
}


/* ==============================
   Responsive
============================== */

@media (max-width: 767px) {

  .contact-form__row {
    display: block;
    margin-bottom: 28px;
  }

  .contact-form__label {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .contact-form__row--textarea .contact-form__label {
    padding-top: 0;
  }

  .contact-form__required {
    min-width: 46px;
    padding: 3px 8px;
    font-size: 10px;
  }

  .contact-form__field input[type="text"],
  .contact-form__field input[type="tel"],
  .contact-form__field input[type="email"],
  .contact-form__field textarea {
    padding: 16px;
    font-size: 16px;
  }

  .contact-form__field input[type="text"],
  .contact-form__field input[type="tel"],
  .contact-form__field input[type="email"] {
    height: 56px;
  }

  .contact-form__field textarea {
    min-height: 180px;
  }

  .contact-form__field .wpcf7-radio {
    display: grid;
    gap: 14px;
  }

  .contact-form__submit {
    margin-top: 40px;
  }

  .contact-form__submit input[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}


.thanks {
  padding: 80px 0 120px;
}

.thanks__inner {
  text-align: center;
}

.thanks__title {
  margin-bottom: 32px;

  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
}

.thanks__text {
  margin-bottom: 24px;
  line-height: 2;
}

.thanks__note {
  margin-bottom: 48px;

  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.8;
}

.thanks__button {
  width: fit-content;
  margin-inline: auto;
}

.thanks-hero {
    width: 200px;
    margin: auto;
}

@media (max-width: 767px) {

  .thanks {
    padding: 56px 0 80px;
  }

  .thanks__title {
    font-size: 22px;
  }

  .thanks__text,
  .thanks__note {
    text-align: left;
  }

}


/* ==============================
   Responsive
============================== */

@media (max-width: 767px) {
  :root {
    --side-padding: 20px;
  }
  .container,
  .container--wide,
  .container--narrow {
    width: calc(100% - var(--side-padding) * 2);
  }

  /* Header
  ------------------------------ */

  .site-header {
    position: relative;
    z-index: 1000;
  }

  .site-header::before {
    height: 6px;
  }

  .site-header > .inner {
    position: relative;
    height: 72px;
    margin-bottom: 0;
    padding: 0 20px;
    background-color: #fdfff8;
  }

  .site-header__logo {
    position: relative;
    z-index: 1002;
    padding-left: 0;
  }

  .site-header__logo img {
    width: 210px;
  }


  /* Menu Button
  ------------------------------ */

  .menu-button {
    position: relative;
    z-index: 1002;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;

    width: 44px;
    height: 44px;
    margin-left: auto;
  }

  .menu-button span {
    display: block;
    width: 28px;
    height: 2px;
    margin-inline: auto;

    background-color: var(--color-primary);
    border-radius: 2px;

    transition:
      transform .3s ease,
      opacity .3s ease;
  }


  /* Navigation
  ------------------------------ */

  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;

    display: block;

    width: 100%;
    height: 100dvh;
    padding: 110px 20px 40px;

    overflow-y: auto;

    background-color: #fdfff8;

    opacity: 0;
    visibility: hidden;

    transition:
      opacity .3s ease,
      visibility .3s ease;
  }

  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .global-nav ul {
    display: grid;
  }


  /* Main Menu
  ------------------------------ */

  .global-nav__main {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .global-nav__main > li {
    width: auto;
  }

  .global-nav__main a {
    gap: 8px;
    min-height: 120px;
    padding: 16px 10px;

    background-color: #fff;
    border-radius: 12px;
  }

  .global-nav__main img {
    width: 54px;
    height: 54px;
  }

  .global-nav__main span {
    font-size: 13px;
  }


  /* Utility Menu
  ------------------------------ */

  .global-nav__utility {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;

    margin-top: 20px !important;
  }

  .global-nav__utility > li {
    width: auto;
  }

  .global-nav__utility a {
    min-height: 90px;
    padding: 12px;
    border-radius: 12px;
  }

  /* Blog
  ------------------------------ */

.blog__inner{
  flex-direction: column;
}

.blog__inner{
  padding: 0;
}
.blog-header{
  justify-content: center;
  gap: 16px;
}
.blog-list{
  grid-template-columns:1fr;
  margin-bottom: 80px;
}

.blog-card img{
  width: 100%;
}
  .blog-archive {
    padding-top: 40px;
    padding-bottom: 80px;
  }

  .blog-filter {
    gap: 8px;
    margin-bottom: 40px;
  }

  .blog-filter a {
    flex: 1;
    min-width: 0;
    padding: 9px 8px;
    font-size: 12px;
  }

  .pagination {
    margin-top: 56px;
  }

  .pagination .page-numbers {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }


}