@charset "utf-8";

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

:root {
  --blue: #3d8dcc;
  --lightblue: #beeafc;
  --darkblue: #0473bf;
  --navy: #003586;
  --cyan: #01c9ea;
  --cyandark: #02bbce;
  --grayblue: #e5f5ff;
  --lightgray: #e5f5ff;
  --pink: #fc6d6d/*#f2635f*/;
  --palepink: #f2b0ac;
  --darkpink: #ea4747;
  --textd: #0A1628;
  --textm: #3A4F6E;
  --textl: #7A90AD;
  --serif: 'Noto Serif JP', serif;
  --sans: 'Noto Sans JP', sans-serif;
  --fs12: 0.75rem;
  --fs14: 0.875rem;
  --fs16: 1rem;
  --fs18: 1.125rem;
  --fs20: 1.25rem;
  --fs24: 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--navy);
  overflow-x: hidden;
}

/* ===================== header ===================== */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--fs16) 5%;
  background: #fff;
  border-bottom: 1px solid rgba(200,168,75,0.18);
}

.hdr-logo {
  font-family: var(--serif);
  font-size: var(--fs16);
  color: var(--gold);
  letter-spacing: .04em;
  line-height: 1.3;
  text-decoration: none;
}

.hdr-logo small {
  display: block;
  font-family: var(--sans);
  font-size: .6rem;
  color: var(--textl);
  letter-spacing: .12em;
  font-weight: 400;
}

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hdr-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: var(--fs16);
  font-weight: 500;
  letter-spacing: .08em;
  transition: color .2s;
}

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

.hdr-btn {
  background: var(--pink);
  color: #fff;
  padding: .5rem 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transition: .2s;
  border: 1px solid var(--pink);
  border-radius: 2px;
}

.hdr-btn:hover {
  background: var(--darkpink);
  border: 1px solid var(--darkpink);
}

/* ===================== section ===================== */
section {
  padding: 6rem 5%;
}

.stitle {
  font-family: var(--sans);
  font-size: clamp(1.5rem,2.8vw,2.3rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 1rem;
}

h3 {
  font-size: var(--fs20);
  font-weight: 700;
}

.slead {
  font-size: .9rem;
  line-height: 1.95;
  color: rgba(250,247,240,.68);
  max-width: 560px;
}

.stitle-d {
  color: var(--textd);
}

.slead-d {
  color: var(--textm);
}

.stag-d {
  color: #7A5C00;
}

.stag-d::before {
  background: #7A5C00;
}

.stat-n {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-l {
  font-size: .68rem;
  color: var(--textl);
  letter-spacing: .1em;
  margin-top: .3rem;
  display: block;
}

/* ===================== hero-sec ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7rem 5% 5rem;
  position: relative;
  overflow: hidden;
  background-color: var(--lightgray);
  color: var(--navy);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 20px;
}

.hero-content {
  position: relative;
  max-width: 720px;
  animation: fadeUp .9s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy {
  display: block;
  margin-bottom: 0.5em;
  color: var(--navy);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  margin-bottom: 0.75em;
  padding: 0 0.5em;
  animation: fadeUp .9s .1s ease both;
  opacity: 0;
  font-feature-settings: "palt";
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(26px,3.2vw,42px);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: .02em;
  margin-bottom: 1.5em;
  animation: fadeUp .9s .18s ease both;
  opacity: 0;
  font-feature-settings: "palt";
}

.hero-badge {
  display: block;
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 0.75em;
  animation: fadeUp .9s .1s ease both;
  opacity: 0;
  width: fit-content;
  padding: 0.4em 20px 0.5em;
  position: relative;
  line-height: 1.2;
}
.hero-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: skewX(-20deg);
  z-index: -1;
}

.hero-lead {
  font-size: var(--fs16);
  line-height: 1.95;
  margin-bottom: 2.5rem;
  /*max-width:560px;*/
  animation: fadeUp .9s .26s ease both;
  opacity: 0;
  padding-right: 20px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .9s .34s ease both;
  opacity: 0;
}

.btn-c {
  background: var(--pink);
  color: #fff;
  padding: .9rem 2rem;
  border: none;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  text-decoration: none;
  align-items: center;
  gap: .5rem;
  transition: all .2s;
  border: 1px solid var(--pink);
  border-radius: 2px;
}

.btn-c:hover {
  background: var(--darkpink);
  border: 1px solid var(--darkpink);
}

.btn-q {
  background: var(--cyan);
  color: #fff;
  padding: .9rem 1.8rem;
  border: 1px solid var(--cyan);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  align-items: center;
  gap: .5rem;
  transition: all .2s;
  border-radius: 2px;
}

.btn-q:hover {
  background-color: var(--darkblue);
  border: 1px solid var(--darkblue);
}

.hero-stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 3.5rem;
  animation: fadeUp .9s .42s ease both;
  opacity: 0;
}

