/*
Theme Name: Akatsuki Theme
Author: v0
Description: A sophisticated theme for Akatsuki Inc. inspired by modern Japanese web design.
Version: 1.0.3
*/

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-primary: #0f172a;
  --color-accent: #c5a059;
  --color-gray: #f3f4f6;
  --color-border: #e5e7eb;
  --font-serif: "Zen Old Mincho", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --container-width: 1200px;
  --header-height: 80px;
  --spacing-section: 120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.4;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: var(--spacing-section) 0;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--color-primary);
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: transparent;
  color: var(--color-primary);
}

.hero-btn-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.site-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
}

.nav-btn,
.nav-btn-outline {
  padding: 10px 20px;
  font-size: 0.8rem;
  border: 1px solid var(--color-primary);
  transition: all 0.3s ease;
}

.nav-btn {
  background-color: var(--color-primary);
  color: #fff;
}

.nav-btn:hover {
  background-color: #fff;
  color: var(--color-primary);
}

.nav-btn-outline {
  background-color: transparent;
  color: var(--color-primary);
}

.nav-btn-outline:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.nav-btn::after,
.nav-btn-outline::after {
  display: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-content {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  background-color: #fff;
  position: relative;
  z-index: 2;
}

.hero-visual {
  width: 50%;
  height: 100%;
  background-color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.menu-close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-close-btn span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
}

.menu-close-btn span:first-child {
  transform: rotate(45deg);
}

.menu-close-btn span:last-child {
  transform: rotate(-45deg);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1.4;
  margin-bottom: 40px;
  color: var(--color-primary);
}

.hero-tagline span {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--color-accent);
  font-family: var(--font-sans);
  letter-spacing: 0.2em;
}

.hero-desc {
  font-size: 1rem;
  color: #666;
  max-width: 480px;
  margin-bottom: 40px;
}

.mission-section {
  background-color: var(--color-gray);
  position: relative;
}

.section-title {
  font-size: 4rem;
  font-family: var(--font-serif);
  color: rgba(0, 0, 0, 0.05);
  line-height: 1;
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 0;
}

.mission-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 60px auto 0;
}

.mission-heading {
  font-size: 2rem;
  margin-bottom: 40px;
  font-family: var(--font-serif);
}

.mission-text {
  font-size: 1.1rem;
  line-height: 2.2;
  color: #444;
}

.mission-highlight {
  color: var(--color-primary);
  font-weight: 700;
  border-bottom: 1px solid var(--color-accent);
}

.services-section {
  background-color: #fff;
}

.services-header {
  margin-bottom: 80px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 20px;
  right: 30px;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.service-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
  flex-grow: 1;
}

.service-btn-wrap {
  margin-top: auto;
}

.service-btn {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.service-btn:hover {
  color: var(--color-accent);
  transform: translateX(5px);
}

.resources-section {
  background-color: #fff;
}

.resource-label {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.resource-btn-wrap {
  margin-top: 15px;
}

.resource-download-btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.resource-download-btn:hover {
  background-color: var(--color-accent);
}

.books-section {
  background-color: var(--color-gray);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.book-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  width: 100%;
}

.book-card:hover {
  transform: translateY(-5px);
}

.book-cover {
  width: 100%;
  max-width: 180px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
}

.book-cover img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
  display: block;
}

.book-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.no-cover {
  width: 100%;
  height: 350px;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.book-info {
  width: 100%;
}

.book-label {
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.book-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.5;
}

.external-icon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
}

.resource-download-main {
  background-color: #fff;
}

.resource-detail {
  padding: 80px 0;
}

.resource-detail-content {
  max-width: 800px;
  margin: 0 auto;
}

.resource-thumbnail-large {
  margin-bottom: 40px;
  text-align: center;
}

.resource-thumbnail-large img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.resource-body {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text);
}

.resource-body h2 {
  margin-top: 2.5em;
  margin-bottom: 1.2em;
  padding: 0.8em 1em;
  background-color: var(--color-gray);
  border-left: 4px solid var(--color-accent);
  color: var(--color-primary);
  font-size: 1.5rem;
}

.resource-body h3 {
  margin-top: 2em;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-primary);
  font-size: 1.3rem;
}

.resource-body h4 {
  margin-top: 1.8em;
  margin-bottom: 0.8em;
  padding-left: 1em;
  border-left: 3px solid var(--color-accent);
  color: var(--color-primary);
  font-size: 1.15rem;
}

