/* ---------------------
cmn
--------------------- */
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
}

img,
video {
  width: 100%;
}

.en {
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 1px
}

@media screen and (min-width: 761px) {
  .sp {
    display: none!important;
  }
}
@media screen and (max-width: 760px) {
  .pc {
    display: none!important;
  }
}

@media screen and (min-width: 1350px) {
  .sp-header {
    display: none!important;
  }
}
@media screen and (max-width: 1350px) {
  .pc-header {
    display: none!important;
  }
}

/* Header */
.l-header {
  background: #fff;
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  z-index: 100000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 94%;
  margin: 0 auto;
  height: 70px;
}
@media screen and (min-width: 1350px) {
  .l-header {
    min-width: 1350px;
    border-radius: 10px;
    top: -20px;
    left: 50%;
    transform: translate(-50%,50%);
    padding: 16px 20px;
  }
}

.p-logo {
  flex-shrink: 0;
  margin-left: 15px;
}

.p-logo a {
  display: inline-block;
}

.p-logo img {
  height: 30px;
  width: auto;
}

@media screen and (min-width: 1350px) {
  .header-inner-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
  }
}


.header-inner__nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.header-inner__nav-list li {
  margin: 0;
  text-decoration: none;
  font-weight: 500;
}

.header-inner__nav-list li a {
  position: relative;
  display: inline-block;
  color: #335486;
  border-bottom: solid 1px #D4D4D4;
}

.header-inner__nav-list li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #335486;
  /* 左から伸びる演出 */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

@media screen and (min-width: 1350px) {
  .header-inner__nav-list li a:hover::after {
    transform: scaleX(1);
  }
}

.header-inner__cv-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}

.header-inner__cv-list li a {
  display: block;
  width: 170px;
  padding: 8px 20px;
  color: #fff;
  margin: 0;
  background: linear-gradient(90deg, #3D67A6 0%, #163A71 100%);
  border-radius: 20px;
  text-align: center;
}

@media screen and (min-width: 1350px) {
  .header-inner__cv-list li:hover a {
    background: #fff;
    color: #163A71;
    border: 1px solid #163A71;
  }
}

@media screen and (max-width: 1350px) {
  .l-header {
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    margin: 0;
  }
  /* ====== 変数（お好みで） ====== */
  :root{
    --header-h: 64px;
    --line-w: 45px;
    --line-h: 2px;
    --line-gap: 7px;
    --accent: linear-gradient(90deg, #DA4A6D, #F2A335);;
    --bg: #111;
  }
  /* ヘッダーが固定想定（必要に応じて調整） */
  .header-inner-wrapper.sp-header{
    width: 20%;
    height: 70px;
    position: relative;
  }
  #header-inner {
    width: 100%;
    height: 90%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: #fff;
    position: absolute;
  }
  /* ====== ハンバーガーボタン ====== */
  #header-hamburger{
    position: relative;
    width: 100px;
    height: 70px;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  /* Menu / Close 表示（画像のイメージに近い） */
  #header-hamburger::after{
    content: "Menu";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 9px;
    font-weight: 400;
    color: #222;
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    letter-spacing: 0.5px;
  }
  body.menu-open #header-hamburger::after{
    content: "Close";
    color: #fff; /* 背景が黒想定 */
  }
  /* 3本線 */
  #header-hamburger span{
    position: absolute;
    left: 10px;
    width: var(--line-w);
    height: var(--line-h);
    background: var(--accent);
    border-radius: 999px;
    transition: transform .25s ease, top .25s ease, opacity .2s ease, background .2s ease;
  }
  /* 上中下の配置 */
  #header-hamburger span:nth-child(1){ top: 35px; }
  #header-hamburger span:nth-child(2){ top: calc(35px + var(--line-gap)); width: 35px; }
  #header-hamburger span:nth-child(3){ top: calc(35px + var(--line-gap) * 2); width: 25px; }
  /* ====== OPEN時：ヘッダーを黒にして×へ ====== */
  body.menu-open #header-inner{
    background-color: transparent;
  }
  body.menu-open #header-hamburger span{
    background: #ff6a6a;
    width: 47px;
    left: 10px;
  }
  body.menu-open #header-hamburger span:nth-child(1){
    top: calc(35px + var(--line-gap));
    transform: rotate(15deg);
  }
  body.menu-open #header-hamburger span:nth-child(2){
    opacity: 0;
  }
  body.menu-open #header-hamburger span:nth-child(3){
    top: calc(35px + var(--line-gap));
    transform: rotate(-15deg);
  }
  /* ====== メニューウィンドウ（上から降りてくる） ====== */
  #hamburger-window{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    z-index: 999; /* header-inner(1000)の下にする */
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease;
    overflow-y: auto;
    padding: 25px 30px 70px;
  }
  #hamburger-window .menu-p-logo,
  #hamburger-window li {
    -webkit-tap-highlight-color: transparent;
  }
  /* open */
  body.menu-open #hamburger-window{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  /* 中身の見た目（必要最低限） */
  .hamburger-window__nav-list{
    list-style: none;
    margin-bottom: 60px;
  }
  .hamburger-window__nav-list .menu__item{
    position: relative;
    padding-left: 18px;
    margin-bottom: 25px;
  }
  .hamburger-window__nav-list .menu__item:last-child{
    margin-bottom: 0;
  }
  .hamburger-window__nav-list .menu__item::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid white;
    position: absolute;
    top: 8px;
    left: 0;
  }
  .hamburger-window__nav-list .menu__item a{
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: .02em;
  }
  .hamburger-window__nav-list .menu__item a:active{
    opacity: .75;
  }
  .hamburger-window__nav-list .menu__item.have_sub{
    margin-bottom: 10px;
  }
  .hamburger-window__nav-list .hamburger-window__nav-sub-list{
    margin-bottom: 25px;
  }
  .hamburger-window__nav-list .menu__sub__item{
    margin-left: 18px;
    margin-bottom: 6px;
  }
  .hamburger-window__nav-list .menu__sub__item a{
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: .02em;
    border-bottom: solid 0.5px #FFFFFF;
  }
  #hamburger-window .btn_area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2%;
    width: 100%;
  }
  #hamburger-window .btn_area .btn {
    background: linear-gradient(90deg, #DA4A6D, #F2A335);
    border: none;
    width: 49%;
    max-width: 250px;
    height: 40px;
  }
  #hamburger-window .btn_area .btn span {
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 500;
  }
  .p-logo {
    margin-left: 20px;
    margin-top: 5px;
  }
  .p-logo img {
    height: 3.5vh;
  }
  .menu-p-logo {
    margin-bottom: 50px;
  }
  .menu-p-logo img {
    width: auto;
    height: 4vh;
  }
  .page-contact .p-logo img {
    height: 2.5vh;
  }
}

