﻿@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700;900&display=swap');
/* ---------------------------------------
  リセット
--------------------------------------- */
* {
  margin: 0; 
  padding: 0; 
  box-sizing: border-box;
}
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: #002E52;
  line-height: 1.5;
  font-size: 16px;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ---------------------------------------
    カラー変数（必要に応じて変更）
--------------------------------------- */
:root {
  --main-blue: #00479D; /* メイン文字色 */
  --accent-yellow: #FFEE00;
  --txt-white: #fff;
  --txt-black: ##002E52;
}

/* ---------------------------------------
    ヘッダー
--------------------------------------- */
header.site-header {
  width: 100%;
  background-color: #fff;
  position: relative;
  z-index: 1000;
  position: fixed;
  height: 90px;
}
.header-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 767px) {
  header.site-header {
    height: 60px;
  }

  .header-inner {
   padding: 10px;
  }
}

/* 左：ロゴ */
.header-left {
  display: flex;
  align-items: center;
}
.header-left img {
  height: 60px; /* ロゴサイズは適宜調整 */
}

@media screen and (max-width: 767px) {
  .header-left img {
    height: 40px; /* ロゴサイズは適宜調整 */
  }    
}
/* 右：問い合わせボタン＋ハンバーガー */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn-contact {
  display: inline-block;
  background: var(--accent-yellow);
  color: #000;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 1000px;
  font-size: 0.9rem;
  transition: 0.3s;
  color: var(--PPA-main, #00479D);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 27px */
  letter-spacing: 0.9px;
}
.btn-contact:hover {
  opacity: 0.8;
}

/* ---------------------------------------
    ハンバーガーメニュー (PC:右半分 / SP:全画面)
--------------------------------------- */
.menu-overlay {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.menu-overlay-content {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .menu-overlay-content {
    max-width: 50vw;
    margin-left: auto;
    background: white;
    height: 100%;
  }
}

/* ホバーで広がる */
#hamburger:hover .line-1 {
  transform: translate(7px, 9px);
}
#hamburger:hover .line-3 {
  transform: translate(7px, 31px);
}

/* バツアイコン用のアニメーション */
#hamburger.active .line-1 {
  transform: translate(7px, 20px) rotate(45deg);
}
#hamburger.active .line-2 {
  opacity: 0;
}
#hamburger.active .line-3 {
  transform: translate(7px, 20px) rotate(-45deg);
}


/* ---------------------------------------
    main
--------------------------------------- */
section .content-wrapper {
  max-width: 1200px;
}

/* レスポンシブ例 */
@media screen and (max-width: 767px) {
  section .content-wrapper {
    max-width: 335px;
  }
}

/* CPPA */
.cppa-content {
  max-width: 1200px;
  position: relative;
  background: #EAF6FF;
  display: flex;
  padding: 56px 105px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

.cppa-content h2 {
  align-self: stretch;
  color: #00479D;
  text-align: center;
  font-size: 44px;
  font-style: normal;
  font-weight: 900;
  line-height: 130%; /* 57.2px */
  letter-spacing: 2.2px;
}

.cppa-content p {
  text-align: center;
  font-family: "Zen Kaku Gothic New";
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 24px */
  letter-spacing: 0.8px;
}

.orange-round{
  color: #fff;
  text-align: center;
  position: absolute;
  right: 13px;
  top: -73px;
  width: 225px;
  height: 225px;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;   
  border-radius: 10000px;
  background: #F90;
}

.img-content {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.cta-wrap {
  background: url("../images/cta/pc_bg.jpg") 100% / cover no-repeat;
  position: relative;
  padding: 80px 40px;
  text-align: center;
  mix-blend-mode: screen;
  margin: 0 auto;
}

.cta-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  border-radius: 8px;
}

.cta-content h3 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 150%; /* 48px */
  letter-spacing: 1.6px;
}
.cta-description {
  max-width: 1138px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  gap: 20px;
  padding: 18px 20px 0 20px;
  font-size: 1rem;
  border-radius: 10px;
  background: #FFF;
}

a.cta-button {
  color: #00479D;
  text-align: center;
  /* font-size: 28px; */
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 42px */
  letter-spacing: 1.4px;
}

.cta-content .arrow {
  margin-top: -10px;
}

