@charset "UTF-8";

/*
Theme Name: viscom20260201
Description: viscom2025
Version: 1.0
Author: viscom
*/

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+JP:wght@100;200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=PT+Mono&display=swap");

/* ============================================
   CSS変数（使用中のみ）
============================================ */
:root {
  /* カラー */
  --color-white: #fff;
  --color-gray30: #4d4d4d; /*これがデフォルトカラー */
  --color-gray50: #808080;
  --color-gray70: #b3b3b3;
  --color-gray95: #f2f2f2;

  /* フォント系 */
  --font-family-ja: "IBM Plex Sans JP", sans-serif;
  --font-family-en: "PT Mono", monospace;
  --font-size-12: 1.2rem;
  --font-size-16: 1.6rem;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  --line-height-base: 1.5;
  --letter-spacing: 0.05em;
}

/* ==============================
   全体レイアウト（anet-style優先）
================================ */
body {
  display: flex;
  min-height: 100vh;
  margin: 0;
  font-family: unset;
  overflow-y: auto; /* 通常のスクロールに変更 */
}

html {
  font-size: 62.5% !important;
}

img {
  width: 100%;
}

.pc-only {
  display: none;
}
.tab-only {
  display: none;
}
.sp-only {
  display: block;
}
@media screen and (min-width: 451px) {
  .sp-only {
    display: none;
  }
  .tab-only {
    display: block;
  }
}
@media screen and (min-width: 1001px) {
  .tab-only {
    display: none;
  }
  .pc-only {
    display: block;
  }
}

/* ==============================
   サイドバー
================================ */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px; /* 画面外へ隠す */
  width: 259px;
  height: 100vh;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ddd;
  transition: left 0.3s ease;
  z-index: 10000;
  overflow-y: auto;
}

/* トップページ、投稿記事ページではサイドバーを非表示 */
body.is-front-page .sidebar,
body.is-special-page .sidebar,
body.is-single-post .sidebar {
  display: none;
}

/* スマホで "open" クラスが付いたら表示 */
.sidebar.open {
  left: 0;
}

/* サイドバーが開いた時のオーバーレイ */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

@media (min-width: 768px) {
  .sidebar-overlay {
    display: none !important;
  }
}
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  height: 58px;
  position: relative;
  z-index: 1;
}

.anet_logo {
  display: flex;
  align-items: center;
  z-index: 1;
}
.sidebar-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.close-sidebar {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.close-sidebar:hover,
.close-sidebar:active {
  opacity: 0.7;
}
.sidebar-header .language {
  font-size: 11px;
  padding: 4px 8px;
  background: #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
}
.anet-logo {
  width: 28px;
  height: auto;
}

.sidebar nav {
  margin: 0 6px;
}

.sidebar nav a {
  display: block;
  padding: 6px 8px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

@media (min-width: 768px) {
  /* トップページ、privacy、terms、contact、投稿記事ページ以外ではサイドバーを表示 */
  body:not(.is-front-page):not(.is-special-page):not(.is-single-post) .sidebar {
    position: relative;
    left: 0;
    width: 259px;
    height: auto;
  }
  .close-sidebar {
    display: none;
  }
  .sidebar nav a:hover {
    background-color: #ececec;
    border-radius: 6px;
  }
}

/* ==============================
   メインエリア
================================ */
.main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0; /* flexboxの子要素のオーバーフローを許可 */
}
/* ==============================
   header
================================ */
.main-header {
  height: 58px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  width: 90%;
}

.main-header .header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-header .logo-link {
  text-decoration: none;
}

.main-header .logo {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  font-family: var(--font-family-en);
}

.main-header .header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

/* ヘッダーナビゲーション */
.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.header-nav a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 8px;
  transition: opacity 0.2s ease;
}

.header-nav a:hover {
  opacity: 0.7;
}

.header-nav .language {
  font-size: 11px;
  padding: 4px 8px;
  background: #e0e0e0;
  border-radius: 12px;
  color: #333;
}