.resource-body h5 {
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  color: var(--color-primary);
  font-size: 1.05rem;
  position: relative;
  padding-left: 1em;
}

.resource-body h5::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.8em;
}

.resource-body p {
  margin-bottom: 1.8em;
}

.resource-body ul,
.resource-body ol {
  margin-left: 1.5em;
  margin-bottom: 1.8em;
}

.resource-body li {
  margin-bottom: 0.8em;
}

.site-footer {
  background-color: var(--color-primary);
  color: #fff;
  padding: 80px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 60px;
}

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

.footer-logo h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.footer-address {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.8;
  text-align: left;
}

.footer-links ul {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

.column-list {
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid #eee;
}

.column-item {
  border-bottom: 1px solid #eee;
}

.column-link {
  display: flex;
  align-items: center;
  padding: 30px 20px;
  color: var(--color-text);
  transition: padding-left 0.3s ease;
}

.column-item:hover .column-link {
  background-color: #fff;
  padding-left: 30px;
}

.column-meta {
  min-width: 150px;
  font-size: 0.9rem;
  color: #888;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.column-cat {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.column-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  flex-grow: 1;
  margin: 0 20px;
  line-height: 1.6;
}

.column-arrow {
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.column-item:hover .column-arrow {
  opacity: 1;
  transform: translateX(0);
}

.page-header {
  height: 40vh;
  min-height: 300px;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: var(--header-height);
}

.page-title-wrap {
  text-align: center;
}

.page-title-en {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
}

.post-content-area {
  padding: 80px 0 120px;
  max-width: 800px;
  margin: 0 auto;
}

.post-content {
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.post-content p {
  margin-bottom: 1.8em;
}

.post-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2.5em;
  margin-bottom: 1.2em;
  padding: 0.8em 1em;
  background-color: var(--color-gray);
  border-left: 4px solid var(--color-accent);
}

.post-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2em;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--color-accent);
}

.post-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1.8em;
  margin-bottom: 0.8em;
  padding-left: 1em;
  border-left: 3px solid var(--color-accent);
}

.post-content h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  position: relative;
  padding-left: 1em;
}

.post-content h5::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.8em;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.8em;
  padding-left: 1.5em;
}

.post-content li {
  margin-bottom: 0.8em;
}

.post-content blockquote {
  margin: 2em 0;
  padding: 1.5em 2em;
  background-color: var(--color-gray);
  border-left: 4px solid var(--color-accent);
  font-style: italic;
}

.post-content img {
  margin: 2em auto;
  display: block;
}

.post-content table {
  margin: 2em 0;
  width: 100%;
  border-collapse: collapse;
}

.post-content th,
.post-content td {
  padding: 0.8em 1em;
  border: 1px solid var(--color-border);
}

.post-content th {
  background-color: var(--color-gray);
  font-weight: 700;
}

.breadcrumbs-wrapper {
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.breadcrumbs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
  color: #888;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: ">";
  margin-left: 10px;
  font-size: 0.8em;
  color: #ccc;
}

.breadcrumbs a {
  color: #666;
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.column-card {
  background: #fff;
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.column-thumbnail {
  height: 200px;
  background-color: #eee;
  overflow: hidden;
}

.column-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.column-card:hover .column-thumbnail img {
  transform: scale(1.05);
}

.no-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.8rem;
}

.column-card-content {
  padding: 20px;
}

.column-card .column-title {
  font-size: 1rem;
  margin: 10px 0 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-primary);
  font-weight: bold;
}

.service-intro-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.service-intro-title {
  font-size: 2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.service-diagram-wrapper {
  margin-top: 40px;
  text-align: center;
}

.service-diagram-img {
  max-width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bg-gray {
  background-color: var(--color-gray);
}

.section-heading-center {
  text-align: center;
  font-size: 2.5rem;
  font-family: var(--font-serif);
  margin-bottom: 20px;
  color: var(--color-primary);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.process-card {
  background: #fff;
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.process-icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 20px;
  font-family: var(--font-serif);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
  padding-bottom: 5px;
}

.portfolio-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.portfolio-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
  font-size: 1rem;
}

.portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-item-inner {
  width: 100%;
  aspect-ratio: 3 / 4;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.03);
}

.cta-section {
  background-color: var(--color-primary);
  color: #fff;
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-btn-wrap {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
/* 不完全なポップアップCTAスタイルを削除し、別ファイル(popup-responsive.css)で管理 */
