@charset "UTF-8";

/* =========================================
   I-IRO 共通CSS
   /common/common.css
   役割：
   - 変数
   - 共通UI
   - 共通ヘッダー
   - 共通フッター
   - 共通本文
   - 共通フォーム
   - 共通ナビ
========================================= */

/* =========================
   1. Variables
========================= */
:root {
  --font-en: "Inter", sans-serif;
  --font-jp-sans: "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  --font-jp-serif: "Noto Serif JP", serif;

  --color-text-main: #1f1f1f;
  --color-text-sub: #666666;
  --color-text-muted: #888888;
  --color-border: #d9d9d9;
  --color-border-light: #eeeeee;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f7;
  --color-bg-footer: #f5f4f1;
  --color-link: #02a1e9;

  --line-height-tight: 1.3;
  --line-height-base: 1.7;
}

/* =========================
   2. Base Adjust
========================= */
body {
  color: var(--color-text-main);
  font-family: var(--font-jp-sans);
  line-height: var(--line-height-base);
}

#header-area {
  margin: 0;
}

/* =========================
   3. Utility
========================= */
.u-scroll-x {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
}

.u-scroll-x::-webkit-scrollbar {
  display: none;
}

.u-scroll-fade {
  position: relative;
}

.u-scroll-fade::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2.4rem;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff);
  pointer-events: none;
}

.label-pc {
  display: inline;
}

.label-sp {
  display: none;
}

/* =========================
   4. Common Link
========================= */
.brand-bar-home,
.site-header-title a,
.brand-bar-nav > a,
.local-nav__row > a,
.sp-menu-brand a,
.sp-menu-global a,
.sp-menu-local a {
  text-decoration: none;
}

.brand-bar-nav > a,
.local-nav__row > a {
  position: relative;
  color: #222222;
  transition: opacity 0.2s ease;
}

.brand-bar-nav > a:hover,
.local-nav__row > a:hover {
  opacity: 0.8;
}

.brand-bar-nav > a.current,
.local-nav__row > a.current {
  font-weight: 500;
  pointer-events: none;
}

.brand-bar-nav > a::after,
.local-nav__row > a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.brand-bar-nav > a:hover::after,
.brand-bar-nav > a.current::after,
.local-nav__row > a:hover::after,
.local-nav__row > a.current::after {
  transform: scaleX(1);
}

/* =========================
   5. Layout Helper
========================= */
.site-fixed {
  position: sticky;
  top: 0;
  z-index: 200;
}

/* =========================
   6. Common Content
========================= */

