@charset "utf-8";

/*
Theme Name: Granstella
*/

/*===========================================
Foundation
===========================================*/
/*
Reset.cssやNormalize.cssなどを用いたブラウザのデフォルトスタイルの初期化や、
プロジェクトにおける基本的なスタイルを定義します。
ページの下地としての全体の背景や、基本的なタイポグラフィなどが該当します。
*/

/* ress.min.css */
html{-webkit-text-size-adjust:100%;box-sizing:border-box;-moz-tab-size:4;tab-size:4;word-break:normal}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}*{margin:0;padding:0}hr{color:inherit;height:0;overflow:visible}details,main{display:block}summary{display:list-item}small{font-size:80%}[hidden]{display:none}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}a{background-color:transparent}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}pre{font-size:1em}b,strong{font-weight:bolder}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:inherit;text-indent:0}iframe{border-style:none}input{border-radius:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}button,select{text-transform:none}[role=button],[type=button],[type=reset],[type=submit],button{cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:1px dotted ButtonText}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button,input,select,textarea{background-color:transparent;border-style:none}a:focus,button:focus,input:focus,select:focus,textarea:focus{outline-width:0}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;max-width:100%;white-space:normal}::-webkit-file-upload-button{-webkit-appearance:button;color:inherit;font:inherit}[disabled]{cursor:default}img{border-style:none}progress{vertical-align:baseline}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled=true]{cursor:default}

/* splide-core.min.css */
@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.splide__track--fade>.splide__list>.splide__slide{margin:0!important;opacity:0;z-index:0}.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;z-index:1}.splide--rtl{direction:rtl}.splide__track--ttb>.splide__list{display:block}.splide__container{box-sizing:border-box;position:relative}.splide__list{backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}.splide.is-initialized:not(.is-active) .splide__list{display:block}.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}.splide:not(.is-overflow) .splide__pagination{display:none}.splide__progress__bar{width:0}.splide{position:relative;visibility:hidden}.splide.is-initialized,.splide.is-rendered{visibility:visible}.splide__slide{backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}.splide__slide img{vertical-align:bottom}.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #999;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}.splide__toggle.is-active .splide__toggle__pause{display:inline}.splide__track{overflow:hidden;position:relative;z-index:0}

/* Jost */
@font-face{font-display:swap;font-family:"Jost";font-style:normal;font-weight:400;src:url("lib/fonts/Jost/static/Jost-Regular.woff2") format("woff2"),url("lib/fonts/Jost/static/Jost-Regular.woff") format("woff"),url("lib/fonts/Jost/static/Jost-Regular.ttf") format("truetype")}@font-face{font-display:swap;font-family:"Jost";font-style:normal;font-weight:500;src:url("lib/fonts/Jost/static/Jost-Medium.woff2") format("woff2"),url("lib/fonts/Jost/static/Jost-Medium.woff") format("woff"),url("lib/fonts/Jost/static/Jost-Medium.ttf") format("truetype")}@font-face{font-display:swap;font-family:"Jost";font-style:normal;font-weight:600;src:url("lib/fonts/Jost/static/Jost-SemiBold.woff2") format("woff2"),url("lib/fonts/Jost/static/Jost-SemiBold.woff") format("woff"),url("lib/fonts/Jost/static/Jost-SemiBold.ttf") format("truetype")}@font-face{font-display:swap;font-family:"Jost";font-style:normal;font-weight:700;src:url("lib/fonts/Jost/static/Jost-Bold.woff2") format("woff2"),url("lib/fonts/Jost/static/Jost-Bold.woff") format("woff"),url("lib/fonts/Jost/static/Jost-Bold.ttf") format("truetype")}

/* Noto Sans Japanese */
@font-face{font-display:swap;font-family:"Noto Sans JP";font-style:normal;font-weight:400;src:url("lib/fonts/Noto_Sans_JP/NotoSansJP-Regular.woff2") format("woff2"),url("lib/fonts/Noto_Sans_JP/NotoSansJP-Regular.woff") format("woff"),url("lib/fonts/Noto_Sans_JP/NotoSansJP-Regular.otf") format("opentype")}@font-face{font-display:swap;font-family:"Noto Sans JP";font-style:normal;font-weight:500;src:url("lib/fonts/Noto_Sans_JP/NotoSansJP-Medium.woff2") format("woff2"),url("lib/fonts/Noto_Sans_JP/NotoSansJP-Medium.woff") format("woff"),url("lib/fonts/Noto_Sans_JP/NotoSansJP-Medium.otf") format("opentype")}@font-face{font-display:swap;font-family:"Noto Sans JP";font-style:normal;font-weight:700;src:url("lib/fonts/Noto_Sans_JP/NotoSansJP-Bold.woff2") format("woff2"),url("lib/fonts/Noto_Sans_JP/NotoSansJP-Bold.woff") format("woff"),url("lib/fonts/Noto_Sans_JP/NotoSansJP-Bold.otf") format("opentype")}

/* base.css */
:root {
  /* ベースカラー */
  --base-color-primary: #fff;
  --base-color-secondary: #F6F6F6;
  --base-color-secondary-rgb: ;
  /* メインカラー */
  --main-color-primary: ;
  --main-color-primary-rgb: ;
  --main-color-secondary: ;
  --main-color-secondary-rgb: ;
  /* アクセントカラー */
  --accent-color-primary: #CF210F;
  /* テキストカラー */
  --text-color-primary: #0A2439;
}

body {
  background: var(--base-color-primary);
  color: var(--text-color-primary);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
}

textarea{border-radius:0;vertical-align:bottom}picture{display:block}address{font-style:normal}iframe{vertical-align:bottom}table{width:100%;border-collapse:collapse}video{vertical-align:bottom}time{display:block}img{max-width:100%;height:auto;vertical-align:bottom}li{list-style-type:none}a{text-decoration:none}

@media screen and (max-width: 767px) {



}

/*===========================================
JavaScript
===========================================*/
/* フェードイン */
.js-inview{transform:translateY(30px);opacity:0}.js-inview.is-inview{transform:translateY(0);opacity:1;transition:transform 2s,opacity 2s}

@media screen and (max-width: 767px) {



}

/*===========================================
Layout
===========================================*/
/*
ページを構成するヘッダーやメインのコンテンツエリア、
サイドバーやフッターといったプロジェクト共通の
コンテナーブロックのスタイルを定義します。
*/

.l-wrapper {
  overflow: clip;
  min-width: calc(1104px + (24px * 2));
  margin: 0 auto;
  padding-top: 90px;
}

@media screen and (max-width: 767px) {

  .l-wrapper {
    min-width: 100%;
    padding-top: 74px;
  }

}

/* ヘッダー */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 15px 0;
  background: var(--base-color-primary);
}

.l-header__container {
  width: min(100%, calc(1460px + (24px * 2)));
  margin: 0 auto;
  padding: 0 24px;
}

.l-header__columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 10px;
}

.l-header__logo {
  transform: translateY(8px);
  width: 136px;
}

.l-header__logo a {
  display: inline-block;
  transition: opacity .6s;
}

.l-header__logo a:hover {
  opacity: .6;
}

