@charset "UTF-8";

/* ========================================
  共通設定
======================================== */

:root {
  --color-gray: #f8f8f8;
  --color-primary: #3e64ec;
  --color-lightblue: #e8f6ff;
  --color-black: #111111;
  --color-gold: #b1a202;
  --color-orange: #ff781c;
  --color-darkblue: #354788;
  --font-base: "Noto Sans JP", sans-serif;
  --content-width: 1120px;
  --gutter-sp: 20px;
  --gutter-pc: 24px;
}

/* ========================================
  Webフォント
======================================== */

@font-face {
  font-family: "Noto Sans JP";
  src:
    local("Noto Sans JP Medium"),
    local("NotoSansJP-Medium"),
    url("./assets/fonts/NotoSansJP-Bold-subset.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src:
    local("Noto Sans JP Bold"),
    local("NotoSansJP-Bold"),
    url("./assets/fonts/NotoSansJP-Bold-subset.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ========================================
  リセット・基本設定
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--color-black);
  font-family: var(--font-base);
  font-weight: 500;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.l-container {
  width: calc(100% - var(--gutter-sp) * 2);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .l-container {
    width: calc(100% - var(--gutter-pc) * 2);
    max-width: var(--content-width);
  }
}

/* ========================================
  ヘッダー
======================================== */

.p-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 60px;
  background-color: #fff;
}

.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  margin-inline: auto;
  padding-right: 12px;
}

.p-header__logo {
  display: inline-flex;
  align-items: center;
}

.p-header__logo-image {
  display: block;
  width: 170px;
  height: auto;
}

.p-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/*
  HTMLが p-header__case なので、
  CSS側も p-header__case に統一
*/
.p-header__case {
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 22px;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.p-header__case--tablet {
  display: inline-flex;
}

.p-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
}

.p-header__toggle-line,
.p-header__toggle-line::before,
.p-header__toggle-line::after {
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background-color: currentColor;
  content: "";
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.p-header__toggle-line {
  position: relative;
}

.p-header__toggle-line::before {
  position: absolute;
  top: -9px;
  left: 0;
  width: 100%;
}

.p-header__toggle-line::after {
  position: absolute;
  top: 9px;
  left: 0;
  width: 100%;
}

.p-header__menu {
  background-color: #fff;
  border-top: 1px solid #c9c9c9;
}

.p-header__menu-case {
  padding: 24px;
}

.p-header__case--menu {
  display: flex;
  width: 100%;
  min-height: 52px;
  font-size: 18px;
}

.p-header.is-open .p-header__toggle-line {
  background-color: transparent;
}

.p-header.is-open .p-header__inner {
  background-color: var(--color-gray);
}

.p-header.is-open .p-header__toggle-line::before {
  top: 0;
  transform: rotate(45deg);
}

.p-header.is-open .p-header__toggle-line::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (hover: hover) {
  .p-header__case:hover,
  .p-header__case:focus-visible {
    color: #fff;
    background-color: var(--color-primary);
  }
}

@media (min-width: 768px) {
  .p-header__logo-image {
    width: 232px;
  }

  .p-header__case--tablet {
    display: inline-flex;
  }
}

@media (max-width: 1199px) {
  .p-header__menu[hidden] {
    display: none;
  }

  .p-header__menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    min-height: calc(100dvh - 60px);
  }

  body.is-header-open {
    overflow: hidden;
  }
}

@media (min-width: 1200px) {
  .p-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 24px;
  }

  .p-header__inner {
    width: auto;
    margin-inline: 0;
    padding-right: 0;
  }

  .p-header__logo-image {
    width: 250px;
  }

  .p-header__actions {
    display: none;
  }

  .p-header__menu {
    position: static;
    display: flex !important;
    align-items: center;
    margin-left: auto;
    border-top: 0;
  }

  .p-header__menu-case {
    padding: 0;
  }

  .p-header__case--menu {
    width: auto;
    min-height: 36px;
    padding: 0 18px;
    white-space: nowrap;
  }
}

/* ========================================
  導入事例ページ全体
======================================== */

.p-case {
  background-color: #fff;
}

/* ========================================
  FV
======================================== */

.p-case__fv {
  padding: 40px 0 0;
  text-align: center;
}

.p-case__inner {
  width: calc(100% - var(--gutter-sp) * 2);
  max-width: var(--content-width);
  margin-inline: auto;
}

.p-case__heading {
  margin: 0;
  color: var(--color-black);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.45;
}

.p-case__big {
 font-size: 2.2em;      /* 文字サイズを2倍に */
}

.p-case__lead {
  margin: 24px 0 0;
  color: var(--color-black);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  text-align: left;　　/* SP導入テキスト左揃え */
}

.p-case__image {
  width: 100%;
  max-width: auto;
  margin: 28px auto 0;
}

@media (min-width: 768px) {　/* 導入部分のPC時設定 */
  .p-case__fv {
    padding-top: 64px;
  }

  .p-case__inner {
    width: calc(100% - var(--gutter-pc) * 2);
  }

  .p-case__lead {
    margin-top: 30px;
    font-size: 16px;
    text-align: center;
  }

  .p-case__image {
    margin-top: 36px;
  }
}

/* ========================================
  導入事例一覧
======================================== */
.p-case-list {
  padding: 50px 0;
}

.p-case-list__inner {
  width: calc(100% - var(--gutter-sp) * 2);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 5px 0;
}

