/* Theme Name: 2PN Author: SHIROKURO LLC Author URI: https://shirokuro-4696.com/ Description: For 2PN Version: 2.5 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");
:root {
  --accent-color: #ffcce7;
  --text-color-top: #ffffff;
  --text-color-scrolled: #333333;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #ffffff;
  color: #333333;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 100px;
}
.br-mobile {
  display: none;
}
/* 全体的なリセット */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}
/* --- 1. ヘッダー --- */
/* ======== HEADER BASE ======== */
.custom-header {
  position: fixed;
  top: 2px;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 5%;
  box-sizing: border-box;

  background: transparent;
  transition: background-color 0.3s ease, padding 0.3s ease;
}

/* ========  スクロール後  ======== */
.custom-header.scrolled {
  background-color: #ffcce7;
  padding: 12px 5%;
}

/* ======== ロゴサイズ ======== */
.site-logo img {
  height: 60px;
  width: auto;
  transition: height 0.3s ease;
}

.custom-header.scrolled .site-logo img {
  height: 40px;
}

/* ======== ナビゲーション ======== */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-color-top);
  text-decoration: none;
  font-size: 1rem;
  padding: 5px 0;
  transition: color 0.3s ease;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.custom-header.scrolled .nav-links a {
  color: var(--text-color-scrolled);
  text-shadow: none;
}

/* ======== ハンバーガーメニュー ======== */
.hamburger-menu {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 101;
  background-color: #ffcce7;
  padding: 6px;
}

.hamburger-menu .line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ccc !important;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.custom-header.scrolled .hamburger-menu .line {
  background-color: #ccc !important;
}

.hamburger-menu .line1 { top: 0; }
.hamburger-menu .line2 { top: 10px; }
.hamburger-menu .line3 { top: 20px; }

.hamburger-menu.active .line1 {
  transform: translateY(10px) rotate(45deg);
}
.hamburger-menu.active .line2 {
  opacity: 0;
}
.hamburger-menu.active .line3 {
  transform: translateY(-10px) rotate(-45deg);
}
@media screen and (max-width: 768px) {
  .custom-header {
    background-color: rgba(255, 204, 231, 0.9) !important;
    padding: 12px 5%;
    backdrop-filter: none;
  }
  .hamburger-menu {
    background-color: rgba(255, 204, 231, 0.9) !important;
  }
  .custom-header.active,
  .custom-header.menu-open {
    background-color: rgba(255, 204, 231, 0.9) !important;
  }
  .custom-header .nav-links {
    background-color: rgba(255, 204, 231, 0.9) !important;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }
  .custom-header .nav-links a {
    color: #555 !important;
    text-shadow: none;
    padding: 12px 20px;
  }
  .hamburger-menu:active {
  background-color: rgba(255, 204, 231, 0.9) !important; 
}

.nav-links a:active {
  background-color: rgba(255, 204, 231, 0.9) !important;
}

.hamburger-menu,
.nav-links a {
  -webkit-tap-highlight-color: rgba(255, 204, 231, 0.9);
}
}

/* --- 3. ヒーロースライダー --- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  text-align: left;
  line-height: 1.5;
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  .hero-text {
	top: 70%;
    font-size: 1.5rem;
    left: 5%;
    line-height: 1.3;
    white-space: normal;
  }
  
} /* --- 4. セクション共通 --- */
.content-section {
  padding: 100px 5%;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 500;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--accent-color);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
} /* --- 5. 会社概要 --- */
.profile-wrapper-alt {
  max-width: 900px;
  margin: 0 auto;
  color: #555;
  line-height: 2;
}
.profile-section-alt {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}
.profile-header-alt {
  flex: 1;
  min-width: 200px;
}
.profile-body-alt {
  flex: 2;
}
.profile-sub-title-alt {
  font-size: 0.9rem;
  color: var(--accent-color);
  letter-spacing: 2px;
}
.profile-main-title-alt {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 5px;
  line-height: 1.4;
  color: #333;
}
.title-divider-alt {
  border: none;
  height: 2px;
  width: 80px;
  background-color: #c4b6b2;
  margin: 20px 0 0 0;
}
.profile-body-alt p {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 400;
}
.profile-body-alt strong {
  font-weight: 700;
  color: #333;
} /* --- 6. 事業内容 --- */
.service-map-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.service-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #ccc;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.service-card h3 {
  margin: 0 0 20px 0;
  font-size: 1.3rem;
  font-weight: 500;
  color: #333;
}
.service-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
}
.service-card li {
  padding-left: 1.5em;
  text-indent: -1.5em;
  margin-bottom: 10px;
  line-height: 1.8;
}
.service-card li::before {
  content: "・";
  color: #c4b6b2;
  margin-right: 0.8em;
  font-weight: bold;
}
.service-card.color-pink {
  border-top-color: var(--accent-color);
}
.service-card.color-blue {
  border-top-color: #d6eaf8;
}
.service-card.color-green {
  border-top-color: #d5f5e3;
}
.service-card.color-orange {
  border-top-color: #fdebd0;
}
.service-card.color-grey {
  border-top-color: #eaecee;
} /* --- 7. 各種方針 & 取扱金融機関 --- */
.policy-docs-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}
.doc-card {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  background-color: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 12px;
  text-decoration: none;
  color: #555;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-color: #e8d7d3;
}
.doc-icon {
  flex-shrink: 0;
  margin-right: 20px;
}
.doc-icon svg {
  width: 32px;
  height: 32px;
  fill: #c4b6b2;
}
.doc-text {
  flex-grow: 1;
}
.doc-title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
}
.doc-arrow {
  font-size: 1.5rem;
  color: #ccc;
  transition: transform 0.3s ease, color 0.3s ease;
  padding-left: 15px;
}
.doc-card:hover .doc-arrow {
  transform: translateX(5px);
  color: #c4b6b2;
}
.accordion {
  text-align: center;
  max-width: 1200px;
  margin: 80px auto 0 auto;
}
.accordion-title {
  font-size: 1.5em;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333;
  padding-bottom: 18px;
  border-bottom: 3px solid #ddd;
  margin-bottom: 18px;
  transition: color 0.3s ease, border-color 0.3s ease;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}