/* ハンバーガーメニューボタン（トップページ用） */
.header-menu-btn {
  color: #000;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  z-index: 10001;
  position: relative;
  width: 24px;
  height: 14px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.header-menu-btn::before,
.header-menu-btn::after,
.header-menu-btn span {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background-color: #d9d9d9;
  border-radius: 1px;
  transition: all 0.3s ease;
  position: absolute;
  left: 0;
}

.header-menu-btn::before {
  top: 0;
}

.header-menu-btn::after {
  bottom: 0;
}

.header-menu-btn span {
  top: 50%;
  transform: translateY(-50%);
}

.header-menu-btn:hover,
.header-menu-btn:active {
  opacity: 0.7;
}

.header-menu-btn:focus {
  outline: 2px solid #333;
  outline-offset: 2px;
}

/* ハンバーガーメニューが開いた時のスタイル */
.header-menu-btn.active::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.header-menu-btn.active::after {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.header-menu-btn.active span {
  opacity: 0;
}

/* モバイルメニュー */
.header-nav-mobile {
  display: none;
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  padding: 20px 0;
  max-height: calc(100vh - 58px);
  overflow-y: auto;
}

.header-nav-mobile.active {
  display: block;
}

.header-nav-mobile a {
  display: block;
  padding: 15px 90px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.header-nav-mobile a:last-child {
  border-bottom: none;
}

.header-nav-mobile a:hover {
  background-color: #f5f5f5;
}

/* スマホではヘッダーメニューを非表示、ハンバーガーボタンを表示 */
@media (max-width: 767px) {
  .header-nav {
    display: none;
  }
  .header-menu-btn {
    display: flex;
  }
  .main-footer {
    width: 90%;
    margin: 0 auto;
    padding: 0;
  }
  .main-footer .copyright,
  .main-footer .footer-links {
    padding: 0 20px;
  }
}

/* タブレット以上ではヘッダーメニューを表示、ハンバーガーボタンを非表示 */
@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
  .header-menu-btn {
    display: none;
  }
  .header-nav-mobile {
    display: none !important;
  }
}

.open-app {
  padding: 0.6em 1.2em;
  border-radius: 6px;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
}
.menu-btn {
  color: #000;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  z-index: 10001;
  position: relative;
  width: 24px;
  height: 14px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.menu-btn::before,
.menu-btn::after,
.menu-btn span {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background-color: #d9d9d9;
  border-radius: 1px;
}

.menu-btn span {
  display: block;
}

.menu-btn:hover,
.menu-btn:active {
  opacity: 0.7;
}

.menu-btn:focus {
  outline: 2px solid #333;
  outline-offset: 2px;
}

/* サイドバーが開いた時はハンバーガーボタンを非表示 */
.sidebar.open ~ .main-area .menu-btn {
  display: none;
}

@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }
}
/* ==============================
   footer
================================ */
.main-footer {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  font-size: 12px;
  font-weight: 400;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

.main-footer .copyright {
  margin: 0;
  font-size: 12px;
}

.main-footer .footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-footer .footer-links a {
  font-size: 10px;
  color: #333;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.main-footer .footer-links a:hover {
  opacity: 0.7;
}


/* ==============================
   content
================================ */
.content {
  overflow-y: auto; /* ★ ここがアネット方式 */
  -webkit-overflow-scrolling: touch;
  font-size: 16px; /* 基本フォントサイズを16pxに設定（remの基準をリセット） */
}

/* ==============================
   pタグの基本スタイル（統一）
================================ */
p {
  font-family: var(--font-family-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #333;
  margin-bottom: 1.5rem;
}
/* ==============================
   Sections
================================ */
.section {
  width: 90%;
  margin: 0 auto;
}

.section-bg {
  background: #f3f3f3;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-weight: var(--font-weight-medium);
}
@media (min-width: 768px) {
  .section {
    max-width: 1000px;
    margin: 0 auto;
  }
}
/* ==============================
   hero
================================ */
.hero {
  margin-bottom: 50px;
  background: #fff;
  padding: 4rem 0;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.hero-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-direction: column;
}

.hero-copy {
  flex: 0 1 auto;
  text-align: left;
}

.hero-title {
  font-weight: bold;
  font-size: 28px;
  line-height: 1.4;
  color: #333;
  font-family: var(--font-family-en);
  letter-spacing: normal;
  margin-bottom: 1rem;
}


.hero-button {
  flex: 0 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-image {
  width: 100%;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 1rem;
    margin-bottom: 200px;
    width: 100%;
  }
  
  .main-header {
    width: 100%;
  }
  
  .main-footer {
    padding: 0 20px;
  }
  
  #features {
    padding: 0;
  }
  
  .news-section {
    padding: 0;
  }
  
  .cta-section {
    padding: 0;
  }
  
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-title {
    font-size: 24px;
  }
}

.btn-primary {
  background: #535353;
  color: #fff;
  padding: 15px 1.2em;
  width: 290px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: medium;
  line-height: 1;
}

.btn-secondary {
  border: 2px solid #333;
  padding: 1rem 2rem;
  border-radius: 12px;
  color: #333;
  text-decoration: none;
}

@media (min-width: 768px) {
  .btn-primary {
    width: auto;
    min-width: 200px;
  }
}

/* ==============================
   CTA Section
================================ */
.cta-section {
  margin-bottom: 50px;
  text-align: center;
  padding: 0 90px;
}

.cta-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .cta-section {
    margin-bottom: 200px;
  }
}

/* ==============================
   intro
================================ */
.intro,
.architecture {
  margin-bottom: 50px;
  background: #f3f3f3;
  border-radius: 12px;
  padding: 60px 30px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}

.intro-inr {
  max-width: 900px;
  margin: 0 auto;
}

.intro-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.intro-text {
  flex: 5;
}

.intro-text .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.intro-text p,
.architecture .intro-text p,
#features p {
  font-family: var(--font-family-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #333;
  margin-bottom: 2.5rem;
}

/* pタグ内のタイトル部分（<strong>タグで囲まれた部分）のスタイル */
.intro-text p > strong:first-child,
.architecture .intro-text p > strong:first-child,
#features p > strong:first-child {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 0.4rem;
  margin-top: 0;
  color: #333;
  letter-spacing: 0.05em;
}

