/* 秋山経営技術研究所 - 共通スタイルシート */
/* ==================== CSS変数 ==================== */ :root {
  --font-size: 16px;
  --background: #ffffff;
  --foreground: #252525;
  --primary: #2F5597;
  --secondary: #333;
  --accent: #e0e8e8;
  --border: rgba(0, 0, 0, 0.1);
  --spacing-sm: 20px;
  --spacing-md: 40px;
  --spacing-lg: 60px;
  --spacing-xl: 120px;
}
/* ==================== リセット ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* ==================== ベーススタイル ==================== */
html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.8;
  letter-spacing: 1px;
  font-weight: 500;
}
/* ==================== タイポグラフィ ==================== */
h1 {
  font-size: 3.25rem; /* 52px */
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: 8px;
}
h2 {
  font-size: 2rem; /* 32px */
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary);
  letter-spacing: 2px;
}
h3 {
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary);
  letter-spacing: 2px;
}
h4 {
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary);
}
p {}
a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.7;
}
img {
  max-width: 100%;
  height: auto;
}
@media (min-width: 961px) {
a[href^="tel:"] {
	pointer-events: none;
	}}

  main{
    overflow: hidden;
  }
/* ==================== ヘッダー ==================== */
.header {
  background-color: #fff;
  height: 60px;
  /*box-shadow: 0 2px 5px rgba(0,0,0,0.05);*/
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header.home {
  background-color: #F6FBFF;
}
.header-container {
  width: 100%;
  /*max-width: 1200px;*/
  margin: 0 auto;
  padding: 0 0 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 1002; /* ロゴとボタンを最前面に */
}
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}
.logo-text h1 {
  font-size: 1.25rem;
  color: var(--text-dark);
  letter-spacing: 0.8px;
  margin: 0;
  font-weight: 500;
  white-space: nowrap;
}
/* ==================== チェックボックス（非表示） ==================== */
#nav-input {
  display: none;
}
/* ==================== ナビゲーション（デスクトップ） ==================== */
.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-left: auto;
  height: 100%;
}
.nav a {
  text-decoration: none;
  letter-spacing: 1px;
  padding: 0;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}
.nav a:hover {
  color: #871027;
}
.nav .btn-contact {
  background-color: #871027;
  color: #fff;
  padding: 0 26px;
  font-size: 1rem;
  font-weight: 500;
  height: 60px;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
}.nav .btn-contact:hover {
  color: #fff;
}
/* ==================== ハンバーガーボタン ==================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.hamburger-box {
  position: relative;
  width: 30px;
  height: 20px;
}
.hamburger span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}
.hamburger span:nth-child(1) {
  top: 0;
}
.hamburger span:nth-child(2) {
  top: 9px;
}
.hamburger span:nth-child(3) {
  top: 18px;
}
/* チェックが入った時のアニメーション */
#nav-input:checked ~ .header .hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
#nav-input:checked ~ .header .hamburger span:nth-child(2) {
  opacity: 0;
}
#nav-input:checked ~ .header .hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
/* ==================== モバイルメニュー ==================== */
@media (max-width: 960px) {
  .hamburger {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: auto;
    background-color: #fff;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    /* 上に隠しておく設定 */
    transform: translateY(-150%);
    transition: transform 0.4s ease-in-out, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding-top: 0;
  }
  /* チェックが入った時に出現（スライドダウン） */
  #nav-input:checked ~ .header .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    width: 100%;
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    box-sizing: border-box;
    text-align: center;
  }
  .nav .btn-contact {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    height: 60px;
  }
  .header-container {
    padding: 0;
    padding-left: 24px;
  }

}
/* ==================== ボタン ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary {}
.btn-primary:hover {
  transform: translateY(-2px);
  color: var(--primary);
}
.btn-secondary {
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background-color: var(--primary);
  color: white;
}
.btn-sm {
  font-size: 0.875rem; /* 14px */
  padding: 10px 20px;
}
/* ==================== フッター ==================== */
.footer {
  background-color: #F6FBFF;
  padding: var(--spacing-lg) 0 var(--spacing-md);
}
.footer-container {
  /* max-width: 1440px;*/
  margin: 0 auto;
  padding: 0 30px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}