.l-header__inner {
  display: flex;
  align-items: center;
  gap: 0 50px;
}

.l-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 50px;
}

.l-nav__item {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  text-transform: capitalize;
}

.l-nav__item a {
  display: inline-block;
  display: block;
  color: var(--text-color-primary);
  transition: opacity .6s;
}

.l-nav__item a:hover {
  opacity: .6;
}

.l-header__contact a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 10px;
  position: relative;
  width: 240px;
  height: 60px;
  background: #7C97AC;
  border-radius: 9999px;
  color: #fff;
  font-family: "Jost", sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  transition: opacity .6s;
}

.l-header__contact a:hover {
  opacity: .6;
}

.l-header__contact a:after {
  display: inline-block;
  width: 29px;
  height: 20px;
  background: url("lib/images/icon_mail.svg") no-repeat center / contain;
  content: '';
}

.l-header__bottom {
  display: none;
}

.l-toggle {
  display: none;
}

@media screen and (max-width: 767px) {

  .l-header {
    height: 74px;
    padding: 8px;
  }

  .l-header__container {
    height: 100%;
  }

  .l-header__columns {
    height: 100%;
    padding-right: 0;
  }

  .l-header__logo {
    transform: translateY(0);
    width: 88px;
  }

  .l-header__drawer {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 74px;
    left: 0;
    z-index: 20;
    overflow-y: scroll;
    width: 100%;
    height: calc(100% - 74px);
    padding-top: 42px;
    background: rgba(255, 255, 255, 1);
    transition: visibility .28s, opacity .28s;
  }

  .l-header__drawer.is-open {
    visibility: visible;
    opacity: 1;
  }

  .l-header__inner {
    flex-direction: column;
    gap: 40px 0;
  }

  .l-nav__list {
    flex-direction: column;
    gap: 23px 0;
  }

  .l-nav__item {
    text-align: center;
  }

  .l-header__contact a {
    width: 262px;
  }

  .l-header__bottom {
    display: block;
    margin-top: 56px;
    padding: 38px 0 120px;
    background: var(--accent-color-primary);
  }

  .l-header-line {
    text-align: center;
  }

  .l-header-line a {
    display: inline-block;
    transition: opacity .6s;
  }

  .l-header-line a:hover {
    opacity: .6;
  }

  .l-header-line__columns {
    display: flex;
    align-items: center;
    gap: 0 8px;
  }

  .l-header-line__image {
    width: 28px;
  }

  .l-header-line__image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }

  .l-header-line__text {
    padding-bottom: 2px;
    color: #fff;
    font-family: "Jost", sans-serif;
    font-size: 13px;
  }

  .l-toggle {
    display: block;
    position: relative;
    z-index: 30;
    width: 16px;
    height: 12px;
    cursor: pointer;
  }

  .l-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: #0A2439;
    transition: transform .28s, opacity .28s, color .28s;
  }

  .l-toggle span:first-child {
    top: 0;
  }

  .l-toggle.is-open span:first-child {
    transform: translateY(5.5px) rotate(-45deg);
  }

  .l-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }

  .l-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .l-toggle span:nth-child(3) {
    bottom: 0;
  }

  .l-toggle.is-open span:nth-child(3) {
    transform: translateY(-5.5px) rotate(45deg);
  }

}

/* フッター */
.l-footer {
  padding: 24px 0 26px;
}

.l-page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10;
  visibility: hidden;
  width: 56px;
  height: 56px;
  border-radius: 3px;
  background: #1571da;
  opacity: 0;
  transition: visibility .4s, opacity .4s;
}

.l-page-top.is-active {
  visibility: visible;
  opacity: 1;
}

.l-page-top:hover {
  opacity: .6;
}

.l-page-top:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 9px;
  background: url("data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22layout%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2010.31%207.37%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3Anone%3Bstroke%3A%23fff%3Bstroke-linecap%3Around%3Bstroke-linejoin%3Around%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cpolyline%20class%3D%22cls-1%22%20points%3D%22.5%206.87%205.15%20.5%209.81%206.87%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  content: '';
}

.l-footer__inner {
  width: min(100%, calc(1112px + (24px * 2)));
  margin: 0 auto;
  padding: 0 24px;
}

.l-footer__columns {
  /*display: grid;
  grid-template-columns: 200px 1fr;*/
  display: flex;
  justify-content: space-between;
  gap: 0 64px;
  padding-right: 16px;
}

.l-footer__logo {
  width: 284px;
  padding-top: 4px;
}

.l-footer__logo a {
  display: inline-block;
  transition: opacity .6s;
}

.l-footer__logo a:hover {
  opacity: .6;
}

.l-footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 43px;
}

.l-footer-nav__item {
  font-family: "Jost", sans-serif;
  font-weight: 600;
  text-transform: capitalize;
}

.l-footer-nav__item a {
  display: inline-block;
  color: var(--text-color-primary);
  transition: opacity .6s;
}

.l-footer-nav__item a:hover {
  opacity: .6;
}

