@charset "UTF-8";
/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -webkit-tap-highlight-color: transparent;
  /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: inherit;
  /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: inherit;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  /* vertical-align: bottom; */
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
  /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px;
  /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type=number] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit;
  /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

/* 基本設定 */
:root {
  /* カラーパレット */
  --color-primary: #4a6cf7;
  --color-primary-dark: #3a57d7;
  --color-secondary: #6c757d;
  --color-text: #333333;
  --color-text-light: #6b7280;
  --color-bg: #ffffff;
  --color-bg-light: #f8f9fa;
  --color-border: #e9ecef;
  --color-success: #28a745;
  --color-danger: #dc3545;
  --color-warning: #ffc107;
  --color-code-bg: #f7f8fb;
  --color-code-text: #e83e8c;
  /* フォント設定 */
  --font-primary: "Noto Sans JP", sans-serif;
  --font-code: "Roboto Mono", monospace;
  /* サイズ */
  --container-width: 1200px;
  --content-width: 800px;
  --sidebar-width: 320px;
  --gap: 40px;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  background-color: #FFF;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

a {
  color: var(--color-primary);
  transition: var(--transition);
}
@media (any-hover: hover) {
  a:hover {
    opacity: 0.7;
  }
}

/* コンテナ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.site-branding {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0;
}

.site-title a {
  color: var(--color-text);
}
@media (any-hover: hover) {
  .site-title a:hover {
    color: var(--color-primary);
  }
}

.site-description {
  font-size: 1.4rem;
  color: var(--color-text-light);
  margin-top: 5px;
}

/* ナビゲーション */
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.main-navigation a {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 5px 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-icon {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text);
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-text);
  transition: var(--transition);
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* コンテンツエリア */
.site-content {
  padding: 150px 0;
}

.site-content .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-width);
  gap: var(--gap);
}

/* メインコンテンツ */
.main-content {
  overflow: hidden;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-text);
}

/* 記事グリッド */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.post-item {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  background-color: var(--color-bg);
  cursor: pointer;
}
@media (any-hover: hover) {
  .post-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
  }
  .post-item:hover .post-thumbnail img {
    transform: scale(1.05);
  }
  .post-item:hover .post-title a {
    color: var(--color-primary);
  }
  .post-item:hover .read-more {
    text-decoration: underline;
  }
}

.post-thumbnail {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

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

.category-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--color-primary);
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 500;
}
.category-label-html-css {
  background-color: #e96228;
}
.category-label-javascript {
  background-color: #efd81d;
}
.category-label-wordpress {
  background-color: #1a6f93;
}
.category-label-frontend-development {
  background-color: #27ae60;
}

.category-label.small {
  position: static;
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  margin-left: 10px;
}

.post-content {
  padding: 20px;
}

.post-title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
  font-weight: 700;
}

.post-title a {
  color: var(--color-text);
}

.post-meta {
  display: flex;
  gap: 15px;
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 15px;
}

.post-excerpt {
  margin-bottom: 15px;
  font-size: 14px;
  color: var(--color-text-light);
}

.read-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

/* 記事リスト（横並び） */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.post-item.horizontal {
  display: flex;
  flex-direction: row;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  padding-bottom: 20px;
}

.post-item.horizontal:hover {
  box-shadow: none;
  transform: none;
}

.post-item.horizontal .post-thumbnail {
  flex: 0 0 200px;
  margin-right: 20px;
}

.post-item.horizontal .post-content {
  padding: 0;
  flex: 1;
}

/* 最小限の記事リスト */
.post-item.minimal {
  border: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.post-item.minimal:hover {
  box-shadow: none;
  transform: none;
  background-color: var(--color-bg-light);
}

.post-item.minimal .post-title {
  font-size: 16px;
  margin-bottom: 5px;
}

.post-item.minimal .post-meta {
  margin-bottom: 0;
}

/* プレミアムコンテンツ案内 */
.premium-content-promo {
  background-color: var(--color-bg-light);
  border-radius: var(--border-radius);
  margin-bottom: 40px;
  overflow: hidden;
}

.promo-inner {
  padding: 30px;
  text-align: center;
}

.premium-content-promo h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--color-text);
}

.premium-content-promo p {
  font-size: 16px;
  margin-bottom: 20px;
}

.benefits-list {
  display: inline-block;
  text-align: left;
  margin-bottom: 25px;
  list-style: none;
}

.benefits-list li {
  margin-bottom: 12px;
  font-size: 15px;
}

.benefits-list li i {
  color: var(--color-success);
  margin-right: 8px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--color-secondary);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn:hover {
  opacity: 0.9;
  color: #fff;
}

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

.view-more {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
}

/* サイドバー */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.widget {
  background-color: var(--color-bg);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border);
}

.widget-title {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-text);
}

.wp-block-latest-posts__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wp-block-latest-posts__post-title {
  color: #333;
}
@media (any-hover: hover) {
  .wp-block-latest-posts__post-title:hover {
    color: var(--color-primary);
  }
}

