@charset "UTF-8";

/* -------------------------------------------------------
   Root
------------------------------------------------------- */
:root {
  --main: #006eb9;
  --text: #333;
  --red: #cc0000;
  --pink: #f5e4e4;
  --blue: #014195;
  --orange: #ffa34a;
  --yellow: #fcf08d;
  --gray: #e9eef4;
  --line: #00c61c;
}

/* -------------------------------------------------------
   Reset
------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 1.1rem;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  line-height: 1.99;
  color: var(--text);
  overflow-x: hidden;
}

.red {
  color: var(--red);
}
.blue {
  color: var(--main);
}
.txt_c{margin: 3em;
  text-align: center;
}
/* -------------------------------------------------------
   Utility
------------------------------------------------------- */
.PC {
  display: block;
}

.SP {
  display: none;
}

.SP img {
  padding: 0.3em 0;
}

.wrap {
  max-width: 1000px;
  margin: auto;
}
.mt5 {
  margin-top: 2%;
}
.mt10 {
  margin-top: 5%;
}

.mt20 {
  margin-top: 10%;
}

.pt5 {
  padding-top: 5%;
}

.pt10 {
  padding-top: 10%;
}
.fl{
  font-size: 1.2em;
}
.imgcenter{
  width: 100%;
}
/* -------------------------------------------------------
   Animation
------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease var(--d, 0s), transform .6s ease var(--d, 0s);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.bg-anim {
  position: relative;
  overflow: hidden;
}

.bg-anim-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.bg-anim > *:not(.bg-anim-canvas) {
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------
   Logo
------------------------------------------------------- */
.logo img {
  width: 160px;
}

/* -------------------------------------------------------
   Header
------------------------------------------------------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5em 2em 0.1em 1.5em;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* -------------------------------------------------------
   Navigation
------------------------------------------------------- */
.nav {
  display: flex;
  gap: 2em;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 2em;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: bold;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--main);
}

/* -------------------------------------------------------
   Hamburger
------------------------------------------------------- */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5em;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text);
  margin: 5px auto;
  transition: all 0.3s ease;
}

/* -------------------------------------------------------
   Mobile Navigation
------------------------------------------------------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background: white;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: left 0.3s ease;
  z-index: 999;
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav li {
  margin: 1.5em 0;
}

.mobile-nav a {
  text-decoration: none;
  font-size: 1.2em;
  color: var(--text);
  font-weight: bold;
}

/* -------------------------------------------------------
   FV
------------------------------------------------------- */
.fv {
  padding: 0 11em 3em 9em;
  position: relative;
  overflow: hidden;
}

.fv img {
  width: 100%;
}

#fv-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.fv-content {
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------
   Section
------------------------------------------------------- */
#support {
  background-image: url("./img/support_bg01.png");
  background-position: center -60px;
  background-size: 240% auto;
}
.inner {    padding: 3em;
  background-color: #ffffffb0;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  border-radius: 2rem;
  box-shadow: 0.3rem 0.3rem 3rem rgba(10, 49, 72, 0.05);
}
.service-list {
  margin-top: 40px;
}