.l-footer__copyright {
  margin-top: 20px;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {

  .l-footer__columns {
    flex-direction: column;
    gap: 40px 0;
    padding-right: 0;
  }

  .l-footer__logo {
    width: 184px;
    width: 144px;
    padding-top: 0;
  }

  .l-footer-nav__list {
    /*flex-direction: column;*/
    gap: 16px 0;
  }

  .l-footer-nav__item {
    width: 50%;
    font-weight: 500;
  }

  .l-footer__copyright {
    margin-top: 40px;
    font-size: 13px;
  }

}

/*===========================================
Object
===========================================*/
/*-------------------------------------------
Component
-------------------------------------------*/
/*
再利用できるパターンとして、小さな単位のモジュールを定義します。
出来る限り、最低限の機能を持ったものとして定義されるべきであり、
それ自体が固有の幅や色などの特色を持つことは避けるのが望ましいです。
*/

/* 見出し */
.c-heading {
  display: inline-grid;
  grid-template-columns: 1fr auto;
  gap: 0 12px;
  align-items: center;
  font-family: "Jost", sans-serif;
  font-size: 14px;
  text-align: right;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.c-heading:before {
  display: inline-block;
  width: 100%;
  height: 1px;
  background: var(--accent-color-primary);
  content: '';
}

.c-heading:after {
  grid-area: 1 / 1 / 2 / 3;
  width: 100%;
  margin-bottom: 4px;
  font-size: 64px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  content: attr(data-title);
}

.c-heading span {
  order: 1;
}

@media screen and (max-width: 767px) {

  .c-heading {
    /*font-size: 13px;*/
  }

  .c-heading:after {
    font-size: 54px;
    letter-spacing: 0.06em;
  }

}

/* ボタン */
.c-button {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 320px;
  height: 50px;
  border-radius: 9999px;
  background: #7C97AC;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: opacity .4s;
}

.c-button:hover {
  opacity: .6;
}

.c-button:before {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 16px;
  height: 5px;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2215.5%22%20height%3D%224.275%22%20viewBox%3D%220%200%2015.5%204.275%22%3E%0A%20%20%3Cpath%20id%3D%22Path_568%22%20data-name%3D%22Path%20568%22%20d%3D%22M-8592.175%2C4126.959h15l-5.366-3.351%22%20transform%3D%22translate(8592.175%20-4123.184)%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221%22%2F%3E%0A%3C%2Fsvg%3E%0A") no-repeat center / contain;
  content: '';
}

@media screen and (max-width: 767px) {

  .c-button {
    width: 280px;
    height: 48px;
    font-size: 15px;
  }

}

/* 連番 */
.c-number {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  padding: 1px 1px 0 0;
  border-radius: 50%;
  background: var(--accent-color-primary);
}

.c-number:before {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: rotate(45deg);
  transform-origin: left center;
  width: calc((50px / 2) + 9px);
  height: 2px;
  background: var(--accent-color-primary);
  content: '';
}

.c-number__text {
  color: #fff;
  font-family: "Jost", sans-serif;
  font-size: 22px;
  font-weight: 500;
}

@media screen and (max-width: 767px) {

  .c-number {
    width: 44px;
    height: 44px;
  }

  .c-number:before {
    width: calc((44px / 2) + 10px);
  }

  .c-number__text {
    font-size: 19px;
  }

}

/*-------------------------------------------
Project
-------------------------------------------*/
/*
プロジェクト固有のパターンであり、いくつかのComponentと、
それに該当しない要素によって構成されるものを定義します。
例えば、記事一覧や、ユーザープロフィール、
画像ギャラリーなどコンテンツを構成する要素などが該当します。
*/

/* Splide */
.splide__wrapper {
  position: relative;
}

.splide__arrow {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 30px;
}

.splide__arrow--prev {
  left: calc(-30px + -40px);
  transform: translateY(-50%);
}

.splide__arrow--next {
  right: calc(-30px + -40px);
  transform: translateY(-50%) scaleX(-1);
}

.splide__arrow img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

@media screen and (max-width: 767px) {

  .splide__arrow {
    width: 40px;
  }

  .splide__arrow--prev {
    left: calc(-24px + -22px);
  }

  .splide__arrow--next {
    right: calc(-24px + -22px);
  }

}

/* 基本設定 */
.p-section {
  padding: 126px 0 120px;
}

.p-section--service {
  padding-top: 0;
}

.p-section--contact {
  padding-bottom: 0;
}

.p-section--bg-gray {
  background: var(--base-color-secondary);
}

.p-section--bg-dark-sapphire-blue {
  background: #282f46;
}

.p-section__inner {
  width: min(100%, calc(1080px + (24px * 2)));
  margin: 0 auto;
  padding: 0 24px;
}

.p-section__body {
  margin-top: 56px;
  margin-top: 34px;
}

.p-section__columns {
  display: flex;
  align-items: center;
  gap: 0 32px;
}

.p-section__column:nth-child(2) {
  padding-left: 4px;
}

.p-section__desc {
  font-size: 16px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.p-section__button {
  margin-top: 56px;
}

@media screen and (max-width: 767px) {

  .p-section {
    padding: 72px 0 80px;
  }

  .p-section--service {
    padding-top: 0;
  }

  .p-section--contact {
    padding-bottom: 0;
  }

  .p-section__body {
    margin-top: 40px;
    margin-top: 48px;
  }

  .p-section__columns {
    flex-direction: column;
    align-items: normal;
    gap: 16px 0;
  }

  .p-section__column:nth-child(2) {
    padding-left: 0;
  }

  .p-section__desc {
    font-size: 14px;
    font-size: 16px;
    text-align: left;
    line-height: 1.75;
    line-height: 1.5;
  }

}

/* ファーストビュー */
.p-first-view {
  position: relative;
  padding: 40px 0 130px;
}

.p-first-view:before {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: 100%;
  height: calc(130px + 70px);
  background: var(--accent-color-primary);
  content: '';
}

.p-first-view__columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: min(100%, 1400px);
  width: min(100%, 1600px);
  margin: 0 auto;
}

.p-first-view__inner {
  width: calc((1104px / 2) + 24px);
  width: calc((1200px / 2) + 24px);
  margin-left: auto;
  padding-left: 24px;
  height: 100%;
}

.p-first-view__content {
  display: flex;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  height: 100%;
  padding-top: 52px;
}

.p-first-view__haeding {
  position: relative;
  z-index: 1;
  color: var(--accent-color-primary);
  font-size: 48px;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.p-first-view__haeding:before {
  position: absolute;
  top: -88px;
  left: calc(50% - 16px);
  z-index: -1;
  transform: translateX(-50%) rotate(-8deg);
  width: 533px;
  height: 134px;
  background: url("lib/images/text_team-building.svg") no-repeat center / contain;
  content: '';
}

.p-scroll-down {
  position: absolute;
  bottom: 0;
  left: 0;
}

.p-scroll-down a {
  display: inline-block;
  transition: opacity .6s;
}

.p-scroll-down a:hover {
  opacity: .6;
}

.p-scroll-down__columns {
  display: flex;
  align-items: center;
  gap: 0 20px;
}

.p-scroll-down__image {
  width: 50px;
}

.p-scroll-down__image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.p-scroll-down__text {
  padding-bottom: 2px;
  color: #fff;
  font-family: "Jost", sans-serif;
}

.splide--first-view {
  margin-left: -160px;
}

.splide__image--first-view img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

/*.p-first-view__image {
  margin-left: -160px;
}

.p-first-view__image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}*/

@media screen and (max-width: 767px) {

  .p-first-view {
    padding: 24px 24px 0;
    padding: 0 0 42px;
  }

  .p-first-view:before {
    height: 102px;
    /*content: none;*/
  }

  .p-first-view__columns {
    display: flex;
    flex-direction: column-reverse;
    gap: 54px 0;
  }

  .p-first-view__inner {
    width: 100%;
    height: auto;
    margin-left: 0;
    padding: 0 30px;
  }

  .p-first-view__content {
    display: block;
    padding-top: 0;
  }

  .p-first-view__haeding {
    font-size: 27px;
    line-height: 1.59;
    letter-spacing: 0.06em;
  }

  .p-first-view__haeding:before {
    top: -80px;
    left: -16px;
    transform: rotate(-8deg);
    width: 299px;
  }

  .p-scroll-down {
    order: 1;
    position: static;
    margin-top: 50px;
  }

  .p-scroll-down__columns {
    gap: 0 16px;
  }

  .p-scroll-down__image {
    width: 43px;
  }

  .p-scroll-down__text {
    padding-bottom: 4px;
    font-size: 13px;
  }

  .splide--first-view {
    margin: 0;
  }

  .splide__image--first-view img {
    height: auto;
    aspect-ratio: 390 / 276;
  }

}

/* コンセプト */
.p-concept {
  padding: 118px 0;
  background: url("lib/images/bg_concept_01.png") no-repeat left calc(50% - 624px) top -32px / 449px 219px;
}

.p-concept__inner {
  width: min(100%, calc(1104px + (24px * 2)));
  margin: 0 auto;
  padding: 0 24px;
}

.p-concept__heading {
  font-size: 36px;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.p-concept__heading span {
  color: var(--accent-color-primary);
  font-size: 46px;
  letter-spacing: 0.12em;
}

.p-concept__description {
  margin-top: 22px;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.p-concept__text {
  margin-top: 38px;
  font-size: 14px;
  text-align: center;
  line-height: 1.71;
}

.p-concept__body {
  position: relative;
  z-index: 1;
  margin-top: 92px;
}

.p-concept__body:before,
.p-concept__body:after {
  position: absolute;
  z-index: -1;
  content: '';
}

.p-concept__body:before {
  top: -286px;
  left: calc(50% + 424px);
  width: 422px;
  height: 375px;
  background: url("lib/images/bg_concept_02.png") no-repeat center / contain;
}

.p-concept__body:after {
  bottom: -288px;
  left: calc(50% - 900px);
  transform: rotate(-165deg);
  width: 636px;
  height: 375px;
  background: url("lib/images/bg_concept_03.png") no-repeat center / contain;
}

.splide--concept .splide__track {
  overflow: visible;
}

.splide__image--concept img {
  width: 100%;
  aspect-ratio: 357 / 389;
  object-fit: cover;
}

.splide__slide--concept:nth-child(2n) img {
  margin-top: 88px;
}

.p-concept__footer {
  margin-top: 96px;
  margin-top: 0!important;
}

.p-concept-media-text {
  display: grid;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.p-concept-media-text__heading {
  font-size: 26px;
  font-weight: 500;
}

.p-concept-media-text__text {
  margin-top: 24px;
}

.p-concept-media-text__media {
  padding-left: 64px;
}

.p-concept-media-text__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

@media screen and (max-width: 767px) {

  .p-concept {
    padding: 72px 0 80px;
    background: url("lib/images/bg_concept_01.png") no-repeat left -64px top -32px / calc(449px / 1.5) calc(219px / 1.5);
  }

  .p-concept__heading {
    font-size: 26px;
    letter-spacing: 0.08em;
  }

  .p-concept__heading span {
    font-size: 32px;
    letter-spacing: 0.08em;
  }

  .p-concept__description {
    margin-top: 16px;
    font-size: 20px;
    letter-spacing: 0.06em;
  }

  .p-concept__text {
    margin-top: 24px;
    font-size: 15px;
    text-align: left;
    line-height: 1.8;
  }

  .p-concept__body {
    margin-top: 48px;
  }

  .p-concept__body:before {
    top: -144px;
    left: auto;
    right: -120px;
    width: calc(422px / 1.5);
    height: calc(375px / 1.5);
  }

  .p-concept__body:after {
    bottom: -176px;
    left: -240px;
    width: calc(636px / 1.5);
    height: calc(375px / 1.5);
  }

  .splide__slide--concept:nth-child(2n) img {
    margin-top: 24px;
  }

}

/* サービス紹介 */
.p-service {
  width: 100vw;
  margin: 0 calc(50% - 50vw) -78px;
  padding: 0 80px;
}

.p-service__wrapper {
  padding: 126px 0 120px;
  background: #f3f3f5;
}

.p-service__inner {
  width: min(100%, calc(1240px + (24px * 2)));
  margin: 0 auto;
  padding: 0 24px;
}

.p-service__container {
  padding-left: 80px;
}

.p-service__body {
  margin-top: 58px;
}

.p-service__rows {
  display: flex;
  flex-direction: column;
  gap: 96px 0;
}

.p-service__media-text {
  display: grid;
  grid-template-columns: 540px 1fr;
  align-items: flex-start;
}

/*.p-service__media-text--reverse {
  grid-template-columns: 1fr 480px;
}*/

.p-service-media-text__media {
  position: relative;
  z-index: 1;
  /*padding: 0 0 0 32px;*/
}

/*.p-service__media-text--reverse .p-service-media-text__media {
  padding: 0 32px 0 0;
}*/

/*.p-service__media-text--reverse .p-service-media-text__media {
  order: 1;
}*/

.p-service-media-text__media:before {
  position: absolute;
  right: 0;
  bottom: -36px;
  z-index: -1;
  width: 100vw;
  height: 336px;
  background: var(--accent-color-primary);
  content: '';
}

/*.p-service__media-text--reverse .p-service-media-text__media:before {
  right: auto;
  left: 0;
}*/

.p-service-media-text__image img {
  width: 100%;
  aspect-ratio: 540 / 480;
  object-fit: cover;
}

.p-service-media-text__content {
  position: relative;
  z-index: 2;
  margin: 110px 0 0 -80px;
  padding: 116px 80px 70px;
  background: #fff;
}

.p-service-media-text__content:before {
  position: absolute;
  top: -26px;
  left: 44px;
  transform: rotate(-8deg);
  height: 98px;
  content: '';
}

.p-service-media-text__content--extensive:before {
  width: 576px;
  background: url("lib/images/text_extensive-support.svg") no-repeat center / contain;
}

.p-service-media-text__content--personal:before {
  width: 539px;
  background: url("lib/images/text_personal-support.svg") no-repeat center / contain;
}

/*.p-service__media-text--reverse .p-service-media-text__content {
  margin: 80px -64px 0 0;
}*/

.p-service-media-text__desc {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.p-service-media-text__heading {
  margin-top: 2px;
  color: var(--accent-color-primary);
  line-height: 1.5;
  font-size: 24px;
  letter-spacing: 0.1em;
}

.p-service-media-text__text {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.71;
}

@media screen and (max-width: 767px) {

  .p-service {
    margin: 0 calc(50% - 50vw) -40px;
    padding: 0;
  }

  .p-service__wrapper {
    padding: 72px 0 80px;
  }

  .p-service__container {
    padding-left: 0;
  }

  .p-service__body {
    margin-top: 48px;
  }

  .p-service__rows {
    gap: 72px 0;
  }

  .p-service__media-text {
    grid-template-columns: none;
    align-items: normal;
  }

  .p-service-media-text__media {
    padding: 0;
  }

  /*.p-service__media-text--reverse .p-service-media-text__media {
    order: 0;
    padding-right: 0;
  }*/

  .p-service-media-text__media:before {
    bottom: -24px;
    height: 120px;
    height: 240px;
    /*content: none;*/
  }

  .p-service-media-text__image img {
    aspect-ratio: 4 / 3;
  }

  .p-service-media-text__content {
    margin: 0;
    padding: 48px 24px 32px;
  }

  .p-service-media-text__content:before {
    top: -24px;
    left: 24px;
    /*left: 50%;
    transform: translateX(-50%) rotate(-8deg);*/
    height: 98px;
    content: '';
  }

  .p-service-media-text__content--extensive:before {
    width: calc(576px / 2);
  }

  .p-service-media-text__content--personal:before {
    width: calc(539px / 2);
  }

  .p-service-media-text__desc {
    font-size: 15px;
    letter-spacing: 0.04em;
  }

  .p-service-media-text__heading {
    margin-top: 4px;
    font-size: 20px;
    letter-spacing: 0.04em;
  }

  .p-service-media-text__text {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.8;
  }

  /*.p-service__media-text--reverse .p-service-media-text__content {
    margin: 0;
  }*/

}

/* （サービス紹介） */
.p-service-thought {
  margin-top: 56px;
}

.p-service-thought__inner {
  width: min(100%, 1080px);
}

.p-service-thought__heading {
  font-size: 18px;
  text-align: center;
  line-height: 1.5;
}

.p-service-thought__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  width: min(100%, 800px);
  margin: 26px auto 0;
}

.p-service-thought__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 62px;
  padding: 8px;
  border: 2px solid var(--accent-color-primary);
  background: #fff;
  color: var(--accent-color-primary);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  line-height: 1.41;
}

.p-service-thought__cards {
  display: flex;
  flex-direction: column;
  gap: 56px 0;
  margin-top: 58px;
  padding-bottom: 26px;
}

.p-service-thought__card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.p-service-thought-card__content {
  padding-top: 40px;
}

.p-service-thought-card__desc {
  margin-top: 26px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.p-service-thought-card__heading {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.p-service-thought-card__text {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.71;
}

.p-service-thought-card__media {
  padding-left: 80px;
}

.p-service-thought-card__media img {
  width: 100%;
  object-fit: cover;
}

.p-service-thought__card:first-child .p-service-thought-card__media img {
  aspect-ratio: 460 / 376;
}

.p-service-thought__card:nth-child(n + 2) .p-service-thought-card__media img {
  aspect-ratio: 460 / 414;
}

.p-service-thought__button {
  margin-top: 54px;
}

.p-service-thought__button .c-button {
  margin: 0 auto;
}

@media screen and (max-width: 767px) {

  .p-service-thought {
    margin-top: 48px;
  }

  .p-service-thought__heading {
    text-align: left;
  }

  .p-service-thought__list {
    grid-template-columns: none;
    gap: 12px 0;
    width: 100%;
    margin: 24px 0 0;
  }

  .p-service-thought__item {
    min-height: 64px;
    padding: 12px;
    font-size: 15px;
    line-height: 1.5;
  }

  .p-service-thought__cards {
    gap: 48px 0;
    margin-top: 48px;
    padding-bottom: 0;
  }

  .p-service-thought__card {
    display: flex;
    flex-direction: column;
  }

  .p-service-thought-card__content {
    display: contents;
  }

  .p-service-thought-card__desc {
    margin-top: 16px;
    font-size: 15px;
    letter-spacing: 0.02em;
  }

  .p-service-thought-card__heading {
    margin-top: 4px;
    letter-spacing: 0.02em;
  }

  .p-service-thought-card__text {
    order: 1;
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.8;
  }

  .p-service-thought-card__media {
    margin-top: 24px;
    padding-left: 0;
  }

  .p-service-thought__card:first-child .p-service-thought-card__media img,
  .p-service-thought__card:nth-child(n + 2) .p-service-thought-card__media img {
    aspect-ratio: 4 / 3;
  }

  .p-service-thought__button {
    margin-top: 48px;
  }

}

/* グランステラの強み */
.p-feature {
  padding: 24px 0;
}

.p-feature__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 39px;
}

.p-feature__card {
  padding: 24px 24px 22px;
  box-shadow: 0 3px 20px rgba(124, 151, 172, .18);
  background: #fff;
}

.p-feature__card:nth-child(3n - 1) {
  transition-delay: .3s;
}

.p-feature__card:nth-child(3n) {
  transition-delay: .6s;
}

.p-feature-card__image img {
  width: 100%;
  aspect-ratio: 286 / 200;
  object-fit: cover;
}

.p-feature-card__heading {
  margin-top: 10px;
  font-size: 18px;
  text-align: center;
  line-height: 1.5;
}

.p-feature-card__text {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  line-height: 1.71;
}

@media screen and (max-width: 767px) {

  .p-feature {
    padding: 0;
  }

  .p-feature__cards {
    grid-template-columns: none;
    gap: 40px 0;
    gap: 32px 0;
  }

  .p-feature__card {
    padding: 24px;
  }

  .p-feature__card:nth-child(3n - 1),
  .p-feature__card:nth-child(3n) {
    transition-delay: 0s;
  }

  .p-feature-card__image img {
    aspect-ratio: 3 / 2;
  }

  .p-feature-card__heading {
    margin-top: 16px;
    font-size: 20px;
  }

  .p-feature-card__text {
    margin-top: 8px;
    /*text-align: left;*/
    font-size: 15px;
    line-height: 1.8;
  }

}

/* 代表紹介 */
.p-profile {
  padding-top: 22px;
}

@media screen and (max-width: 767px) {

  .p-profile {
    padding-top: 0;
  }

}

/* 代表紹介（代表紹介） */
.p-profile-profile__columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-columns: 358px 1fr;
  gap: 0 70px;
}

.p-profile-profile__image {
  /*padding-right: 54px;*/
}

.p-profile-profile__image img {
  width: 100%;
  aspect-ratio: 358 / 382;
  object-fit: cover;
}

.p-profile-profile__list {

}

.p-profile-profile__item {

}

.p-profile-profile__item dt,
.p-profile-profile__item dd {
  font-size: 14px;
  line-height: 1.71;
}

.p-profile-profile__item dt {
  letter-spacing: 0.1em;
}

.p-profile-profile__item dt span {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.p-profile-profile__item dd {
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid #C7C7C7;
}

@media screen and (max-width: 767px) {

  .p-profile-profile__columns {
    grid-template-columns: none;
    gap: 32px 0;
  }

  .p-profile-profile__image {

  }

  .p-profile-profile__image img {
    /*aspect-ratio: 4 / 3;*/
  }

  .p-profile-profile__item dt,
  .p-profile-profile__item dd {
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0;
  }

  .p-profile-profile__item dt span {
    font-size: 20px;
    letter-spacing: 0;
  }

  .p-profile-profile__item dd {
    margin-top: 16px;
    padding-top: 16px;
  }

}

/* スライドショー（代表紹介） */
.p-profile-slider {
  margin-top: 94px;
}

.p-profile-slider__container {
  width: min(100%, 800px);
  margin: 0 auto;
}

.splide__image--profile-slider img {
  width: 100%;
  aspect-ratio: 800 / 415;
  object-fit: cover;
}

@media screen and (max-width: 767px) {

  .p-profile-slider {
    margin-top: 64px;
  }

  .splide__image--profile-slider img {
    aspect-ratio: 16 / 9;
    aspect-ratio: 3 / 2;
  }

}

/* 写真（代表紹介） */
.p-profile-picture {
  margin-top: 56px;
}

.p-profile-picture__images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 54px 30px;
}

.p-profile-picture__image {
  width: calc(((100% - (30px * 2)) / 3));
}

.p-profile-picture__image:nth-child(2) {
  padding-top: 56px;
}

.p-profile-picture__image:nth-child(-n + 3) {
  width: calc(((100% - (30px * 2)) / 3));
}

.p-profile-picture__image:nth-child(n + 4) {
  width: calc(((800px - (30px * 1)) / 2));
}

.p-profile-picture__image:nth-child(2),
.p-profile-picture__image:nth-child(5) {
  transition-delay: .3s;
}

.p-profile-picture__image:nth-child(3) {
  transition-delay: .6s;
}

.p-profile-picture__image img {
  width: 100%;
  aspect-ratio: 340 / 267;
  object-fit: cover;
}

.p-profile-picture__image figcaption {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.71;
}

.p-profile-picture__image:nth-child(-n + 3) figcaption {
  margin-top: 24px;
}

.p-profile-picture__image:nth-child(n + 4) figcaption {
  margin-top: 18px;
}

@media screen and (max-width: 767px) {

  .p-profile-picture__images {
    flex-direction: column;
    gap: 32px 0;
  }

  .p-profile-picture__image {
    width: 100%;
  }

  .p-profile-picture__image:nth-child(2) {
    padding-top: 0;
  }

  .p-profile-picture__image:nth-child(-n + 3),
  .p-profile-picture__image:nth-child(n + 4) {
    width: 100%;
  }

  .p-profile-picture__image:nth-child(2),
  .p-profile-picture__image:nth-child(3),
  .p-profile-picture__image:nth-child(5) {
    transition-delay: 0s;
  }

  .p-profile-picture__image img {
    aspect-ratio: 4 / 3;
    aspect-ratio: 3 / 2;
  }

  .p-profile-picture__image figcaption {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
  }

  .p-profile-picture__image:nth-child(-n + 3) figcaption,
  .p-profile-picture__image:nth-child(n + 4) figcaption {
    margin-top: 12px;
  }

}

/* 沿革（代表紹介） */
.p-profile-history {
  margin-top: 92px;
}

.p-profile-history__container {
  width: min(100%, 800px);
  margin: 0 auto;
}

.p-profile-history__list {
  display: flex;
  flex-direction: column;
  gap: 48px 0;
}

.p-profile-history__item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 0 72px;
  align-items: flex-start;
  position: relative;
}

.p-profile-history__item:before,
.p-profile-history__item:after {
  position: absolute;
  content: '';
}

.p-profile-history__item:before {
  top: calc(((18px * 1.5) / 2) - (17px / 2));
  left: calc(70px - 17px);
  left: 70px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--accent-color-primary);
}

.p-profile-history__item:nth-last-child(n + 2):after {
  top: calc(((17px * 1.5) / 2));
  left: calc((70px + (17px / 2)) - (5px / 2));
  width: 5px;
  height: calc(100% + 48px);
  /*background: linear-gradient(180deg, var(--accent-color-primary) 6px, transparent 6px) repeat-y center top / 2px 14px;*/
  background: radial-gradient(circle at left calc(5px / 2) top calc(5px / 2), var(--accent-color-primary), var(--accent-color-primary) calc(5px / 2), transparent calc(5px / 2), transparent) repeat-y center top / 5px 10px;
}

.p-profile-history__item dt {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.p-profile-history__item dd {
  padding-top: 1px;
  font-size: 14px;
  line-height: 1.71;
}

@media screen and (max-width: 767px) {

  .p-profile-history {
    margin-top: 64px;
  }

  .p-profile-history__list {
    gap: 24px 0;
  }

  .p-profile-history__item {
    grid-template-columns: none;
    gap: 4px 0;
    padding-left: calc(17px + 16px);
  }

  .p-profile-history__item:before {
    top: calc(((17px * 1.5) / 2) - (17px / 2));
    left: 0;
  }

  .p-profile-history__item:nth-last-child(n + 2):after {
    left: calc((17px / 2) - (5px / 2));
    height: calc(100% + 24px);
  }

  .p-profile-history__item dt {
    font-size: 17px;
    letter-spacing: 0.08em;
  }

  .p-profile-history__item dd {
    padding-top: 0;
    font-size: 15px;
    line-height: 1.8;
  }

}

/* 挨拶（代表紹介） */
.p-profile-message {
  width: 100vw;
  margin: 160px calc(50% - 50vw) -40px;
  padding: 0 80px;
}

.p-profile-message__wrapper {
  position: relative;
  z-index: 1;
  padding: 94px 0 80px;
  background: var(--base-color-secondary);
}

.p-profile-message__wrapper:before {
  position: absolute;
  top: 172px;
  left: -52px;
  z-index: -1;
  transform: rotate(-15deg);
  width: 317px;
  height: 250px;
  background: url("lib/images/bg_profile_message_01.png") no-repeat center / contain;
  content: '';
}

.p-profile-message__inner {
  width: min(100%, calc(1196px + (24px * 2)));
  width: min(100%, calc(1156px + (24px * 2)));
  margin: 0 auto;
  padding: 0 24px;
}

.p-profile-message__heading {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.05em;
}

.p-profile-message__heading:before {
  display: block;
  transform: translateX(4px) rotate(-8deg);
  width: 235px;
  height: 92px;
  margin: 0 auto 18px;
  background: url("lib/images/text_message.svg") no-repeat center / contain;
  content: '';
}

.p-profile-message__body {
  margin-top: 70px;
}

.p-profile-message__columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: flex-end;
}

.p-profile-message__column:nth-child(2) {
  position: relative;
}

.p-profile-message__column:nth-child(2):before,
.p-profile-message__column:nth-child(2):after {
  position: absolute;
  z-index: 2;
  content: '';
}

.p-profile-message__column:nth-child(2):before {
  top: -262px;
  left: -88px;
  transform: rotate(43deg);
  width: 414px;
  height: 300px;
  background: url("lib/images/bg_profile_message_02.png") no-repeat center / contain;
}

.p-profile-message__column:nth-child(2):after {
  bottom: -38px;
  right: -220px;
  transform: rotate(181deg);
  width: 261px;
  height: 273px;
  background: url("lib/images/bg_profile_message_03.png") no-repeat center / contain;
}

.p-profile-message__content {
  padding: 0 24px 0 42px;
}

.p-profile-message__text {
  font-size: 14px;
  line-height: 1.71;
}

.p-profile-message__media {
  position: relative;
  z-index: 1;
}

.p-profile-message__media:before {
  position: absolute;
  left: 40px;
  bottom: -40px;
  z-index: -1;
  width: 100vw;
  height: 100%;
  background: var(--accent-color-primary);
  content: '';
}

.p-profile-message__image img {
  width: 100%;
}

@media screen and (max-width: 767px) {

  .p-profile-message {
    margin: 64px calc(50% - 50vw) -32px;
    padding: 0;
  }

  .p-profile-message__wrapper {
    padding: 72px 0 80px;
  }

  .p-profile-message__wrapper:before {
    top: 126px;
    left: -126px;
    width: calc(317px / 1.5);
    height: calc(250px / 1.5);
  }

  .p-profile-message__heading {
    font-size: 15px;
  }

  .p-profile-message__heading:before {
    width: 156px;
    height: 61px;
    margin: -4px auto 12px;
  }

  .p-profile-message__body {
    margin-top: 40px;
  }

  .p-profile-message__columns {
    display: flex;
    flex-direction: column-reverse;
    gap: 48px 0;
  }

  .p-profile-message__column:nth-child(2):before {
    top: -176px;
    left: calc(50% - 48px);
    width: calc(414px / 1.5);
    height: calc(300px / 1.5);
  }

  .p-profile-message__column:nth-child(2):after {
    bottom: -80px;
    right: -144px;
    width: calc(261px / 1.5);
    height: calc(273px / 1.5);
  }


  .p-profile-message__content {
    padding: 0;
  }

  .p-profile-message__text {
    font-size: 15px;
    line-height: 1.8;
  }

  .p-profile-message__media:before {
    left: 24px;
    bottom: -24px;
  }

}

/* サービスの流れ */
.p-flow {
  padding-top: 24px;
}

.p-flow__cards {
  display: flex;
  flex-direction: column;
  gap: 50px 0;
  /*counter-reset: number;*/
}

.p-flow__card {
  position: relative;
  padding: 42px 48px 27px calc(40px + (50px + 24px));
  background: #fff;
}

.p-flow__card:nth-last-child(n + 2):before {
  position: absolute;
  top: calc(100% + ((50px - ((5px * 4) + (5px * 3))) / 2));
  left: calc(40px + (50px / 2) - (5px / 2));
  width: 5px;
  height: calc((5px * 4) + (5px * 3));
  background: radial-gradient(circle at left calc(5px / 2) top calc(5px / 2), var(--accent-color-primary), var(--accent-color-primary) calc(5px / 2), transparent calc(5px / 2), transparent) repeat-y center top / 5px 10px;
  content: '';
}

.p-flow-card__content {
  position: relative;
  /*counter-increment: number;*/
}

/*.p-flow-card__content:before,
.p-flow-card__content:after {
  position: absolute;
  background: #af8257;
}*/

/*.p-flow-card__content:before {
  top: calc((-18px * 1.75) + (48px / 2) - 3px);
  right: calc(100% + 24px);
  content: counter(number, decimal-leading-zero);
}*/

.p-flow-card__number {
  position: absolute;
  top: calc((-18px * 1.5) + (50px / 2) - 10px);
  left: calc(-50px + -24px);
}

.p-flow-card__heading {
  font-size: 18px;
  line-height: 1.5;
  /*background: linear-gradient(180deg, #af8257 0%, #af8257 50%, #282f46 50%, #282f46 100%);*/
}

.p-flow-card__text {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.71;
}

@media screen and (max-width: 767px) {

  .p-flow {
    padding-top: 0;
  }

  .p-flow__card {
    padding: 32px 32px 40px;
    padding: 24px 24px 32px;
  }

  .p-flow__card:nth-last-child(n + 2):before {
    left: calc(24px + (44px / 2) - (5px / 2));
  }

  .p-flow-card__number {
    position: static;
  }

  .p-flow-card__heading {
    margin-top: 24px;
    font-size: 20px;
  }

  .p-flow-card__text {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.8;
  }

}

/* 挿入画像 */
.p-insert__image img {
  width: 100%;
  /*aspect-ratio: 1600 / 320;*/
  height: 320px;
  object-fit: cover;
}

@media screen and (max-width: 767px) {

  .p-insert__image img {
    height: 256px;
  }

}

/* お問い合わせ */
.p-contact-line__text {
  font-weight: 500;
  line-height: 1.875;
}

.p-contact-line__button {
  margin-top: 38px;
}

.p-contact-form {
  padding-top: 60px;
}

.wpcf7__list {
  display: grid;
  grid-template-columns: 316px 1fr;
  gap: 40px 0;
}

.wpcf7__term {
  display: flex;
  align-items: flex-start;
  gap: 0 16px;
  padding-top: 12px;
  font-weight: 700;
}

.wpcf7__term span {
  display: inline-block;
  margin-top: 3px;
  padding: 0px 11px;
  border: 1px solid var(--accent-color-primary);
  color: var(--accent-color-primary);
  font-size: 12px;
  font-weight: 500;
}

.wpcf7__desc {

}

.wpcf7__desc .wpcf7-form-control-wrap {
  display: block;
}

.wpcf7__desc input[type="text"],
.wpcf7__desc input[type="tel"],
.wpcf7__desc input[type="email"],
.wpcf7__desc textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #CFCFCF;
  background: #fff;
  outline: none;
}

.wpcf7__desc input[type="text"].wpcf7-not-valid,
.wpcf7__desc input[type="tel"].wpcf7-not-valid,
.wpcf7__desc input[type="email"].wpcf7-not-valid,
.wpcf7__desc textarea.wpcf7-not-valid {
  border: 1px solid #c87872;
}

.wpcf7__desc input[type="text"]::placeholder,
.wpcf7__desc input[type="tel"]::placeholder,
.wpcf7__desc input[type="email"]::placeholder,
.wpcf7__desc textarea::placeholder {
  color: #c7c7c7;
}

.wpcf7__desc input[type="text"]::-ms-input-placeholder,
.wpcf7__desc input[type="tel"]::-ms-input-placeholder,
.wpcf7__desc input[type="email"]::-ms-input-placeholder,
.wpcf7__desc textarea::-ms-input-placeholder {
  color: #c7c7c7;
}

.wpcf7__desc input[type="text"]:-ms-input-placeholder,
.wpcf7__desc input[type="tel"]:-ms-input-placeholder,
.wpcf7__desc input[type="email"]:-ms-input-placeholder,
.wpcf7__desc textarea:-ms-input-placeholder {
  color: #c7c7c7;
}

.wpcf7__desc textarea {
  height: calc((1.5em * 9) + (12px * 2) + (1px * 2));
}

.wpcf7__desc .wpcf7-radio,
.wpcf7__desc .wpcf7-checkbox {
  display: grid;
  gap: 14px 0;
  padding: 12px 0 20px;
}

.wpcf7__desc .wpcf7-radio .wpcf7-list-item,
.wpcf7__desc .wpcf7-checkbox .wpcf7-list-item,
.wpcf7__acceptance .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
}

.wpcf7__desc .wpcf7-radio .wpcf7-list-item label,
.wpcf7__desc .wpcf7-checkbox .wpcf7-list-item label,
.wpcf7__acceptance .wpcf7-acceptance .wpcf7-list-item label {
  display: inline-block;
  cursor: pointer;
}

.wpcf7__desc .wpcf7-radio .wpcf7-list-item input[type="radio"],
.wpcf7__desc .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"],
.wpcf7__acceptance .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 16px;
  background: #fff;
  vertical-align: -3px;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.wpcf7__desc .wpcf7-radio .wpcf7-list-item input[type="radio"] {
  border: 1px solid #C4C4C4;
  border-radius: 50%;
}

.wpcf7__desc .wpcf7-radio .wpcf7-list-item input[type="radio"]:checked {

}

.wpcf7__desc .wpcf7-radio .wpcf7-list-item input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color-primary);
  content: '';
}

