/*
Theme Name: Takoashi.
Theme URL:https://takoashi.jp
Author: Takoashi higo
Description: Takoashi WordPress Theme
Version: 1.0
Text Domain: Takoashi
*/

@charset "utf-8";
/* CSS Document */

/* サイト全体 */
:root {
  --main-bgcolor: #fff; /* #fff */
  --main-fontcolor: #333333;
  --main-color: #2f8be6;
  --sub-bgcolor: #F8F8F8;
  --accent-color: #EEE258;
  --font-primary: "Jost", "Noto Sans JP", sans-serif;
  --font-en: "HelveticaLTPro-Bold", sans-serif; 
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  color: var(--main-fontcolor);
}

html {
  scroll-behavior: smooth;  
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, p, blockquote, table, th, td, a, img {
  margin: 0;
  padding: 0;
  zoom: 1;
  background-repeat: no-repeat;
}

body {
	font-size: 16px;
  font-family: var(--font-primary);
  background-color: var(--main-bgcolor);
  overflow-x: hidden;
}

img {
  width: 100%;
  vertical-align: top;
}

a {
  text-decoration: none;
  cursor: default;
}

/* ヘッダー部分 */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  transition: background-color 0.3s ease;
/*  padding: 0 20px;*/
}

/* スクロール後に背景を白に */
.top-header.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 任意で影を付ける */
}

.top-header__logo-inner {
  -webkit-box-pack: justify;
  justify-content: space-between;
  width: 175px;
  padding-left: 25px;
}

.top-header__menu-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 25px;
  color: var(--main-color);
}

.menu {
  display: flex;
  gap: 20px;
}

.top-header .menu a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.top-header .menu a:hover {
  text-decoration: underline;
}

.top-header.scrolled .menu a {
  color: var(--main-color);
}

.top-header__menu-inner ul {
}

.top-header__menu-inner li {
  list-style: none;
  margin-left: 20px;
}

.top-header__buttons {
  display: flex;
  gap: 10px;
}

/* ファーストビューだけボタンの色変更↓ */
.top-header__menu-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 210px;
  height: 50px;
  margin: 0 auto;
  border: none;
  border-radius: 5px;
  background-color: #fff;
  color: var(--main-color);
  font-weight: bold;
  font-size: 1em;
}

.top-header__menu-button:hover {
  background-color: #fff;
  border:  2px solid var(--main-color);
  color: var(--main-color); 
  font-weight: bold;
}
/* ファーストビューだけボタンの色変更↑*/

/* ファーストビューすぎたボタンの色変更↓ */
.top-header.scrolled .top-header__menu-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 210px;
  height: 50px;
  margin: 0 auto;
  border: none;
  border-radius: 5px;
  background-color: var(--main-color);
  color: #fff;
  font-weight: 400;
  font-size: 1em;
}

.top-header.scrolled .top-header__menu-button:hover {
  background-color: #fff;
  border: 2px solid var(--main-color);
  color: var(--main-color); 
  font-weight: bold;
}
/* ファーストビューすぎたボタンの色変更↑*/

.top-header__menu-button01 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 210px;
  height: 50px;
  margin: 0 auto;
  border: none;
  border-radius: 25px;
  background-color: #EEE258;
  color: #fff;
  font-weight: 400;
  font-size: 1em;
  text-decoration: none;
}

.top-header__menu-button01:hover {
  background-color: #fff;
  border: 2px solid #EEE258;
  color: #EEE258; 
  font-weight: bold;
  text-decoration: none;
}

/* ヘッダー部分 */
.other-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
/*  padding: 0 20px;*/
}

.other-header__logo-inner {
  -webkit-box-pack: justify;
  justify-content: space-between;
  width: 175px;
  padding-left: 25px;
}

.other-header__menu-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 25px;
  color: var(--main-color);
}

.other-header .menu a {
  color: var(--main-color);
  font-weight: 500;
  text-decoration: none;
}

.other-header .menu a:hover {
  text-decoration: underline;
}

.other-header.scrolled .menu a {
  color: var(--main-color);
}

.other-header__menu-inner ul {
}

.other-header__menu-inner li {
  list-style: none;
  margin-left: 20px;
}

.other-header__buttons {
  display: flex;
  gap: 10px;
}

/* ファーストビューだけボタンの色変更↓ */
.other-header__menu-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 210px;
  height: 50px;
  margin: 0 auto;
  border: none;
  border-radius: 5px;
  background-color: #fff;
  color: var(--main-color);
  font-weight: bold;
  font-size: 1em;
}

.other-header__menu-button:hover {
  background-color: #fff;
  border:  2px solid var(--main-color);
  color: var(--main-color); 
  font-weight: bold;
}
/* ファーストビューだけボタンの色変更↑*/

.other-header__menu-button01 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 210px;
  height: 50px;
  margin: 0 auto;
  border: none;
  border-radius: 25px;
  background-color: #EEE258;
  color: #fff;
  font-weight: 400;
  font-size: 1em;
  text-decoration: none;
}


.other-header__menu-button01:hover {
  background-color: #fff;
  border: 2px solid #EEE258;
  color: #EEE258; 
  font-weight: bold;
  text-decoration: none;
}

.hamburger-menu {
  display: none;
}

.hero {
  background: url(img/fv.png) center / cover;
  width: 100%; 
  height: 100vh;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

.hero-box {
  position: absolute;
  height: inherit;
  width: 100%;;
}

.hero-cont {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding-bottom: 7.5rem;
}

.hero-cont h1 {
  position: relative;
  top: 25%;
  font-size: 13rem;
  font-weight: bold;
  color: #fff;
  width: 80%;
  margin: 0 auto;
  line-height: 13rem;
}

.hero-cont span {
  font-weight: normal;
  color: #EEE258;
}


.hero-cont h2 {
  position: relative;
  top: 25%;
  font-size: 3.25rem;
  color: #fff;
  width: 80%;
  margin: 0 auto;
}

.wrapper {
  padding: 0;
  margin: 0;
}

.our_mission {
  position: relative;
}

.mission__bg {
  background: url(img/mission_bg.png) center / cover;
  width: 100%;
  height: auto;
  padding: 120px 0 200px;
}

.mission__cont {
  display: grid;
  grid-template-columns: 1fr 38rem;
  gap: 9rem;
  width: 90%;
  margin: 0 auto;
}

.inner {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.inner-lg {
/*  max-width: 95rem;*/
  width: 1200px;
  margin: 0 auto;
}

.mission__left-inner h3 {
  font-size: 1.5rem;
  color: #fff;
}

.mission__left-inner h2 {
  font-size: 4rem;
  color: #fff;
}

.mission__right-inner h4 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 30px;
}

.mission__right-inner p {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
  line-height: 2;
  text-align: justify;
}

.mission__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 320px;
  height: 50px;
  /*margin: 0 auto;*/
  border: none;
  border-radius: 25px;
  background-color: #EEE258;
  color: #fff;
  font-weight: bold;
  font-size: 1em;
}

.mission__button:hover {

}

.mission__photo {
  position: absolute;
  bottom: -160px;  /* 青背景からはみ出させる */
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 90%);
  z-index: 2;
}

.mission__photo img {
  width: 100%;
  display: block;
}

#solution {
scroll-margin-top: -120px;  
}

.solution {
  padding: 200px 0;
}

.solution h2 {
  font-size: 2rem;
  color: var(--main-fontcolor);
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 20px;
}