.service-item {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
  margin-bottom: 88px;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-item-reverse .service-image {
  order: 2;
}

.service-item-reverse .service-content {
  order: 1;
}

.service-image img {
  box-shadow: 0px 6px 12px 0px rgba(91, 91, 95, 0.10000000149011612);
  display: block;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.service-content h3 {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0 0 20px;
  font-size: 30px;
  line-height: 1.4;
  font-weight: 700;
  color: #000;
}

.service-content h3 span {
  flex: 0 0 auto;
  font-family: 30px;
  line-height: 1;
  color: var(--main);
  letter-spacing: 0.08em;
}

.service-content p {
  margin: 0;
  font-size: 17px;
  line-height: 2;
  color: #111;
  letter-spacing: 0.04em;
}

/* 手機版 */
@media (max-width: 767px) {
  .service-list {
    margin-top: 30px;
  }
  .inner {
    padding: 1em;
}
  .service-item {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 56px;
  }

  .service-item-reverse .service-image,
  .service-item-reverse .service-content {
    order: initial;
  }

  .service-image img {
    aspect-ratio: 1.25 / 1;
    border-radius: 22px;
  }

  .service-content h3 {
    gap: 12px;
    margin-bottom: 14px;
    font-size: 24px;
  }

  .service-content h3 span {
    font-size: 26px;
  }

  .service-content p {
    font-size: 15px;
    line-height: 1.8;
  }
}
section {
  padding: 5em 1em;
}

.title {
  font-size: 40px;
  margin-bottom:.5rem;
  letter-spacing: 0.05em;
}
.title .eng{    position: relative;
  display: block;
  margin-bottom: 1rem;
  padding-left: 1.5625rem;
  color: #006eb9;
  font-size: 1.125rem;
  font-family: "Manrope", sans-serif;
  font-weight: normal;}

  .title .eng::before {
    position: absolute;
    top: 50%;
    left: 0;
    display: inline-block;
    width: .125rem;
    height: 1.125rem;
    background-color:#3e80dc;
    transform: skewX(-30deg);
    translate: 0 -50%;
    transform-origin: bottom center;
    content: "";
} 
.title .engw{    position: relative;
  display: block;
  margin-bottom: 1rem;
  padding-left: 1.5625rem;
  color: #006eb9;
  font-size: 1.125rem;
  font-family: "Manrope", sans-serif;
  font-weight: normal;}
.title .engw::before {
  position: absolute;
  top: 50%;
  left: 0;
  display: inline-block;
  width: .125rem;
  height: 1.125rem;
  background-color:#fff;
  transform: skewX(-30deg);
  translate: 0 -50%;
  transform-origin: bottom center;
  content: "";
} 
.title span {
  display: block;
  letter-spacing: 0.05em;
  color: var(--main);
  font-weight: 400;
  font-family: "Poppins", sans-serif; 
  font-size: 22px;
  margin: 10px auto;
  line-height: 1;
  margin-left: 0;
}

.subtitle {
  font-size: 1.6em;
  margin-bottom: 1em;
}

.copy {
  color: var(--main);
  font-weight: bold;
  font-size: 1.4em;
  padding: 1.2em 0 0.3em 0;
  text-align: center;
}
.copy2{
  font-size: 1.8em;
  line-height: 1.4;
}
.line{
  background: linear-gradient(to top, var(--yellow) 0% 50%, rgba(0,0,0,0) 50% 100%)}

#concept {
  background: url(./img/logoimg.png) no-repeat right bottom;
}

.bg-gray {
  background: var(--gray);
}



.bg-blue {
  background: linear-gradient(26deg, #0d4293, #6cb2eb);
  color: #fff;
}

.bg-blue .title span {
  color: #fff;
}

.bg-blue .title {
  color: var(--gray);
}
@media (max-width: 768px) {
  .title .eng{ font-size: 1rem;}

}
/* -------------------------------------------------------
   Flex
------------------------------------------------------- */
.flex {
  display: flex;
  justify-content: space-between;
  max-width: 100%;
  position: relative;
}

.flex img {
  width: 100%;
  border-radius: 5px;
}

.flex .fleximg {
  width: 42%;
  padding-right: 3%;
}
#flow .flex .fleximg{
  width: 30%;
}

/**/
.company-section {
  background: #e9eef4;
}

.company-line-list {
  max-width: 1100px;
  margin: 56px auto 0;
  padding: 40px 48px;
  border-radius: 20px;
  background: #fff;
}

.company-line-row {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid #dfe5ea;
}

.company-line-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 220px;
  height: 1px;
  background: var(--main);
}

.company-line-row dt {
  margin: 0;
  color: #222;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.company-line-row dd {
  margin: 0;
  color: #333;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

/* 手機版 */
@media (max-width: 767px) {
  .company-section {
    padding: ˇem 1em 4em;
  }

  .company-line-list {
    margin-top: 10px;    padding: 20px 26px;
  }

  .company-line-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .company-line-row::after {
    width: 96px;
  }

  .company-line-row dt {
    font-size: 14px;
  }

  .company-line-row dd {
    font-size: 15px;
    line-height: 1.8;
  }
}
/* -------------------------------------------------------
   flow
------------------------------------------------------- */

.flow-wrap {
  max-width: 1500px;
  margin: 0 auto;
}

.flow-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  margin: 45px auto 34px;
  width: 100%;
}