.intro-image {
  flex: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.anet-face {
  width: 100%;
  margin: 0;
}

.anet-face img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .intro,
  .architecture {
    margin-bottom: 200px;
    padding: 150px 50px;
  }
  
  .intro-content {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
  
  .intro-text {
    flex: 5;
  }
  
  .intro-image {
    flex: 3;
  }
  
  .anet-face {
    width: 200px;
  }
}

/* ==============================
   Features
================================ */
#features {
  margin-bottom: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

/* ★ スマホ（〜767px）：3 カラム（タイル型） */
.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 50px;
}

.feature-card {
  background: #f3f3f3;
  padding: 40px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.feature-card h3 {
  font-weight: var(--font-weight-regular);
  margin: 0;
}

/* ★ タブレット以上（768px〜）：4 カラム */
@media (min-width: 768px) {
  .tools {
    grid-template-columns: repeat(4, 1fr);
  }

  #features {
    margin-bottom: 200px;
    width: 100%;
  }
}

/* ==============================
   News
================================ */
.news-section {
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
}

.news-section .section-title {
  text-align: left;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-item {
  padding: 0;
  transition: none;
}

.news-item:hover {
  background: transparent;
}

.news-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.news-date {
  font-size: 0.875rem;
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
  margin: 0;
  flex: 1;
  order: -1;
}

@media (min-width: 768px) {
  .news-section {
    margin-bottom: 200px;
    width: 100%;
  }
  
  
  .news-title {
    font-size: 16px;
  }
  
}

/* ==============================
   About
================================ */
#about {
  margin-bottom: 100px;
  padding: 20px;
  border-radius: 12px;
}
.about {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.about-image {
  flex: 1;
  background: #d9d9d9;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
@media (min-width: 768px) {
  #about {
    padding: 50px;
  }
  .feature-card {
    padding: 2rem;
  }
}
/* ==============================
   contact
================================ */
/* contactフォームはrulesSection内で使用 */
.rulesSection .contact-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  color: #222;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  transition: border 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0d0d0d;
}

.submit-btn {
  margin-top: 10px;
  width: 160px;
  align-self: flex-start;
  padding: 12px 18px;
  background: #0d0d0d;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

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

/* Contact Form 7の送信ボタンにスタイルを適用 */
.contact-section .wpcf7-submit,
.contact-section .wpcf7-form input[type="submit"],
.contact-section .wpcf7-form button[type="submit"] {
  margin-top: 10px;
  width: 160px;
  align-self: flex-start;
  padding: 12px 18px;
  background: #0d0d0d;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  border: none;
  font-size: 14px;
}

.contact-section .wpcf7-submit:hover,
.contact-section .wpcf7-form input[type="submit"]:hover,
.contact-section .wpcf7-form button[type="submit"]:hover {
  opacity: 0.8;
}

.contact-section .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-section .wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-section .wpcf7-form input[type="text"],
.contact-section .wpcf7-form input[type="email"],
.contact-section .wpcf7-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  transition: border 0.2s ease;
}