.solution-ttl {
  font-size: 1.5rem;
  color: var(--main-fontcolor);
  text-align: center;
  margin-bottom: 20px;
}

.solution p {
  font-size: 1rem;
  color: var(--main-fontcolor);
  text-align: center;
}

.feature {
  width: 1200px;
  margin: 60px auto 0 auto;
}

.feature__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}

.feature__card {
  position: relative;
  background: var(--sub-bgcolor);
  padding: 40px 32px 80px;
}

.feature__corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 48px solid #2f8be6;
  border-right: 48px solid transparent;
}

.feature__icon {
  text-align: center;
  margin: 0 auto 24px auto;
}

.feature__icon img {
  width: auto;
  max-height: 99px;
}

.feature__title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.feature__list {
  font-size: 0.875rem;
  line-height: 1.8;
  padding-left: 20px;
  text-align: justify;
}

.feature__list li {
  margin-bottom: 8px;
}

.feature__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 528px;
  background: #2f8be6;
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 14px;
  font-weight: 700;
}

.feature__link {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.feature__link a {
  color: #fff;
}

.feature__link a:hover {
  text-decoration: underline;
}

.feature__link::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid #fff;
  margin-left: 5px;
}

.service__cont h2 {
  font-size: 4rem;
  color: var(--main-color);
  text-align: center;
  margin-bottom: 80px;
}

.service__cont h3 {
  font-size: 1.5rem;
  color: var(--main-fontcolor);
  font-weight: bold;
  text-align: center;
}

#service {
  scroll-margin-top: -130px;
}

.service {
  position: relative;
  height: 400vh;
}

.service-sp {
  display: none;
}

.service__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
}

.service__steps {
  position: absolute;
  inset: 0;
  height: 400vh;
  pointer-events: none;
}

.service__step {
  height: 100vh;
}

/* 左テキスト */
.service__texts {
  width: 40%;
  padding: clamp(80px, 6vw, 140px);
  position: relative;
  background-color: #E5F3FC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service__title {
  display: flex;
/*  justify-content: space-between;*/
  align-items: center;
  gap: 20px;
}

.panels__spttl-01 {
  display: none;
}

.panels__spttl-02 {
  display: none;
}


.service__leftttl {
/*  flex: 0 0 20%;*/
  position: relative;
  text-align: left;
  height: 120px;
  padding-right: 20px;
}

.service__leftttl::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  width: 2px;
  height: 60%;
  background-color: #D3D3D3;
}

.service__leftttl h3 {
  color: var(--main-color);
  font-size: 3rem;
  line-height: 1;
}

.service__leftttl span {
  color: var(--main-color);
  font-size: 0.750rem;
/*  line-height: 0.75;*/
}

.service__rightttl {
  flex: 0 0 80%;
}

.service__rightttl h4 {
  font-size: 1rem;
}

.service__rightttl h5 {
  font-size: 2rem;
}

.service__item {
  position: absolute;
  inset: auto;
  max-width: 520px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service__item.is-active {
  opacity: 1;
}

.service__item p {
  margin-top: 15px;
  text-align: justify;
}

.service__note {
  width: 100%;
  max-width: 440px;
  background-color: #fff;
  padding: 40px;
  margin-top: 30px;
}

.service__note p {
  font-size: 0.9375rem;
}

.service__note h6 {
  font-size: 1rem;
  color: var(--main-color);
}

.service__point {
  background-color: var(--main-color);
  color: #fff;
  width: auto;
  height: 26px;
  padding: 2px 15px;
  border-radius: 13px;
  margin-right: 10px;
}

/*.service__item.is-active {
  display: block;
}*/

/* 右画像 */
.service__visual {
  width: 60%;
/*  max-width: 720px;
  margin-left: auto;*/
  position: relative;
}

.service__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service__visual img.is-active {
  opacity: 1;
}

#project {
scroll-margin-top: -120px;  
}

.project {
  background-color: var(--sub-bgcolor);
  padding: 200px 0;
}

.project h3 {
  font-size: 1.5rem;
  text-align: center;
}

.project h2 {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 10px;
}

.project p {
/*  text-align: center;
  margin-bottom: 60px;*/
}

.project__infotext {
  text-align: center;
}

.project__text {
  text-align: center;
  margin: 20px 0 80px 0;
}

.project-stories {
  max-width: 1200px;
  margin:  0 auto;
}

.project-stories__tabs {
  display: flex;
  gap: 24px;
  border-bottom: 2px solid var(--main-color);
  justify-content: center;
  align-items: center;
}

.project-stories__tabs .tab {
  background: none;
  border: none;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--main-color);
 /* border-bottom: 2px solid transparent;*/
  border-top: 2px solid var(--main-color);
  border-left: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
  border-radius: 10px 10px 0 0;
  background-color: #fff;
  transition: color 0.25s, border-color 0.25s;
  font-size: 1rem; 
  width: 250px;
}

.project-stories__tabs .tab.is-active {
  color: #fff;
/*  border-color: #000;*/
  border-top: 2px solid var(--main-color);
  border-left: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
  border-radius: 10px 10px 0 0;
  background-color: var(--main-color);
}

.project-stories__panels .panel {
  opacity: 0;
  display: none;
}

.project-stories__panels .panel.is-active {
  display: block;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.panels__detailbox {
  margin-top: 100px;
  margin-bottom: 40px;
  display: flex;
  height: 100%;
/*  gap: 20px;*/
}

.panels__detailbox-l {
  width: 50%;
}
.panels__detailbox-l h2 {
  font-size: 1rem;
  color: var(--main-color);
  text-align: left;
}

.panels__detailbox-l h3 {
  font-size: 1.75rem;
  text-align: left;
}

.panels__detailbox-r {
  width: 50%;
  max-width: 570px;
  background-color: #fff;
  padding: 20px;
}

.panels__detailbox-r h4 {
  background-color: var(--accent-color);
  padding: 5px 20px;
  color: #fff;
  font-size: 0.875rem;
  width: 40px;
  height: 20px;
  text-align: center;
  border-radius: 15px;
  margin-bottom: 10px;
}

.panels__detailbox-r p {
  font-size: 1.125rem;
  text-align: left;
  font-weight: bold;
}

.panels__arrowbox {
  display: flex;
/*  gap: 20px;*/
  margin-bottom: 20px;
}

.panels__arrowbox-l {
  position: relative;
  width: 50%;
  color: var(--main-color);
  background-color: #fff;
  font-size: 1rem;
  font-weight: bold;
  height: 35px;
  line-height: 35px;
  padding-left: 10px;

  /* ★ ここがポイント */
  clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 50%,
    calc(100% - 20px) 100%,
    0 100%
  );
}

.panels__arrowbox-r {
  position: relative;
  width: 50%;
  background-color: var(--main-color);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  height: 35px;
  line-height: 35px;
  padding-left: 26px; /* 三角分だけ少し余白 */

  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
}

.panels__detailtextbox {
  display: flex;
  gap: 20px;
}

.panels__detailtextbox-l {
  width: 50%;
  max-width: 580px;
}

.panels__detailtextbox-l ol {
  padding-left: 20px;
}

.panels__detailtextbox-l ol li {
  margin-bottom: 5px;
}

.panels__detailtextbox-l h3 {
  font-size: 1rem;
  text-align: left;
  margin-bottom: 10px;
}

.panels__detailtextbox-r {
  width: 50%;
  background-color: #fff;
  padding: 20px;
}