.accordion-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}
.accordion-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.6s ease;
}
.accordion-content.open {
  max-height: 2000px;
  opacity: 1;
}
.accordion-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.accordion-content li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  transition: transform 0.25s ease;
  color: #555;
}
.accordion-content li::before {
  content: "＞";
  margin-right: 6px;
  color: #555;
  transition: transform 0.25s ease;
}
.accordion-content a {
  color: #555;
  text-decoration: none;
  transition: color 0.25s ease;
}
.accordion-content li:hover {
  transform: translateX(5px);
} /* --- 8. Information --- */
.information-section {
  background-color: #f8f8f8;
}
.information-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}
.info-column,
.form-column {
  width: 100%;
}
.access-info-wrapper {
  margin: 0;
}
.access-info-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #eee;
}
.access-info-card h3 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
  margin: 0 0 35px 0;
}
.info-item {
  display: flex;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 25px;
}
.info-item:last-child {
  margin-bottom: 0;
}
.info-icon {
  flex-shrink: 0;
  margin-right: 20px;
  margin-top: 5px;
}
.info-icon svg {
  width: 22px;
  height: 22px;
  fill: #c4b6b2;
}
.info-text {
  color: #555;
  line-height: 1.8;
}
.info-text a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}
.info-text a:hover {
  color: #333;
}
.info-text span {
  font-size: 0.9rem;
  color: #888;
  display: block;
}
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 30px;
  border: 1px solid #eee;
}
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-form h3 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #333;
  margin: 0 0 15px 0;
}
.contact-form p {
  margin: 0 0 30px 0;
  color: #555;
}
.wpcf7-form .form-group {
  margin-bottom: 20px;
}
.wpcf7-form label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
}
.wpcf7-form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 204, 231, 0.5);
}
.wpcf7-textarea {
  resize: vertical;
  min-height: 120px;
}
.wpcf7-submit {
  display: inline-block;
  width: 100%;
  padding: 15px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.wpcf7-submit:hover {
  background-color: #555;
  transform: translateY(-2px);
} /* --- 9. フッター --- */
.site-footer {
  background-color: #333;
  color: #ccc;
  text-align: center;
  padding: 30px 5%;
  font-size: 0.9rem;
}
.site-footer p {
  margin: 0;
} /* --- 10. レスポンシブ対応 --- */
@media (max-width: 767px) {
  .br-mobile {
    display: initial;
  }
  #opening-animation-container {
    /* ★最終修正: スマホではコンテナ背景をアクセントカラー単色に設定 */
    background: var(--accent-color);
  }
  .content-section {
    padding: 80px 5%;
  }
  .custom-header {
    background-color: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 5%;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 0;
  }
  .custom-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  .hamburger-menu {
    display: block;
  }
  .custom-header.scrolled .hamburger-menu .line {
    background-color: var(--text-color-scrolled);
  }
  .hamburger-menu.active .line {
    background-color: var(--text-color-top);
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
  }
  .nav-links.active {
    display: flex;
    transform: translateX(0);
  }
  .nav-links a {
    font-size: 1.5rem;
    text-shadow: none;
    color: var(--text-color-top);
  }
  .site-logo img {
    height: 35px;
  }
  .custom-header.scrolled .site-logo img {
    height: 30px;
  }
  .hero-text {
    white-space: normal;
    font-size: 1.6rem;
    width: 85%;
    left: 8%;
    transform: translateY(-50%);
    text-align: left;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-subtitle {
    font-size: 0.9rem;
  }
  .profile-section-alt {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .accordion-content {
    grid-template-columns: 1fr;
  }
  .information-grid {
    grid-template-columns: 1fr;
  }
}