.contact-section .wpcf7-form input:focus,
.contact-section .wpcf7-form textarea:focus {
  border-color: #0d0d0d;
}
/* ==============================
   rules
================================ */

.rulesSection {
  margin: 100px auto 100px auto;
  font-size: 16px; /* remの基準を16pxにリセット */
}
.rulesSection .inr {
  width: 90%;
  margin: 0 auto;
}
.rulesSection .inr h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin-bottom: 18px;
}
.rulesSection .inr h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin-bottom: 5px;
}
.rulesSection .inr p {
  font-family: var(--font-family-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #333;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .rulesSection {
    margin: 100px auto 150px auto;
  }
  .rulesSection .inr {
    max-width: 800px;
    margin: 0 auto;
  }
}

/* 記事ページのページナビゲーション */
.rulesSection .inr .page-nav {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 50px 0 0 0;
  gap: 10px;
}

.rulesSection .inr .page-nav li {
  margin: 0;
  flex: 1;
}

.rulesSection .inr .page-nav li a,
.rulesSection .inr .page-nav li span {
  display: block;
  color: var(--color-gray50);
  font-family: var(--font-family-ja);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing);
  line-height: var(--line-height-base);
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid var(--color-gray50);
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rulesSection .inr .page-nav li a:hover {
  border-color: var(--color-gray30);
  color: var(--color-gray30);
}