.panels__detailtextbox-r ul {
/*  padding-top: 20px;*/
  padding-left: 20px;
}

.panels__detailtextbox-r li {
  line-height: 2;
}

.panels__detailtextbox-r span {
  font-size: 1.25rem;
  font-weight: bold;
  color: #ff0000;
}

.flow {
    background: url(img/bg-flow.png) center / cover;
    padding: 200px 0; 
}

.flow__inner {
    display: grid;
    grid-template-columns: 300px 1fr; 
    gap: 20px;
}

.flow__item {
  position: relative;
  padding: 30px 0;
  border-bottom: var(--main-color) 2px solid;
}

.flow__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--main-color);  /* ← 三角の色 */
}

.flow__leftinner h3 {
  font-size: 1.125rem;
}

.flow__leftinner h4 {
  font-size: 4rem;
}

.flow__rightinner ul {
  list-style: none;
}

.flow__rightlistbox {
  display: grid;
  grid-template-columns: 10% 1fr 60%; 
  gap: 20px;
}

.flow__rightlistbox h3 {
  color: var(--main-color);
  line-height: 1.2;
}

.flow__rightlistbox h3 span {
  display: block;       /* STEPを改行 */
  font-size: 0.8rem;    /* STEPを小さく */
  letter-spacing: 0.2em;
}

.flow__rightlistbox h3 {
  font-size: 2rem;      /* 02を大きく */
  font-weight: bold;
}

.flow__rightlistbox h4 {
  font-size: 1.25rem;      /* 02を大きく */
  font-weight: bold;
  padding-top: 10px;
}

.contact-static {
  height: 60vh;
}

.contact-static__inner {
  display: flex;
  height: 100%;
}

.contact-static__texts {
  width: 30%;
  height: 80vh;
/*  padding: 80px;*/
  display: flex;
  align-items: center;      /* 横 */
  justify-content: center;  /* 縦 */
  background: url(img/ph-contact_01.png) no-repeat;
}

.contact-static__content {
  max-width: 480px;
}

.contact-static__content h3 {
  color: #fff;
  font-size: 1.5rem;
}

.contact-static__content h4 {
  color: #fff;
  font-size: 4rem;
}

.contact-static__content p {
  color: #fff;
  text-align: justify;
}
.contact-static__visual {
  width: 80%;
  height: 80vh;
  position: relative;
}

.contact-static__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  /*margin: 0 auto;*/
  border: none;
  border-radius: 25px;
  background-color: #EEE258;
  color: #fff;
  font-weight: bold;
  font-size: 1em;
  margin-top: 30px;
}

#company {
scroll-margin-top: -120px;  
}

.company {
  background-color: var(--sub-bgcolor);
  padding: 120px 0;
}

.company__cont {
  margin: 0 auto;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.company__cont-sp {
  display: none;
}

.company h3 {
  font-size: 1.5rem;
  text-align: center;
}

.company h4 {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 40px;
}

.com__leftbox {
  width: 10%;
}

.com__leftbox li {
  list-style: none;
  font-weight: bold;
  line-height: 3;
}

.com__rightbox li {
  list-style: none;
  line-height: 3;
}

footer {
  background-color: var(--main-color);
}

.footer__cont {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}

.footer__cont p {
  font-size: 0.875rem;
  text-align: right;
  color: #fff;
}

.contact__box {
  background-color: var(--sub-bgcolor);
  padding: 200px 0;
}

.contact__box h3 {
  font-size: 1.5rem;
  text-align: center;
}

.contact__box h2 {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 10px;
}

.contact-stories {
  max-width: 1200px;
  margin: 0 auto;
}

.contact__infotext {
  text-align: center;
} 

.Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
/*  max-width: 1200px;*/
}

.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}

.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}
.Form-Item-Label {
  width: 100%;
  max-width: 280px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}

.Form-Item-Label p {
  text-align: left;
}

.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}

.Form-Item-Label-Required {
  border-radius: 4px;
  margin-right: 8px;
  padding-top: 4px;
  padding-bottom: 4px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: var(--main-color);
  color: #fff;
  font-size: 14px;
}

.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
/*  width: 100%;*/
  width: 880px;
  background: #eaedf2;
  font-size: 18px;
}

.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
/*  width: 100%;*/
  width: 880px;
  background: #eaedf2;
  font-size: 18px;
}

.Form-Btn {
  border: none;
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: var(--main-color);
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}

.privacy-text {
  text-align: justify;
}

.privacy-text a {
  text-decoration: underline;
  color: var(--main-fontcolor);
}

.privacy-text a:hover {
  opacity: 0.7;
}

.agree-text {
  margin-top: 40px;
  text-align: center;
  font-size: 0.8125rem;
}

.agree-text a {
  text-decoration: underline;
  color: var(--main-fontcolor);
}

.agree-text a:hover {
  opacity: 0.7;
}


.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 2px var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid var(--main-color);
  border-right: 3px solid var(--main-color);
  transform: translateY(20%) rotate(-45deg);
}

.pc-only {
  display: block;
}

.sp-only { 
  display: none;
}

/* =========================
   Tablet（〜1024px）
========================= */
@media screen and (max-width: 1024px) {
  /* ヘッダー部分 */
  .top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    transition: background-color 0.3s ease;
  /*  padding: 0 20px;*/
  }

  /* スクロール後に背景を白に */
  .top-header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 任意で影を付ける */
  }

  .top-header__logo-inner {
    -webkit-box-pack: justify;
    justify-content: space-between;
    width: 175px;
    padding-left: 25px;
  }

  .top-header__menu-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 25px;
    color: var(--main-color);
  }

  .menu {
    display: flex;
    gap: 20px;
  }

  .top-header .menu a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
  }

  .top-header .menu a:hover {
    text-decoration: underline;
  }

  .top-header.scrolled .menu a {
    color: var(--main-color);
  }

  .top-header__menu-inner ul {
  }

  .top-header__menu-inner li {
    list-style: none;
    margin-left: 20px;
  }

  .top-header__buttons {
    display: flex;
    gap: 10px;
  }

  /* ファーストビューだけボタンの色変更↓ */
  .top-header__menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px;
    height: 50px;
    margin: 0 auto;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    color: var(--main-color);
    font-weight: bold;
    font-size: 1em;
  }

  .top-header__menu-button:hover {
    background-color: #fff;
    border:  2px solid var(--main-color);
    color: var(--main-color); 
    font-weight: bold;
  }
  /* ファーストビューだけボタンの色変更↑*/

  /* ファーストビューすぎたボタンの色変更↓ */
  .top-header.scrolled .top-header__menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px;
    height: 50px;
    margin: 0 auto;
    border: none;
    border-radius: 5px;
    background-color: var(--main-color);
    color: #fff;
    font-weight: 400;
    font-size: 1em;
  }

  .top-header.scrolled .top-header__menu-button:hover {
    background-color: #fff;
    border: 2px solid var(--main-color);
    color: var(--main-color); 
    font-weight: bold;
  }
  /* ファーストビューすぎたボタンの色変更↑*/

  .top-header__menu-button01 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px;
    height: 50px;
    margin: 0 auto;
    border: none;
    border-radius: 25px;
    background-color: #EEE258;
    color: #fff;
    font-weight: 400;
    font-size: 1em;
    text-decoration: none;
  }

  .top-header__menu-button01:hover {
    background-color: #fff;
    border: 2px solid #EEE258;
    color: #EEE258; 
    font-weight: bold;
    text-decoration: none;
  }

  /* ヘッダー部分 */
  .other-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
  /*  padding: 0 20px;*/
  }

  .other-header__logo-inner {
    -webkit-box-pack: justify;
    justify-content: space-between;
    width: 175px;
    padding-left: 25px;
  }

  .other-header__menu-inner {
    display: none;
  }

  .other-header .menu a {
    color: var(--main-color);
    font-weight: 500;
    text-decoration: none;
  }

  .other-header .menu a:hover {
    text-decoration: underline;
  }

  .other-header.scrolled .menu a {
    color: var(--main-color);
  }

  .other-header__menu-inner ul {
  }

  .other-header__menu-inner li {
    list-style: none;
    margin-left: 20px;
  }

  .other-header__buttons {
    display: flex;
    gap: 10px;
  }

  /* ファーストビューだけボタンの色変更↓ */
  .other-header__menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px;
    height: 50px;
    margin: 0 auto;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    color: var(--main-color);
    font-weight: bold;
    font-size: 1em;
  }

  .other-header__menu-button:hover {
    background-color: #fff;
    border:  2px solid var(--main-color);
    color: var(--main-color); 
    font-weight: bold;
  }
  /* ファーストビューだけボタンの色変更↑*/

  .other-header__menu-button01 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px;
    height: 50px;
    margin: 0 auto;
    border: none;
    border-radius: 25px;
    background-color: #EEE258;
    color: #fff;
    font-weight: 400;
    font-size: 1em;
    text-decoration: none;
  }


  .other-header__menu-button01:hover {
    background-color: #fff;
    border: 2px solid #EEE258;
    color: #EEE258; 
    font-weight: bold;
    text-decoration: none;
  }