.wpcf7__desc .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"],
.wpcf7__acceptance .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"] {
  border: 1px solid #111;
}

.wpcf7__desc .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:checked,
.wpcf7__acceptance .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"]:checked {

}

.wpcf7__desc .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"]:checked:before,
.wpcf7__acceptance .wpcf7-acceptance .wpcf7-list-item input[type="checkbox"]:checked:before {
  position: absolute;
  top: 1px;
  left: 5px;
  transform: rotate(45deg);
  width: 6px;
  height: 12px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  content: '';
}

.wpcf7__desc .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label:before,
.wpcf7__desc .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label:after,
.wpcf7__desc .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label:before,
.wpcf7__desc .wpcf7-checkbox .wpcf7-list-item .wpcf7-list-item-label:after,
.wpcf7__acceptance .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label:before,
.wpcf7__acceptance .wpcf7-acceptance .wpcf7-list-item .wpcf7-list-item-label:after {
  content: none;
}

.wpcf7__desc .wpcf7-not-valid-tip {
  margin-top: 8px;
  color: var(--accent-color-primary);
  font-size: 12px;
  font-weight: 500;
}

.wpcf7__desc .wpcf7-not-valid-tip:before {
  display: inline-block;
  content: '※';
}

.wpcf7__acceptance {
  margin-top: 38px;
  text-align: center;
}