/* プロフィールウィジェット */
.widget-profile {
  text-align: center;
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-description {
  font-size: 14px;
  margin-bottom: 15px;
  text-align: left;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.social-links i,
.social-links a {
  font-size: 4rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  background-color: var(--color-bg-light);
  color: var(--color-text-light);
  transition: var(--transition);
}
@media (any-hover: hover) {
  .social-links a:hover {
    background-color: var(--color-primary);
    color: #fff;
  }
}

/* 検索フォーム */
.search-form {
  display: flex;
  position: relative;
}

.search-field {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 14px;
  color: var(--color-text);
  outline: none;
}

.search-submit {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 40px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text-light);
}

.search-submit:hover {
  color: var(--color-primary);
}

/* カテゴリーウィジェット */
.widget-categories ul {
  list-style: none;
}

.widget-categories li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--color-border);
}

.widget-categories li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.widget-categories a {
  color: var(--color-text);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.widget-categories .count {
  background-color: var(--color-bg-light);
  color: var(--color-text-light);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
}

/* 人気記事ウィジェット */
.widget-popular-posts ul {
  list-style: none;
}

.widget-popular-posts li {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--color-border);
}

.widget-popular-posts li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.popular-post-thumbnail {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  border-radius: 4px;
  overflow: hidden;
}

.popular-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-post-content {
  flex: 1;
}

.popular-post-content h4 {
  font-size: 14px;
  margin: 0 0 5px;
  line-height: 1.4;
}

.popular-post-content h4 a {
  color: var(--color-text);
}

.popular-post-content h4 a:hover {
  color: var(--color-primary);
}

.popular-post-content .post-date {
  font-size: 12px;
  color: var(--color-text-light);
}

/* タグクラウド */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud-link {
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--color-bg-light);
  color: var(--color-text-light);
  border-radius: 4px;
  font-size: 13px;
  transition: var(--transition);
}

.tag-cloud-link:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* 広告ウィジェット */
.ad-container {
  position: relative;
  text-align: center;
}

.ad-label {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 10px;
  color: var(--color-text-light);
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2px 5px;
  border-radius: 2px;
}

.ad-placeholder {
  background-color: var(--color-bg-light);
  color: var(--color-text-light);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 4px;
}

/* メルマガ登録フォーム */
.newsletter-form {
  margin-top: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.newsletter-form input[type=email] {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 14px;
  outline: none;
}

/* フッター */
.site-footer {
  background-color: var(--color-bg-light);
  padding: 60px 0 20px;
  margin-top: 40px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-widget {
  color: var(--color-text-light);
}

.footer-widget-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--color-text);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-text-light);
  font-size: 14px;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.copyright {
  font-size: 14px;
  color: var(--color-text-light);
}

/* シングル記事 */
.single-post-content {
  background-color: var(--color-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.entry-header {
  margin-bottom: 30px;
}

.entry-categories {
  margin-bottom: 15px;
}

.category-badge {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  margin-right: 8px;
  font-weight: 500;
}
.category-badge-html-css {
  background-color: #e96228;
}
.category-badge-javascript {
  background-color: #efd81d;
}
.category-badge-wordpress {
  background-color: #1a6f93;
}
.category-badge-frontend-development {
  background-color: #27ae60;
}

.entry-title {
  font-size: 3.2rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}

.entry-thumbnail {
  margin-bottom: 30px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.featured-image {
  width: 100%;
  height: auto;
  display: block;
}

.entry-content {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
  margin-bottom: 1.5em;
}

.entry-content h2 {
  font-size: 2.6rem;
  margin: 2em 0 1em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}

.entry-content h3 {
  font-size: 2.2rem;
  margin: 1.8em 0 1em;
}

.entry-content h4 {
  font-size: 1.8rem;
  margin: 1.5em 0 1em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
}

.entry-content blockquote {
  padding: 20px;
  background-color: var(--color-bg-light);
  border-left: 4px solid var(--color-primary);
  font-style: italic;
}

.entry-content code {
  font-family: var(--font-code);
  background-color: var(--color-code-bg);
  color: var(--color-code-text);
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.9em;
}

.entry-content pre {
  background-color: #000;
  padding: 20px;
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin-bottom: 1.5em;
}

.entry-content pre code {
  background-color: transparent;
  padding: 0;
  font-size: 14px;
  color: var(--color-bg);
}

.entry-content img {
  border-radius: var(--border-radius);
  margin: 2em 0;
}

.entry-content figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: -1.5em;
  margin-bottom: 2em;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
  font-size: 15px;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--color-border);
  padding: 10px;
  text-align: left;
}

.entry-content th {
  background-color: var(--color-bg-light);
  font-weight: 600;
}

.entry-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  font-size: 14px;
  align-items: center;
}

.entry-tags i {
  color: var(--color-text-light);
}