/* Footer */
.cta-section {
  background-image: url(../img/cmn/bg-cta.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 100px 0;
}

@media screen and (max-width: 1080px) {
  .cta-section {
    padding: 65px 0;
  }
}

.cta-inner {
  max-width: 1080px;
  width: 95%;
  margin: 0 auto;
}

@media screen and (min-width: 761px) {
  .cta-index {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }
}

.cta-card {
  max-width: 484px;
  width: 45%;
  margin: 0 auto;
  text-align: center;
  padding: 70px 20px 70px;
  background-color: #FFFFFF;
  border-radius: 10px;
}

.cta-title {
  font-size: 28px;
  font-weight: 700;
}

.cta-btn_area {
  margin: 30px 0 0;
}

@media screen and (max-width: 760px) {
  .cta-section {
    padding: 40px 25px;
  }
  .cta-inner {
    width: 100%;
  }
  .cta-card {
    width: 100%;
    height: auto;
    padding: 40px 20px;
  }
  .cta-card.cta-inquiry {
    margin-bottom: 20px;
  }
  .cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
  }
  .cta-text {
    line-height: 1.5;
  }
  .cta-btn_area {
    margin: 24px 0 0;
  }
}

.l-footer {
  background-color: #222222;
  color: #FFFFFF;
}

.l-footer a {
  color: #FFFFFF;
}

.footer-inner__sns-list {
  background-color: #505050;
  padding: 30px 0;
}

.footer-inner__sns-item-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.footer-inner__sns-item-list li {
  height: 40px;
  width: auto;
}

.footer-inner__sns-item-list li.note {
  height: 23px;
}

.footer-inner__sns-item-list li img {
  width: auto;
  height: 100%;
}

@media screen and (min-width: 761px) {
  .footer-inner__sns-item-list li:hover {
    opacity: 0.4;
  }
}

.footer-wrapper {
  max-width: 1180px;
  width: 95%;
  margin: 0 auto;
  padding: 100px 0 50px;
}

.footer-inner__main-cnt {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 170px;
}

.footer-inner__link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap: 50px;
}

.footer-inner__link-list .footer-inner__link-item {
  padding-left: 30px;
  position: relative;
  margin-bottom: 30px;
}

.footer-inner__link-list .footer-inner__link-item:last-child {
  margin-bottom: 0;
}

.footer-inner__link-list .footer-inner__link-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
  position: absolute;
  top: 8px;
  left: 6px;
}

.footer-inner__link-list .footer-inner__link-item__sub-list {
  margin-top: 10px;
}

.footer-inner__link-list .footer-inner__link-item__sub-list li {
  font-size: 12px;
  color: #AAAAAA;
  margin-bottom: 15px;
}