.rulesSection .inr .page-nav li span {
  opacity: 0.5;
  cursor: not-allowed;
}
/* ==============================
   スクロールバー
================================ */
/* ページ全体のスクロールバーをアネット風にする */
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-thumb {
  background: #ccc;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

/* ==============================
   contact-section
================================ */
.contact-section {
  margin: 100px auto 100px auto;
  font-size: 16px; /* remの基準を16pxにリセット */
}
.contact-inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.contact-inner h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin-bottom: 5px;
}
.contact-text {
  font-family: var(--font-family-ja);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #333;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .contact-section {
    margin: 100px auto 150px auto;
  }
  .contact-inner {
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ============================================
   コンポーネント（既存テーマ用 - 使用中）
============================================ */
/* カテゴリー、日付タグ */
.date-tag {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
}
time {
  color: var(--color-gray30);
  font-family: var(--font-family-en);
  font-size: var(--font-size-12);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing);
  line-height: var(--line-height-base);
}
.tag-list li {
  color: var(--color-gray30);
  font-family: var(--font-family-en);
  font-size: var(--font-size-12);
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing);
  line-height: var(--line-height-base);
  margin: 0;
}
@media screen and (min-width: 1001px) {
  .date-tag {
    margin-bottom: 0px;
  }
}
/* ============================================
新設定（既存テーマ用）
============================================ */
/*コンテナ*/
.container {
  background-color: var(--color-white);
  max-width: 90%;
  margin: 0 auto;
  padding: 105px 0;
}
/* ページタイトル */
.page-title {
  color: var(--color-gray30);
  font-family: var(--font-family-en);
  font-size: 48px;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing);
  line-height: var(--line-height-base);
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-gray70);
}
/* コンテンツラップ */
.contents-wrap {
  background-color: var(--color-white);
  border-radius: 10px;
}
/* 投稿ページ */
.blog .contents-wrap,
.archive .contents-wrap,
.post-type-archive-gallery .contents-wrap,
.single .contents-wrap {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 50px;
}
.blog .contents-wrap li,
.archive .contents-wrap li,
.post-type-archive-gallery .contents-wrap li,
.single .contents-wrap li {
  margin-left: 0;
}
@media screen and (min-width: 1001px) {
  .blog .contents-wrap,
  .archive .contents-wrap,
  .post-type-archive-gallery .contents-wrap,
  .single .contents-wrap {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 0px;
  }
}
/* サイドバーエリア */
.sidebar-area {
  width: 100%;
}
.sidebar-area > ul > li {
  margin-bottom: 50px;
}
.sidebar-area h2 {
  margin-bottom: 5px;
}
.sidebar-area li a {
  color: var(--color-gray30);
  font-family: var(--font-family-ja);
  font-size: 16px;
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing);
  line-height: var(--line-height-base);
}
@media screen and (min-width: 1001px) {
  .sidebar-area {
    width: 15%;
  }
  .sidebar-area h2 {
    margin-bottom: 15px;
  }
}
/* 投稿エリア */
.post-area {
  width: 100%;
}
.blog .post-item a,
.archive .post-item a {
  display: flex;
  gap: 5px;
  margin-bottom: 0px;
  flex-direction: column;
}
.post-type-archive-gallery .post-item a {
  align-items: stretch;
}
.post-list {
  margin-bottom: 100px;
}
@media screen and (min-width: 1001px) {
  .post-area {
    width: 80%;
  }
  .blog .post-item a,
  .archive .post-item a {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }
}
/* 投稿ページ */
.single .title {
  margin-bottom: 25px;
}
@media screen and (min-width: 1001px) {
  .single .title {
    margin-bottom: 50px;
  }
}
/* 投稿用のフォント設定 */
.single .post-area h2 {
  color: var(--color-white);
  font-family: var(--font-family-ja);
  font-size: var(--font-size-16);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing);
  line-height: var(--line-height-base);
  background-color: var(--color-gray30);
  padding: 13px 22px;
  margin-bottom: 30px;
}
.single .post-area h3 {
  color: var(--color-gray30);
  font-family: var(--font-family-ja);
  font-size: var(--font-size-16);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing);
  line-height: var(--line-height-base);
  background-color: var(--color-gray95);
  padding: 13px 22px;
  margin-bottom: 30px;
}
.single .post-area h4 {
  color: var(--color-gray30);
  font-family: var(--font-family-ja);
  font-size: var(--font-size-16);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing);
  line-height: var(--line-height-base);
  background-color: var(--color-white);
  padding: 13px 22px;
  margin-bottom: 30px;
  border-left: 1px solid var(--color-gray30);
}
/* 投稿エリア　サイドバー　カスタム */
.post-type-archive-gallery .sidebar-area h2 {
  margin-bottom: 15px;
}
.post-type-archive-gallery .sidebar-area > ul li,
.single-gallery .sidebar-area > ul li {
  margin-bottom: 10px;
}
.post-type-archive-gallery .post-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2%;
  row-gap: 25px;
  flex-direction: column;
}
.post-type-archive-gallery .post-list li {
  width: 100%;
}
.post-type-archive-gallery .post-list li a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.post-type-archive-gallery .post-list li img {
  width: 100%;
  height: auto;
}
.post-type-archive-gallery .post-list li h3 {
  margin-bottom: 5px;
}
@media screen and (min-width: 1001px) {
  .post-type-archive-gallery .post-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2%;
    row-gap: 50px;
    flex-direction: row;
  }
  .post-type-archive-gallery .post-list li {
    width: 32%;
  }
}
/* カスタム投稿　シングル*/
.single-gallery .contents-wrap {
  display: flex;
  flex-direction: column;
  gap: 100px;
}
/* カスタム投稿　サイドバー*/
.single-gallery .contents-wrap .sidebar-area {
  width: 100%;
}
/* カスタム投稿　ポストエリア*/
.single-gallery .contents-wrap .post-area {
  width: 100%;
}
/* post-navi */
.single .post-area .page-nav li a {
  color: var(--color-gray50);
  font-family: var(--font-family-ja);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing);
  line-height: var(--line-height-base);
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid var(--color-gray50);
  margin: 0;
  margin-bottom: 10px;
}
.single .post-area .page-nav li {
  margin: 0;
}
/* wp-pagenavi */
.contents-wrap .wp-pagenavi span,
.contents-wrap .wp-pagenavi a {
  color: var(--color-gray30);
  font-family: var(--font-family-en);
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid var(--color-gray50);
}
.contents-wrap .wp-pagenavi a:hover,
.contents-wrap .wp-pagenavi span.current {
  border: 1px solid var(--color-gray30);
}
.main .page-nav {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  margin-top: 100px;
}
