
/* --- 基本的なリセットと設定 --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif; /* サイトのフォントファミリーを指定してください */
  color: #333;
  background-color: #fff;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400; /* 基本の太さ（Regular） */
  line-height: 1.7; /* 読みやすい行間 */

}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: bold;
}

ul, ol {
  margin: 0;
  padding: 0;
}

a {
  color: #0000ee;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.bold {
  font-weight: bold;
}


@media screen and (max-width:900px) {
  .pc {
    display: none;
  }
}

@media screen and (min-width:901px) {
  .sp {
    display: none;
  }
}

@media screen and (min-width:1024px) {
  .pc-small {
    display: none;
  }
}

/* --- 共通コンポーネント --- */

.font-zen-kaku-gothic-new {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}


/* --- ヘッダー --- */
.site-header {
   width: 100%;
   height: 80px;
   position: fixed;
   z-index: 11;
   background: #fff;
}

@media screen and (max-width:900px) {
  .site-header {
    z-index: 100;
  }

  .header-right:after {
    width: 50%;
     top: 60px;
  }
}

/* --- スマホメニューのZ-indexをヘッダーより下にする --- */
.p-sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 9000; /* ★ヘッダー(9999)より小さな数字にする */
    
    /* 以下そのまま */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding-top: 80px;
    overflow-y: auto;
}

.header-inner {
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
  padding-left: 30px;
}

.header-right {
  width: 100%;
  display: flex;
  align-items: center;
    justify-content: flex-end;
}



.global-nav {
  background-color: #f0f0f0cc;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 10;
}

.header-menu-list {
  display: flex;
  padding: 0 30px;
  list-style: none;
  
}

.header-menu-list li {
  margin-right: 40px;
  font-weight: bold;
} 


.header-menu-list li a {
  color: #000;

}

@media screen and (max-width:1275px) {
  .header-menu-list li {
    margin-right: 20px;
  }
}
@media screen and (max-width:1100px) {
    .header-menu-list li {
      font-size: 14px;
      margin-right: 10px;
    }
          

}

.header-contact-btn {
  background-color: #08192de6;
  color: #fff;
  padding: 0px 30px;
  white-space: nowrap;
  height: 80px;
  line-height: 80px;
  width: 200px;
  text-align: center;
}


@media screen and (max-width:1275px) {
  .header-contact-btn {
    width: 160px;
  }
}



/* ====================================
   ハンバーガーボタン（共通）
   ==================================== */
.c-hamburger {
    display: none; /* PCでは非表示 */
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 100; /* 最前面に */
    margin-left: 15px;
    margin-right: 15px;
    padding: 0;
}

.c-hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #08192D; /* 線の色 */
    position: absolute;
    left: 7px;
    transition: all 0.3s;
}

/* 3本線の位置 */
.c-hamburger span:nth-child(1) { top: 12px; }
.c-hamburger span:nth-child(2) { top: 19px; }
.c-hamburger span:nth-child(3) { top: 26px; }

/* 開いたとき（×印になる） */
.c-hamburger.is-active span:nth-child(1) {
    top: 19px;
    transform: rotate(45deg);
    background-color: #fff;
}
.c-hamburger.is-active span:nth-child(2) {
    opacity: 0; /* 真ん中の線を消す */
}
.c-hamburger.is-active span:nth-child(3) {
    top: 19px;
    transform: rotate(-45deg);
    background-color: #fff;
}

/* ====================================
   スマホ用メニューエリア（初期状態は隠す）
   ==================================== */
.p-sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff; /* 背景色 */
    z-index: 90; /* ヘッダーより下、コンテンツより上 */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding-top: 80px; /* ヘッダーの高さ分空ける */
    overflow-y: auto; /* メニューが長い場合スクロール */
}

/* 開いたとき */
.p-sp-nav.is-active {
    opacity: 1;
    visibility: visible;
    background: #08192D;
    color: #fff;
}

.p-sp-nav__inner {
    padding: 40px 20px;
}

.p-sp-nav__inner .btn {
    margin: 40px auto;
}

.p-sp-nav__list li {
    border-bottom: 1px solid #eee;
    max-width: 500px;
    margin: 0 auto;
    list-style: none;
}


.p-sp-nav__list li:last-child {
  border-bottom: none;
}

.p-sp-nav__list li a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.p-sp-nav__cta {
    margin-top: 30px;
    text-align: center;
}