.wpcf7__acceptance .wpcf7-list-item-label a {
  color: #1571da;
  text-decoration: underline 1px;
  text-underline-offset: .1em;
  transition: opacity .6s;
}

.wpcf7__acceptance .wpcf7-list-item-label a:hover {
  opacity: .6;
}

.wpcf7__acceptance .wpcf7-list-item-label span {
  color: var(--accent-color-primary);
}

.wpcf7__button {
  position: relative;
  width: 320px;
  height: 50px;
  margin: 60px auto 0;
  border-radius: 9999px;
  background: #7C97AC;
}

.wpcf7__button:before {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 16px;
  height: 5px;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2215.5%22%20height%3D%224.275%22%20viewBox%3D%220%200%2015.5%204.275%22%3E%0A%20%20%3Cpath%20id%3D%22Path_568%22%20data-name%3D%22Path%20568%22%20d%3D%22M-8592.175%2C4126.959h15l-5.366-3.351%22%20transform%3D%22translate(8592.175%20-4123.184)%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221%22%2F%3E%0A%3C%2Fsvg%3E%0A") no-repeat center / contain;
  content: '';
}

.wpcf7__button input[type="submit"] {
  width: 100%;
  height: 100%;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: opacity .4s;
}

.wpcf7__button input[type="submit"]:hover {
  opacity: .6;
}

