/* common/common.css */
/* 
button
section-title
pc-only
sp-only
共通アニメーション
 */

/* ベース */
html,
body {
  overflow-x: hidden;
}

html{
  scroll-behavior: smooth;
} 

body {
  font-family: "Noto Sans JP","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #333;
}


a {
  color: inherit;
  text-decoration: none;
}
.inner {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 20px;
}
.inner-nopadding{
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
.text-center {
  text-align: center;
}
.sr-only,
.case-study__title .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* レスポンシブ */
.sp-only {
  display: block;
}
.pc-only {
  display: none;
}
.sp-br {
  display: inline;
}

/* フォント */
.font-ZenMaru {
  font-family: "Hiragino Maru Gothic ProN",Meiryo,"Noto Sans JP","Hiragino Sans",sans-serif;
}

.Roboto {
  font-family: "Roboto", sans-serif;
}
.font-15px {
  font-size: 15px;
}

.font-16px {
  font-size: 16px;
}

.font-20px {
  font-size: 20px;
}

.font-24px {
  font-size: 24px;
}

.font-32px {
  font-size: 32px;
}

.font-36px {
  font-size: 36px;
}
.font-48px {
  font-size: 48px;
}

.cl-orange {
  color: #fb8b18;
}

.cl-blue {
  color: #379faa;
}
/* セクションタイトル */
.section-heading {
  position: relative;
  font-size: 32px;
  font-weight: 700;
  color: #379faa;
  z-index: 1;
  letter-spacing: 5%;
}
.section-heading::before {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: 5%;
  font-size: 48px;
  font-weight: 700;
  color: #e5f4f5;
  font-family: "Roboto", sans-serif;
  white-space: nowrap;

  z-index: -1;
}

/* アンダーライン */
.under-line {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.under-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1em;
  width: 100%;
  height: 0.35em;
  background: #ffff66;
  z-index: -1;
}
@media screen and (min-width: 769px) {
.sp-only {
  display: none;
}
.pc-only {
  display: block;
}
.sp-br {
  display: none;
}
.section-heading {
  font-size: 40px;
}
.section-heading::before{
  font-size: 96px;
}
.inner{
    transform: translateX(-11px);
}

}


/* layout/header.css */
.header {
  position: relative;
  height: 45px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
  z-index: 10;
}
.header__logo {
  width: 150px;
}
.header__menus {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  margin-inline: 20px;
}
/* ハンバーガー */
.hamburger {
  position: relative;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  position: absolute;
  left: 3px;
  width: 38px;
  height: 3px;
  background: #333;
  border-radius: 999px;
  transition: 0.3s;
}
.hamburger span:nth-child(1) {
  top: 8px;
}

.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
  bottom: 8px;
}
/* ハンバーガーopen */
.hamburger.show span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.show span:nth-child(2) {
  opacity: 0;
}