/* 著者情報 */
.author-bio {
  display: flex;
  background-color: var(--color-bg-light);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 40px;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-description {
  flex: 1;
}

.author-name {
  font-size: 18px;
  margin-bottom: 10px;
}

.author-info {
  font-size: 14px;
  margin-bottom: 15px;
}

.author-links {
  display: flex;
  gap: 10px;
}

.author-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: var(--color-bg);
  border-radius: 50%;
  color: var(--color-text-light);
}

.author-links a:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* シェアボタン */
.share-buttons {
  margin-bottom: 40px;
}

.share-title {
  font-size: 18px;
  margin-bottom: 15px;
}

.share-links {
  display: flex;
  gap: 10px;
}

.share-links a {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
}

.share-links a i {
  margin-right: 8px;
}

.share-twitter {
  background-color: #000;
}

.share-facebook {
  background-color: #4267B2;
}

.share-hatena {
  background-color: #00A4DE;
}

.share-line {
  background-color: #00c300;
}

/* 関連記事 */
.related-posts {
  margin-bottom: 40px;
}

.related-title {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}

/* コメント */
.comments-area {
  margin-bottom: 40px;
}

.comments-title {
  font-size: 20px;
  margin-bottom: 20px;
}

.comment-list {
  list-style: none;
}

.comment-body {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.comment-meta {
  margin-bottom: 10px;
}

.comment-author {
  display: flex;
  align-items: center;
}

.comment-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.comment-metadata {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 5px;
}

.comment-content {
  font-size: 14px;
  margin-bottom: 10px;
}

.reply {
  font-size: 14px;
  font-weight: 500;
}

.comment-respond {
  margin-top: 40px;
}

.comment-reply-title {
  font-size: 20px;
  margin-bottom: 20px;
}

form#commentform {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-form-comment {
  margin-bottom: 20px;
}

.comment-form-comment label {
  display: block;
  margin-bottom: 10px;
}

.comment-form-comment textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  resize: vertical;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
  max-width: 400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .comment-form-author,
  .comment-form-email,
  .comment-form-url {
    flex-direction: column;
    align-items: flex-start;
  }
}

input#author,
input#email,
input#url,
input#siteguard_captcha,
input#submit {
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  resize: vertical;
}

input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin: 0 8px 0 -1px;
  border: 2px solid #C3C3C3;
  border-radius: 3px;
  background-color: #fff;
  position: relative;
  vertical-align: -4px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: all 0.3s;
}
@media screen and (max-width: 768px) {
  input[type=checkbox] {
    top: -4px;
  }
}
input[type=checkbox]:checked {
  background-color: #9dffac;
}
input[type=checkbox]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='11' viewBox='0 0 16 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.25 1.33398L5.91667 9.66732L1.75 5.50065' stroke='%2360A9FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
}

.form-submit {
  margin-top: 20px;
}

input#submit {
  transition: all 0.3s ease;
}
@media (any-hover: hover) {
  input#submit:hover {
    background-color: #333;
    color: #fff;
  }
}