.wpcf7__button .wpcf7-spinner {
  display: none;
}

.wpcf7__privacy {
  position: relative;
  margin-top: 38px;
  border-top: 1px solid #CFCFCF;
  border-bottom: 1px solid #CFCFCF;
  border-left: 1px solid #CFCFCF;
  background: #fff;
}

.wpcf7-privacy__container {
  overflow-y: scroll;
  height: calc(((16px * 1.8) * 6) + (26px * 2) + (1px * 2));
  padding: 26px 38px;
}

.wpcf7-privacy__container:before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% - 20px);
  /*height: calc(16px * 1.8);*/
  height: 26px;
  background: #fff;
  content: '';
}

.wpcf7-privacy__container::-webkit-scrollbar {
  width: 6px;
}

.wpcf7-privacy__container::-webkit-scrollbar-track {
  margin: -1px 0;
  background: #F2F5F4;
}

.wpcf7-privacy__container::-webkit-scrollbar-thumb {
  height: 80px;
  background: var(--accent-color-primary);
}

.wpcf7-privacy__title,
.wpcf7-privacy__item,
.wpcf7-privacy__text {
  line-height: 1.8;
}

.wpcf7-privacy__title {
  margin-top: 1.8em;
  font-size: 16px;
  font-weight: 400;
}