.flow-line::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 4px;
  background: linear-gradient(to left, #0d4293, #6cb2eb);
  transform: translateY(-50%);
  z-index: 0;
}

.flow-line span {
  position: relative;
  z-index: 1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(26deg, #0d4293, #6cb2eb);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.flow-card {
  min-height: 240px;
  padding: 44px 22px 34px;
  border-radius: 8px;
  background: #fff;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-card h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  margin: 0 0 28px;
  color: #00408f;
  font-size: clamp(19px, 1.5vw, 28px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.flow-card p {
  margin: 0;
  color: #2a2a2a;
  font-size: clamp(15px, 1.15vw, 22px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
}


/* ＳＰ */
@media (max-width: 900px) {
  .flow-line {
    display: none;
  }

  .flow-list {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 16px 10px;
  }

  .flow-list::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 25px;
    bottom: 100px;
    width: 4px;
    background: linear-gradient(180deg, #6cb2eb, #0d4293);
    border-radius: 999px;
    z-index: 0;
  }

  .flow-card {
    position: relative;
    grid-column: 2;
    min-height: auto;
    padding: 24px 22px 26px;
    border-radius: 8px;
    background: #fff;
    text-align: left;
    display: block;
  }

  .flow-card::before {
    position: absolute;
    left: -74px;
    top: 24px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(26deg, #0d4293, #6cb2eb);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
  }

  .flow-card:nth-child(1)::before {
    content: "01";
  }

  .flow-card:nth-child(2)::before {
    content: "02";
  }

  .flow-card:nth-child(3)::before {
    content: "03";
  }

  .flow-card:nth-child(4)::before {
    content: "04";
  }

  .flow-card:nth-child(5)::before {
    content: "05";
  }

  .flow-card h3 {
    display: block;
    min-height: auto;
    margin: 0 0 12px;
    color: #00408f;
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
    writing-mode: horizontal-tb;
  }

  .flow-card p {
    margin: 0;
    color: #2a2a2a;
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
    writing-mode: horizontal-tb;
  }
}
/* -------------------------------------------------------
   Grid
------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.3em;
}

/* -------------------------------------------------------
   Card
------------------------------------------------------- */
.card {
  background: #fff;
  padding: 1.5em 1.3em 1.3em 1.3em;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 3px solid var(--gray);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.ribbon {
  position: absolute;
  background: var(--main);
  top: 16px;
  left: -25px;
  width: 318px;
  height: 33px;
  line-height: 35px;
  color: white;
  text-align: center;
  -webkit-transform: rotate(-45deg) translate(-70px,-70px);
  -moz-transform: rotate(-45deg) translate(-70px,-70px);
  -ms-transform: rotate(-45deg) translate(-70px,-70px);
  -o-transform: rotate(-45deg) translate(-70px,-70px);
  transform: rotate(-45deg) translate(-70px,-70px);
}

.result {
  line-height: 1.3;
}

.result .arrow {
  margin: 0 .3em;
}

.result .before {
  font-size: 1.1em;
}

.result .before span {
  font-size: 1.5em;
}

.result .after {
  color: var(--red);
  font-size: 2.6em;
}

.result .after span {
  font-size: 0.5em;
}

/* -------------------------------------------------------
   List
------------------------------------------------------- */
.list li {
  display: flex;
  align-items: center;
  padding: 1em;
  margin-bottom: 1em;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.list li img {
  width: 30%;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
  margin: 0 1.5em 0 0;
}

/* -------------------------------------------------------
   Table
------------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0 2em;
  font-size: 1em;
  line-height: 1.6;
}

table th,
table td {
  border: 1px solid #ccc;
  padding: 1em;
  vertical-align: top;
  text-align: left;
}

table th {
  background: var(--blue);
  color: #fff;
  font-weight: bold;
}

table tr {
  background: #fff;
}

/* -------------------------------------------------------
   Button
------------------------------------------------------- */
.c {text-align: center;}
.case-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 60px;
  padding: 11px 54px 11px 28px;
  border-radius: 999px;
  border: 1px solid #fff;
  background: #fff;
  color: var(--main);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.case-btn::after {
  content: "→";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(14px, 2vw, 16px);
  transition: transform 0.25s ease;
}

.case-btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
}

.case-btn:hover::after {
  transform: translate(10px, -50%);
}




.service-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 60px;
  padding: 11px 54px 11px 28px;
  border-radius: 999px;
  border: 1px solid var(--main);
  background: #fff;
  color:  var(--main);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.service-btn::after {
  content: "→";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(14px, 1.25vw, 16px);
  transition: transform 0.25s ease;
}

.service-btn:hover {
  background: var(--main);
  color: #fff;
}

.service-btn:hover::after {
  transform: translate(10px, -50%);
}

.button a {
  width: 100%;
  display: inline-block;
  overflow: hidden;
}

.button img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 0px !important;
}

.button a:hover img {
  transform: scale(1.08);
}

.img-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 110px;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
}

.img-btn__bg {
  position: absolute;
  inset: 0;
  transition: transform .35s ease;
}

.img-btn__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.6);
}

.img-btn__text {
  position: relative;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .5em;
}

.img-btn__arrow {
  transition: transform .35s ease;
}

.img-btn:hover .img-btn__bg {
  transform: scale(1.08);
}

.img-btn:hover .img-btn__arrow {
  transform: translateX(6px);
}

/* -------------------------------------------------------
   CTA
------------------------------------------------------- */
.cta-btn {
  margin: 2em auto auto auto;
  text-align: center;
}

.cta-btn a {
  display: inline-block;
  background: var(--main);
  color: white;
  padding: 0.7em 3em;
  border-radius: 999px;
  text-decoration: none;
  font-weight: normal;
  border: 2px solid transparent;
  transition: background 0.3s;
  line-height: 1.6;
  font-size: 0.95rem;
}

.cta-btn a:hover {
  background: white;
  color: var(--main);
  border: 2px solid var(--main);
}

.cta-btn p {
  font-size: 1.2em;
  font-weight: bold;
}

#jobs .cta-btn a {
  background: var(--line);
}

#jobs .cta-btn a:hover {
  color: var(--line);
  border: 2px solid var(--line);
  background: #fff;
}