.hero-img img {
  width: 100%;
  height: auto;
}

/* ===================== pain-sec ===================== */
.pain-sec {
  background: #fff;
  color: var(--navy);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}

.pain-card {
  border: 2px solid var(--lightgray);
  background-color: var(--lightgray);
  padding: 20px;
  position: relative;
  transition: all .3s;
}

.pain-card:hover {
  transform: translateY(-3px);
}

.pain-no {
  display: inline-block;
  font-size: var(--fs14);
  font-weight: 700;
  color: var(--pink);
  border: 2px solid var(--pink);
  border-radius: 1000px;
  background-color: #fff;
  padding: 8px 16px;
  line-height: 1;
  margin-bottom: 16px;
}

.pain-card h3 {
  margin-bottom: 16px;
}

.pain-card p {
  font-size: var(--fs16);
  color: var(--navy);
  line-height: 1.75;
}

.pain-lead {
  border: 1px solid;
  text-align: center;
  padding: 4% 3%;
  margin-top: 3%;
}

.pain-lead-text {
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: bold;
}

/* ===================== svc-sec ===================== */
.svc-sec {
  background: var(--cyan);
  color: var(--navy);
}

.svc-sec .stitle {
  color: #fff;;
}

.svc-lead {
  margin-bottom: 20px;
  color: #fff;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.4rem;
}

.svc-card {
  background: #fff;
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}