/* 目次 */
.toc-container {
  background-color: var(--color-bg-light);
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.toc-header {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
}

.toc-toggle {
  cursor: pointer;
  color: var(--color-text-light);
}

.toc-list {
  list-style: none;
  padding-left: 0;
}

.toc-list-child {
  list-style: none;
  padding-left: 20px;
}

.toc-item {
  margin-bottom: 8px;
}

.toc-item a {
  color: var(--color-text);
  font-size: 14px;
}

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

/* コードブロックのシンタックスハイライト */
pre.line-numbers {
  position: relative;
  padding-left: 3.8em;
  counter-reset: linenumber;
}

pre.line-numbers > code {
  position: relative;
}

.line-numbers .line-numbers-rows {
  position: absolute;
  pointer-events: none;
  top: 0;
  font-size: 100%;
  left: -3.8em;
  width: 3em;
  letter-spacing: -1px;
  border-right: 1px solid #999;
  user-select: none;
}

.line-numbers-rows > span {
  display: block;
  counter-increment: linenumber;
}

.line-numbers-rows > span:before {
  content: counter(linenumber);
  color: #999;
  display: block;
  padding-right: 0.8em;
  text-align: right;
}

.pagination {
  margin: 40px 0;
  text-align: center;
}

.pagination-list {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 5px;
}

.pagination-item {
  margin: 0 3px;
}

.pagination-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.pagination-link:hover {
  background-color: var(--color-bg-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pagination-link.current {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.pagination-link.dots {
  border: none;
  width: auto;
}

.pagination-link.prev,
.pagination-link.next {
  width: auto;
  padding: 0 15px;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
  .site-content .container {
    grid-template-columns: 1fr;
  }
  .post-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-navigation {
    width: 100%;
    margin-top: 20px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .main-navigation ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 10px 0;
  }
  .main-navigation.toggled ul {
    display: flex;
  }
  .post-item.horizontal {
    flex-direction: column;
  }
  .post-item.horizontal .post-thumbnail {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
  }
  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .author-avatar {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .author-links {
    justify-content: center;
  }
  .share-links {
    flex-wrap: wrap;
  }
  .entry-title {
    font-size: 24px;
  }
}
@media (max-width: 576px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 20px;
  }
  .premium-content-promo h2 {
    font-size: 20px;
  }
}
.tb {
  display: none;
}

.sp {
  display: none;
}

.barlow-thin {
  font-family: "Barlow", sans-serif;
}

.montserrat {
  font-family: "Montserrat", sans-serif;
}

.yugothic {
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
}

.bold {
  font-weight: bold;
}

.uppercase {
  text-transform: uppercase;
}

.transform-none {
  text-transform: none;
}

.wp-block-latest-comments__comment-link {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  max-height: 2.8em;
}

/* Slider */
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0;
}
.slick-list:focus {
  outline: none;
}
.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  left: 0;
  top: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.slick-track:before, .slick-track:after {
  content: "";
  display: table;
}
.slick-track:after {
  clear: both;
}
.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  float: left;
  height: 100%;
  min-height: 1px;
  display: none;
}
[dir=rtl] .slick-slide {
  float: right;
}
.slick-slide img {
  display: block;
}
.slick-slide.slick-loading img {
  display: none;
}
.slick-slide.dragging img {
  pointer-events: none;
}
.slick-initialized .slick-slide {
  display: block;
}
.slick-loading .slick-slide {
  visibility: hidden;
}
.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

@media screen and (min-width: 769px) {
  .header__nav-toggle {
    display: none;
  }
  .header__nav-toggle .menu-label {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  .header__nav-toggle {
    width: 50px;
    height: 50px;
    display: block;
  }
  .header__nav-toggle span:nth-child(1) {
    position: absolute;
    top: 31%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333;
    border-radius: 50px;
    width: 50px;
    height: 2px;
    cursor: pointer;
  }
  .header__nav-toggle span:nth-child(2) {
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    border-radius: 50px;
    width: 50px;
    height: 2px;
    transition: all 0.5s;
  }
  .header__nav-toggle span:nth-child(3) {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #333;
    border-radius: 50px;
    transition: all 0.5s;
  }
  .header__nav-toggle.active span {
    background-color: transparent;
  }
  .header__nav-toggle.active span:nth-child(2) {
    background-color: #333;
    transform: translate(-50%, 4px) rotate(312deg);
    width: 40px;
  }
  .header__nav-toggle.active span:nth-child(3) {
    background-color: #333;
    transform: translate(-50%, -10px) rotate(-316deg);
    width: 40px;
  }
  .header__nav-toggle-menu {
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .header__nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 120%;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    display: block;
    transition: all 0.3s;
    overflow-y: auto;
    max-height: calc(100vh - 56px);
    z-index: 9998;
    background-color: #fff;
  }
  .header__nav.active {
    opacity: 1;
    visibility: visible;
    display: block;
    z-index: 999;
    background: #fff;
    height: auto;
    min-height: calc(100vh - 90px);
    margin: 0 auto;
    padding: 31px 0 0;
    top: 89px;
    right: 0;
    transition: all 0.5s;
    overflow: scroll;
  }
  .header__nav-toggle {
    position: relative;
    z-index: 3;
  }
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
}
.dynamic-related-posts__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.08em;
  color: #333333;
  margin-bottom: 21px;
  padding-left: 14px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .dynamic-related-posts__title {
    font-size: 1.6rem;
  }
}
.dynamic-related-posts__title::before {
  content: "";
  width: 5px;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #3498db;
}
.dynamic-related-posts__content {
  margin-bottom: 56px;
}
@media screen and (max-width: 768px) {
  .dynamic-related-posts__content {
    margin-bottom: 40px;
  }
}
.dynamic-related-posts .related-post-item__link {
  display: flex;
  gap: 16px;
  padding: 30px 24px;
  border: 1px solid #B5B5B5;
  border-radius: 10px;
}
@media screen and (max-width: 768px) {
  .dynamic-related-posts .related-post-item__link {
    flex-direction: column;
    gap: 12px;
    padding: 25px 19px;
  }
}
@media (any-hover: hover) {
  .dynamic-related-posts .related-post-item__link:hover .detail-button {
    background-color: #00ffff;
    color: #000;
    transition: all 0.3s ease;
  }
  .dynamic-related-posts .related-post-item__link:hover .detail-button::before {
    color: #fff;
    transition: all 0.3s ease;
  }
  .dynamic-related-posts .related-post-item__link:hover .detail-button::after {
    background-color: #3498db;
    transition: all 0.3s ease;
  }
}
.dynamic-related-posts .related-post-item__image {
  max-width: 270px;
  width: 100%;
  height: 211px;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .dynamic-related-posts .related-post-item__image {
    max-width: none;
    height: auto;
    aspect-ratio: 287/224;
  }
}
.dynamic-related-posts .related-post-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dynamic-related-posts .related-post-item__content {
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}
.dynamic-related-posts .related-post-item__title {
  color: #333333;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .dynamic-related-posts .related-post-item__title {
    font-size: 1.6rem;
  }
}
.dynamic-related-posts .related-post-item__excerpt {
  color: #333333;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .dynamic-related-posts .related-post-item__excerpt {
    font-size: 1.4rem;
  }
}
.dynamic-related-posts .related-post-item__button {
  background-color: #3498db;
  color: #FFFFFF;
  margin-left: auto;
  padding: 5px 20px;
  border-radius: 32px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  width: 150px;
  position: relative;
  transition: all 0.3s ease;
}
.dynamic-related-posts .related-post-item__button::before {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
  color: #3498db;
  position: absolute;
  right: 11px;
  z-index: 1;
}
.dynamic-related-posts .related-post-item__button::after {
  content: "";
  position: absolute;
  right: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #FFFEF1;
  transition: all 0.3s ease;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 9999;
}
.header__container {
  width: 100%;
  height: 80px;
  margin: 0 auto;
  background-color: transparent;
  background-repeat: no-repeat;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(10px, (100vw - 1222px) / 2, 30px);
  position: relative;
  z-index: 9999;
}
@media screen and (max-width: 1024px) {
  .header__container {
    height: 90px;
    padding: 0 20px;
  }
}
.header__logo {
  display: flex;
  align-items: center;
  transition: all 0.4s;
}
@media (any-hover: hover) {
  .header__logo:hover {
    opacity: 0.7;
  }
}
.header__nav {
  height: 100%;
}
.header__nav-list {
  display: flex;
  list-style-type: none;
  margin: 0;
  height: 100%;
  align-items: center;
  gap: clamp(20px, (100vw - 1235px) / 2, 32px);
}
@media screen and (max-width: 1024px) {
  .header__nav-list {
    flex-direction: column;
    gap: 30px;
  }
}
.header__nav-item {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0;
  position: relative;
  z-index: 0;
  white-space: nowrap;
  transition: all 0.3s ease;
}
@media screen and (max-width: 1024px) {
  .header__nav-item {
    font-size: 2rem;
    width: 100%;
    height: 35px;
    border-bottom: 4px solid;
  }
}
.header__nav-item::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: bottom right;
  width: 100%;
  height: 3px;
  background: #000;
  transition: transform 0.7s;
}
@media (any-hover: hover) {
  .header__nav-item:hover::before {
    transform: scaleX(1);
    /*0→1でX軸方向に100%変形*/
    transform-origin: bottom left;
  }
}
.header__nav-item:focus::before {
  transform: scaleX(1);
  /*0→1でX軸方向に100%変形*/
  transform-origin: bottom left;
}
.header__nav-item.current-cat {
  font-weight: bold;
  border-bottom: 2px solid #4a6cf7;
}
.header__nav-item.current-cat a {
  color: #4a6cf7;
}
.header__nav-link {
  color: var(--color-text);
  position: relative;
  display: flex;
  justify-content: center;
  height: 100%;
  align-items: center;
}