.footer-content h4 {
  margin-bottom: 20px;
}
.footer-section p, .footer-section a {
  font-size: 0.875rem; /* 14px */
  line-height: 2;
}
.footer-title, .footer-title a {
  margin-bottom: 20px;
  font-size: 1.125rem; /* 18px */
}
.footer-section a:hover {}
.footer-section-text {
  margin-top: 20px;
}
.footer-section .btn {
  margin-top: 20px;
}
.footer-section-nav {
  display: flex;
  gap: 50px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-md);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.875rem; /* 14px */
}
/* ==================== セクション ==================== */
.section {
  padding: var(--spacing-xl) 0;
}
.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}
.section-lg .section-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}
.section-header {
  margin-bottom: var(--spacing-lg);
	border-left: 6px solid #871027;
	padding-left: .5em;
}
.section-subtitle {
  margin-bottom:0px;
  font-family: 'Inter', sans-serif;
}
.section-title {
  font-size: 2rem; /* 32px */
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}
.section-description {
  letter-spacing: 2px;
  margin-top: var(--spacing-md);
  max-width: 800px;
}
/* ==================== グリッド ==================== */
.grid {
  display: grid;
  gap: var(--spacing-md);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
/* ==================== ユーティリティクラス ==================== */
.bg-white {
  background-color: white;
}
.bg-light {
  background-color: #F3F6F9;
}
.text-center {
  text-align: center;
}
.mt-sm {
  margin-top: 10px;
}
.mt-md {
  margin-top: var(--spacing-md)!important;
}
.mt-lg {
  margin-top: var(--spacing-lg)!important;
}
/* ==================== ヒーローセクション ==================== */
.hero {
  position: relative;
  /*min-height: 700px;*/
  background-color: #F6FBFF;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../images/fv.png);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 60% auto;
  border-bottom: 6px solid #871027;
}
.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0px;
  position: relative;
  z-index: 2;
  width: 100%;
background: #F6FBFF;
background: linear-gradient(90deg,rgba(246, 251, 255, 1) 10%, rgba(246, 251, 255, 0) 100%);
}
.hero-content {
  width: 100%;
	height: 100%;
  position: relative;
  z-index: 2;
	padding: 140px 30px;
	
}
.hero-subtitle {
  font-size: 2.125rem; /* 34px */
  font-weight: 500;
  letter-spacing: 5px;
  line-height: 1.4;
  margin-bottom: 20px;
  font-family: 'Hiragino Sans', sans-serif;
}
.hero-title {
  font-size: 3.25rem; /* 52px */
  font-weight: 700;
  color: var(--primary);
  ;
  letter-spacing: 8px;
  line-height: 1.09;
  margin: 20px 0;
}
.hero-description {
  font-size: 1.375rem; /* 22px */
  font-weight: 500;
  letter-spacing: 5px;
  line-height: 1.13;
  margin-bottom: 40px;
}
.hero-title-md {
  font-size: 3.125rem; /* 50px */
  font-weight: 700;
  color: #2F5597;
  letter-spacing: 1.5px;
  line-height: 1.23;
  margin: 0 0 10px 0;
  position: relative;
  z-index: 2;
}
.hero-subtitle-sm {
  font-size: 1.125rem; /* 18px */
  letter-spacing: 0.54px;
  line-height: 1.56;
	font-weight: 500;
}
.bg-primary {
  background-color: #334463;
}
.text-white {
  color: white;
}
.btn-white {
  background-color: white;
  color: var(--primary);
  border: 2px solid white;
}
.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.use-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
	padding: 70px 30px 140px 30px;
}
.use-hero-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0px;
  position: relative;
  z-index: 2;
  width: 100%;
}
/* ==================== コンタクトセクション ==================== */
.section.contact {
  background-image: url(../images/contact_bg.png);
  background-position: left top;
  background-repeat: no-repeat;
}
.contact-area {
  display: flex;
  justify-content: center;
  gap: 150px;
}
.contact-header {}
.contact-header .section-title {
  font-size: 2.5em;
}
.contact-subtitle {
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  color: white;
  letter-spacing: 0.54px;
  line-height: 1.56;
  margin-top: 20px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1080px;
}
.contact-card {
  padding: 20px 60px;
  display: flex;
  border: 2px solid #fff;
  align-items: center;
  gap: 20px;
  min-width: 490px;
  min-height: 9rem;
}
.contact-icon {
  display: flex;
}
.contact-text {
  color: #fff;
}
.contact-label {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 2px;
}
.contact-mail {
  font-size: 1.8rem; /* 32px */
  font-weight: 700;
}
.contact-phone {
  font-size: 1.8rem; /* 32px */
  font-weight: 700;
}
/* ==================== レスポンシブ ==================== */
@media (max-width: 1500px) {
.hero {
  background-size: auto 100%;
}
}
@media (max-width: 1280px) {
.hero-content {
  padding: 10vw 30px;
}
	.hero-subtitle {
  font-size: 2.5vw;
}
	.hero-title {
  font-size: 4.5vw;
}
	.hero-description {
  font-size: 2vw;
}
}
@media (max-width: 960px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
		.hero-subtitle {
  font-size: 3.5vw;
}
	.hero-title {
  font-size: 5.5vw;
}
	.hero-description {
  font-size: 3vw;
}
  .contact-area {
    flex-direction: column;
    gap: 40px;
  }
  .contact-header {
    text-align: center;
  }
  .contact-methods {
    flex-direction: row;
    gap: 20px;
  }
  .contact-card {
    padding: 10px 10px;
    display: flex;
    border: 2px solid #fff;
    align-items: center;
    gap: 20px;
    min-width: 0%;
    width: 100%;
  }
  .contact-label {
    font-size: 1.6vw;
  }
  .contact-mail, .contact-phone {
    font-size: 3.5vw;
  }
	.use-hero {
  padding: 50px 20px 100px 20px;
}
	.section-header {
  margin-bottom: var(--spacing-md);
}
}
@media (max-width: 768px) {
  .header-container {
    padding: 0 0px 0 20px;
  }
  .nav {
    font-size: 0.875rem; /* 14px */
  }
  h1 {
    font-size: 2.25rem; /* 36px */
  }
  h2 {
    font-size: 1.5rem; /* 24px */
  }
  .footer-content {
    flex-direction: column;
  }
  .about-content {
    padding-right: 0px !important;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: var(--spacing-lg) 0;
  }
	.hero-title-md {
  font-size: 2.5rem;
}
	.section-header {
  margin-bottom: var(--spacing-sm);
}
}
@media (max-width: 580px) {
	.hero-subtitle {
  font-size: 5.5vw;
}
  .hero-content {
    padding: 10vw 20px;
  }
	.hero-title {
  font-size: 7.5vw;
}
	.hero-description {
  font-size: 4vw;
}
  .section-title {
    font-size: 7vw !important;
  }
  .essay-layout .section-header h2 br {
    display: inline-block;
  }
  .essay-item {
    padding: 24px 0 !important;
  }
  .contact-methods {
    flex-direction: column;
    gap: 20px;
  }
  .contact-label {
    font-size: 3vw;
  }
  .contact-mail, .contact-phone {
    font-size: 6.5vw;
  }
  .section {
    padding: var(--spacing-md) 0;
  }
  .footer-section-nav {
    flex-direction: column;
    gap: 0px;
  }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }
	.hero-title-md {
  font-size: 9vw;
}
	.use-hero {
  padding: 40px 20px 60px 20px;
}
.hero-container {
background: #F6FBFF;
background: linear-gradient(90deg,rgba(246, 251, 255, .8) 70%, rgba(246, 251, 255, 0) 100%);
}
.mt-lg {
  margin-top: 10px !important;
}
.mt-md {
  margin-top: 10px !important;
}
.footer-title, .footer-title a {
  margin-bottom: 0px;
}
}