.footer-inner__link-list .footer-inner__link-item__sub-list li a {
  display: inline-block;
  border-bottom: solid 1px #AAAAAA;
}

.footer-inner__logo-list {
  width: 227px;
}

.footer-inner__logo-item.aiflow {
  width: 222px;
  margin: 0 auto 16px;
}

.footer-inner__logo-item.group {
  border-top: solid 1px #FFFFFF;
  padding-top: 10px;
  font-size: 9px;
}

.footer-inner__logo-item.pptc {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.footer-inner__logo-item.pptc img {
  width: 52.45px;
}

.footer-inner__logo-item.pptc a img {
  width: 151px;
}

@media screen and (min-width: 761px) {
  .footer-inner__sub-cnt {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    padding-bottom: 30px;
    border-bottom: solid 1px #FFFFFF;
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 1080px) {
  .footer-inner__sub-cnt {
    font-size: 14px;
  }
}

.footer-inner__adress p {
  margin: 0;
}

@media screen and (min-width: 761px) {
  .footer-inner__sub-link ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    align-items: center;
    gap: 60px;
  }
}

.footer-inner__sub-link ul li {
  display: inline-block;
  position: relative;
}

@media screen and (min-width: 761px) {
  .footer-inner__sub-link ul li::before {
    content: "";
    width: 1px;
    height: 14px;
    background-color: #FFFFFF;
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
  }
}

.footer-inner__sub-link ul li:last-child::before {
  display: none;
}

.footer-inner__copyright {
  text-align: center;
  font-size: 12px;
}

.footer-inner__copyright p {
  margin: 0;
}

@media screen and (max-width: 760px) {
  .footer-inner__sns-list {
    padding: 9vw 0;
  }
  .footer-inner__sns-item-list {
    gap: 9vw;
  }
  .footer-inner__sns-item-list li {
    height: 8vw;
  }
  .footer-wrapper {
    width: 90%;
    padding: 12vw 0;
  }
  .footer-inner__logo-item.sp {
    width: 25vw;
    margin-bottom: 5vw;
  }
  .footer-inner__sub-cnt {
    font-size: 0.9rem;
    margin-bottom: 10vw;
  }
  .footer-inner__adress {
    margin-bottom: 10vw;
  }
  .footer-inner__sub-link ul li {
    display: block;
    position: relative;
    border-top: solid 0.5px #FFFFFF;
    padding: 2vw 0;
  }
  .footer-inner__sub-link ul li:last-child {
    border-bottom: solid 0.5px #FFFFFF;
  }
  .footer-inner__sub-link ul li::after {
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    right: 5vw;
    top: 50%;
    border-top: 2px solid #C1C1C1;
    border-right: 2px solid #C1C1C1;
    transform: translateY(-50%) rotate(45deg);
  }
}

/* btnのスタイル */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 230px;
  height: 45px;
  border-radius: 100px;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #DA4A6D, #F2A335) border-box;
  text-decoration: none;
}

/* hover用の背景 */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #DA4A6D, #F2A335);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 0;
}

.btn span {
  position: relative;
  z-index: 1;
  font-weight: 600;
  background: linear-gradient(90deg, #DA4A6D, #F2A335);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: color 0.3s ease;
}

@media screen and (min-width: 761px) {
  .btn:hover {
    opacity: 1;
  }
  .btn:hover::before {
    transform: scaleX(1);
  }
  .btn:hover span {
    color: #fff;
    background: none;
  }
}

a.btn-black {
  display: inline-block;
  text-align: left;
  max-width: 290px;
  width: 100%;
  color: #FFFFFF;
  background: #505050;
  border: solid 1px #505050;
  border-radius: 10px;
  position: relative;
  padding: 10px 0 10px 26px;
  line-height: 21px;
}

a.btn-black::before {
  content: "";
  width: 17px;
  height: 17px;
  background: #FFFFFF;
  border-radius: 50%;
  position: absolute;
  left: auto;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

a.btn-black::after {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  right: 26.5px;
  top: 50%;
  border-top: 2px solid #C1C1C1;
  border-right: 2px solid #C1C1C1;
  transform: translateY(-50%) rotate(45deg);
}

@media screen and (min-width: 761px) {
  a.btn-black:hover {
    color: #505050;
    background: #FFFFFF;
  }
  a.btn-black:hover::before {
    background-color: #505050;
    transform: translateY(-50%);
  }
  a.btn-black:hover::after {
    border-top: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
  }
}

@media screen and (max-width: 760px) {
  .btn_area {
    width: 80%;
    margin: 0 auto;
  }
  .btn {
    width: 100%;
    height: 13vw;
  }
  a.btn-black {
    display: inline-block;
    width: 100%;
    height: auto;
    text-align: center;
    padding: 3vw 0;
  }
}