.wpcf7-privacy__list {

}

.wpcf7-privacy__item,
.wpcf7-privacy__item li {
  list-style: decimal;
  list-style-position: inside;
}

.wpcf7-privacy__item ul {
  padding-left: 20px;
}

.wpcf7-privacy__text a {
  color: #1571da;
  text-decoration: underline;
  transition: opacity .6s;
}

.wpcf7-privacy__text a:hover {
  opacity: .6;
}

@media screen and (max-width: 767px) {

  .p-contact-line__text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
  }

  .p-contact-line__button {
    margin-top: 32px;
  }

  .p-contact-line__button .c-button {
    margin: 0 auto;
  }

  .p-contact-form {
    padding-top: 48px;
  }

  .wpcf7__list {
    grid-template-columns: none;
    gap: 0;
  }

  .wpcf7__term,
  .wpcf7__desc {
    font-size: 15px;
  }

  .wpcf7__term {
    gap: 0 12px;
    padding-top: 0;
  }

  .wpcf7__term:nth-of-type(n + 2) {
    margin-top: 24px;
  }

  .wpcf7__term span {
    margin-top: 2px;
    padding: 0px 8px;
  }

  .wpcf7__desc {
    margin-top: 12px;
  }

  .wpcf7__desc .wpcf7-not-valid-tip {
    font-size: 12px;
  }

  .wpcf7__acceptance {
    margin-top: 32px;
    font-size: 14px;
  }

  .wpcf7__button {
    margin: 56px auto 0;
  }

  .wpcf7__button input {
    font-size: 14px;
  }

  .wpcf7__privacy {
    margin-top: 32px;
  }

  .wpcf7-privacy__container {
    height: calc(((14px * 1.8) * 8) + (16px * 2) + (1px * 2));
    padding: 16px 24px;
  }

  .wpcf7-privacy__container:before {
    height: 16px;
  }

  .wpcf7-privacy__title,
  .wpcf7-privacy__item,
  .wpcf7-privacy__text {
    font-size: 14px;
    line-height: 1.8;
  }

  .wpcf7-privacy__item ul {
    padding-left: 16px;
  }

}