/* -------------------------------------------------------
   Arrow
------------------------------------------------------- */
.arrow {
  font-size: 1.5em;
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer_menu .arrow {
  color: var(--main);
}

.tab:hover .arrow,
.footer_menu a:hover .arrow {
  transform: translateX(6px);
}

/* -------------------------------------------------------
   Tabs
------------------------------------------------------- */
.tabs {
  display: flex;
  gap: 1em;
  margin-top: 1em;
}

.tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--main);
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  padding: 0 1em;
}

.tab.active {
  border-bottom: 2px solid var(--orange);
}

.tab-content {
  display: none;
  margin-top: 0.5em;
}

.tab-content.active {
  display: block;
}

/* -------------------------------------------------------
   Job Card
------------------------------------------------------- */
.jobs-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2em;
}

.job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em;
  text-decoration: none;
  color: var(--text);
  font-weight: bold;
  transition: background 0.2s ease;
}

.job-item img {
  width: 80px;
  object-fit: contain;
}

.job-text {
  display: flex;
  align-items: center;
  gap: 1em;
  font-size: 1.3em;
}

/* -------------------------------------------------------
   Fixed Button (Page Top)
------------------------------------------------------- */
#pagetop a {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 100;
  transition: opacity .2s;
}

#pagetop a:hover {
  opacity: .7;
}


/* -------------------------------------------------------
   feature
------------------------------------------------------- */

.feature-section {
  padding: 70px 24px 20px;
}

.feature-wrap {
  max-width: 1500px;
  margin: 0 auto;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  gap: 20px;
}