/* Hamburger-menu */
  .top-header__menu-inner {
    display: none;
  }
  
  .hamburger-menu{
    display: block;
  }  
  .menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: var(--main-color);
    border: 1px solid #fff;
  }
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
  }
  .menu-btn span:before {
    bottom: 8px;
  }
  .menu-btn span:after {
    top: 8px;
  } 
  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
  }
  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  } 
  #menu-btn-check {
    display: none;
  }
  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: var(--main-color);
    transition: all 0.5s;
  }
  .menu-content ul {
    padding: 70px 30px 0 30px;
  }
  .menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
  }
  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 1.25rem;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 20px 15px 20px 0;
    position: relative;
    transition: opacity 0.3s ease;
  }
  .menu-content ul li a.closed {
    opacity: 0;
  }
  .menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 30px;
  } 
  #menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
  } 
  .header__nav {
    display: none;
  }
  .nav__button {
    display: none;
  }


  .hero {
    background: url(img/fv.png) center / cover;
    width: 100%; 
    height: 100vh;
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

  .hero-box {
    position: absolute;
    height: inherit;
    width: 100%;;
  }

  .hero-cont {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding-bottom: 7.5rem;
  }

  .hero-cont h1 {
    position: relative;
    top: 20%;
    font-size: 13rem;
    font-weight: bold;
    color: #fff;
    width: 80%;
    margin: 0 auto;
    line-height: 13rem;
  }

  .hero-cont span {
    font-weight: normal;
    color: #EEE258;
  }


  .hero-cont h2 {
    position: relative;
    top: 20%;
    font-size: 3.5rem;
    color: #fff;
    width: 80%;
    margin: 0 auto;
  }

  .wrapper {
    padding: 0;
    margin: 0;
  }

  .our_mission {
    position: relative;
  }

  .mission__bg {
    background: url(img/mission_bg.png) center / cover;
    width: 100%;
    height: auto;
    padding: 100px 0 200px;
  }

  .mission__cont {
    display: block;
    grid-template-columns: 1fr 38rem;
    gap: 9rem;
    width: 90%;
    margin: 0 auto;
  }

  .inner {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .inner-lg {
  /*  max-width: 95rem;
    width: 1200px;*/
    margin: 0 auto;
  }

  .mission__left-inner h3 {
    font-size: 1.5rem;
    color: #fff;
  }

  .mission__left-inner h2 {
    font-size: 4rem;
    color: #fff;
  }

  .mission__right-inner h4 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
  }

  .mission__right-inner p {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 2;
    text-align: justify;
  }

  .mission__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 50px;
    /*margin: 0 auto;*/
    border: none;
    border-radius: 25px;
    background-color: #EEE258;
    color: #fff;
    font-weight: bold;
    font-size: 1em;
  }

  .mission__button:hover {

  }

  .mission__photo {
    position: absolute;
    bottom: -160px;  /* 青背景からはみ出させる */
    left: 50%;
    transform: translateX(-50%);
    width: min(1000px, 90%);
    z-index: 2;
  }

  .mission__photo img {
    width: 100%;
    display: block;
  }

  #solution {
  scroll-margin-top: -120px;  
  }

  .solution {
    padding: 200px 0;
  }

  .solution h2 {
    font-size: 2rem;
    color: var(--main-fontcolor);
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .solution-ttl {
    font-size: 1.5rem;
    color: var(--main-fontcolor);
    text-align: center;
    margin-bottom: 20px;
  }

  .solution p {
    font-size: 1rem;
    color: var(--main-fontcolor);
    text-align: center;
  }

  .feature {
    width: 90%;
    margin: 60px auto 0 auto;
  }

  .feature__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }

  .feature__card {
    position: relative;
    background: var(--sub-bgcolor);
    padding: 40px 32px 80px;
  }

  .feature__corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 48px solid #2f8be6;
    border-right: 48px solid transparent;
  }

  .feature__icon {
    text-align: center;
    margin: 0 auto 24px auto;
  }

  .feature__icon img {
    width: auto;
    max-height: 99px;
  }

  .feature__title {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
  }

  .feature__list {
    font-size: 0.875rem;
    line-height: 1.8;
    padding-left: 20px;
    text-align: justify;
  }

  .feature__list li {
    margin-bottom: 8px;
  }

  .feature__footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    background: #2f8be6;
    color: #fff;
    text-align: center;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 700;
  }

  .feature__link {
    position: relative;
    display: inline-flex;
    align-items: center;
  }

  .feature__link a {
    color: #fff;
  }

  .feature__link a:hover {
    text-decoration: underline;
  }

  .feature__link::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid #fff;
    margin-left: 5px;
  }

  /* デフォルト：SP表示 */
  .service {
    display: none;
  }

  .service__cont h2 {
  font-size: 3.5rem;
  color: var(--main-color);
  text-align: center;
  margin-bottom: 60px;
}

  .service-sp {
    display: block;
  }
  .service-sp__step {
    position: relative;
    min-height: 420px;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
  }

  /* 背景画像 */
  .service-sp__step::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
  }

  /* テキストを前面に */
  .service-sp__texts {
    position: relative;
    z-index: 1;
    padding: 30px;
    background-color: #fff;
  }

  .service__item  {
    position: relative;
    z-index: 2;
  }

  .service__rightttl {
    color: var(--main-fontcolor);
  }

  .service__item {
    opacity: 1;
  }

  .service__item p {
    color: var(--main-fontcolor);
  }

  .service-sp__step--01::before {
    background-image: url(img/ph-srv_01.png);
  }

  .service-sp__step--02::before {
    background-image: url(img/ph-srv_02.png);
  }

  .service-sp__step--03::before {
    background-image: url(img/ph-srv_03.png);
  }

  .service-sp__step--04::before {
    background-image: url(img/ph-srv_04.png);
  }

  .service__note {
    border: var(--main-fontcolor) 1px solid;
  }

  #project {
  scroll-margin-top: -120px;  
  }

  .project {
    background-color: var(--sub-bgcolor);
    padding: 200px 0;
  }

  .project h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  .project h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .project p {
/*    text-align: center;
    margin-bottom: 60px;*/
  }

  .project__infotext {
    text-align: center;
  }

  .project__text {
    text-align: center;
    margin: 20px 0 80px 0;
  }

  .project-stories {
    max-width: 1200px;
    margin:  0 auto;
  }

  .project-stories__tabs {
    display: flex;
    gap: 24px;
    border-bottom: 2px solid var(--main-color);
    justify-content: center;
    align-items: center;
  }

  .project-stories__tabs .tab {
    background: none;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--main-color);
  /* border-bottom: 2px solid transparent;*/
    border-top: 2px solid var(--main-color);
    border-left: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    border-radius: 10px 10px 0 0;
    background-color: #fff;
    transition: color 0.25s, border-color 0.25s;
    font-size: 1rem; 
    width: auto;
  }

  .project-stories__tabs .tab.is-active {
    color: #fff;
  /*  border-color: #000;*/
    border-top: 2px solid var(--main-color);
    border-left: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    border-radius: 10px 10px 0 0;
    background-color: var(--main-color);
  }

  .project-stories__panels .panel {
    opacity: 0;
    display: none;
  }

  .project-stories__panels .panel.is-active {
    width: 90%;
    margin: 0 auto;
    display: block;
    opacity: 1;
    transition: opacity 0.4s ease;
  }

  .panels__detailbox {
    margin-top: 100px;
    margin-bottom: 40px;
    display: flex;
    height: 100%;
  /*  gap: 20px;*/
  }

  .panels__detailbox-l {
    width: 50%;
  }
  .panels__detailbox-l h2 {
    font-size: 1rem;
    color: var(--main-color);
    text-align: left;
  }

  .panels__detailbox-l h3 {
    font-size: 1.75rem;
    text-align: left;
  }

  .panels__detailbox-r {
    width: 50%;
    max-width: 570px;
    background-color: #fff;
    padding: 20px;
  }

  .panels__detailbox-r h4 {
    background-color: var(--accent-color);
    padding: 5px 20px;
    color: #fff;
    font-size: 0.875rem;
    width: 40px;
    height: 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 10px;
  }

  .panels__detailbox-r p {
    font-size: 1.125rem;
    text-align: left;
    font-weight: bold;
  }

  .panels__arrowbox {
    display: flex;
  /*  gap: 20px;*/
    margin-bottom: 20px;
  }

  .panels__arrowbox-l {
    position: relative;
    width: 50%;
    color: var(--main-color);
    background-color: #fff;
    font-size: 1rem;
    font-weight: bold;
    height: 35px;
    line-height: 35px;
    padding-left: 10px;

    /* ★ ここがポイント */
    clip-path: polygon(
      0 0,
      calc(100% - 20px) 0,
      100% 50%,
      calc(100% - 20px) 100%,
      0 100%
    );
  }

  .panels__arrowbox-r {
    position: relative;
    width: 50%;
    background-color: var(--main-color);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    height: 35px;
    line-height: 35px;
    padding-left: 26px; /* 三角分だけ少し余白 */

    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
  }

  .panels__spttl-01 {
  display: none;
  }

  .panels__spttl-02 {
  display: none;
  }

  .panels__detailtextbox {
    display: flex;
    gap: 20px;
  }

  .panels__detailtextbox-l {
    width: 50%;
    max-width: 580px;
  }

  .panels__detailtextbox-l ol {
    padding-left: 20px;
  }

  .panels__detailtextbox-l ol li {
    margin-bottom: 5px;
  }

  .panels__detailtextbox-l h3 {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 10px;
  }

  .panels__detailtextbox-r {
    width: 50%;
    background-color: #fff;
    padding: 20px;
  }

  .panels__detailtextbox-r ul {
  /*  padding-top: 20px;*/
    padding-left: 20px;
  }

  .panels__detailtextbox-r li {
    line-height: 2;
  }

  .panels__detailtextbox-r span {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ff0000;
  }

  .flow {
      background: url(img/bg-flow.png) center / cover;
      padding: 200px 0; 
  }

  .flow__inner {
      width: 100%;
      display: block;
      grid-template-columns: 1fr 1fr 1fr; 
      gap: 20px;
  }

  .flow__item {
    width: 90%;
    position: relative;
    padding: 30px 0;
    margin: 0 auto;
    border-bottom: var(--main-color) 2px solid;
  }

  .flow__item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--main-color);  /* ← 三角の色 */
  }

  .flow__leftinner h3 {
    text-align: center;
    font-size: 1.125rem;
  }

  .flow__leftinner h4 {
    text-align: center;
    font-size: 4rem;
  }

  .flow__rightinner ul {
    list-style: none;
  }

  .flow__rightlistbox {
    display: grid;
    grid-template-columns: 10% 1fr 60%; 
    gap: 20px;
  }

  .flow__rightlistbox h3 {
    color: var(--main-color);
    line-height: 1.2;
  }

  .flow__rightlistbox h3 span {
    display: block;       /* STEPを改行 */
    font-size: 0.8rem;    /* STEPを小さく */
    letter-spacing: 0.2em;
  }

  .flow__rightlistbox h3 {
    font-size: 2rem;      /* 02を大きく */
    font-weight: bold;
  }

  .flow__rightlistbox h4 {
    font-size: 1.25rem;      /* 02を大きく */
    font-weight: bold;
    padding-top: 10px;
  }

  .contact-static {
    height: 60vh;
  }

  .contact-static__inner {
    display: flex;
    height: 100%;
  }

  .contact-static__texts {
    width: 50%;
    height: 50vh;
  /*  padding: 80px;*/
    display: flex;
    align-items: center;      /* 横 */
    justify-content: center;  /* 縦 */
    background: url(img/ph-contact_01.png) no-repeat;
  }

  .contact-static__content {
    max-width: 480px;
  }

  .contact-static__content h3 {
    color: #fff;
    font-size: 1.5rem;
  }

  .contact-static__content h4 {
    color: #fff;
    font-size: 4rem;
  }

  .contact-static__content p {
    color: #fff;
    text-align: justify;
  }
  .contact-static__visual {
    width: 50%;
    height: 50vh;
    position: relative;
  }

  .contact-static__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .contact__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    /*margin: 0 auto;*/
    border: none;
    border-radius: 25px;
    background-color: #EEE258;
    color: #fff;
    font-weight: bold;
    font-size: 1em;
    margin-top: 30px;
  }

  #company {
  scroll-margin-top: -120px;  
  }

  .company {
    background-color: var(--sub-bgcolor);
    padding: 120px 0;
  }

  .company__cont {
    margin: 0 auto;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
  }

  .company__cont-sp {
    display: none;
  }

  .company h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  .company h4 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 40px;
  }

  .com__leftbox {
    width: 10%;
  }

  .com__leftbox li {
    list-style: none;
    font-weight: bold;
    line-height: 3;
  }

  .com__rightbox li {
    list-style: none;
    line-height: 3;
  }

  footer {
    background-color: var(--main-color);
  }

  .footer__cont {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
  }

  .footer__cont p {
    font-size: 0.875rem;
    text-align: right;
    color: #fff;
  }

  .contact__box {
    background-color: var(--sub-bgcolor);
    padding: 200px 0;
  }

  .contact__box h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  .contact__box h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .contact__infotext {
    text-align: center;
  }   

  .contact-stories {
    width: 80%;
    margin: 0 auto;
  }

  .Form {
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
  }

  .Form-Item {
    border-top: 1px solid #ddd;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    align-items: center;
  }

  .Form-Item:nth-child(5) {
    border-bottom: 1px solid #ddd;
  }
  .Form-Item-Label {
    width: 100%;
    max-width: 280px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
  }

  .Form-Item-Label p {
    text-align: left;
  }

  .Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
  }

  .Form-Item-Label-Required {
    border-radius: 4px;
    margin-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: var(--main-color);
    color: #fff;
    font-size: 14px;
  }

  .Form-Item-Input {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 500px;
    background: #eaedf2;
    font-size: 18px;
  }

  .Form-Item-Textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-left: 40px;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 500px;
    background: #eaedf2;
    font-size: 18px;
  }

  .Form-Btn {
    border: none;
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: var(--main-color);
    color: #fff;
    font-weight: bold;
    font-size: 20px;
  }

  .agree-text {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8125rem;
  }

  .agree-text a {
    text-decoration: underline;
    color: var(--main-fontcolor);
  }

  .agree-text a:hover {
    opacity: 0.7;
  }

  .pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
  }

  .pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid var(--main-color);
    border-right: 3px solid var(--main-color);
    transform: translateY(20%) rotate(-45deg);
  }
  .sp-only {
    display: none;
  }  
}