/* first-view Section Styles */
.first-view {
  position: relative;
  width: 100%;
  height: 695px;
  background-color: #f5f5f5;
  overflow: hidden;
  background-image: url(../images/first-view__background-image.webp);
  background-size: cover;
  background-repeat: no-repeat;
}
@media screen and (max-width: 768px) {
  .first-view {
    background-image: url(../images/first-view__background-image-sp.webp);
    height: 714px;
  }
}
.first-view__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  align-items: center;
  justify-items: center;
}
@media screen and (max-width: 1024px) {
  .first-view__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 59px 13px 0;
  }
}
.first-view__content {
  position: relative;
  z-index: 2;
  padding: 56px 0;
  transform: translateX(31px);
}
@media screen and (max-width: 1024px) {
  .first-view__content {
    padding: 0;
    transform: translate(4px, -41px);
  }
}
@media screen and (max-width: 1024px) {
  .first-view__content::before {
    content: "";
    position: absolute;
    left: 49%;
    bottom: 90px;
    z-index: 2;
    transform: translateX(-50%);
    background-image: url("../images/first-view__stat-item.webp");
    background-size: cover;
    background-repeat: no-repeat;
    width: clamp(300px, (275vw - 375px) / 2, 329px);
    height: clamp(95px, (157vw - 375px) / 2, 104px);
  }
}
.first-view__english {
  width: 447px;
  height: 117px;
  object-fit: cover;
}
@media screen and (max-width: 1024px) {
  .first-view__english {
    width: 263px;
    height: 58px;
    transform: translate(-6px, -3px);
  }
}
.first-view__title {
  color: #222;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(5rem, (100vw - 1025px) / 2, 5.6rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  transform: translate(36px, -30px);
  white-space: nowrap;
}
@media screen and (max-width: 1024px) {
  .first-view__title {
    font-size: clamp(3rem, (118vw - 375px) / 2, 3.2rem);
    line-height: 1.4;
    transform: none;
    margin-bottom: 7px;
  }
}
.first-view__accent {
  color: #FF7F00;
}
.first-view__cta-message {
  margin: -6px 0 40px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
  transform: translateX(34px);
}
@media screen and (max-width: 1024px) {
  .first-view__cta-message {
    font-size: 1.4rem;
    transform: none;
    margin: 0 auto 127px;
  }
}
.first-view__action-message {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  position: relative;
  color: #571C06;
  text-align: center;
  transform: translateX(-33px);
  width: fit-content;
  margin: 0 auto 5px;
}
@media screen and (max-width: 1024px) {
  .first-view__action-message {
    transform: none;
  }
}
.first-view__action-message::before, .first-view__action-message::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 1px;
  background-color: #571C06;
  top: 10px;
}
.first-view__action-message::before {
  transform: rotate(60deg);
  left: -19px;
}
.first-view__action-message::after {
  transform: rotate(123deg);
  right: -19px;
}
.first-view__action {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0;
  position: relative;
  z-index: 0;
  white-space: nowrap;
  color: #fff;
  width: 422px;
  height: 63px;
  background-image: linear-gradient(135deg, #EE0000 0%, #D52B00 100%);
  border-radius: 32px;
  overflow: hidden;
  transform: translateX(35px);
  transition: all 0.3s ease;
}
@media screen and (max-width: 1024px) {
  .first-view__action {
    font-size: 1.8rem;
    width: clamp(300px, (275vw - 375px) / 2, 327px);
    height: 52px;
    margin: 0 auto;
    transform: translateX(-2px);
  }
}
.first-view__action::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 28px;
  transform: rotate(45deg) translateY(-50%);
  width: 8px;
  height: 8px;
  border-bottom: 8px solid transparent;
  border-left: 8px solid transparent;
  border-top: 8px solid #fff;
}
@media (any-hover: hover) {
  .first-view__action:hover {
    opacity: 0.7;
  }
}
.first-view__action:focus {
  opacity: 0.7;
}
.first-view__button {
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  height: 100%;
  align-items: center;
}
.first-view__image {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  width: clamp(100%, (175vw - 1025px) / 2, 115%);
}
@media screen and (max-width: 1024px) {
  .first-view__image {
    order: -1;
    width: auto;
  }
}
.first-view__image::before {
  content: "";
  position: absolute;
  left: 48%;
  bottom: 21px;
  z-index: 2;
  transform: translateX(-50%);
  background-image: url("../images/first-view__stat-item.webp");
  background-size: cover;
  background-repeat: no-repeat;
  width: 477px;
  height: 151px;
}
@media screen and (max-width: 1024px) {
  .first-view__image::before {
    display: none;
  }
}
.first-view__image-01 {
  position: relative;
  z-index: 1;
  width: 374px;
  height: 507px;
  object-fit: cover;
}
@media screen and (max-width: 1024px) {
  .first-view__image-01 {
    width: 177px;
    height: 246px;
    right: -8px;
  }
}
.first-view__image-02 {
  position: relative;
  bottom: -120px;
  right: 24px;
  width: 373px;
  height: 495px;
  object-fit: cover;
}
@media screen and (max-width: 1024px) {
  .first-view__image-02 {
    bottom: -16px;
    right: 3px;
    width: 177px;
    height: 241px;
  }
}