.p-case-list__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-case-card{
  border:2.0px solid #ecedf1;
  background:#fff;
}

.p-case-card__title{
  margin:16px 16px 0;
  color:#314897;
  font-size:26px;
  font-weight:700;
  line-height:1.3;
  text-align:center;
}

.p-case-card a{
  display:flex;
  flex-direction:column;
  /* height:100%; ←コメントアウト */
  padding:16px;
  transition:.3s;
}

.p-case-card__logo{
  flex:1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-case-card__logo img{
  height:70px;
  width:auto;
}

.p-case-card__company{
  display:flex;
  align-items:center;
  gap:16px;
　margin-top:20px;
　padding:0 28px;
}

.p-case-card__industry{
  flex-shrink:0;
  padding:6px 12px;
  border:2px solid #565656;
  color:#565656;
  font-size:16px;
  font-weight:700;
  background:#fff;
}

.p-case-card__name{
  margin:10px 0 0;
  color:#666;
  font-size:14px;
  line-height:1.5;
}

.p-case-card__button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:64px;
  background:#314897;
  color:#fff;
  font-size:18px;
  font-weight:700;
  transition:.3s;
}

.p-case-card__tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin:16px 0 0;
  padding:0;
  list-style:none;
}

.p-case-card__tags li{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:6px 18px;
  border-radius:999px;
  background:#ecedf1;
  color:#6C676E;
  font-size:14px;
  font-weight:700;
}

.p-case-card__arrow::before{
  content:"›";
}

.p-case-card__arrow{
  font-size:28px;
}

.p-case-card a:hover .p-case-card__arrow{
  background:#314897;
  color:#fff;
  transform:translateX(2px);
}

.p-case-card a:hover{
  box-shadow:0 6px 16px rgba(0,0,0,.08);
}

.p-case-card__arrow{
  flex-shrink:0;
}

@media (max-width: 767px) {
.p-case-card__title{
    font-size:24px;
  }
.p-case-list__grid{
   grid-template-columns:1fr;
 }
.p-case-card:last-child{
    max-width:100%;
  }
}

/* ========================================
  一括ダウンロード
======================================== */

.p-case-download {
  display: grid;
  justify-items: center;
  padding: 40px var(--gutter-sp);
  background-color: #fff;
  text-align: center;
}

.p-case-download__lead {
  margin: 0;
  color: var(--color-black);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.p-case-download__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 343px);
  min-height: 50px;
  margin-top: 30px;
  padding: 10px 24px;
  border-radius: 999px;
  background-color: #ff781c;
  color: #fff;
  transition: all .3s ease;
}

.p-case-download__button:hover {
  opacity: .8;
　transform: translateY(-2px);
}

.p-case-download__button-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

/* @media (hover: hover) {
  .p-case-download__button:hover,
  .p-case-download__button:focus-visible {
    background-color: #354788;
  }
} */

@media (min-width: 768px) {
  .p-case-download {
    padding: 64px var(--gutter-pc) 80px;
  }

  .p-case-download__button {
    width: 420px;
    min-height: 68px;
    margin-top: 40px;
  }

  .p-case-download__button-text {
    font-size: 20px;
  }
}

/* ========================================
  関連リンク
======================================== */

.p-case-links {
  padding: 40px var(--gutter-sp);
  background-color: #e8e9ef;
}

.p-case-links__title {
  margin: 0;
  color: var(--color-black);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.p-case-links__list {
  width: 100%;
  max-width: 900px;
  margin: 24px auto 0;
  padding: 0;
  list-style: none;
}

.p-case-links__list li + li {
  margin-top: 12px;
}

.p-case-links__list a {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.p-case-links__list a::before {
  position: absolute;
  top: 0.55em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

@media (hover: hover) {
  .p-case-links__list a:hover,
  .p-case-links__list a:focus-visible {
    color: #354788;
  }
}

@media (min-width: 768px) {
  .p-case-links {
    padding: 56px var(--gutter-pc) 64px;
  }

  .p-case-links__title {
    font-size: 32px;
  }

  .p-case-links__list {
    margin-top: 32px;
  }

  .p-case-links__list a {
    font-size: 14px;
  }
}

/* ========================================
  フッター
======================================== */

.p-footer {
  padding: 52px 0 80px;
  background-color: var(--color-gray);
}

.p-footer__inner {
  display: grid;
  justify-items: center;
  gap: 30px;
}

.p-footer__nav {
  width: 100%;
}

.p-footer__list {
  display: grid;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.p-footer__link {
  display: inline-block;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.p-footer__bottom {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.p-footer__brand {
  display: grid;
  order: 1;
  place-items: center;
}

.p-footer__logo-single {
  width: 323px;
  height: auto;
}

.p-footer__copy {
  order: 2;
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

@media (hover: hover) {
  .p-footer__link:hover,
  .p-footer__link:focus-visible {
    color: var(--color-primary);
  }
}

@media (min-width: 768px) {
  .p-footer {
    padding: 52px 0 36px;
  }

  .p-footer__inner {
    gap: 0;
  }

  .p-footer__list {
    grid-auto-flow: column;
    gap: 40px;
  }

  .p-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-top: 15px;
  }

  .p-footer__copy {
    order: 1;
  }

  .p-footer__brand {
    order: 2;
  }
}

/* ========================================
  プレコロゴ
======================================== */
.p-case-card--preco .p-case-card__logo {
    margin-top: 16px;
}