.svc-card:hover {
  transform: translateY(-3px);
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-lbl {
  font-size: var(--fs12);
  letter-spacing: .15em;
  color: var(--pink);
  margin-bottom: 10px;
}

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

.svc-card-full {
  grid-column: 1/-1;
  background: #fff;
}

.svc-card-full::before {
  background: var(--pink);
}

.svc-card h3 {
  font-size: var(--fs24);
  margin-bottom: .3rem;
  line-height: 1.4;
}

.svc-sub {
  font-size: var(--fs14);
  color: var(--blue);
  margin-bottom: 1.1rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.svc-card p {
  color: var(--navy);
  margin-bottom: 1.4rem;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.tag2 {
  font-size: var(--fs12);
  border: 1px solid var(--blue);
  color: var(--blue);
  padding: .18rem .65rem;
  letter-spacing: .04em;
}

/* ===================== flow-sec ===================== */
.flow-sec {
  background: #fff;
  color: var(--navy);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.fstep {
  text-align: center;
  padding: 20px 0.75rem;
  background-color: var(--lightgray);
  transition: all .3s;
}

.fstep:hover {
  transform: translateY(-3px);
}

.fstep-n {
  display: inline-block;
    font-size: var(--fs14);
    font-weight: 700;
    color: var(--pink);
    border: 2px solid var(--pink);
    border-radius: 1000px;
    background-color: #fff;
    padding: 8px 16px;
    line-height: 1;
    margin-bottom: 16px;
}

.fstep h3 {
  margin-bottom:1rem;
  color: var(--navy);
}

.fstep p {
  font-size: var(--fs16);
  color: var(--navy);
  line-height: 1.65;
  text-align: left;
}

/* ===================== cta-sec ===================== */
.cta-sec {
  background: var(--lightgray);
  padding: 4.5rem 5%;
  text-align: center;
  color: var(--navy);
}

.cta-sec h2 {
  font-family: var(--sans);
  font-size: clamp(1.5rem,2.8vw,2.2rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: .8rem;
}

.cta-sec p {
  font-size: var(--fs16);
  margin-bottom: 2rem;
}

/* ===================== contac-sec ===================== */
.contact-sec {
  background: var(--cyan);
  color: var(--navy);
}

.contact-sec .stitle {
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.4rem;
  margin-top: 40px;
}

.contact-card {
  background: #fff;
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}

.contact-card:hover {
  transform: translateY(-3px);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card h3 {
  margin-bottom: .3rem;
  line-height: 1.4;
  position: relative;
  padding-left: 24px;
}

.contact-card h3::before {
  position: absolute;
  content: "";
  background: var(--pink);
  top: 6px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 1000px;
}

.contact-card p {
  font-size: var(--fs16);
  color: var(--navy);
  line-height: 1.7;
}

#contact .btn-box {
  width: 100%;
  text-align: center;
  margin-top: 40px;
}

.fnote {
  font-size: var(--fs14);
  text-align: center;
  margin-top: .7rem;
  line-height: 1.6;
  color: #fff;
}

/* ===================== FOOTER ===================== */
footer {
  background: #113160;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

footer .inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

footer .bottom_content {
  padding: 30px 0 0;
}

footer .bottom_content ul {
  list-style: none;
}

footer .bottom_content li {
  text-align: center;
  padding-right: 15px;
  position: relative;
  width: calc(100% / 6);
  border-right: solid 1px #fff;
  margin-bottom: 10px;
}

footer .bottom_content li:last-of-type {
  border: none;
}

footer .bottom_content li a {
  color: #fff;
  font-size: 12px;
  position: relative;
  line-height: 10px;
  font-weight: 500;
  text-decoration: none;
}

footer .bottom_content li a:hover {
  text-decoration: none;
}

footer .bottom_content a:after {
  background: url("https://img.jusnet.co.jp/career/lp/cpa_os_plan/windows.png") no-repeat center;
  background-size: cover;
  content: "";
  width: 10px;
  height: 10px;
  top: 5px;
  position: absolute;
  margin-left: 5px;
}

footer .bottom_content figure {
  max-width: 250px;
}

footer .copy {
  text-align: center;
  font-size: 10px;
  color: #fff;
  padding: 15px 0;
}

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

@media screen and (max-width: 970px) {
  .pc_only {
    display: none;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-grid {
    display: block;
  }
  .hero-content {
    margin: 40px 0;
  }
  .hero-img {
    text-align: center;
  }
  .hero-img img{
    max-width: 375px;
  }
  footer .inner {
    padding: 0;
  }
  footer .bottom_content {
    padding: 0;
  }
  footer .bottom_content ul {
    width: 100%;
    border-top: solid 1px #eaeaea;
  }
  footer .bottom_content li {
    padding-right: 0;
    margin-bottom: 0;
    width: calc(100% / 3);
    border-bottom: solid 1px #eaeaea;
    border-right: #eaeaea 1px solid;
  }
  footer .bottom_content li:last-of-type {
    border-bottom: solid 1px #eaeaea;
    border-right: #eaeaea 1px solid;
  }
  footer .bottom_content li a {
    padding: 20px;
    display: block;
    line-height: 16px;
  }
  footer .bottom_content a:after {
    background: url("https://img.jusnet.co.jp/career/lp/cpa_os_plan/windows.png") no-repeat center;
    background-size: cover;
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    margin-left: 5px;
    top: 22px;
  }
  footer .bottom_content figure {
    max-width: 100%;
    text-align: center;
    padding: 15px 0;
    background: #ececec;
  }
  footer .bottom_content figure img {
    max-width: 20%;
  }
  footer .copy {
    padding: 10px 0 10px 0;
    line-height: 16px;
  }
}

@media (max-width: 860px) {
  .hdr-nav {
    display: none;
  }
  section {
    padding: 4rem 5%;
  }
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .frow {
    grid-template-columns: 1fr;
  }
  .flow-steps {
    grid-template-columns: 1fr;
  }
  .flow-steps::after {
    display: none;
  }
}

@media screen and (max-width: 750px) {
  footer .bottom_content li {
    width: calc(100% / 2);
  }
  footer .bottom_content figure img {
    max-width: 35%;
  }
}

@media screen and (max-width: 670px) {
  .hdr .logo img {
    width: 340px;
  }
  .hdr-btn {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    padding: 5rem 5% 3rem;
  }
  .hero-actions .btn-q,
  .hero-actions .btn-c {
    width: 100%;
    text-align: center;
  }
  .pain-lead {
    padding: 20px;
    margin-top: 30px;
  }
  footer .bottom_content li {
    width: 100%;
  }
}