.hamburger.show span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}
/* ナビゲーション */
.header__nav {
  background-color: #e5f4f5;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.3s;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
}
.header__nav .header__logo {
  margin: 15px 0 0 20px;
  width: 150px;
}
.header__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  gap: 8px;
  margin-top: 32px;
  font-size: 20px;
}
.header__cta-button {
  display: flex;
  background-color: #fb8b18;
  color: #fff;
  margin-inline: auto;
  justify-content: center;
  padding-inline: 12px;
  margin-block: 24px 32px;
  padding-bottom: 15px;
  padding-top: 21px;
  border-radius: 10px;
  font-size: clamp(16px, 5vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  width: min(315px, calc(100% - 40px));
  height: 72px;
  transition: transform 0.3s ease;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
}
.header__cta-button::after {
  content: "";
  display: block;
  width: 25px;
  height: 25px;

  background-image: url("../images/common/icon-download.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  margin-left: 6px;
  flex-shrink: 0;
}
.header__cta-button:hover,
.header__cta-button:focus-visible {
  transform: translateY(-2px);
}
.header__list li {
    transition: opacity 0.3s ease;
  }
.header__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 8px;
}
  .header__list li:hover,
  .header__list li:focus-visible {
    opacity: 0.8;
  }

body.is-menu-open {
  overflow: hidden;
}

.header__nav.show{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

}
.hamburger.show{
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1001;
}
@media screen and (min-width: 769px) {
  .header__logo {
    width: 200px;
    margin-top: -4px;
  }
  .header__menus {
    margin-inline: 0;
    display: flex;
  }
  .header__logo img {
    display: block;
    width: 100%;
    height: auto;
    margin-left: 80px;
  }

  .header__list li{
    font-size: 16px;
    margin-top: -7px;
  }
  .header__nav {
    display: block;
    position: static;
    width: auto;
    background-color: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .header__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin-right: 79px;
    font-weight: 500;
    letter-spacing: 4%;
    margin-top: 0;
  }

  .sp-only,
  .hamburger {
    display: none;
  }
}


/* content/download-cta.css */
.download-cta {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border: 0;
  border-radius: 12px;
  background: #f87808;
  box-shadow: 0 5px 0 #b95d0d, 0 11px 18px rgb(89 51 19 / 17%);
  color: #fff;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.download-cta:hover,
.download-cta:focus-visible {
  filter: brightness(1.06);
  box-shadow: 0 5px 0 #b95d0d, 0 13px 22px rgb(89 51 19 / 23%);
}

.download-cta:focus-visible {
  outline: 3px solid #333;
  outline-offset: 4px;
}

.download-cta__badge {
  position: absolute;
  top: -15px;
  left: 22px;
  display: grid;
  place-items: center;
  min-width: 68px;
  min-height: 29px;
  padding: 2px 12px;
  border: 2px solid #f87808;
  border-radius: 999px;
  background: #fff;
  color: #e76800;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.download-cta__icon {
  display: block;
  width: 30px;
  height: 30px;
  flex: none;
}

.download-cta__label {
  display: block;
  min-width: 0;
}

@media (max-width: 767px) {
  .download-cta {
    gap: 9px;
    padding: 14px 13px;
    border-radius: 8px;
  }

  .download-cta__badge {
    top: -12px;
    left: 12px;
    min-width: 54px;
    min-height: 23px;
    padding-inline: 9px;
    font-size: 11px;
  }

  .download-cta__icon {
    width: 23px;
    height: 23px;
  }
}

@media (max-width: 360px) {
  .download-cta {
    gap: 5px;
    padding-inline: 9px;
  }

  .download-cta__icon {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 340px) {
  .download-cta__label span {
    display: block;
  }
}


/* content/fv.css */
/* FV: supplied background and actual Instagram screenshots in CSS phone frames. */
.fv {
  position: relative;
  overflow: hidden;
  background: #f7feff url("../images/fv/background.svg") center / cover no-repeat;
  color: #333;
}

.fv__inner {
  position: relative;
  width: 100%;
  max-width: 1280px;
  min-height: clamp(620px, 50vw, 720px);
  margin-inline: auto;
}

.fv__copy {
  position: relative;
  z-index: 1;
  width: 56%;
  padding: clamp(64px, 6vw, 96px) 0 130px clamp(40px, 7.5vw, 94px);
}

.fv__title {
  margin: 0;
  font-family: "Noto Sans JP","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
  font-size: clamp(53px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.fv__title-line {
  display: block;
}

.fv__accent,
.fv__title-result {
  color: #009aa6;
}

.fv__accent {
  position: relative;
}

.fv__accent::after {
  content: "";
  position: absolute;
  left: 1%;
  right: 0;
  bottom: 0.02em;
  height: 0.11em;
  border-radius: 999px;
  background: #a9edf0;
  z-index: -1;
}

.fv__title-result {
  display: block;
  font-size: 1.48em;
  line-height: 1.22;
}

.fv__service {
  margin-top: clamp(8px, 1.5vw, 24px);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.fv__service-line {
  display: block;
}

.fv__phones {
  position: absolute;
  z-index: 1;
  top: 6.5%;
  right: 8%;
  width: 41%;
  max-width: 525px;
  aspect-ratio: 674 / 726;
  margin: 0;
}

.fv__phone {
  position: absolute;
  box-sizing: border-box;
  width: 44%;
  overflow: hidden;
  border: clamp(3px, 0.5vw, 7px) solid #171c21;
  border-radius: clamp(16px, 2.2vw, 28px);
  background: #fff;
  box-shadow: 0 0 0 2px #a1a8ad, 0 14px 28px rgb(0 25 38 / 20%);
}

.fv__phone img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.fv__phone--reel {
  z-index: 2;
  top: 1%;
  left: 7%;
  transform: rotate(-7deg);
}

.fv__phone--profile {
  z-index: 1;
  top: 7%;
  right: 7%;
  transform: rotate(6deg);
}

@media (min-width: 950px) {
  .fv__inner {
    min-height: clamp(600px, calc(30vw + 315px), 720px);
  }

  .fv__copy {
    padding-top: clamp(100px, calc(200px - 6vw), 130px);
    padding-left: clamp(94px, 11.4vw, 144px);
  }

  .fv__phones {
    top: calc(clamp(6.5%, calc(18.5% - 1vw), 9%) - clamp(0px, calc(20vw - 230px), 20px));
    right: 12%;
  }
}

.fv__cta {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 4.3%;
  width: min(44%, 560px);
  min-height: clamp(72px, 5.2vw, 82px);
  font-size: clamp(15px, 1.65vw, 21px);
  transform: translateX(-50%);
}

@media (min-width: 768px) and (max-width: 949px) {
  .fv {
    background: #f7fafb url("../images/fv/background-tablet.svg") center / cover no-repeat;
  }

  .fv__inner {
    min-height: clamp(580px, 72vw, 675px);
  }

  .fv__copy {
    padding: clamp(80px, 10.6vw, 100px) 0 105px 4vw;
  }

  .fv__title {
    font-size: clamp(58px, 7.6vw, 70px);
    line-height: 1.23;
  }

  .fv__title-result {
    font-size: 1.44em;
  }

  .fv__service {
    margin-top: 18px;
    font-size: clamp(33px, 4vw, 38px);
    line-height: 1.25;
  }

  .fv__service-line--name {
    font-size: 1.08em;
  }

  .fv__phones {
    top: calc(3% + clamp(36px, 5vw, 48px));
    right: 4%;
    width: 46%;
  }

  .fv__cta {
    width: 51%;
  }
}

@media (max-width: 767px) {
  .fv {
    background: #fff url("../images/fv/background-sp-clean.svg") center top / cover no-repeat;
  }

  .fv__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 36px 20px 22px;
  }

  .fv__copy {
    width: 100%;
    padding: 0;
    text-align: center;
  }

  .fv__title {
    font-size: clamp(28px, 8.7vw, 50px);
    line-height: 1.23;
  }

  .fv__title-result {
    display: inline;
    font-size: 1.35em;
  }

  .fv__title-comma {
    display: none;
  }

  .fv__accent {
    font-size: 1.06em;
  }

  .fv__accent,
  .fv__title-result {
    color: #239da5;
  }

  .fv__service {
    margin-top: 14px;
    font-size: clamp(20px, 6.15vw, 32px);
    line-height: 1.28;
  }

  .fv__service-line--name {
    font-size: 1.17em;
  }

  .fv__phones {
    position: relative;
    top: auto;
    right: auto;
    width: min(76vw, 430px);
    aspect-ratio: 296 / 301;
    margin: -4px auto -4px;
  }

  .fv__phone {
    width: 41%;
  }

  .fv__phone--profile {
    right: 4%;
  }

  .fv__cta {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 560px);
    min-height: 58px;
    margin-top: 0;
    font-size: clamp(12px, 3.7vw, 19px);
    transform: none;
  }
}

@media (max-width: 600px) {
  .fv__inner {
    padding-bottom: 19px;
  }

  .fv__phones {
    margin-top: -4px;
  }

  .fv__cta {
    padding-inline: 12px;
  }
}

@media (max-width: 360px) {
  .fv__inner {
    padding-inline: 16px;
  }

  .fv__phones {
    margin-top: 8px;
  }
}

@media (max-width: 340px) {
  .fv__cta {
    font-size: 15px;
  }
}

@media (min-width: 361px) and (max-width: 767px) {
  .fv__phones {
    margin-top: 12px;
  }
}


/* content/case-study.css */
.case-study__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 55px;
}
.case-study__heading::before{
  content: "CASE STUDY";
  letter-spacing: 5%;
}
.case-study__logo{
  margin: 0 0 1px 0;
  width: 180px;
  transform: translateY(4px);
}
.case-study__title {
  font-size: 32px;
  letter-spacing: 5%;

}
.case-study__title span{
  font-size: 24px;
}
.case-study__copy{
  margin-top: 15px;
  line-height: 1.5;
  font-size: 15px;
}
@media (max-width: 359px) {
  .case-study__logo {
    width: 145px;
  }
  .case-study__title {
    font-size: 27px;
  }
  .case-study__title span {
    font-size: 22px;
  }
  .case02 .case-study__result {
    font-size: 20px;
  }
  .case02 .case-study__result .font-32px {
    font-size: 24px;
  }
  .case02 .case-study__result .font-36px {
    font-size: 26px;
  }
  .case02 .case-study__result .cl-orange {
    white-space: nowrap;
  }
}
/* カード */
.case-study__card {
  position: relative;
  margin-top: 80px;
}

.case-study__tag {
  position: absolute;
  top: -40px;
  left: 0;
  line-height: 1.5;
  display: block;
  padding-block: 6px;
  text-align: center;
  background: #379FAA;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  border-radius: 5px 5px 0 0;
  width: 172px;
}

.case-study__card-body {
  display: flex;
  flex-direction: column;
  border-left: 2px solid #379FAA;
  border-right: 2px solid #379FAA;
  border-top: 2px solid #379FAA;
  border-bottom: none;
  border-radius: 0 12px 12px 12px;
  background: #fff;
  overflow: hidden;
}
.case-study__result{
  margin-top: 19px;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 5%;
  line-height: 1.2;
}
.result span {
  display: inline-block;
  vertical-align: baseline;
}
.case-study__image{
  display:block;
  margin:20px auto -30px;
  position: relative;
  z-index:4;
  width: 148px;
}
.case-study__text{
  flex: 1;
  background-color: #379FAA;
  padding-top: 54px;
  padding-bottom: 28px;
  padding-inline: 20px;
  color: #fff;
  line-height: 1.5;
  font-size: 16px;
}

.case02-padding{
  padding-top: 11px;
}
.padding54{
  padding-bottom: 54px;
}
/* 大きめスマホ */
@media (min-width: 576px) and (max-width: 795px) {
.case-study__cards{
  display: flex;
  flex-direction: column;
  margin-inline: 80px;
}

}


/* PC */
@media (min-width: 795px) {
.case-study__logo{
  width: 230px;
  transform: translateY(-5px);

}
.case-study__title{
  font-size: 40px;
  margin-top:5px;

}
.case-study__title span{
  font-size: 36px;
}
.case-study__heading::before{
  content: "CASE STUDY";
  top: -60px;
  left: 50.5%
}
.case-study__heading{
  margin-top: 94px;

}
.case-study__copy{
  font-size: 20px;
  margin-top: 25px;
  margin-left: 17px;
}
/* カード */
.case-study__cards{
  display: flex;
  align-items: stretch;
  gap: clamp(10px, 2vw, 30px);
  margin-top: 43px;
  margin-left: 0;
}
.case-study__card{
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.case-study__card-body{
  flex: 1;
  min-height: 0;
  width: 100%;
}
.case-study__result{
  margin-top: 17px;
}

.case01 .case-study__result span{
letter-spacing: -0.8%;
}
.case-study__text{
  padding-bottom: 32px;
  letter-spacing: -0.5%;
  position: relative;
  z-index: 1;
}
.case01 .case-study__text {
  padding-bottom: 32px;
}
.case02-padding{
  padding-top: 15px;
  padding-bottom: 6px;
}
.case02 .case-study__text{
  height: auto;
}
}
/* タブレット のみ*/
@media (min-width: 795px) and (max-width: 1050px) {
  .case-study__result {
    font-size: clamp(18px, 2.2vw, 22px);
  }
  .case-study__result .font-32px {
    font-size: clamp(26px, 3vw, 30px);
  }
  .case-study__result .font-36px {
    font-size: clamp(28px, 3.3vw, 34px);
  }
  .case-study__card-body{
  height: auto;
  width: auto;
  flex: 1;
}
.case-study__cards{
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-left: 10px;
}
.case-study__text{
  height: auto;
}
}

/* Show the home page download bar only after the first view has passed. */
@media (max-width: 980px) {
  .home .site-shell-mobile-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .32s ease, transform .32s ease, visibility 0s linear .32s;
  }

  .home .site-shell-mobile-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .32s ease, transform .32s ease, visibility 0s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .site-shell-mobile-cta,
  .home .site-shell-mobile-cta.is-visible {
    transition: none;
  }
}
