/*
Theme Name: PNAGEL2026
Author URI: https://wordpress.org/
Version: 1.0
Author: Saki Matsumoto

*/

html {scroll-behavior: smooth;}

body {
  color: #444444;
  font-family: 'Yu Mincho Light','YuMincho','Yu Mincho','游明朝体','ヒラギノ明朝 ProN','Hiragino Mincho ProN',sans-serif;
  /* font-family: "Yu Gothic", YuGothic, Helvetica, Arial,
  "Hiragino Kaku Gothic ProN",
  Meiryo, メイリオ, sans-serif; */
  margin: 0;
  overflow-x: hidden;
  background-color: #fbfbfb;
}


@font-face {
  font-family: 'Century Gothic';
  src: url('/wp-content/themes/kazetori/fonts/Century_Gothic.ttf') format('truetype');
}

@font-face {
  font-family: 'Antro Vectra';
  src: url('/wp-content/themes/kazetori/fonts/Antro_Vectra.ttf') format('truetype');
}

@font-face {
  font-family: 'HG-R';
  src: url('/wp-content/themes/kazetori/fonts/HG-R.ttf') format('truetype');
}

@font-face {
  font-family: 'HG-M';
  src: url('/wp-content/themes/kazetori/fonts/HG-M.ttf') format('truetype');
}

p {
  text-align: left;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 1.6px;
}

img {max-width: 100%;}

ul {list-style: none;}

a {
  transition: color .3s;
  text-decoration: none;
  color: #444;
}

.sp-br{
  display: none; /* SPの改行を隠す */
}


nav ul {
  margin: 0;
  padding: 0;
}

/* コンテンツをふわっと出現 */

.fade-in {
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/** -----------------------------------
    カラーパレット　 / 背景パレット
-------------------------------------**/

:root {
  --navy: #243e64; /* カスタムプロパティの定義 */
  --water: #97c5c9;
  /* 使う時は、 vなど */
}

.navy{
  color: var(--navy);
}


.water{
  color: var(--water);
}



:root {
  --dot-grid-bg: 
    radial-gradient(circle, #999999 1px, transparent 1px),
    radial-gradient(circle, #999999 1px, transparent 1px);
  
  /* ドットの間隔や位置を調整 */
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px; 
}

.dot-grid-element {
  background: var(--dot-grid-bg); /* カスタムプロパティを適用 */
}


/** -----------------------------------
    共通
-------------------------------------**/
.kotei {
  position: fixed;
  right: 20px;
  bottom: 25px;
  z-index: 100;
}

.kotei img {
  width: 170px;
  transition-duration: 1s;
}

/* ===== 共通 ===== */
.section-label {
  font-size: 11px;
  color: #6F8FA6;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: clamp(20px, 2vw, 28px);
  color: #2F4A6D;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.top-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: #D9EBF4;
  color: #2F4A6D;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.top-btn:hover {
  opacity: 0.75;
}

.top-btn--ghost {
  background: transparent;
  border: 0.5px solid #2F4A6D;
}


/* ===== 表示切り替え ===== */
.pc-only { display: block; }
.sp-only { display: none; }
br.pc-only { display: inline; }
br.sp-only { display: none; }

@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: block; }
  br.pc-only { display: none; }
  br.sp-only { display: inline; }
}

/* ===== MAGIC Banner ===== */
.magic-banner {
  display: block;
  position: relative;
  text-decoration: none;
  margin: 100px 10rem;
  overflow: hidden;
  transition: opacity 0.2s;
}

.magic-banner:hover {
  opacity: 0.98;
}

.magic-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.magic-banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:rgb(47, 74, 109) ;
  opacity: 0.9;
}

.magic-banner:hover .magic-banner__bg::after {
  background:#7ba0b1;
  opacity: 0.9;
  transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
}

.magic-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}


.magic-banner__text {
  font-size: 15px;
  color: #fff;
  line-height: 2.2;
  margin-bottom: 2rem;
  text-align: center;
}

.magic-banner__link {
  font-size: 13px;
  color: #D9EBF4;
  letter-spacing: 0.1em;
  border-bottom: 0.5px solid #D9EBF4;
  padding-bottom: 4px;
}


@media (max-width: 768px) {
  .magic-banner {
    margin: 0 1.5rem;
  }
}

@media screen and (max-width: 768px) {
.kotei img {
  width: 100px;
}}




.flex{
  display: flex;
}

.flex_1, .flex_2 {
  flex: 1;
}

.bold{font-weight: bold;}
.small{font-size: 14.4px;}
.medium{font-size: 18px;}


.sp-on{
  display: none!important;
}

@media screen and (max-width: 750px){
.pc-br{
  display:none;
}
.service_button a {
  width: 80%;
}

.pc-on{
  display:none!important
}

.sp-on{
  display:block!important;
}

}

@media screen and (max-width: 1599px){
  .br__more{
    display:none;
  }
  }
  @media screen and (min-width: 1600px){
    .br__more{
      display:block;
    }
    }


  /** -----------------------------------
      ヘッダー
  -------------------------------------**/


.header__title{
  width: 185px;
  margin-right: 55px;
  margin-top: 10px;
}

.header__title img{
  vertical-align: middle;
}
/* ===============================================
ヘッダーのスタイリング
=============================================== */
.header {
  height: 120px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: inherit;
  color: #fff;
  padding: 0 0 0 25px;
  margin-right: auto;
  margin-left: auto;
}

.header__container h1{
  width: 160px;
  opacity: 0.7;
}

@media screen and (max-width: 1024px) {
  .header__container h1{
    width: 120px;
    
  }
}

.header__logo a {
  text-decoration: none;
  font-size: 30px;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
}


nav ul {
  margin-top: 7vh;
}