.footer {
  background-color: #fff;
}
.footer__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
}
.footer__wrapper__logo {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  padding-bottom: 8px;
}
.footer__wrapper__logo p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: capitalize;
  text-align: center;
}
@media (any-hover: hover) {
  .footer__wrapper__logo:hover {
    opacity: 0.5;
  }
}
.footer__content-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}
.footer__copy {
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: 0;
  padding: 10px 0;
  display: block;
}
@media screen and (max-width: 768px) {
  .footer__copy {
    padding: 2rem 0;
  }
  .footer__copy .sp {
    display: inline;
  }
}
.footer-links-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.privacy-policy__title {
  font-size: 3.2rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .privacy-policy__title {
    font-size: 2.2rem;
  }
}
.privacy-policy__content h2 {
  font-size: 2rem;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid #4a90e2;
  font-weight: 600;
}
.privacy-policy__content h3 {
  font-size: 1.8rem;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 600;
}
.privacy-policy__content ul, .privacy-policy__content ol {
  margin-left: 20px;
  margin-bottom: 15px;
}
.privacy-policy__content ul li, .privacy-policy__content ol li {
  list-style: disc;
}

.main-content--full-width {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  float: none;
}

.error-404 {
  padding: 150px 0;
}
.error-404__wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.error-404__title {
  font-size: 4.6rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 155px;
  position: relative;
}
.error-404__title::after {
  content: "";
  position: absolute;
  bottom: -167px;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Ctext x='220' y='160' font-family='PT Serif,Georgia,serif' font-size='200' font-weight='bold'%3E4%3C/text%3E%3Ctext x='340' y='160' font-family='PT Serif,Georgia,serif' font-size='200' font-weight='bold'%3E0%3C/text%3E%3Ctext x='460' y='160' font-family='PT Serif,Georgia,serif' font-size='200' font-weight='bold'%3E4%3C/text%3E%3Ctext x='400' y='260' font-family='PT Serif,Georgia,serif' font-size='20' text-anchor='middle' letter-spacing='3'%3EPAGE NOT FOUND%3C/text%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  width: 500px;
  height: 170px;
}
.error-404__description {
  font-size: 2rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 56px 0 41px;
}
.error-404__button-wrapper {
  text-align: center;
}
.error-404__button-link {
  text-transform: uppercase;
  font-size: 1.6rem;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 48px;
  padding: 6px 12px;
  background: linear-gradient(-11deg, #000 50%, #152043 50%);
  color: #fff;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
@media (any-hover: hover) {
  .error-404__button-link:hover {
    opacity: 0.7;
  }
}

.conversation-block {
  display: flex;
  align-items: center;
  margin: 20px 0;
  gap: 15px;
  max-width: 100%;
}

.conversation-avatar {
  width: fit-content;
}

.conversation-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.conversation-content {
  flex: 1;
  min-width: 0;
}

.conversation-name {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #666;
}

.conversation-message {
  background: #f0f8ff;
  border: 1px solid #e1e8ed;
  border-radius: 18px;
  padding: 12px 16px;
  position: relative;
  word-wrap: break-word;
  width: fit-content;
}

/* 左側の会話ブロック */
.conversation-left .conversation-message {
  background: #f0f8ff;
  border-color: #e1e8ed;
}

.conversation-left .conversation-message::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 15px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-right-color: #f0f8ff;
  border-left: 0;
}

/* 右側の会話ブロック */
.conversation-right {
  justify-content: flex-end;
}

.conversation-right .conversation-content {
  text-align: right;
}

.conversation-right .conversation-message {
  background: #e3f2fd;
  border-color: #bbdefb;
  text-align: left;
  margin-left: auto;
}

.conversation-right .conversation-message::before {
  content: "";
  position: absolute;
  right: -8px;
  top: 15px;
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-left-color: #e3f2fd;
  border-right: 0;
}

/* アコーディオンスタイル */
.codehub-accordion {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  background: #f8f9fa;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background: #e9ecef;
}

.accordion-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.accordion-icon {
  font-size: 18px;
  font-weight: bold;
  color: #007cba;
}

.accordion-content {
  background: #fff;
}

.accordion-body {
  padding: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .conversation-avatar img {
    width: 50px;
    height: 50px;
  }
  .conversation-block {
    gap: 10px;
  }
  .accordion-header {
    padding: 12px 15px;
  }
  .accordion-body {
    padding: 15px;
  }
}
.profile__title {
  font-size: 3.2rem;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .profile__title {
    font-size: 2.2rem;
  }
}
.profile__description {
  margin-bottom: 30px;
}
.profile__content h2 {
  font-size: 2rem;
  margin-top: 30px;
  margin-bottom: 15px;
  padding-left: 10px;
  border-left: 4px solid #4a90e2;
  font-weight: 600;
}
.profile__content h3 {
  font-size: 1.8rem;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 600;
}
.profile__content ul, .profile__content ol {
  margin-left: 20px;
  margin-bottom: 15px;
}
.profile__content ul li, .profile__content ol li {
  list-style: disc;
}
.profile__social-link {
  font-size: 2.5rem;
}
.profile__social-link i {
  background: #000;
  color: #fff;
  padding: 8px;
  border-radius: 10px;
}

/* お問い合わせページ専用スタイル */
.contact-section {
  margin-bottom: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-content {
  text-align: left;
  margin-bottom: 3rem;
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e5e9;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-size: 1.8rem;
}

.form-description {
  text-align: center;
  color: #7f8c8d;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #34495e;
  font-size: 1.6rem;
}

.form-group label i {
  margin-right: 0.5rem;
  color: #3498db;
  width: 16px;
}

.form-group label .required {
  color: #e74c3c;
  margin-left: 3px;
}

.form-group input[type=text],
.form-group input[type=email],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
}

.form-group input[type=text]:focus,
.form-group input[type=email]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* セレクトボックスのスタイル（アイコン回転機能付き） */
.custom-select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-select-wrapper select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
  cursor: pointer;
  background: white;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.custom-select-wrapper select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* セレクトボックスのカスタム矢印アイコン */
.custom-select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #6b7280;
  pointer-events: none;
  transition: transform 0.3s ease;
}