.feature-card {
  position: relative;
  display: flex;
  height: 100%;
  padding-top: 120px;
}

.feature-image {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  width: 80%;
  max-width: 240px;
  transform: translateX(-50%);
  text-align: center;
}

.feature-image img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  min-height: 340px;
  padding: 130px 24px 36px;
  border-radius: 8px;
  background: #ebf4fd;
  text-align: center;
}

.feature-body h3 {
  align-items: center;
  justify-content: center;
  min-height: 84px;
  margin: 0 auto;
  color: #222;
  font-size: clamp(18px, 1.45vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.feature-body p {
  margin: 0;
  color: #333;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
  gap: 44px 28px;
}

.feature-card {
  grid-column: span 2;
}

/* 第二排 2 個置中 */
.feature-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.feature-card:nth-child(5) {
  grid-column: 4 / span 2;
}
@media (max-width: 1024px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .feature-section {
    padding: 40px 0px 20px;
}
.feature-body h3 {
  font-size: clamp(20px, 1.45vw, 26px);
    min-height: auto;
    margin-bottom: 18px;
}
.feature-body {    min-height: auto;
padding: 110px 24px 50px;
}
  .feature-list {
    grid-template-columns: 1fr;
  }
  .txt_c {
    margin: 1em 0 0;
}
}

/* -------------------------------------------------------
   Footer
------------------------------------------------------- */
.footer {
  text-align: center;
  padding: 2em 1em;
  background: var(--main);
  color: var(--gray);
  font-size: 0.9em;
}

.footer_menu {
  padding: 2em 0;
}

.footer_menu a {
  text-decoration: none;
  color: var(--text);
}

/* -------------------------------------------------------
   Problem
------------------------------------------------------- */
.problem {
  background: url(./img/problem.jpg) no-repeat center;
  background-size: cover;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.problem h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.4;
  position: relative;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem auto;
  list-style: none;
  position: relative;
}

.problem-grid li {
  padding: 1.4rem 1rem 1.2rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  line-height: 1.6;
  transition: background .25s, transform .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-size: 1rem;
  border-radius: 12px;
}

.problem-grid li i {
  font-size: 1.6rem;
  color: rgba(255,255,255,.6);
  display: block;
}

.problem-grid li:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-3px);
}

.problem-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.75);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,.3);
  margin-bottom: .6rem;
}

.lead_txt {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: bold;
  line-height: 1.7;
  position: relative;
}

/* -------------------------------------------------------
   Support
------------------------------------------------------- */

.support-list {
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--blue);
  border: 1px solid var(--blue);
  margin: 2rem auto;
}

.support-list li {
  background: #fff;
  padding: 2rem 2rem 2rem 5.5rem;
  position: relative;
  transition: background .2s, transform .2s;
  overflow: hidden;
}

.support-list li::before {
  content: attr(data-num);
  position: absolute;
  left: 1.2rem;
  top: 1.6rem;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--main);
  line-height: 1;
}

.support-icon {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 7.2rem;
  color: var(--main);
  opacity: .05;
  transition: opacity .2s;
}

.support-list h3 {
  color: var(--main);
}

.support {
  position: relative;
}

/* 2カラムレイアウト */
.support-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2rem;
  border: 1px solid rgba(255,255,255,.15);
}

.support-body{
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2em;
}

.eyebrow {
  text-align: center;
  font-size: 1rem;
  letter-spacing: .2em;
  color: #fff;
  background: var(--blue);
  font-weight: 600;
}

.support-body h3 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--blue);
  line-height: 1.3;
  letter-spacing: -.01em;
}

.support-lead {
  line-height: 1.8;
  border-left: 3px solid var(--blue);
  padding-left: 1rem;
}

/* リスト */
.support-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.support-points li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem .9rem;
  background: var(--gray);
  border-right: 3px solid transparent;
  transition: border-color .2s, background .2s;
}

.support-points li i {
  color: var(--blue);
  font-size: .7rem;
  flex-shrink: 0;
}

.support-panel {
  background: var(--gray);
}

.support-img {
  background: var(--gray);
}