/* ====================================
   レスポンシブ切り替え (1024px以下)
   ==================================== */
@media screen and (max-width: 900px) {
    
    /* PC用メニューを消す */
    .global-nav {
        display: none;
    }
    .header-contact-btn {
        display: none;
    }
    /* ハンバーガーボタンを表示 */
    .c-hamburger {
        display: block;
    }

    /* お問い合わせボタンの微調整（前回分） */
    .header-contact-btn {
        width: 120px;
        font-size: 12px;
        padding: 0;
    }
}





/* --- フッター --- */
.site-footer {
  background-color: #2B2B2B;
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.footer-inner {
  width: 90%;;
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.footer-logo {
  border-bottom: solid 2px #fff;
  padding-bottom: 15px;
}

.footer-logo p {
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
  margin-bottom: 0; /* pタグのデフォルトマージンを打ち消し */
}

.footer-info address {
  font-style: normal;
  margin-top: 20px;
  font-size: 12px;
}



.footer-nav {
  margin-top: 80px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}
.footer-nav ul li {
  margin-bottom: 16px;
  font-size: 12px;
}


.footer-nav ul li a {
  color: #fff;
}

.footer-nav a:hover {
  opacity: 0.8;
}


.copyright {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 10px;
    z-index: 2;
}

.footer-right-logo {
  position: absolute;
  top: 0;
  right: -8%;

}

main {
  padding-top:80px;
}

main.l-page:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  background: url('../../assets/images/common/navi-contact.png');
  width: 591px;
  height: 1143px;
  pointer-events: none;
  z-index: 0;
}

@media screen and (max-width:768px) {

  main.l-page:after {
    background-size: 60vw;
    background-repeat: no-repeat;
    background-position: top right;

  }
}


/* 共通のボタンスタイル */

.btn {
  width: 320px;
  height: 60px;
  text-align: center;
  cursor: pointer;
  transition: opacity .3s;
  font-size: 18px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #08192D;
  color: #08192D;
  transition: all 0.3s;
  box-sizing: border-box;
}

.btn a {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.btn a::after {
  content: '';
  position: absolute;
  right: 30px;
  width: 16px;
  height: 14px;
  background-image: url(../../assets/images/common/btn_anchor.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  -ms-transform: translate(0%, -50%);
   border-color: #08192D;
}

.btn:hover {
  background: #08192D;
  color: #fff;
  border: none;
  transition: all 0.3s;
}

.btn a:hover {
  color: #fff;
}

.btn a:hover:after {
  background-image: url(../../assets/images/common/btn_anchor_w.svg);
}

/* --- ボタンのバリエーション --- */
.btn--white {
  border: solid 2px #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
}

.btn--white a{
  color: #fff;
}

.btn--white a:hover{
    color: #08192D;
}

.btn.btn--white:hover {
    opacity: 0.8;
}

.btn.btn--white a::after {
  content: '';
  position: absolute;
  background-image: url('../../assets/images/common/btn_anchor_w.svg');
}

.btn--white:hover {
  background: #fff;
  color: #08192D;
  border: none;
}

.btn.btn--white a:hover:after {
  background-image: url(../../assets/images/common/btn_anchor.svg);
}






/* --- CTA --- */

main section.cta {
  background: #F6F6F6;
  position: relative;
  padding-bottom: 160px;
  margin-top: 80px;
}


section.cta:before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  background: url('../../assets/images/common/cta-bg.png');
  width: 928px;
  height: 516px;
} 

section.cta .cta-inner {
  width: 80%;
  margin: 0 auto;
  background-color: #08192D;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 105px 190px 100px 120px;

clip-path: polygon(
    40px 0,                   /* 1. 左上（の少し右）からスタート */
    100% 0,                   /* 2. 右上 */
    100% calc(100% - 40px),   /* 3. 右下（の少し上） */
    calc(100% - 40px) 100%,   /* 4. 右下（の少し左） */
    0 100%,                   /* 5. 左下 */
    0 40px                    /* 6. 左上（の少し下） */
  );
  
}

section.cta .cta-text h2 {
  font-size: 56px;
  text-align: left;
  padding-top: 0;
}

section.cta .cta-text p {
  font-size: 24px;
  margin-bottom: 0;
  margin-top: 0;
}

@media screen and (max-width:1275px) {
  section.cta .cta-inner {
    padding: 75px 160px 70px 90px;
  }

  section.cta .cta-text h2 {
    font-size: 44px;
  }
  section.cta .cta-text p {
    font-size: 16px;
  }
}



@media screen and (max-width:900px) {
  main section.cta {
    padding-bottom: 80px;
  }

  section.cta .cta-inner {
    width: 90%;
    padding: 50px 60px 50px 60px;

  }
}

@media screen and (max-width:768px) {
  main  {
    padding-top: 60px;
  }
}





/* single arrchive共通 */



.l-page {
  background: #F6F6F6;
}


.l-page .l-section {
 position: relative; 
}

.l-page .l-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -18%;
  background: url('../../assets/images/common/p-logo-bg.png');
  width: 732px;
  height: 518px;

}

.p-page-header {
  position: relative;
  z-index: 10;
  background:#08192D;
  width: 100%;
    max-width: 1200px;
    color: #fff;
    padding: 60px 15% 60px 14%;
    clip-path: polygon(
        0 0, 
        100% 0, 
        100% calc(100% - 50px), 
        calc(100% - 50px) 100%, 
        0 100%
      );

}

.p-page-header .p-page-header__title {
  margin-bottom: 15px;
  letter-spacing: 10px;

}

.p-page-header .p-page-header__txt {
  letter-spacing: 1px;
  line-height: 300%;
}



@media screen and (max-width:1275px) {
  .p-page-header {
    width: 90%;
    padding: 60px 8% 60px 9%;
  }

}






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

  .header-inner {
    height: 60px;
    padding-left: 15px;
    position: fixed;
    width: 100%;
  }

  .header-menu-list {
    display: none;
  }

  .header-right {
    justify-content: flex-end;
  }

  .header-contact-btn {
    height: 40px;
    line-height: 40px;
    width: 110px;
    font-size: 12px;
    padding: 0;
  }

  .site-footer {
    padding: 40px 0;
  }

  .footer-inner {
    flex-direction: column;
    padding: 0;
  }

  .footer-logo {
    width: 100%;
  }

  .footer-nav {
    margin-top: 40px;
  }

  .footer-right-logo {
    margin-top: 30px;
    width: 50%;
    top: initial;
    bottom: 80px;
     min-width: 200px;
     z-index: 1;
     
  }

  .copyright {
    position: static;
    margin-top: 30px;
    text-align: center;
    width: 100%;
  }

  main section.cta {
    padding-bottom: 80px;
  }

  section.cta:before {
    width: 100%;
    height: 250px;
    background-size: cover;
  }

  section.cta .cta-inner {
    width: 90%;
    flex-direction: column;
    padding: 50px 20px;
    clip-path: polygon(
      20px 0,
      100% 0,
      100% calc(100% - 20px),
      calc(100% - 20px) 100%,
      0 100%,
      0 20px
    );
  }

  section.cta .cta-text {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
  }

  section.cta .cta-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
  }

  section.cta .cta-text p {
    font-size: 14px;
    text-align: justify;
  }

  .p-page-header {
    width: 90%;
    padding: 20px 20px;
    clip-path: polygon(
      0 0, 
      100% 0, 
      100% calc(100% - 30px), 
      calc(100% - 30px) 100%, 
      0 100%
    );
  }

  .p-page-header .p-page-header__title {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .p-page-header .p-page-header__txt {
      font-size: 12px;
      line-height: 1.4;
  }

  .l-page .l-section::before {
    width: 300px;
    height: 212px;
    background-size: contain;
    left: -10%;
    top: 5%;
  }
}




@media screen and (max-width: 768px) {
  section.cta .cta-inner {
    padding: 30px 20px;
  }

  section.cta .cta-text {
    width: 320px;
    margin-bottom: 10px;
  }

  section.cta .cta-text h2 {
    text-align: left;
    margin-bottom: 20px;
  }

  section.cta .cta-inner .btn {
    text-align: center;
  }

  .btn a{
    font-size: 16px;
  }

}

@media screen and (max-width: 390px) {
  .header-contact-btn {
    width: 100px;
    font-size: 11px;
  }

  .btn {
    width: 100%;
    font-size: 16px;
  }

  section.cta .cta-text {
    width: 90%;
  }

  section.cta .cta-text h2 {
    font-size: 22px;
  }

  .p-page-header {
    padding: 30px 15px;
  }
}