/* セレクトボックスがアクティブ（開いている）時のアイコン回転 */
.custom-select-wrapper.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.form-group select {
  cursor: pointer;
  padding-right: 40px;
  appearance: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 180px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2980b9, #1f639a);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.contact-success {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(46, 204, 113, 0.3);
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-success h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
}

.contact-success p {
  margin: 0;
  opacity: 0.9;
  line-height: 1.6;
}

.contact-errors {
  background: #fff5f5;
  border: 2px solid #fed7d7;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.error-icon {
  color: #e53e3e;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-errors h4 {
  color: #c53030;
  margin: 0 0 1rem 0;
}

.contact-errors ul {
  margin: 0;
  padding-left: 1.5rem;
  color: #c53030;
}

.contact-errors li {
  margin-bottom: 0.5rem;
}

.contact-info-section {
  margin-top: 4rem;
}

.info-item {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e5e9;
  transition: transform 0.3s ease;
}

.info-icon {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 1rem;
}

.info-item h3 {
  margin: 0 0 1rem 0;
  color: #2c3e50;
  font-size: 1.3rem;
}

.info-item p {
  margin: 0;
  color: #7f8c8d;
  line-height: 1.6;
}

.info-item a {
  color: #3498db;
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

.math-question {
  background: #007cba;
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.9rem;
}

#security_check {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 1.5rem;
  font-size: 1.9rem;
  width: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
    margin: 1rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-success {
    padding: 2rem;
    margin: 1rem;
  }
  .success-icon {
    font-size: 2rem;
  }
  .contact-success h3 {
    font-size: 1.3rem;
  }
  .post-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
  .contact-form h2 {
    font-size: 1.5rem;
  }
  .btn-primary {
    width: 100%;
  }
}
/* ==================================
   サイトマップページ用スタイル (BEM記法)
   ================================== */