.support-img img {
  width: 100%;
}

/* -------------------------------------------------------
   Reason
------------------------------------------------------- */
#reason {
}

#reason .reason-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3em;
}

#reason .reason-list li {
  border-left: 3px solid var(--main);
  padding: 1.4rem 1.6rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  line-height: 1.8;
}

.reason-num {
  background: var(--main);
  color: #fff;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 8px;
}

#reason .reason-list img {
  width: 100%;
  margin-top: auto;
  padding-top: 0.5em;
}
.reason-item {
  background: #fff;
  margin-top: 3rem;
  border-top: 3px solid var(--main);
  box-shadow: 0 2px 24px rgba(0,0,0,.06);
}
.reason-head {
  padding: 2rem 2.8rem 1rem;
}

.reason-head h3 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: .7rem;
}
.reason-head h3 mark {
  background: none;
  color: var(--main);
}
.reason-catch {
  font-weight: 700;
  letter-spacing: .02em;
}
.reason-body {
  padding: 0 2.8rem 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
}

.reason-box {
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  height: 100%;
}

.box-label {
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--main);
}

.reason-problem {
  background: var(--gray);
  /*border-left: 2px solid var(--main);*/
}

.reason-problem ul,.reason-solution ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.reason-problem ul li,.reason-solution ul li {
  padding-left: 1.1em;
  position: relative;
  line-height: 1.6;
}

.reason-problem ul li::before,.reason-solution ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #aab;
}
.reason-solution ul li {
  color: var(--yellow);
}
.reason-solution ul li::before {
  color: var(--yellow);
}

/* 矢印 */
.reason-arrow {
  font-size: 1.2rem;
  color: var(--main);
  opacity: .4;
  flex-shrink: 0;
}

.reason-solution {
  background: var(--main);
  border-left: none;
}

.reason-solution p {
  color: #fff;
}

.reason-closing {
  text-align: center;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 900;
  color: var(--main);
  padding: 1.8rem 2.8rem;
  margin-top: 2rem;
  border-top: 1px solid #e8ecf2;
  letter-spacing: .06em;
}

/* -------------------------------------------------------
   Flow
------------------------------------------------------- */
#flow .wrap {
}

.flow-list {
  list-style: none;
  margin-top: 2.5rem;
  position: relative;
  counter-reset: flow-counter;
}

.flow-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0 1.4rem;
  padding-bottom: 0;
  position: relative;
}

/* vertical line through all but last */
.flow-list li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 1.45rem;
  top: 3rem;
  bottom: -1.4rem;
  width: 1px;
  background: var(--blue);
}

/* step circle */
.flow-list li::after {
  content: counter(flow-counter);
  counter-increment: flow-counter;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  z-index: 1;
}

.flow-list li > * {
  grid-column: 2;
}

.flow-list h3 {
  color: var(--blue);
  grid-row: 1;
}

.flow-list p {
  padding-bottom: 1.2rem;
  grid-row: 2;
}

.flow-list li:last-child p {
  padding-bottom: 0;
}

/* arrow between steps */
.flow-list li:not(:last-child) > p::after {
  content: '▼';
  display: block;
  color: var(--blue);
  font-size: 1rem;
}

#whatset table th.normal{
  background: var(--main);
  text-align: center;
}
#whatset table th.hibenet{
  background: var(--red);
  text-align: center;
}
#whatset table td.normal{
  background: var(--gray);
}
#whatset table td.hibenet{
  background: var(--pink);
}

/* -------------------------------------------------------
   FAQ
------------------------------------------------------- */
.cp_faq {
}

/* faq項目 */
.faq_item {
  margin-bottom: 1em;
}

/* チェックボックス非表示 */
.faq_item input {
  display: none;
}

/* 質問ラベル */
.faq_item label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1em;
  background: var(--gray);
  border-radius: 3px;
  font-weight: bold;
  position: relative;
}

/* プラスアイコン */
.faq_item label::after {
  content: '+';
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s;
}

/* 回答エリア */
.faq_content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 0 1em;
  background: rgba(255,255,255,0.7);
  border-radius: 0 0 8px 8px;
}