/* =========================
   Smartphone（〜767px）
========================= */
@media screen and (max-width: 767px) {
  /* ヘッダー部分 */
  .top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    transition: background-color 0.3s ease;
  /*  padding: 0 20px;*/
  }

  /* スクロール後に背景を白に */
  .top-header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 任意で影を付ける */
  }

  .top-header__logo-inner {
    -webkit-box-pack: justify;
    justify-content: space-between;
    width: 175px;
    padding-left: 25px;
  }

  .top-header__menu-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 25px;
    color: var(--main-color);
  }

  .menu {
    display: flex;
    gap: 20px;
  }

  .top-header .menu a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
  }

  .top-header .menu a:hover {
    text-decoration: underline;
  }

  .top-header.scrolled .menu a {
    color: var(--main-color);
  }

  .top-header__menu-inner ul {
  }

  .top-header__menu-inner li {
    list-style: none;
    margin-left: 20px;
  }

  .top-header__buttons {
    display: flex;
    gap: 10px;
  }

  /* ファーストビューだけボタンの色変更↓ */
  .top-header__menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px;
    height: 50px;
    margin: 0 auto;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    color: var(--main-color);
    font-weight: bold;
    font-size: 1em;
  }

  .top-header__menu-button:hover {
    background-color: #fff;
    border:  2px solid var(--main-color);
    color: var(--main-color); 
    font-weight: bold;
  }
  /* ファーストビューだけボタンの色変更↑*/

  /* ファーストビューすぎたボタンの色変更↓ */
  .top-header.scrolled .top-header__menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px;
    height: 50px;
    margin: 0 auto;
    border: none;
    border-radius: 5px;
    background-color: var(--main-color);
    color: #fff;
    font-weight: 400;
    font-size: 1em;
  }

  .top-header.scrolled .top-header__menu-button:hover {
    background-color: #fff;
    border: 2px solid var(--main-color);
    color: var(--main-color); 
    font-weight: bold;
  }
  /* ファーストビューすぎたボタンの色変更↑*/

  .top-header__menu-button01 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px;
    height: 50px;
    margin: 0 auto;
    border: none;
    border-radius: 25px;
    background-color: #EEE258;
    color: #fff;
    font-weight: 400;
    font-size: 1em;
    text-decoration: none;
  }

  .top-header__menu-button01:hover {
    background-color: #fff;
    border: 2px solid #EEE258;
    color: #EEE258; 
    font-weight: bold;
    text-decoration: none;
  }

  /* ヘッダー部分 */
  .other-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
  /*  padding: 0 20px;*/
  }

  .other-header__logo-inner {
    -webkit-box-pack: justify;
    justify-content: space-between;
    width: 175px;
    padding-left: 25px;
  }

  .other-header__menu-inner {
    display: none;
  }

  .other-header .menu a {
    color: var(--main-color);
    font-weight: 500;
    text-decoration: none;
  }

  .other-header .menu a:hover {
    text-decoration: underline;
  }

  .other-header.scrolled .menu a {
    color: var(--main-color);
  }

  .other-header__menu-inner ul {
  }

  .other-header__menu-inner li {
    list-style: none;
    margin-left: 20px;
  }

  .other-header__buttons {
    display: flex;
    gap: 10px;
  }

  /* ファーストビューだけボタンの色変更↓ */
  .other-header__menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px;
    height: 50px;
    margin: 0 auto;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    color: var(--main-color);
    font-weight: bold;
    font-size: 1em;
  }

  .other-header__menu-button:hover {
    background-color: #fff;
    border:  2px solid var(--main-color);
    color: var(--main-color); 
    font-weight: bold;
  }
  /* ファーストビューだけボタンの色変更↑*/

  .other-header__menu-button01 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 210px;
    height: 50px;
    margin: 0 auto;
    border: none;
    border-radius: 25px;
    background-color: #EEE258;
    color: #fff;
    font-weight: 400;
    font-size: 1em;
    text-decoration: none;
  }


  .other-header__menu-button01:hover {
    background-color: #fff;
    border: 2px solid #EEE258;
    color: #EEE258; 
    font-weight: bold;
    text-decoration: none;
  }