/* サイトマップコンテナ */
.sitemap {
  max-width: 100%;
  margin: 2rem 0;
}
.sitemap__section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.sitemap__section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #3498db;
  display: flex;
  align-items: center;
}
.sitemap__section-title i {
  margin-right: 0.5rem;
  color: #3498db;
}
.sitemap__description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* カテゴリー一覧 */
.category-list {
  display: grid;
  gap: 2rem;
}
.category-list__item {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #3498db;
}
.category-list__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.category-list__link {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}
@media (any-hover: hover) {
  .category-list__link:hover {
    color: #3498db;
  }
}
.category-list__count {
  font-size: 2rem;
  color: #7f8c8d;
  font-weight: 400;
}
.category-list__description {
  color: #666;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-style: italic;
}
.category-list__more {
  margin-top: 1rem;
  text-align: center;
}
.category-list__empty {
  color: #95a5a6;
  font-style: italic;
  text-align: center;
  padding: 1rem;
}

/* 記事一覧 */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-list__item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ecf0f1;
}
.post-list__item:last-child {
  border-bottom: none;
}
.post-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.3s ease;
  flex: 1;
}
@media (any-hover: hover) {
  .post-list__link:hover {
    color: #3498db;
  }
}
.post-list__date {
  color: #95a5a6;
  font-size: 1.36rem;
  font-weight: 400;
}

/* ページグリッド */
.page-grid__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.page-grid__link {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.5rem;
  color: #2c3e50;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (any-hover: hover) {
  .page-grid__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
}
.page-grid__link i {
  color: #3498db;
}
.page-grid__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.page-grid__description {
  color: #666;
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 0;
}

/* 最新記事一覧 */
.recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.recent-list__item {
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
@media (any-hover: hover) {
  .recent-list__item:hover {
    background: #e9ecef;
  }
}
.recent-list__link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  display: block;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}
@media (any-hover: hover) {
  .recent-list__link:hover {
    color: #3498db;
  }
}
.recent-list__meta {
  display: flex;
  gap: 1rem;
  font-size: 1.36rem;
  color: #7f8c8d;
}
.recent-list__category {
  color: #3498db;
  font-weight: 500;
}
.recent-list__more {
  text-align: center;
  margin-top: 1.5rem;
}

/* フィード一覧 */
.feed-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feed-list__item {
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.feed-list__link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}
@media (any-hover: hover) {
  .feed-list__link:hover {
    color: #3498db;
  }
}
.feed-list__link i {
  color: #e67e22;
}

/* ボタンコンポーネント */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.btn--primary {
  background: #3498db;
  color: #fff;
}
@media (any-hover: hover) {
  .btn--primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
  }
}
.btn--outline {
  background: transparent;
  color: #3498db;
  border: 2px solid #3498db;
}
@media (any-hover: hover) {
  .btn--outline:hover {
    background: #3498db;
    color: #fff;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .sitemap__section {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  .sitemap__section-title {
    font-size: 1.3rem;
  }
  .page-grid__container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .post-list__item {
    flex-direction: column;
    align-items: flex-start;
  }
  .recent-list__meta {
    flex-direction: column;
    gap: 0.25rem;
  }
  .btn {
    padding: 0.5rem 1rem;
    font-size: 1.4rem;
  }
}
@media (max-width: 480px) {
  .sitemap {
    margin: 1rem 0;
  }
  .sitemap__section {
    padding: 0.75rem;
  }
  .sitemap__section-title {
    font-size: 1.2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}/*# sourceMappingURL=style.css.map */