.faq_content p {
  margin: 1em 0;
}

/* チェック時：回答表示 */
.faq_item input:checked ~ .faq_content {
  max-height: 100vh;
  opacity: 1;
  visibility: visible;
}

/* チェック時：＋→× */
.faq_item input:checked + label::after {
  transform: rotate(45deg);
}
/* -------------------------------------------------------
   Contact
------------------------------------------------------- */
.contact {
}
.contact-form {
  width: 90%;
  display: grid;
  gap: 1.6rem;
  margin: 3rem auto;
}
.field {
  display: grid;
  gap: .5rem;
}
.field label {
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.field label span {
  font-size: .66rem;
  background: var(--red);
  color: #fff;
  padding: .1em .5em;
  letter-spacing: .06em;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--gray);
  color: #ccc; /* 未入力時：グレー（プレースホルダーと同系） */
  border-radius: 0;
  padding: .75rem 1rem;
  outline: none;
  transition: border-color .2s;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--main);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--num);
}

/* バリデーションエラー時の枠線 */
.field input.error,
.field textarea.error {
  border-color: var(--red, #e24b4a);
}
/* エラーメッセージ */
.error-msg {
  font-size: .72rem;
  color: var(--red, #e24b4a);
  display: none;
}
.error-msg.show {
  display: block;
}

.contact-form button {
  padding: 1rem;
  background: var(--main);
  color: #fff;
  border: none;
  letter-spacing: .12em;
  cursor: pointer;
  transition: opacity .2s;
  border-radius: 5px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.contact-form button:hover {
  opacity: .82;
}
.contact-form button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* 送信中スピナー */
.contact-form .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: none;
}
.contact-form .spinner.show {
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 送信結果メッセージ */
.status-box {
  display: none;
  padding: 1rem 1.25rem;
  font-size: .875rem;
  border-radius: 4px;
}
.status-box.success {
  display: block;
  background: #f0faf4;
  color: #1a7f4b;
  border: 1px solid #a8dfc0;
}
.status-box.error {
  display: block;
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #f5c6c6;
}


/* -------------------------------------------------------
   works
------------------------------------------------------- */
.works p{margin-bottom: 3em;}

#casestudies .imgcenter{
  padding: 2% 12%;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 0.2fr 1fr;
  align-items: center;
}

.ba-before,
.ba-after {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}

.ba-before {
  background: var(--gray);
  color: var(--text);
  border-left: 4px solid var(--main);
}
.ba-after  { 
  background: var(--pink);
  color: var(--text);
  border-left: 4px solid var(--red);
}

/* 矢印カラム */
.ba-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  gap: .3rem;
  position: relative;
}

.ba-arrow::before,
.ba-arrow::after {
  /* content: ''; */
  display: block;
  /* width: 1px; */
  /* height: 3rem; */
  /* background: var(--gray); */
}

.ba-arrow span {
  text-align: center;
  font-size: 3em;
  display: block;
}

/* eyebrow 上書き */
.before-after .eyebrow {
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: .2em;
  opacity: 1;
  background: none;
  color: var(--blue);
  padding: 0;
}
.ba-after .eyebrow { color: var(--red); }

/* リスト */
.before-after ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.before-after li {
  line-height: 1.7;
  padding-left: 1em;
  position: relative;
}
.before-after li::before {
  content: '–';
  position: absolute;
  left: 0;
}
.ba-after li::before {
  content: '›';
  color: var(--red);
  font-size: 1.1em;
}

@media (max-width: 768px) {
  .before-after {
    grid-template-columns: 1fr;
  }
  .ba-before {
  }
  .ba-arrow {
    flex-direction: row;
    padding: 0;
    text-align: center;
    gap: .5rem;
  }
  .ba-arrow::before,
  .ba-arrow::after {
    width: 3rem;
    height: 1px;
  }
  .ba-arrow span {
    transform: rotate(90deg);
    display: inline-block;
  }
}



/* ── work-item ── */
.work-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray);
  background: #fff;
  margin-top: 2%;
  border-left: 3px solid var(--main);
}