/* ===============================================
ハンバーガーボタンのスタイリング
=============================================== */
input[type="checkbox"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

.nav_bg{
  background-color: var(--navy);
  padding: 30px 20px 40px 50px;
  border-bottom-left-radius: 130px;
}

.nav_bg:checked~.nav{
  background-color: transparent;
}

.hamburger {
  display: block;
  width: 50px;
  height: 80px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 101;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.5s;
}

.hamburger span::before {
  top: -10px;
}

.hamburger span::after {
  bottom: -10px;
}

.hamburger::after {
  content: "menu"; /* ハンバーガーの下に「Menu」を表示 */
  position: absolute;
  top:30px; /* ハンバーガーの下に位置 */
  left: 0;
  width: 100%;
  color: #c7d6e2;
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1;
  font-family: 'Century Gothic';
}


input[type="checkbox"]:checked~.nav {
  top: 0;
  right: 0;
}


input[type="checkbox"]:checked+.hamburger span {
  background-color: transparent!important;
}

input[type="checkbox"]:checked+.hamburger span::before {
  top: 0!important;
  transform: rotate(45deg)!important;
}

input[type="checkbox"]:checked+.hamburger span::after {
  bottom: 0!important;
  transform: rotate(-45deg)!important;
  content: ""!important;
  top: 1px!important;

}


.hamburger span::after {
  position: absolute;
  top: 10px;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 1px;
  /* text-transform: uppercase; */
  text-align: center;
  line-height: 3;
  font-family: 'Century Gothic';
}

#check:checked + .nav_bg .hamburger::after {
  content: "menu"; /* バツになった状態でも「Menu」を表示 */
  color: #fff;
  top: 45px; /* 位置調整 */
}

/* ===============================================
メニューのスタイリング
=============================================== */
input[type="checkbox"] {
  display: none; /* 非表示にします */
}

.nav_bg {
  background-color: #eef5fb;
    /* padding: 40px 20px 30px 44px; */
    padding: 38px 30px 33px 40px;
    border-bottom-left-radius: 100px;
}

.hamburger {
  display: block;
  width: 45px;
  height: 50px;
  position: relative;
  cursor: pointer;
  z-index: 101;
}

.hamburger span,
.hamburger span::before,
.hamburger span::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 2px;
  background-color: #c7d6e2;
  transition: all 0.5s;
}

.hamburger span::before {
  top: -10px;
}

.hamburger span::after {
  bottom: -10px;
}

/* クリック時のアニメーション */
#check:checked + .nav_bg .hamburger span {
  background-color: transparent; /* 中央のバーを非表示 */
}

#check:checked + .nav_bg .hamburger span::before {
  transform: rotate(45deg);
  top: 10px;
}

#check:checked + .nav_bg .hamburger span::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* メニュー開閉アニメーション */
.nav {
  position: fixed;
  width: 64%;
  height: 60vh;
  top: -120%;
  right: -120%;
background-color: #aacbdb;
  /* color: #c7d6e2 !important; */
  padding: 50px 0 75px;
  border-bottom-left-radius: 50px;
  transition: top 0.3s ease-in-out, right 0.3s ease-in-out;
}

#check:checked ~ .nav {
  top: 0;
  right: 0;
}

.nav__item a {
  display: block;
  font-size: 20px;
  padding: 20px 0 20px 100px;
  letter-spacing: 2px;
  color: #fff;
}

.nav__item a:hover {
  color: var(--navy);
  background-color: #fff;
}

.nav__lIst li {
  width: 75%;
}


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

  .nav {
    width: 90%;
    height: 70vh;
}
    

.nav__lIst li {
  width: 90%;
}
  .nav__item a {
    display: block;
    font-size: 14px;
    padding: 20px 0 20px 36px;
    letter-spacing: 2px;
    color: #fff;
  }

}

        /* 個別テンプレート */
    
        .page_singlepage {
          max-width: 900px;
          margin: 60px auto 0;
          background: #ffffff;
          padding: 70px 85px 100px;
          border-radius: 10px;
        }
    
        .article_body {
          margin: 50px 10px;
          line-height: 2.5;
        }
    
    
    
        /** -------- タブレット -------- **/
        @media screen and (max-width: 1024px) {
    
          .title {
            font-size: 36px;
            padding-top: 120px;
          }
    
        }
    
        /** -------- スマホ -------- **/
        @media screen and (max-width: 767px) {
    
          .date {
            width: 130px;
            padding-left: 10px;
            padding-right: 10px;
            font-size: 13px;
          }
    
          .news-title {
            flex-wrap: wrap;
          }
    
          .news-content {
            font-size: 13px;
            padding-left: 10px;
    
          }
    
    
        }


  /** -----------------------------------
      footer
  -------------------------------------**/

  /* ===== フッター ===== */
#footer {
  background: #eef5fb;
  padding: .6rem 2rem 2.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
      align-items: flex-end;
}

.footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  list-style: none;
  margin-bottom: 1.5rem;
      margin-top: 40px;
}

.footer-nav__list a {
    color: #2F4A6D;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.footer-nav__list a:hover {
  opacity: 0.7;
}

.footer-sns {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-sns__link {
  display: flex;
  align-items: center;
  gap: 8px;
    color: #2F4A6D;
  text-decoration: none;
  font-size: 13px;
}

.footer-sns__link:hover {
  opacity: 0.7;
}

.footer-shop-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2F4A6D;
  background: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 1rem;
}

.footer-shop-btn:hover {
  opacity: 0.8;
}

.footer-copyright {
  font-size: 11px;
  color: #6F8FA6;
  text-align: right;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
   align-items: flex-start;
  }

  .footer-nav__list {
    flex-direction: column;
}

  .footer-copyright {
    text-align: left;
  }

  .footer-shop-btn {
    width: 100%;
    justify-content: center;
  }
}