.cta-button {
  max-width: 512px;
  display: flex;
  padding: 20px 30px;
  margin: 12px auto;
  letter-spacing: 2.4px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 1000px;
  background: #FFF500;
  text-decoration: none;
}

.cta-button:hover {
  text-decoration: none;
  transition: transform 0.3s ease;
}

.cta-button svg {
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(5px);
}


@media screen and (min-width: 768px) and (max-width: 878px) {
  .cta-button {
    font-size: 0.9rem;
  }
}
@media screen and (max-width: 767px) {
  .cppa-content {
    padding: 56px 20px 10px 20px;
  }

  .cppa-content h2 {
    font-size: 24px;
    font-style: normal;
    font-weight: 900;
    line-height: 140%; /* 33.6px */
    letter-spacing: 1.2px;
  }

  .img-content {
    margin-top: 0;
    gap: 20px;
  }

  .cta-wrap {
    background: url("../images/cta/sp_bg.jpg") 100% / cover no-repeat;
    padding: 60px 10px;
  }

  .cta-content h3 {
    font-size: 24px;
    font-style: normal;
    font-weight: 900;
    line-height: 140%; /* 33.6px */
    letter-spacing: 1.2px;
  }

  .cta-description {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding-bottom: 0;
  }

  .cta-description p {
    margin: 0 auto;
    z-index: 1;
  }
  .cta-description svg {
    margin-top: -70px;
    margin-left: -14px;
    margin-bottom: -0.5px;
    width: 82px;
    height: 81px;
  }

  a.cta-button {
    /* font-size: 20px; */
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 33px */
    letter-spacing: 1.1px;
  }

  .cta-button {
    width: 357px;
    padding: 16px;
    gap: 8px;
  }
  
  .cta-content .arrow {
    margin-top: -45px;
    z-index: 0;
  }
}

.note {
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: left;
  padding: 20px;
  margin: 0 auto;
  color: #FFF;
  font-family: "Zen Kaku Gothic New";
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 18px */
  letter-spacing: 0.6px;
}

.bg-gradient {
  border-radius: 5px;
  background: var(--PPA-gra1, linear-gradient(91deg, #00479D 0%, #2F78D0 100%));
}

/* フッターなどは適宜追加 */
footer {
  text-align: center;
  padding: 1rem;
  background: #fff;
  font-size: 0.85rem;
  color: #666;
}

/* Windows 14インチ対応 FV */
@media (min-width: 480px) and (max-width: 1440px) and (max-height: 724px) {
  .FV_container {
    top: 120px!important;
    left: 40px!important;
    max-width: 580px!important;
  }
}

.myNewsSwiper .swiper-slide {
  width: 319.34px!important;
}

@media (max-width: 480px) {
  .myNewsSwiper .swiper-slide {
    width: 280px!important;
  }
}


/* News detail */
.news-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 20px;
}

@media (min-width: 768px) {
  .news-detail {
    padding: 170px 20px;
  }
}

.news-inner {
  background-color: #fff;
  padding: 24px 20px;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .news-inner {
    padding: 40px 80px;
    min-width: 700px;
  }
}

.news-date {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.8px;
  color: #00479D;
  margin-bottom: 12px;
}

.news-title {
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.4;
  color: #00479D;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .news-title {
    font-size: 1.5rem;
  }
}

.news-image {
  margin-bottom: 24px;
}

.news-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.news-body {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.8px;
  color: #333;
}

.news-body > * + * {
  margin-top: 10px;
}

.news-body h1, .news-body h2, .news-body h3, .news-body h4, .news-body h5 {
  font-size: 18px;
  font-weight: 700;
  color: #00479D;
  border-bottom: 1px solid #00479D;
  padding-bottom: 4px;
}

@media (min-width: 768px) {
  .news-body h2 {
    font-size: 20px;
  }
}

.news-body p {
  margin-bottom: 20px;
}

.news-body a {
   color: #00479D;
   border-bottom: 1px solid #00479D;
   transition: transform 0.3s;
}

.news-body a:hover {
   color: #666;
   border-bottom: 1px solid #666;
   }

.news-back {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: #00479D;
  text-decoration: none;
  padding-top: 40px;
  transition: transform 0.3s;
}

@media (min-width: 768px) {
  .news-back {
    padding-top: 56px;
  }
}

.news-back svg {
  margin-right: 10px;
  transition: transform 0.3s;
}

.news-back:hover svg {
  transform: translateX(-4px);
}