/* --- Breadcrumb --- */
.aioseo-breadcrumbs {
  color: var(--color-text-sub);
  font-size: 1.2rem;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.aioseo-breadcrumbs::-webkit-scrollbar {
  display: none;
}

.aioseo-breadcrumbs a {
  color: var(--color-link);
  text-decoration: none;
}

.aioseo-breadcrumbs a:hover {
  text-decoration: underline;
}

/* --- Archive --- */
.archive-content {
  padding: 2rem;
}

.archive-content header {
  margin: 0 0 2.5rem;
  text-align: center;
}

.archive-content h1 {
  margin: 2rem 2rem 0;
  font-size: 2rem;
}

.archive-content header > p {
  margin: 0.5rem 0;
  color: var(--color-text-muted);
  font-family: var(--font-jp-serif);
  opacity: 0.7;
}

.archive-content a {
  text-decoration: none;
}

.archive-content a dl {
  display: table;
  width: 100%;
  padding: 1rem 0;
  color: #383838;
  border-bottom: 1px solid #f6f6f6;
}

.archive-content dt {
  display: table-cell;
  width: 9.8rem;
  vertical-align: middle;
}

.archive-content dd {
  display: table-cell;
  padding: 1rem;
  vertical-align: middle;
}

.archive-content a:hover dd {
  color: var(--color-link);
  text-decoration: underline;
}

/* --- Title Frame --- */
.title-frame,
.archive-content h1.title-frame,
div.title-frame {
  display: flex;
  align-items: center;
  margin: 0;
  color: #333333;
  font-family: var(--font-jp-serif);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

.title-frame::before,
.title-frame::after {
  content: "";
  flex-grow: 1;
  border-top: 1px solid currentColor;
}

.title-frame::before {
  margin-right: 1em;
}

.title-frame::after {
  margin-left: 1em;
}

/* --- Entry --- */
.entry-content .title-frame {
  margin: 0 2rem;
}

.entry-content h1 {
  margin: 2rem 1.5rem;
  font-size: 2.4rem;
}

.entry-content h1 span {
  display: inline-block;
}

.entry-content h2 {
  position: relative;
  margin: 2em 0 1em;
  padding: 0.2em 0;
  clear: both;
  font-size: 2.1rem;
  border-bottom: 2px solid #eeeeee;
}

.entry-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 3em;
  height: 2px;
  background: #333333;
}

.entry-content h2.w2::before { width: 2em; }
.entry-content h2.w3::before { width: 3em; }
.entry-content h2.w4::before { width: 4em; }
.entry-content h2.w5::before { width: 5em; }
.entry-content h2.w6::before { width: 6em; }
.entry-content h2.w7::before { width: 7em; }
.entry-content h2.w8::before { width: 8em; }
.entry-content h2.w9::before { width: 9em; }

.entry-content h3 {
  margin: 2em 0 1em;
  padding: 2px 0 5px 10px;
  font-size: 2rem;
  border-left: 3px solid #333333;
}

.entry-content h4 {
  margin: 1rem 0 0.5rem;
  clear: both;
  font-size: 1.7rem;
}

.entry-content p {
  margin: 0 0 1em;
  font-size: 1.6rem;
  line-height: 1.7;
}

.entry-content li {
  font-size: 1.4rem;
  line-height: 1.6;
}

.entry-content blockquote {
  margin: 2rem 1rem;
  padding: 1rem;
  font-size: 1.4rem;
  background: #f7f7f7;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}

/* --- Related List --- */
.list-kanren li {
  margin: 0 0 3px;
  padding-left: 1em;
  font-size: 1.6rem;
  text-indent: -1em;
}

.list-kanren li::before {
  content: "・";
}

.list-kanren li a {
  text-decoration: none;
}

/* --- Reference Book --- */
.sanko-book {
  display: table;
  width: 100%;
  border-bottom: 1px solid #eeeeee;
}

.sanko-book dt {
  display: table-cell;
  width: 8rem;
  padding: 1rem;
  vertical-align: top;
}

.sanko-book dd {
  display: table-cell;
  padding: 1rem 0;
  font-size: 1.5rem;
  text-align: left;
  vertical-align: middle;
}

.sanko-book dd a {
  font-size: 1.7rem;
  font-weight: 700;
}

/* --- Post Meta --- */
.post-meta {
  margin: 1em 0 0.5em;
  text-align: center;
}

.post-meta a {
  display: inline-block;
  margin: 0 0.5em 0.5em 0;
  padding: 0.5em;
  color: #666666;
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #666666;
  border-radius: 0.4em;
  transition: 0.2s;
}

.post-meta a:hover {
  color: #ffffff;
  background: #666666;
}

/* --- Share --- */
.link-share {
  margin: 6rem 0 3rem;
  padding: 1.5rem;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.link-share ul {
  margin: 0;
  padding: 0;
}

.link-share li {
  display: inline-block;
  font-size: 2rem;
  color: #cccccc;
}

.link-share li a {
  margin: 0 1rem;
  text-decoration: none;
}

.link-share li a:hover {
  opacity: 0.7;
}

.icon-facebook { color: #3d5b99; }
.icon-twitter  { color: #64bef6; }
.icon-hatena   { color: #0ba8df; }
.icon-line     { color: #00c300; }

/* --- Copy Button --- */
.copy-button {
  display: block;
  margin: 1rem 0 0;
  padding: 1rem 1em;
  color: #ffffff;
  font-size: 1.4rem;
  text-align: center;
  background: #999999;
  border-radius: 6px;
  cursor: pointer;
}

.copy-button:hover {
  background: #aaaaaa;
  box-shadow: 2px 2px 4px #cccccc;
}

.copy-button.success { background: green; }
.copy-button.error   { background: red; }

/* --- Prev Next --- */
.link-post {
  display: table;
  table-layout: fixed;
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}

.link-post a {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  color: #666666;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 0 1px #cccccc;
}

.link-post a:hover {
  box-shadow: 2px 2px 4px #cccccc;
}

.link-prev {
  padding: 0 1rem 0 2rem;
}

.link-next {
  padding: 0 2rem 0 1rem;
  text-align: right;
}

.link-home {
  padding: 2rem;
  text-align: center;
}

.link-prev::before,
.link-next::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 15px;
  height: 100%;
  background: #333333;
}

.link-next::before {
  left: auto;
  right: 0;
}

.link-post a div {
  display: table;
  width: 100%;
}

.link-post a div span {
  display: table-cell;
  padding: 1rem 0.5rem;
  vertical-align: middle;
}

/* --- Search Form --- */
.searchform {
  position: relative;
  max-width: 24rem;
  margin: 2rem auto 0;
}

.searchform input[type="text"] {
  width: 100%;
  height: 4rem;
  padding: 0 1rem;
  font-size: 1.2rem;
  background: #fbfbfb;
  border: 1px solid #999999;
}

.searchform button[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  width: 4rem;
  height: 4rem;
  color: #ffffff;
  font-size: 1.8rem;
  background: #555555;
  border: 0;
  cursor: pointer;
}

.searchform button[type="submit"]:hover {
  background: #888888;
}

/* --- Form Table --- */
.table-form {
  width: 100%;
  margin: 3rem 0 0;
}

.table-form tr:nth-child(2n + 1) {
  background: #f7f7f7;
}

.table-form th,
.table-form td {
  padding: 1em;
}

.table-form th {
  width: 30%;
  text-align: right;
}

.table-form .requied {
  display: inline-block;
  padding: 0.2em 0.4em;
  color: #ffffff;
  font-size: 0.8em;
  background: #f33333;
  border-radius: 4px;
}

.table-form input[type="text"],
.table-form input[type="email"],
.table-form input[type="tel"],
.table-form textarea {
  width: 100%;
  padding: 0.5em;
  margin-bottom: 0.5em;
  border: 1px solid #89bdde;
  border-radius: 5px;
}

.table-form input[type="text"]:focus,
.table-form textarea:focus {
  background: #eeffff;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

/* --- CF7 --- */
.wpcf7 .wpcf7-list-item {
  display: block;
}

.wpcf7 input[type="submit"] {
  width: 27rem;
  margin: 1em auto 0;
  padding: 1rem 4rem;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  background: #49a9d4;
  border: 0;
  border-radius: 5px;
}

.wpcf7 input[type="submit"]:hover {
  opacity: 0.7;
}

/* --- Pagination --- */
.pagination {
  margin: 3rem 0;
}

.nav-links {
  display: flex;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #ffffff;
  background: #69a4db;
}

.pagination .page-numbers {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  color: #69a4db;
  background: #ffffff;
  box-shadow: 0 0 1px #999999;
}

.pagination .current {
  color: #ffffff;
  background: #69a4db;
}

.pagination .prev,
.pagination .next,
.pagination .dots {
  background: transparent;
  box-shadow: none;
}

/* --- TOC --- */
.toc {
  margin: 1.5rem 0;
  padding: 1em 0;
  font-size: 0.9em;
  border: 3px double #dddddd;
}

.toc p {
  text-align: center;
}

.toc li {
  padding: 2px 0 2px 1em;
  text-indent: -1em;
  border-bottom: 1px dashed #eeeeee;
}

.toc li::before {
  content: "・";
}

.toc a {
  color: #999999;
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

/* --- Memo --- */
.memo {
  margin: 2em 0;
  padding: 2em 1em;
  font-size: 1.4rem;
  background: #f7f7f7;
  border: 1px solid #dddddd;
}

/* =========================
   7. Footer
========================= */
.site-footer {
  margin-top: 6rem;
  padding: 5.6rem 2rem 2.8rem;
  background: #f5f4f1;
  color: #555555;
  font-size: 1.4rem;
  line-height: 1.9;
}

.site-footer a {
  color: #444444;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer a:hover {
  opacity: 0.68;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4.8rem;
  align-items: start;
  max-width: 110rem;
  margin: 0 auto;
}

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

.footer-title {
  margin: 0 0 1rem;
  font-size: 3rem;
  line-height: 1.3;
  font-weight: 500;
}

.footer-title a {
  color: #222222;
}

.footer-desc {
  margin: 0 0 2rem;
  color: #666666;
  font-size: 1.5rem;
  line-height: 1.9;
}

.footer-links-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
}

.footer-links-main a {
  position: relative;
  color: #333333;
  font-size: 1.5rem;
}

.footer-links-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.25;
}

.footer-nav,
.footer-related {
  text-align: left;
}

.footer-heading {
  margin: 0 0 1.4rem;
  padding-bottom: 0.8rem;
  color: #8a847b;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid #d8d5cf;
}

.footer-col ul,
.footer-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li + li,
.footer-related li + li {
  margin-top: 0.8rem;
}

.footer-col a,
.footer-related a {
  color: #444444;
  font-size: 1.5rem;
}

.footer-more {
  margin-top: 1.4rem;
}

.footer-more a {
  color: #7b746a;
  font-size: 1.3rem;
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 1.6rem;
  padding-top: 2rem;
  text-align: center;
  border-top: 1px solid #ddd8d1;
}

.footer-copy p {
  margin: 0;
  color: #8c867d;
  font-size: 1.2rem;
}

/* =========================
   8. Projects Page
========================= */
.projects-page {
  max-width: 72rem;
  margin: 0 auto;
}

.projects-intro {
  color: #666666;
  font-size: 1.6rem;
  line-height: 2;
}

.projects-group {
  margin-top: 4rem;
  color: #999999;
  font-size: 1.4rem;
}

.projects-list {
  margin-top: 3.2rem;
}

.projects-item {
  padding: 2.4rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.projects-item h2 {
  color: #222222;
  font-size: 2rem;
  line-height: 1.6;
}

.projects-item p {
  margin-top: 0.8rem;
  color: #555555;
  font-size: 1.5rem;
  line-height: 1.9;
}

.projects-item a {
  color: #222222;
  text-decoration: none;
}

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

/* =========================
   9. Header / Navigation
========================= */

/* --- Brand Bar --- */
.brand-bar {
  background: #f7f7f7;
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}

.brand-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.8rem 1rem;
}

.brand-bar-left,
.brand-bar-nav {
  line-height: 1.4;
}

.brand-bar-home {
  color: #222222;
  transition: opacity 0.2s ease;
}

.brand-bar-home:hover {
  color: #111111;
  opacity: 0.7;
}

.brand-bar-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.brand-bar-nav > a::after {
  bottom: -9px;
  height: 1px;
  background: #222222;
}

.brand-bar-nav > a.current::after,
.brand-bar-nav > a:hover::after {
  height: 2px;
}

/* --- Site Header --- */
#site-header-test {
  z-index: 900;
  background: #fefefe;
  border-bottom: 1px solid #f3f3f3;
  transition: padding 0.3s ease, transform 0.3s ease;
}

#site-header-test .inner {
  padding: 1.6rem 1rem 1.2rem;
}

.site-header-title {
  text-align: center;
}

.site-header-title a {
  color: var(--color-text-main);
  font-family: var(--font-jp-serif);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: var(--line-height-tight);
  letter-spacing: 0.04em;
}

.site-header-title a:hover {
  opacity: 0.7;
}

.site-header-brand {
  display: none;
}

/* --- Local Nav 共通 --- */
.local-nav {
  margin-top: 1.2rem;
}

.local-nav__row {
  display: flex;
  align-items: center;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.local-nav__row > a::after {
  bottom: 0;
}

.local-nav__scroll {
  overflow-x: auto;
  overflow-y: hidden;
}

.local-nav__scroll-wrap {
  position: relative;
}

/* --- Menu Open --- */
#site-header-test a.menu-open {
  display: none;
}

/* --- SP Menu --- */
#sp-menu {
  padding: 0 15px;
}

.sp-menu-brand {
  margin-bottom: 2rem;
  padding: 0.6rem;
  border-top: 3px double #e9e9e9;
  border-bottom: 3px double #e9e9e9;
}

.sp-menu-brand a {
  color: #222222;
  font-size: 1.8rem;
  line-height: 1.4;
}

.sp-menu-brand a:hover {
  opacity: 0.7;
}

.sp-menu-section + .sp-menu-section {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid #eeeeee;
}

.sp-menu-label {
  margin: 0 0 1.2rem;
  color: #666666;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sp-menu-global,
.sp-menu-local {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-menu-global li + li {
  margin-top: 1.2rem;
}

.sp-menu-local li + li {
  margin-top: 0.6rem;
}

.sp-menu-global a,
.sp-menu-local a {
  display: block;
  padding: 0.6rem 0.8rem;
  color: #222222;
  border-radius: 0.4rem;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.sp-menu-local a {
  padding: 0.1rem 0.8rem;
}

.sp-menu-global a:hover,
.sp-menu-local a:hover {
  background: #f7f7f7;
  opacity: 1;
}

.sp-menu-global .menu-en {
  display: block;
  font-size: 1.7rem;
  line-height: 1.4;
  font-weight: 500;
}

.sp-menu-global .menu-ja {
  display: block;
  margin-top: 0.2rem;
  color: #999999;
  font-size: 1.2rem;
  line-height: 1.4;
}

.sp-menu-search {
  margin-top: 1.8rem;
}

.sp-menu-search form {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sp-menu-search .search_text {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 4rem;
  padding: 0 1.2rem;
  font-size: 1.4rem;
  border: 1px solid #dddddd;
  border-radius: 0;
}

.sp-menu-search button {
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  background: #ffffff;
  border: 1px solid #dddddd;
  cursor: pointer;
}

/* =========================
   10. Atlas / Category Utility
========================= */
.archive-content--one-column {
  max-width: 88rem;
  margin: 0 auto;
}

.category-header {
  margin-bottom: 4rem;
  text-align: center;
}

.category-list-group + .category-list-group {
  margin-top: 4.8rem;
  padding-top: 4rem;
  border-top: 1px solid #e5e5e5;
}

.category-list-group h2 {
  margin-bottom: 1rem;
}

.category-list-lead {
  margin-bottom: 1.6rem;
  color: #666666;
}

.category-list-group ul li + li {
  margin-top: 0.8rem;
}

/* =========================
   11. Site Local Nav
========================= */

/* --- IRO --- */
.local-nav--iro {
  margin-top: 1.2rem;
}

.local-nav--iro .local-nav__row--iro {
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem 1.6rem;
}

.local-nav--iro .local-nav__row--iro > a {
  padding: 0.3rem 0.8rem 0.5rem;
  font-size: 1.5rem;
}

.local-nav--iro .local-nav__row--iro > a::after {
  bottom: 0;
  height: 1px;
  background: #222222;
}

.local-nav--iro .local-nav__row--iro > a.current {
  color: #ffffff;
  background: #333333;
}

.local-nav--iro .local-nav__row--iro > a.current::after {
  height: 0;
}

/* --- dic --- */
.local-nav--dic {
  margin-top: 1.2rem;
}

.local-nav--dic .local-nav__row--country {
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem 1.6rem;
}

.local-nav--dic .local-nav__row--country > a {
  padding: 0.3rem 0.8rem 0.5rem;
  font-size: 1.5rem;
}

.local-nav--dic .local-nav__row--country > a::after {
  bottom: 0;
  height: 1px;
  background: #222222;
}

.local-nav--dic .local-nav__row--country > a.current {
  color: #ffffff;
  background: #333333;
}

.local-nav--dic .local-nav__row--country > a.current::after {
  height: 0;
}

.local-nav--dic .local-nav__scroll-wrap {
  margin-top: 1rem;
}

.local-nav--dic .local-nav__row--tone {
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem 0.8rem;
  padding-bottom: 0.4rem;
}

.local-nav--dic .local-nav__row--tone > a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.5rem;
  font-size: 1.4rem;
}

.local-nav--dic .local-nav__row--tone > a::after {
  bottom: -0.4rem;
  height: 2px;
  background: #555555;
}

.local-nav--dic .local-nav__row--tone > a::before {
  content: "";
  flex: 0 0 auto;
  width: 0.6rem;
  height: 0.6rem;
  background: #cccccc;
  border-radius: 50%;
}

.local-nav--dic .local-nav__row--tone > a.tone-momo::before     { background: #e8b7c8; }
.local-nav--dic .local-nav__row--tone > a.tone-aka::before      { background: #c85a5a; }
.local-nav--dic .local-nav__row--tone > a.tone-daidai::before   { background: #d58a45; }
.local-nav--dic .local-nav__row--tone > a.tone-ki::before       { background: #d4b64c; }
.local-nav--dic .local-nav__row--tone > a.tone-midori::before   { background: #6d9b6f; }
.local-nav--dic .local-nav__row--tone > a.tone-ao::before       { background: #5b84b8; }
.local-nav--dic .local-nav__row--tone > a.tone-murasaki::before { background: #8a73a8; }
.local-nav--dic .local-nav__row--tone > a.tone-cha::before      { background: #8b6a52; }
.local-nav--dic .local-nav__row--tone > a.tone-bw::before       { background: #8d8d8d; }

.local-nav--dic .local-nav__row--tone > a.current::before {
  transform: scale(1.2);
}

/* --- Birth --- */
.local-nav--birth .local-nav__row--birth {
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem 0.6rem;
  margin-top: 1.2rem;
}

.local-nav--birth .local-nav__row--birth > a {
  padding: 0 0.5rem;
  font-size: 1.4rem;
}

.local-nav--birth .local-nav__row--birth > a::after {
  bottom: -0.5rem;
  height: 2px;
  background: #555555;
}

/* =========================
   12. Responsive
========================= */
@media (max-width: 959px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-title {
    font-size: 2.6rem;
  }
}

@media screen and (min-width: 768px) {
  .is-scrolled #site-header-test .inner {
    padding: 0.9rem 1rem 0.8rem;
  }

  .is-scrolled .site-header-brand {
    display: inline;
  }

  .is-scrolled .site-header-title a {
    font-size: 1.7rem;
    line-height: 1.3;
  }

  .is-scrolled .local-nav--birth .local-nav__row--birth {
    gap: 1rem 1.2rem;
    margin-top: 0.8rem;
  }

  .is-scrolled .local-nav--birth .local-nav__row--birth > a {
    font-size: 1.3rem;
  }

  .is-scrolled .local-nav--birth .local-nav__row--birth > a::after {
    bottom: -0.3rem;
  }

  .is-scrolled .local-nav--dic {
    margin-top: 0.8rem;
  }

  .is-scrolled .local-nav--dic .local-nav__row--country {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.2rem;
  }

  .is-scrolled .local-nav--dic .local-nav__row--country > a {
    padding: 0.3rem 0.7rem 0.3rem;
    font-size: 1.3rem;
  }

  .is-scrolled .local-nav--dic .local-nav__row--country > a::after {
    bottom: -0.4rem;
  }

  .is-scrolled .local-nav--dic .local-nav__scroll-wrap {
    margin-top: 0.7rem;
  }

  .is-scrolled .local-nav--dic .local-nav__scroll {
    padding: 0 1rem 0.4rem;
    text-align: center;
  }

  .is-scrolled .local-nav--dic .local-nav__row--tone {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    white-space: nowrap;
  }

  .is-scrolled .local-nav--dic .local-nav__row--tone > a {
    flex: 0 0 auto;
    gap: 0.4rem;
    font-size: 1.3rem;
  }

  .is-scrolled .local-nav--dic .local-nav__row--tone > a::after {
    bottom: 0;
  }

  .is-scrolled .local-nav--dic .local-nav__row--tone > a::before {
    width: 0.55rem;
    height: 0.55rem;
  }
}

@media screen and (max-width: 767px) {
  .brand-bar {
    display: none;
  }

  .label-pc {
    display: none;
  }

  .label-sp {
    display: inline;
  }

  #site-header-test .inner {
    padding: 1rem 0 0.4rem;
  }

  .site-header-title {
    display: block;
    padding: 0 1rem;
    text-align: left;
  }

  .site-header-brand {
    display: inline;
  }

  .site-header-title a {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .local-nav--iro .local-nav__row--iro {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1.2rem 0.8rem;
    overflow-x: auto;
    padding: 0 1rem;
    white-space: nowrap;
  }

  .local-nav--iro .local-nav__row--iro > a {
    flex: 0 0 auto;
    padding: 0.3rem 0.5rem 0.1rem;
    font-size: 1.4rem;
  }

  .local-nav--birth .local-nav__row--birth {
    position: relative;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1.2rem 0.6rem;
    margin-top: 0.9rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 1rem 0.5rem;
    white-space: nowrap;
  }

  .local-nav--birth .local-nav__row--birth::before {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.1rem;
    height: 1px;
    background: #e5e5e5;
  }

  .local-nav--birth .local-nav__row--birth > a {
    flex: 0 0 auto;
    font-size: 1.4rem;
  }

  .local-nav--birth .local-nav__row--birth > a::after {
    bottom: -0.4rem;
  }

  .local-nav--dic .local-nav__row--country {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1.2rem 0.8rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 1rem;
    white-space: nowrap;
  }

  .local-nav--dic .local-nav__row--country > a {
    flex: 0 0 auto;
    padding: 0.3rem 0.5rem 0.1rem;
    font-size: 1.4rem;
  }

  .local-nav--dic .local-nav__scroll-wrap {
    margin-top: 0;
  }

  .local-nav--dic .local-nav__scroll-wrap::before {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 1px;
    background: #e5e5e5;
  }

  .local-nav--dic .local-nav__scroll {
    padding: 0 1rem;
    text-align: left;
  }

  .local-nav--dic .local-nav__row--tone {
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.2rem 0.6rem;
    white-space: nowrap;
  }

  .local-nav--dic .local-nav__row--tone > a {
    flex: 0 0 auto;
    gap: 0.35rem;
    font-size: 1.3rem;
  }

  .local-nav--dic .local-nav__row--tone > a::after {
    bottom: -0.4rem;
  }

  .local-nav--dic .local-nav__row--tone > a::before {
    width: 0.5rem;
    height: 0.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-title {
    font-size: 2.3rem;
  }

  .footer-desc {
    font-size: 1.4rem;
  }

  .footer-links-main {
    gap: 0.6rem 1.2rem;
  }

  .footer-links-main a,
  .footer-col a,
  .footer-related a {
    font-size: 1.4rem;
  }

  .site-footer {
    margin-top: 4.8rem;
    padding: 4rem 1.6rem 2.4rem;
  }

  .footer-copy {
    margin-top: 0.4rem;
    padding-top: 1.6rem;
  }

  .link-post a {
    display: block;
  }

  .table-form th,
  .table-form td {
    display: block;
    width: 100%;
  }

  .table-form th {
    padding-bottom: 0;
    text-align: left;
  }

  .table-form .empty {
    display: none;
  }
}