.work-body {
  padding: 2rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.work-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 900;
  color: var(--blue);
  line-height: 1.3;
}

.work-instructor {
  font-size: 1.3rem;
  color: var(--text);
}

/* 数値リスト */
.work-stats {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  border-left: 3px solid var(--gray);
  padding-left: 1rem;
}

.work-stats > div {
  display: flex;
  gap: .8rem;
  align-items: baseline;
  font-size: .9rem;
}

.work-stats dt {
  color: #888;
  flex-shrink: 0;
}

.work-stats dd {
  color: var(--red);
  font-weight: 700;
}

/* サムネイル */
.work-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  margin-top: auto;
}

.work-thumbs img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* 右：メイン画像 */
.work-image {
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.work-item:hover .work-image img {
  transform: scale(1.03);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .work-item {
    grid-template-columns: 1fr;
  }
  .work-body {
    border-right: none;
    border-bottom: 1px solid var(--gray);
  }
  .work-image img {
    height: 220px;
  }
}


/* -------------------------------------------------------
   Media Queries
------------------------------------------------------- */
@media (min-width: 769px) {
  .reason-arrow {
    font-size: 0;
  }
  .reason-arrow::before {
    content: '›';
    font-size: 2rem;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  .support-list { grid-template-columns: 1fr 1fr; }
  .support-list { grid-template-columns: 1fr 1fr; }
  .reason-list  { grid-template-columns: 1fr 1fr; }
  .problem-grid { gap: 1.2rem; font-size: 1.1rem; }
}

@media (min-width: 1024px) {
  .reason-list { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 768px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-nav {
    display: flex;
  }

  .PC {
    display: none;
  }

  .SP {
    display: block;
  }
  .bg-blue {
    padding: 3em 1em;
}
.bg-gray {
  padding: 3em 1em;
}
  section {
    padding: 3em 1em ;
  }

  .wrap {
    max-width: 100%;
  }

  .wrap p {font-size: 15px;
}
  }



  .title span {
      font-size: 1rem;
      line-height: 0.8;
  }

  .subtitle {
    font-size: 1.3em;
    line-height: 1.5;
  }
  .header {
  padding: 0.5em 2em 0.1em 1em;
}

  .fv {
    padding: 0 1em 0 0;
  }

  .flex {
    display: block;
  }

  .flex .fleximg,#flow .flex .fleximg {
    width: 100%;
    padding: 0;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .list li {
    flex-direction: column;
  }

  .list li img {
    width: 100%;
    margin: auto auto 0.5em;
  }

  .tabs .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .job-item {
    padding: 0.1em;
    margin-top: 1em;
  }
  table {
    font-size: 0.85em;
  }
  .company-table {
    grid-template-columns: 1fr;
  }

  table th {
    font-size: 0.9em;
    width: 30px;
  }

  #link .fleximg {
    margin-bottom: 2%;
  }
  .copy2{
    font-size: 1.5em;
  }
  /* reason */
  .reason-head {
    padding: 2rem 1.6rem 1rem;
  }

  .reason-body {
    grid-template-columns: 1fr;
    padding: 0 1.6rem;
    gap: 0;
  }

  .reason-arrow {
    text-align: center;
    padding: .4rem 0;
  }

  .reason-closing {
    padding: 1.4rem 1.6rem;
    margin-top: 1.4rem;
  }

  /* support */
  .support-detail {
    grid-template-columns: 1fr;
  }

  .support-panel {
    padding: 2rem 1.8rem;
  }

  .support-panel-inner {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .panel-divider {
    display: none;
  }
  
#casestudies .imgcenter{
  padding: 2% 0%;
}  
  .copy {
    font-size: 1.2em;
}
}

@media (max-width: 600px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
    font-size: .9rem;
  }
}

@media (max-width: 480px) {
  .tabs .jobs-grid {
    grid-template-columns: 1fr;
  }

  .fixed-btn-box {
    right: 10px;
    left: 10px;
    flex-direction: row;
  }

  .fixed-btn-box .text-area {
    font-size: 0.85em;
  }
}