/* 事業所概要 */
.p-about__container {
  display: grid;
  /*grid-template-columns: calc((240 / 1104) * 100%) 1fr;
  grid-template-columns: 240px 1fr;*/
  grid-template-columns: 1fr 740px;
  gap: 80px;
}

.p-about__header {
  padding-top: 6px;
}

.p-about__table th,
.p-about__table td {

}

.p-about__table tr:nth-child(n + 2) th,
.p-about__table tr:nth-child(n + 2) td {
  border-top: 1px solid #C7C7C7;
}

.p-about__table th {
  width: 194px;
  padding: 20px 20px 20px 80px;
  text-align: left;
  vertical-align: top;
}

.p-about__table td {
  padding: 20px;
}

@media screen and (max-width: 767px) {

  .p-about__container {
    grid-template-columns: none;
    gap: calc(48px - 16px) 0;
  }

  .p-about__table th,
  .p-about__table td {
    display: block;
    font-size: 15px;
    line-height: 1.8;
  }

  .p-about__table th {
    width: 100%;
    padding: 16px 0 0;
  }

  .p-about__table td {
    padding: 4px 0 16px;
  }

  .p-about__table tr:nth-child(n + 2) td {
    border-top: none;
  }

}

/*-------------------------------------------
Utility
-------------------------------------------*/
/*
ComponentとProjectレイヤーのObjectの
モディファイアで解決することが難しい・適切では無い、
わずかなスタイルの調整のための便利クラスなどを定義します。
*/

.u-sp {
  display: none;
}

@media screen and (max-width: 767px) {

  .u-pc {
    display: none;
  }

  .u-sp {
    display: block;
  }

}

.u-clearfix:after {
  display: block;
  clear: both;
  content: '';
}

@media screen and (max-width: 767px) {



}