/* Hamburger-menu */
  .top-header__menu-inner {
    display: none;
  }
  
  .hamburger-menu{
    display: block;
  }  
  .menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: var(--main-color);
    border: 1px solid #fff;
  }
  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
  }
  .menu-btn span:before {
    bottom: 8px;
  }
  .menu-btn span:after {
    top: 8px;
  } 
  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
  }
  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  } 
  #menu-btn-check {
    display: none;
  }
  .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background-color: var(--main-color);
    transition: all 0.5s;
  }
  .menu-content ul {
    padding: 70px 30px 0 30px;
  }
  .menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
  }
  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 1.25rem;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 20px 15px 20px 0;
    position: relative;
    transition: opacity 0.3s ease;
  }
  .menu-content ul li a.closed {
    opacity: 0;
  }
  .menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 30px;
  } 
  #menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
  } 
  .header__nav {
    display: none;
  }
  .nav__button {
    display: none;
  }


  .hero {
    background: url(img/fv.png) center / cover;
    width: 100%; 
    height: 100vh;
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

  .hero-box {
    position: absolute;
    height: inherit;
    width: 100%;;
  }

  .hero-cont {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding-bottom: 7.5rem;
  }

  .hero-cont h1 {
    position: relative;
    top: 40%;
    font-size: 5rem;
    font-weight: bold;
    color: #fff;
    width: 80%;
    margin: 0 auto;
    line-height: 5rem;
  }

  .hero-cont span {
    font-weight: normal;
    color: #EEE258;
  }


  .hero-cont h2 {
    position: relative;
    top: 42%;
    font-size: 2.25rem;
    color: #fff;
    width: 80%;
    margin: 0 auto;
  }

  .wrapper {
    padding: 0;
    margin: 0;
  }

  .our_mission {
    position: relative;
  }

  .mission__bg {
    background: url(img/mission_bg.png) center / cover;
    width: 100%;
    height: auto;
    padding: 100px 0 100px;
  }

  .mission__cont {
    display: block;
    grid-template-columns: 1fr 38rem;
    gap: 9rem;
    width: 90%;
    margin: 0 auto;
  }

  .inner {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .inner-lg {
  /*  max-width: 95rem;
    width: 1200px;*/
    margin: 0 auto;
  }

  .mission__left-inner h3 {
    font-size: 1.5rem;
    color: #fff;
  }

  .mission__left-inner h2 {
    font-size: 3rem;
    line-height: 3.25rem;
    margin-top: 5px;
    color: #fff;
  }

  .mission__right-inner h4 {
    margin-top: 10px;
    font-size: 1.25rem;
    text-align: justify;
    color: #fff;
    margin-bottom: 30px;
  }

  .mission__right-inner p {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 2;
    text-align: justify;
  }

  .mission__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 50px;
    /*margin: 0 auto;*/
    border: none;
    border-radius: 25px;
    background-color: #EEE258;
    color: #fff;
    font-weight: bold;
    font-size: 1em;
  }

  .mission__button:hover {

  }

  .mission__photo {
    position: absolute;
    bottom: -50px;  /* 青背景からはみ出させる */
    left: 50%;
    transform: translateX(-50%);
    width: min(1000px, 90%);
    z-index: 2;
  }

  .mission__photo img {
    width: 100%;
    display: block;
  }

  #solution {
  scroll-margin-top: -120px;  
  }

  .solution {
    padding: 120px 0 60px 0;
  }

  .solution h2 {
    font-size: 1.75rem;
    color: var(--main-fontcolor);
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .solution-ttl {
    font-size: 1.5rem;
    color: var(--main-fontcolor);
    text-align: center;
    margin-bottom: 20px;
  }

  .solution p {
    font-size: 1rem;
    color: var(--main-fontcolor);
    text-align: justify;
    width: 80%;
    margin: 0 auto;
  }

  .feature {
    width: 80%;
    margin: 60px auto 0 auto;
  }

  .feature__grid {
    display: block;
/*    grid-template-columns: repeat(2, 1fr);
    gap: 50px;*/
  }

  .feature__card {
    position: relative;
    background: var(--sub-bgcolor);
    padding: 40px 30px 80px;
    margin-bottom: 40px;
  }

  .feature__corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-top: 48px solid #2f8be6;
    border-right: 48px solid transparent;
  }

  .feature__icon {
    text-align: center;
    margin: 0 auto 24px auto;
  }

  .feature__icon img {
    width: auto;
    max-height: 99px;
  }

  .feature__title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
  }

  .feature__list {
    font-size: 0.875rem;
    line-height: 1.8;
    padding-left: 20px;
    text-align: justify;
  }

  .feature__list li {
    margin-bottom: 8px;
  }

  .feature__footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    background: #2f8be6;
    color: #fff;
    text-align: center;
    padding: 16px 0;
    font-size: 1rem;
    font-weight: 700;
  }

  .feature__link {
    position: relative;
    display: inline-flex;
    align-items: center;
  }

  .feature__link a {
    color: #fff;
  }

  .feature__link a:hover {
    text-decoration: underline;
  }

  .feature__link::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid #fff;
    margin-left: 5px;
  }

  /* デフォルト：SP表示 */
  .service {
    display: none;
  }

  .service-sp {
    display: block;
  }
  .service-sp__step {
    position: relative;
    min-height: 420px;
    padding: 60px 30px;
    display: block !important;
    align-items: initial !important;
    justify-content: initial !important;
    color: #fff;
    overflow: hidden;
  }

  /* 背景画像 */
  .service-sp__step::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
  }

  /* テキストを前面に */
  .service-sp__texts {
    position: relative;
    z-index: 1;
    padding: 30px;
    background-color: #fff;
  }

  .service__item  {
    position: relative;
    z-index: 2;
    opacity: 1;
  }

  .service__title {
    display: block;
  }

  .service__leftttl {
    height: auto;
  }

  .service__leftttl h3 {
    text-align: left;
  }

  .service__leftttl::after {
    display: none;
  }

  .service__rightttl {
    color: var(--main-fontcolor);
  }

  .service__rightttl h5 {
    font-size: 1.5rem;
  }

  .service__item p {
    color: var(--main-fontcolor);
  }

  .service-sp__step--01::before {
    background-image: url(img/ph-srv_01.png);
  }

  .service-sp__step--02::before {
    background-image: url(img/ph-srv_02.png);
  }

  .service-sp__step--03::before {
    background-image: url(img/ph-srv_03.png);
  }

  .service-sp__step--04::before {
    background-image: url(img/ph-srv_04.png);
  }

  .service__note {
    border: var(--main-fontcolor) 1px solid;
    width: auto;
    padding: 20px;
  }

  #project {
  scroll-margin-top: -120px;  
  }

  .project {
    background-color: var(--sub-bgcolor);
    padding: 100px 0;
  }

  .project h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  .project h2 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .project p {
/*    width: 80%;
    margin: 0 auto;
    text-align: left;
    text-align: justify;
    margin-bottom: 60px;*/
  }

  .project__infotext {
    text-align: center;
  }

  .project__text {
    text-align: justify;
    width: 80%;
    margin: 20px auto 40px auto;
  }

  .project-stories {
    max-width: 100%;
    margin:  0 auto;
  }

  .project-stories__tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--main-color);
    justify-content: center;
    align-items: center;
  }

  .project-stories__tabs .tab {
    background: none;
    border: none;
    padding: 10px 8px;
    cursor: pointer;
    font-weight: 600;
    color: var(--main-color);
  /* border-bottom: 2px solid transparent;*/
    border-top: 2px solid var(--main-color);
    border-left: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    border-radius: 10px 10px 0 0;
    background-color: #fff;
    transition: color 0.25s, border-color 0.25s;
    font-size: 0.9rem; 
    width: auto;
  }

  .project-stories__tabs .tab.is-active {
    color: #fff;
  /*  border-color: #000;*/
    border-top: 2px solid var(--main-color);
    border-left: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    border-radius: 10px 10px 0 0;
    background-color: var(--main-color);
  }

  .project-stories__panels .panel {
    opacity: 0;
    display: none;
  }

  .project-stories__panels .panel.is-active {
    width: 80%;
    margin: 0 auto;
    display: block;
    opacity: 1;
    transition: opacity 0.4s ease;
  }

  .panels__detailbox {
    margin-top: 100px;
    margin-bottom: 40px;
    display: block;
    height: auto;
  /*  gap: 20px;*/
  }

  .panels__detailbox-l {
    width: 100%;
  }
  .panels__detailbox-l h2 {
    font-size: 1rem;
    color: var(--main-color);
    text-align: left;
  }

  .panels__detailbox-l h3 {
    font-size: 1.75rem;
    text-align: left;
  }

  .panels__detailbox-r {
    width: 90%;
    max-width: 100%;
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
  }

  .panels__detailbox-r h4 {
    background-color: var(--accent-color);
    padding: 5px 20px;
    color: #fff;
    font-size: 0.875rem;
    width: 40px;
    height: 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 10px;
  }

  .panels__detailbox-r p {
    font-size: 1.125rem;
    text-align: left;
    font-weight: bold;
  }

  .panels__arrowbox {
    display: none;
  /*  gap: 20px;*/
    margin-bottom: 20px;
  }

  .panels__arrowbox-l {
    position: relative;
    width: 100%;
    color: var(--main-color);
    background-color: #fff;
    font-size: 1rem;
    font-weight: bold;
    height: 35px;
    line-height: 35px;
    padding-left: 10px;

    /* ★ ここがポイント */
    clip-path: polygon(
      0 0,
      calc(100% - 20px) 0,
      100% 50%,
      calc(100% - 20px) 100%,
      0 100%
    );
  }

  .panels__arrowbox-r {
    position: relative;
    width: 100%;
    background-color: var(--main-color);
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    height: 35px;
    line-height: 35px;
    padding-left: 26px; /* 三角分だけ少し余白 */

    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
  }

  .panels__detailtextbox {
    display: block;
    gap: 20px;
  }

  .panels__spttl-01 {
    display: block;
    width: 22%;
    background-color: var(--main-color);
    color: #fff;
    padding: 5px 8px;
    margin-bottom: 10px;
  }

  .panels__spttl-02 {
    display: block;
    width: 12%;
    background-color: var(--main-color);
    color: #fff;
    padding: 5px 8px;
    margin-bottom: 10px;
  }

  .panels__detailtextbox-l {
    width: 100%;
    max-width: 580px;
  }

  .panels__detailtextbox-l ol {
    padding-left: 20px;
    margin-bottom: 20px;
  }

  .panels__detailtextbox-l ol li {
    margin-bottom: 5px;
  }

  .panels__detailtextbox-l h3 {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 10px;
  }

  .panels__detailtextbox-r {
    width: 90%;
    background-color: #fff;
    padding: 20px;
  }

  .panels__detailtextbox-r ul {
  /*  padding-top: 20px;*/
    padding-left: 20px;
  }

  .panels__detailtextbox-r li {
    line-height: 2;
  }

  .panels__detailtextbox-r span {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ff0000;
  }

  .flow {
      background: url(img/bg-flow.png) center / cover;
      padding: 100px 0; 
  }

  .flow__inner {
      width: 100%;
      display: block;
      grid-template-columns: 1fr 1fr 1fr; 
      gap: 20px;
  }

  .flow__item {
    width: 80%;
    position: relative;
    padding: 30px 0;
    margin: 0 auto;
    border-bottom: var(--main-color) 2px solid;
  }

  .flow__item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--main-color);  /* ← 三角の色 */
  }

  .flow__leftinner h3 {
    text-align: center;
    font-size: 1.5rem;
  }

  .flow__leftinner h4 {
    text-align: center;
    font-size: 3.5rem;
  }

  .flow__rightinner ul {
    list-style: none;
  }

  .flow__rightlistbox {
    display: block;
    /*grid-template-columns: 10% 1fr 60%; 
    gap: 20px;*/
  }

  .flow__rightlistbox h3 {
    color: var(--main-color);
    line-height: 1.2;
  }

  .flow__rightlistbox h3 span {
    display: block;       /* STEPを改行 */
    font-size: 0.8rem;    /* STEPを小さく */
    letter-spacing: 0.2em;
  }

  .flow__rightlistbox h3 {
    font-size: 2rem;      /* 02を大きく */
    font-weight: bold;
  }

  .flow__rightlistbox h4 {
    font-size: 1.25rem;      /* 02を大きく */
    font-weight: bold;
    padding-top: 10px;
  }

  .contact-static {
    height: 60vh;
  }

  .contact-static__inner {
    display: block;
    height: 100%;
  }

  .contact-static__texts {
    width: 100%;
    height: 50vh;
  /*  padding: 80px;*/
    display: flex;
    align-items: center;      /* 横 */
    justify-content: center;  /* 縦 */
    background: url(img/ph-contact_01.png) no-repeat;
  }

  .contact-static__content {
    max-width: 100%;
    width: 80%;
    text-align: center;
  }

  .contact-static__content h3 {
    color: #fff;
    font-size: 1.5rem;
  }

  .contact-static__content h4 {
    color: #fff;
    font-size: 3.5rem;
  }

  .contact-static__content p {
    color: #fff;
    text-align: center;
  }
  .contact-static__visual {
    width: 100%;
    height: 50vh;
    position: relative;
  }

  .contact-static__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .contact__button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    /*margin: 0 auto;*/
    border: none;
    border-radius: 25px;
    background-color: #EEE258;
    color: #fff;
    font-weight: bold;
    font-size: 1em;
    margin-top: 30px;
  }

  #company {
  scroll-margin-top: -120px;  
  }

  .company {
    background-color: var(--sub-bgcolor);
    padding: 100px 0;
  }

  .company__cont {
    display: none;
  }

  .company__cont-sp {
    display: block;
    width: 80%;
    margin: 0 auto;
  }

  .com__box-sp li {
    list-style-type: none;
    margin-bottom: 20px;
  }

  .com__box-sp li span {
    font-weight: bold;
  }

  .company h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  .company h4 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 40px;
  }

  .com__leftbox {
    width: 10%;
  }

  .com__leftbox li {
    list-style: none;
    font-weight: bold;
    line-height: 3;
  }

  .com__rightbox li {
    list-style: none;
    line-height: 3;
  }

  footer {
    background-color: var(--main-color);
  }

  .footer__cont {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
  }

  .footer__cont p {
    font-size: 0.875rem;
    text-align: right;
    color: #fff;
  }

  .contact__box {
    background-color: var(--sub-bgcolor);
    padding: 200px 0;
  }

  .contact__box h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  .contact__box h2 {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .contact__infotext {
    text-align: center;
    width: 80%;
    margin: 0 auto;
  }  

   .contact-stories {
    width: 100%;
   } 

  .Form {
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
  }

  .Form-Item {
    border-top: 1px solid #ddd;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: block;
    align-items: center;
  }

  .Form-Item:nth-child(5) {
    border-bottom: 1px solid #ddd;
  }
  .Form-Item-Label {
    width: 100%;
    max-width: 90%;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
  }

  .Form-Item-Label p {
    text-align: left;
  }

  .Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
  }

  .Form-Item-Label-Required {
    border-radius: 4px;
    margin-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: var(--main-color);
    color: #fff;
    font-size: 14px;
  }

  .Form-Item-Input {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 20px;
    margin-left: 0;
    padding-left: 1em;
    padding-right: 1em;
    height: 48px;
    flex: 1;
    width: 90%;
    background: #eaedf2;
    font-size: 18px;
  }

  .Form-Item-Textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 20px;
    margin-left: 0;
    padding-left: 1em;
    padding-right: 1em;
    height: 216px;
    flex: 1;
    width: 90%;
    background: #eaedf2;
    font-size: 18px;
  }

  .Form-Btn {
    border: none;
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: var(--main-color);
    color: #fff;
    font-weight: bold;
    font-size: 20px;
  }

  .agree-text {
    margin-top: 40px;
    text-align: center;
    font-size: 0.8125rem;
  }

  .agree-text a {
    text-decoration: underline;
    color: var(--main-fontcolor);
  }

  .agree-text a:hover {
    opacity: 0.7;
  }  

  .pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
  }

  .pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid var(--main-color);
    border-right: 3px solid var(--main-color);
    transform: translateY(20%) rotate(-45deg);
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
}

/* デフォルトはSP */
.problem-link-pc {
  display: none;
}

.problem-link-sp {
  display: inline-block;
}

/* PC */
@media screen and (min-width: 1025px) {
  .problem-link-pc {
    display: inline-block;
  }

  .problem-link-sp {
    display: none;
  }
}