/*
Theme Name: Bunka-ke Child
Theme URI: http://bunka-ke.local/
Description: Child theme for Bunka-ke based on Twenty Twenty-Five
Author: （あなたの名前）
Template: twentytwentyfive
Version: 1.0
Text Domain: bunka-ke-child
*/

/* =========================================================
   01. Base
   ========================================================= */

body {
  font-family: "Noto Serif JP", serif !important;
  width: 1280px !important; /* TODO: responsive化時に見直す */
  margin: 0 auto;
  overflow-x: hidden;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none;
}

.wp-block-columns {
  max-width: none !important;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* =========================================================
   02. Header / Navigation
   ========================================================= */

div.wp-site-blocks > header {
  margin: 10px 0 0;
}

header.wp-block-template-part > .wp-block-group {
  width: 100% !important;
  max-width: none !important;
  padding: 0;
  box-sizing: border-box;
}

header.wp-block-template-part .wp-block-group.has-global-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: none;
}

header.wp-block-template-part .wp-block-group {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

header.wp-block-template-part .wp-block-site-title,
header.wp-block-template-part h1 {
  margin-top: 0 !important;
  margin-bottom: 0.1em;
}

header.wp-block-template-part .header-columns > .wp-block-column:first-child {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
}

.header-bar {
  width: 100%;
  background: #fff;
  border-top: 4px solid #e9e9e9;
  border-bottom: 1px solid #ddd;
}

.header-bar.is-layout-constrained > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.header-bar .wp-block-columns {
  width: 100%;
  max-width: none !important;
  justify-content: space-between;
  align-items: flex-end;
  box-sizing: border-box;
}

.header-columns {
  display: grid !important;
  grid-template-columns: 30% 70% !important;
  align-items: center;
}

.header-left .wp-block-site-title a,
.wp-block-site-title,
.wp-block-site-title a {
  display: block !important;
  text-align: left !important;
}

.header-left .wp-block-site-title a {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 22px;
  color: #111;
  text-decoration: none;
}

.header-left p {
  margin-top: 4px;
  font-size: 11px;
  color: #666;
  line-height: 1.4;
}

.wp-block-navigation__container {
  column-gap: 0;
}

.wp-block-navigation-item {
  border-right: none !important;
  border-left: none !important;
}

.wp-block-navigation-item a {
  display: block;
  padding: 4px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
  color: #111;
  text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4px 5px;
}

.wp-block-navigation-item a::before {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  line-height: 1.1;
  color: #444;
}

.nav-home a::before { content: "はじめに"; }
.nav-philosophy a::before { content: "当社の想い"; }
.nav-topics a::before { content: "注目の話題"; }
.nav-works a::before { content: "これまでの仕事"; }
.nav-news a::before { content: "お知らせ"; }
.nav-about a::before { content: "会社案内"; }
.nav-contact a::before { content: "お問い合わせ"; }
.nav-faq a::before { content: "質問集"; }

.nav-two-lines .wp-block-navigation__container {
  gap: 8px;
}

.nav-two-lines .wp-block-navigation-item a {
  position: relative;
  padding: 8px 10px;
  border-left: 1px solid #e5e5e5;
}

.nav-two-lines .wp-block-navigation-item:first-child a {
  border-left: none;
}

.nav-two-lines .wp-block-navigation-item__label {
  display: block;
  font-size: 12px;
}

.nav-two-lines .wp-block-navigation-item a::after {
  content: "";
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #555;
  letter-spacing: .2px;
}

.nav-two-lines .nav-home a::after { content: "Home"; }
.nav-two-lines .nav-philosophy a::after { content: "Philosophy"; }
.nav-two-lines .nav-topics a::after { content: "Topics"; }
.nav-two-lines .nav-works a::after { content: "Works"; }
.nav-two-lines .nav-news a::after { content: "News"; }
.nav-two-lines .nav-about a::after { content: "About"; }
.nav-two-lines .nav-faq a::after { content: "Q&A"; }

.nav-two-lines .wp-block-navigation-item a:hover {
  background: #f7f7f7;
}

@media (max-width: 820px) {
  .nav-two-lines .wp-block-navigation-item a::after {
    display: none;
  }
}

/* =========================================================
   03. Slider
   ========================================================= */

.slider-full {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.slider-full.is-layout-constrained,
.slider-full.wp-block-group {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.slider-full iframe,
.slider-full .n2-ss-slider,
.slider-full .n2-ss-slide,
.slider-full .n2-ss-slider-3 {
  width: 100vw !important;
  max-width: 100vw !important;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* =========================================================
   04. Floating Contact Button
   ========================================================= */

.floating-contact-btn {
  position: fixed;
  right: 100px;
  bottom: 40px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.floating-contact-btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.site-footer-copy {
  margin: 0;
  padding: 24px 16px 28px;
  background: #fff;
  text-align: center;
}

.site-footer-copy p {
  margin: 0;
  color: #111;
  font-size: 12px;
  line-height: 1.8;
}

.site-footer-copy a {
  color: inherit;
  text-decoration: underline;
}

/* =========================================================
   05. News
   ========================================================= */

.news-list {
  display: block;
  padding: 15px 5px;
  margin: -60px 35px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.news-list .wp-block-post-date {
  margin: 0 0 4px;
  font-size: 12px;
  color: #777;
}

.news-list .wp-block-post-title {
  display: block !important;
  margin: 0;
  text-align: left !important;
}

.news-list .wp-block-post-title a {
  display: block !important;
  text-align: left !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: #111;
}

.news-list .wp-block-post-title a:hover {
  opacity: .7;
}

.news-list .wp-block-post-title a::after {
  content: " >";
  padding-left: 3px;
  color: #999;
  font-weight: 400;
}

/* =========================================================
   06. Common Section Titles
   ========================================================= */

.philosophy-top,
.topics-top,
.works-top,
.about-top,
.contact-top {
  color: #999999;
  font-size: 22px;
  font-weight: 400;
}

.philosophy-bottom,
.topics-bottom,
.works-bottom,
.about-bottom,
.contact-bottom {
  color: #999999;
  font-size: 36px;
  font-weight: bold;
  margin: 10px 0;
}

/* =========================================================
   07. Philosophy
   ========================================================= */

.section-philosophy {
  max-width: 1200px;
  margin: 65px auto;
  padding: 0;
  box-sizing: border-box;
  background: #fff;
}

.section-philosophy .wp-block-media-text {
  grid-template-columns: 45% 55% !important;
  column-gap: 55px !important;
  align-items: start !important;
}

.section-philosophy h2 {
  text-align: left;
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin-bottom: 24px;
}

.section-philosophy h3,
.section-philosophy .wp-block-heading {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
  font-weight: 400;
}

.section-philosophy p {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 18px;
}

.section-philosophy img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.section-philosophy .wp-block-media-text__media {
  margin-right: calc(-50vw + 50%);
  width: 50vw !important;
}

.section-philosophy .wp-block-media-text__media img {
  width: 100% !important;
  height: auto;
  object-fit: cover;
}

.section-philosophy > div > div {
  padding: 0;
}

/* =========================================================
   08. Topics
   ========================================================= */

.section-topics {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  margin: 0 calc(50% - 50vw) 0 calc(50% - 50vw) !important;
  padding: 65px 55px;
  box-sizing: border-box;
  background-color: #ECECEC;
}

.section-topics > * {
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.section-topics > div {
  margin-block-start: 3.2rem;
}

.section-topics .wp-block-post-template {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
}

.section-topics .wp-block-post-template > li:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  width: 450px;
  padding: 0 0 0 50px;
}

.section-topics .wp-block-post-template > li:nth-child(1) > div {
  width: 450px !important;
}

.section-topics .wp-block-post-template > li:nth-child(1) > figure > a > img {
  width: 450px;
  height: 450px;
}

.section-topics .wp-block-post-template > li:nth-child(2),
.section-topics .wp-block-post-template > li:nth-child(3) {
  display: flex;
  gap: 20px;
}

.section-topics .wp-block-post-template > li:nth-child(2) {
  height: 0;
  margin: 0 0 60px 0;
}

.section-topics .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image,
.section-topics .wp-block-post-template > li:nth-child(3) .wp-block-post-featured-image {
  flex-shrink: 0;
}

.section-topics .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image img,
.section-topics .wp-block-post-template > li:nth-child(3) .wp-block-post-featured-image img {
  width: 300px;
  height: auto;
  display: block;
}

.section-topics .wp-block-post-template > li:nth-child(2) > *:not(.wp-block-post-featured-image) {
  width: 65%;
}

.section-topics .wp-block-post-featured-image img {
  width: 300px;
  height: 300px;
  border-radius: 4px;
  object-fit: cover;
}

.section-topics .wp-block-post-date {
  font-size: 12px;
  color: #777;
  margin: 0 0 4px;
}

.section-topics .wp-block-post-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.section-topics .wp-block-post > div {
  font-size: 14px;
  padding: 0 0 0 10px;
  width: 300px;
}

.section-topics .wp-block-post-date time {
  display: block;
  width: 300px;
}

.section-topics .entry-content {
  margin: 5px 0 0 0;
}

.section-topics .topics-more,
.section-topics .wp-block-button {
  text-align: center;
  margin: 0 auto;
}

.section-topics .topics-more {
  margin-top: 40px;
  margin-bottom: 20px;
}

.section-topics .topics-more a,
.section-topics .wp-block-button__link {
  display: inline-block;
  padding: 0 0 4px 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #333;
  color: #333 !important;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  letter-spacing: .05em;
  text-decoration: none !important;
}

.section-topics .topics-more a:hover,
.section-topics .wp-block-button__link:hover {
  opacity: .6;
  transition: 0.2s ease;
}

/* =========================================================
   09. Works
   ========================================================= */

.section-works {
  margin: 0;
  padding: 65px 55px;
  box-sizing: border-box;
}

.section-works .wp-block-query {
  margin: 45px 0 45px 45px;
}

.section-works .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 24px;
}

.section-works .wp-block-post-template > li:nth-child(1) {
  grid-column: 1 / -1;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.section-works .wp-block-post-template > li:nth-child(1) .wp-block-post-featured-image {
  width: 55%;
  flex-shrink: 0;
}

.section-works .wp-block-post-template > li:nth-child(1) .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section-works .wp-block-post-template > li:nth-child(1) > *:not(.wp-block-post-featured-image) {
  width: 45%;
}

.section-works .wp-block-post-template > li:nth-child(1) > div,
.section-works .wp-block-post-template > li > div {
  padding: 0;
}

.section-works .wp-block-post-template > li:nth-child(1) .wp-block-post-date {
  margin-top: 0;
}

.section-works .wp-block-post-template > li:nth-child(1) .wp-block-post-excerpt {
  margin-top: 5px;
}

.section-works .wp-block-post-template > li:nth-child(1) .wp-block-post-excerpt > p {
  font-size: 14px;
  letter-spacing: -1px;
}

.section-works .wp-block-post-template > li:nth-child(n+2) {
  display: block;
}

.section-works .wp-block-post-template > li:nth-child(n+2) .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section-works .wp-block-post-featured-image img {
  width: 620px;
}

.section-works .wp-block-post-date {
  font-size: 12px;
  margin-top: 8px;
  color: #777;
}

.section-works .wp-block-post-excerpt {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 5px;
}

.section-works h2 {
  font-size: 32px;
  margin-bottom: 24px;
  font-weight: 600;
  color: #333;
}

.section-works h3,
.section-works .wp-block-heading {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
  font-weight: 400;
}

.section-works .works-more,
.section-works .wp-block-button {
  text-align: center;
  margin: 0 auto;
}

.section-works .works-more {
  margin-top: 40px;
  margin-bottom: 20px;
}

.section-works .works-more a,
.section-works .wp-block-button__link {
  display: inline-block;
  padding: 0 0 4px 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #333;
  color: #333 !important;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  letter-spacing: .05em;
  text-decoration: none !important;
}

.section-works .works-more a:hover,
.section-works .wp-block-button__link:hover {
  opacity: .6;
  transition: 0.2s ease;
}

/* =========================================================
   10. Archive Lists
   ========================================================= */

.archive-list-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 55px 110px;
  box-sizing: border-box;
  background: #fff;
}

.archive-list-kicker {
  margin: 0 0 14px;
  color: #999;
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
}

.archive-list-title {
  margin: 0 0 54px;
  color: #333;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
}

.archive-list-query {
  margin: 0;
}

.archive-list-page .wp-block-post-template,
.archive-list-page .archive-list-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.archive-list-page .wp-block-post {
  min-width: 0;
  margin: 0;
}

.archive-list-card {
  display: block;
  height: 100%;
  margin: 0;
}

.archive-list-card a {
  color: inherit;
  text-decoration: none;
}

.archive-list-card a:hover {
  opacity: .7;
}

.archive-list-image {
  margin: 0 0 16px;
}

.archive-list-image img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}

.archive-list-date {
  margin: 0 0 6px;
  color: #333;
  font-size: 14px;
  line-height: 1.4;
}

.archive-list-card-title {
  margin: 0 0 8px;
  color: #111;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}

.archive-list-card-title a {
  color: inherit;
  text-decoration: none;
}

.archive-list-excerpt,
.archive-list-excerpt p {
  margin: 0;
  color: #111;
  font-size: 14px;
  line-height: 1.65;
}

.archive-list-excerpt p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-list-empty {
  margin: 0;
  color: #555;
  font-size: 15px;
}

.archive-list-pagination {
  gap: 18px;
  margin-top: 64px;
}

.archive-list-pagination a,
.archive-list-pagination .page-numbers {
  color: #111;
  font-size: 14px;
  text-decoration: none;
}

/* =========================================================
   11. Default Page / Free Post Page
   ========================================================= */

.page-default {
  max-width: 1080px;
  margin: 0 auto;
  padding: 86px 55px 110px;
  box-sizing: border-box;
  background: #fff;
}

.page-default-title {
  margin: 0 0 48px;
  color: #999;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 600;
}

.page-default-content {
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}

.free-post-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 86px 55px 110px;
  box-sizing: border-box;
  background: #fff;
}

.free-post-title {
  margin: 0;
  color: #999;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 600;
}

.free-post-content {
  margin-top: 56px;
}

.free-post-block {
  margin: 0 0 64px;
}

.free-post-block img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.free-post-block figure {
  margin: 0;
}

.free-post-text,
.free-post-block figcaption {
  margin: 14px 0 0;
  color: #333;
  font-size: 15px;
  line-height: 1.8;
}

.free-post-text:empty,
.free-post-block figcaption:empty {
  display: none;
}

.free-post-single img {
  aspect-ratio: 16 / 9;
}

.free-post-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.free-post-two img {
  aspect-ratio: 4 / 3;
}

.free-post-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.free-post-four img {
  aspect-ratio: 1 / 1;
}

.free-post-divider {
  display: block;
  margin: 64px 0;
  border: 0;
  border-top: 1px solid #cfcfcf;
}

/* =========================================================
   12. About
   ========================================================= */

.section-about {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #ECECEC;
  padding: 65px 0;
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.about-card {
  background: #fff;
  padding: 55px 45px 35px;
  margin: 45px 35px !important;
}

.about-card .wp-block-columns {
  align-items: flex-start;
}

.about-company-profiel {
  color: #888888;
  font-size: 17px;
}

.about-company-name {
  display: block;
  width: 100%;
  padding-bottom: 6px;
  border-bottom: 1px solid #888888;
  color: #888888;
  font-size: 24px;
  font-weight: 400;
}

.about-company-profiel-honsya-title,
.about-company-profiel-togane-title,
.about-company-profiel-noda-title {
  font-size: 18px;
  margin: 30px 0 0 0;
}

.about-company-profiel-honsya-detail,
.about-company-profiel-togane-detail,
.about-company-profiel-noda-detail {
  font-size: 17px;
  margin: 3px 0 0 0;
}

.map-wrap {
  padding: 37px 0 0 0;
}

.map-wrap iframe {
  width: 100% !important;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  display: block;
}

.map-wrap > p {
  font-size: 14px;
  margin: 5px 0 0 0;
  color: #888888;
}

.about-ceo-profiel-top {
  font-size: 18px;
  color: #888888;
  margin: 0;
  letter-spacing: 1px;
}

.about-ceo-profiel-bottom {
  margin: 2px 0;
  border-bottom: 1px solid #888888;
  color: #888888;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 1px;
}

.about-ceo-profiel-bottom > span {
  font-size: 18px;
  margin: 0 15px;
}

.about-ceo-top,
.about-ceo-middle,
.about-ceo-bottom {
  font-size: 15px;
  color: #888888;
  margin: 25px 0;
  letter-spacing: 1px;
  line-height: 30px;
}

/* =========================================================
   11. Contact
   ========================================================= */

.section-contact {
  margin: 0;
  padding: 65px 55px 10px;
  box-sizing: border-box;
}

.page-contact {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-contact h2 {
  text-align: center;
  margin-bottom: 30px;
}

.wpcf7 {
  width: 900px;
  margin: 0 auto;
}

.wpcf7 form {
  font-size: 16px;
}

.wpcf7 p {
  margin-bottom: 16px;
}

.wpcf7 .required {
  color: #e00;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #bdbdbd;
  border-radius: 8px;
  padding: 8px 12px;
  box-sizing: border-box;
  background: #fff;
  color: #111;
  font-size: 14px;
  line-height: 1.5;
}

.wpcf7 input[type="submit"],
.wpcf7 input[value="送信"] {
  display: block;
  width: auto;
  min-width: 58px;
  min-height: 44px;
  margin: 0 auto;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.wpcf7 input[type="submit"]:hover {
  background: #333;
}

/* =========================================================
   12. Section Title Overrides
   ========================================================= */

.section-philosophy .philosophy-top,
.section-topics .topics-top,
.section-works .works-top,
.section-about .about-top,
.section-contact .contact-top,
#contact > .contact-top {
  color: #999999;
  font-size: 22px;
  font-weight: 400;
}

.section-philosophy .philosophy-bottom,
.section-works .works-bottom,
.section-about .about-bottom,
.section-contact .contact-bottom,
#contact > .contact-bottom {
  color: #999999;
  font-size: 36px;
  font-weight: bold;
  margin: 10px 0;
}

.section-topics .topics-bottom {
  color: #999999;
  font-size: 36px;
  font-weight: bold;
  margin: 10px auto;
}

/* =========================================================
   13. Mobile
   ========================================================= */

@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: block !important;
  }

  .wp-site-blocks {
    width: 400px;
  }

  .header-columns {
    grid-template-columns: 80% 20% !important;
  }

  .wp-block-columns {
    gap: 10px;
  }

  .header-columns > .wp-block-column:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .wp-block-navigation__responsive-container-open {
    position: relative;
    width: 44px;
    height: 44px;
  }

  .wp-block-navigation__responsive-container-open svg {
    display: none !important;
  }

  .wp-block-navigation__responsive-container-open::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 16px;
    transform: translate(-50%, -50%);
    background:
      linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  }

  div.slider-full {
    width: 100%;
    position: relative;
    right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .sp-only img {
    width: 100%;
    height: auto;
    display: block;
  }

  .section-philosophy {
    margin: 40px auto;
  }

  .section-philosophy .wp-block-media-text {
    grid-template-columns: 1fr !important;
  }

  .section-topics {
    padding: 0;
    height: 400px;
  }

  .section-topics .wp-block-post-template {
    display: block !important;
  }

  .section-topics .wp-block-post-template.is-flex {
    flex-direction: column !important;
  }

  .section-topics .wp-block-post-template > li {
    width: 100%;
    display: grid !important;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    align-items: start;
    margin-bottom: 22px;
  }

  .section-topics .wp-block-post-template > li:nth-child(1) {
    padding: 0;
  }

  .section-topics .wp-block-post-template > li:nth-child(1) > figure > a > img {
    width: unset;
    height: unset;
  }

  .section-topics .wp-block-post-template > li:nth-child(even) {
    grid-template-columns: 1fr 140px;
  }

  .section-topics .wp-block-post-template > li:nth-child(even) .wp-block-post-featured-image {
    order: 2;
  }

  .section-topics .wp-block-post-featured-image {
    margin: 0;
  }

  .section-topics .wp-block-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .section-topics .wp-block-post-template > li:nth-child(2) > *:not(.wp-block-post-featured-image) {
    width: 100%;
    font-size: 16px;
  }

  .section-topics .wp-block-post-content,
  .section-topics .wp-block-post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .section-topics .sp-only .wp-block-post > div {
    width: 180px;
  }

  .section-works .wp-block-post-template {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    margin: 0;
    padding: 0;
  }

  .section-works .wp-block-post-template > li {
    list-style: none;
    margin: 0;
  }

  .section-works .wp-block-post-template > li:nth-child(1) {
    grid-column: 1 / -1;
  }

  .section-works .wp-block-post-template > li .wp-block-post-featured-image,
  .section-works .wp-block-post-template > li figure,
  .section-works .wp-block-post-template > li img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }

  .section-works .wp-block-post-template > li:nth-child(n+2) .wp-block-post-excerpt,
  .section-works .wp-block-post-template > li:nth-child(n+2) .wp-block-post-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .section-about {
    width: 375px;
    position: unset;
    left: 50%;
    right: 50%;
    margin-left: 0;
    margin-right: 0;
    background-color: #ECECEC;
    padding: 65px 0;
  }

  .about-card {
    background-color: #ECECEC;
    margin: 60px 0 0 0 !important;
    padding: 0 !important;
  }

  .about-company-name {
    border-bottom: none;
  }

  .map-full {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  .map-full iframe {
    width: 100% !important;
    max-width: 100%;
    height: 360px;
    border: 0;
    display: block;
  }

  .profile-leader div {
    display: flex;
  }

  .about-ceo-image div.wp-block-media-text__content {
    display: block;
  }

  .profile-leader figure img {
    width: 140px;
  }

  .profile-leader .wp-block-media-text__content {
    padding-right: 0;
  }

  .wpcf7 {
    width: 280px;
  }
}

/* =========================================================
   14. Responsive Refinements
   ========================================================= */

@media (max-width: 1280px) {
  body {
    width: 100% !important;
    max-width: 1280px;
  }

  .wp-site-blocks {
    width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 1024px) {
  .header-columns {
    grid-template-columns: minmax(240px, 38%) 1fr !important;
  }

  .header-left .wp-block-site-title a {
    font-size: 20px;
  }

  .wp-block-navigation-item a {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 12px;
  }

  .section-philosophy,
  .section-works,
  .section-contact {
    padding-right: 32px;
    padding-left: 32px;
  }

  .section-topics {
    padding-right: 32px;
    padding-left: 32px;
  }

  .section-topics .wp-block-post-template {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .section-topics .wp-block-post-template > li:nth-child(1) {
    width: 100%;
    padding-left: 0;
  }

  .section-topics .wp-block-post-template > li:nth-child(1) > div {
    width: 100% !important;
  }

  .section-topics .wp-block-post-template > li:nth-child(1) > figure > a > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .section-topics .wp-block-post-template > li:nth-child(2),
  .section-topics .wp-block-post-template > li:nth-child(3) {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    height: auto;
    margin: 0;
  }

  .section-topics .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image img,
  .section-topics .wp-block-post-template > li:nth-child(3) .wp-block-post-featured-image img {
    width: 160px;
    height: 160px;
    object-fit: cover;
  }

  .section-topics .wp-block-post-template > li:nth-child(2) > *:not(.wp-block-post-featured-image) {
    width: 100%;
  }

  .section-topics .wp-block-post > div,
  .section-topics .wp-block-post-date time {
    width: 100%;
  }

  .section-works .wp-block-post-template {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-works .wp-block-query {
    margin-left: 0;
  }

  .section-works .wp-block-post-template > li:nth-child(1) {
    gap: 28px;
  }

  .archive-list-page {
    padding: 72px 32px 96px;
  }

  .archive-list-page .wp-block-post-template,
  .archive-list-page .archive-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 28px;
  }

  .about-inner {
    max-width: 100%;
    padding-right: 32px;
    padding-left: 32px;
    box-sizing: border-box;
  }

  .wpcf7 {
    width: 100%;
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  body {
    width: 100% !important;
    max-width: none;
  }

  .wp-site-blocks {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  div.wp-site-blocks > header {
    margin-top: 0;
  }

  .archive-list-page {
    padding: 52px 30px 88px;
  }

  .archive-list-kicker {
    margin-bottom: 12px;
    font-size: 32px;
  }

  .archive-list-title {
    margin-bottom: 34px;
    font-size: 18px;
  }

  .archive-list-page .wp-block-post-template,
  .archive-list-page .archive-list-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .archive-list-image {
    margin-bottom: 12px;
  }

  .archive-list-date {
    font-size: 13px;
  }

  .archive-list-card-title {
    font-size: 15px;
  }

  .archive-list-excerpt,
  .archive-list-excerpt p {
    font-size: 13px;
    line-height: 1.6;
  }

  .archive-list-pagination {
    margin-top: 48px;
  }

  .page-default {
    padding: 52px 30px 92px;
  }

  .page-default-title {
    margin-bottom: 36px;
    font-size: 30px;
  }

  .page-default-content {
    font-size: 14px;
    line-height: 1.75;
  }

  .free-post-page {
    padding: 52px 30px 92px;
  }

  .free-post-title {
    font-size: 30px;
  }

  .free-post-content {
    margin-top: 36px;
  }

  .free-post-block {
    margin-bottom: 46px;
  }

  .free-post-two {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .free-post-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .free-post-text,
  .free-post-block figcaption {
    font-size: 14px;
    line-height: 1.75;
  }

  .free-post-divider {
    margin: 46px 0;
  }

  .header-bar {
    border-top: 0;
    border-bottom: 1px solid #ddd;
  }

  .header-bar .wp-block-columns,
  .header-columns {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    column-gap: 0;
    align-items: center;
    min-height: 74px;
    padding: 18px 0 0 0;
  }

  .header-left .wp-block-site-title a {
    font-size: 22px;
    line-height: 1.15;
    color: #444;
  }

  .header-left p {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: -2px;
  }

  body > .wp-site-blocks > header.wp-block-template-part > div > div {
    padding: 20px;
    box-sizing: border-box;
  }

  .header-columns > .wp-block-column:last-child {
    min-height: 52px;
    border-left: 1px solid #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 0;
  }

  .wp-block-navigation__responsive-container-open {
    width: 44px;
    height: 44px;
    color: #444;
  }

  .wp-block-navigation__responsive-container-open::before {
    width: 26px;
    height: 20px;
    background:
      linear-gradient(currentColor, currentColor) 0 0 / 100% 3px no-repeat,
      linear-gradient(currentColor, currentColor) 0 50% / 100% 3px no-repeat,
      linear-gradient(currentColor, currentColor) 0 100% / 100% 3px no-repeat;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    padding: 72px 52px 56px;
    background: #fff;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    top: 28px;
    right: 30px;
    width: 44px;
    height: 44px;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: flex-start;
    padding-top: 0;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation .wp-block-navigation-item,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    display: block;
    width: 100%;
    padding: 0;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
    display: block;
    width: fit-content;
    min-width: 150px;
    padding: 0;
    border: 0;
    outline-offset: 6px;
    text-align: left;
    font-size: 22px;
    line-height: 1.12;
    font-weight: 700;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a::before {
    margin: 0 0 4px;
    text-align: left;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 600;
    color: #444;
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:hover,
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a:focus {
    background: transparent;
  }

  .floating-contact-btn {
    right: 14px;
    bottom: 14px;
    width: 78px;
    height: 78px;
    font-size: 12px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
  }

  .slider-full,
  .section-topics,
  .section-about,
  .map-full {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
  }

  .slider-full {
    overflow: hidden;
  }

  .slider-full iframe,
  .slider-full .n2-ss-slider,
  .slider-full .n2-ss-slide,
  .slider-full .n2-ss-slider-3 {
    width: 100% !important;
    max-width: 100% !important;
    left: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .slider-full .sp-only,
  .slider-full .sp-only.wp-block-group,
  .slider-full .sp-only.has-global-padding,
  .slider-full .sp-only.is-layout-constrained,
  .slider-full .sp-only > *,
  .slider-full .sp-only.is-layout-constrained > *,
  .slider-full .sp-only .wp-block-image,
  .slider-full .sp-only figure {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .slider-full .sp-only .wp-block-image,
  .slider-full .sp-only figure {
    display: block !important;
    position: static;
    left: auto;
    transform: none;
  }

  .slider-full .sp-only img,
  .slider-full .sp-only .wp-block-image img,
  .slider-full .sp-only figure img,
  .slider-full .sp-only img[class*="wp-image-"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .section-philosophy,
  .section-works,
  .section-contact {
    padding: 48px 20px;
  }

  .section-philosophy {
    max-width: none;
    margin: 40px auto;
  }

  .section-philosophy .wp-block-media-text {
    display: block;
  }

  .section-philosophy .wp-block-media-text__media {
    width: 100% !important;
    margin-right: 0;
  }

  .section-topics {
    height: auto;
    padding: 48px 20px;
    box-sizing: border-box;
  }

  .section-topics > * {
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }

  .section-topics > div {
    margin-block-start: 0;
  }

  .section-topics .wp-block-post-template {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .section-topics .wp-block-post-template > li,
  .section-topics .wp-block-post-template > li:nth-child(1),
  .section-topics .wp-block-post-template > li:nth-child(2),
  .section-topics .wp-block-post-template > li:nth-child(3),
  .section-topics .wp-block-post-template > li:nth-child(even) {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    grid-column: auto;
    grid-row: auto;
    gap: 14px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    align-items: start;
  }

  .section-topics .wp-block-post-template > li:nth-child(even) .wp-block-post-featured-image {
    order: 0;
  }

  .section-topics .wp-block-post-featured-image,
  .section-topics .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image,
  .section-topics .wp-block-post-template > li:nth-child(3) .wp-block-post-featured-image {
    width: 112px;
    margin: 0;
  }

  .section-topics .wp-block-post-featured-image img,
  .section-topics .wp-block-post-template > li:nth-child(1) > figure > a > img,
  .section-topics .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image img,
  .section-topics .wp-block-post-template > li:nth-child(3) .wp-block-post-featured-image img {
    width: 112px;
    height: 112px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .section-topics .wp-block-post-template > li > div,
  .section-topics .wp-block-post-template > li:nth-child(1) > div,
  .section-topics .wp-block-post-template > li:nth-child(2) > *:not(.wp-block-post-featured-image),
  .section-topics .wp-block-post > div,
  .section-topics .wp-block-post-date time,
  .section-topics .sp-only .wp-block-post > div {
    width: 100% !important;
    min-width: 0;
    padding: 0;
  }

  .section-topics .wp-block-post-content,
  .section-topics .wp-block-post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .section-works .wp-block-post-template {
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
  }

  .section-works .wp-block-post-template > li:nth-child(1) {
    display: block;
  }

  .section-works .wp-block-post-template > li:nth-child(1) .wp-block-post-featured-image,
  .section-works .wp-block-post-template > li:nth-child(1) > *:not(.wp-block-post-featured-image) {
    width: 100%;
  }

  .section-about {
    max-width: 100vw;
    padding: 48px 0;
  }

  .about-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .about-card {
    margin: 36px 0 0 0 !important;
  }

  .about-card .wp-block-columns {
    display: block;
  }

  .profile-leader div {
    display: block;
  }

  .profile-leader figure img {
    width: 100%;
    max-width: 180px;
  }

  .map-full iframe {
    height: 320px;
  }

  .section-contact {
    padding: 48px 20px 40px;
    box-sizing: border-box;
  }

  .wpcf7 {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .wpcf7 form {
    width: 100%;
    box-sizing: border-box;
  }

  .wpcf7 p {
    margin-bottom: 22px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .section-philosophy,
  .section-works,
  .section-contact {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-topics {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-topics .wp-block-post-template > li,
  .section-topics .wp-block-post-template > li:nth-child(1),
  .section-topics .wp-block-post-template > li:nth-child(2),
  .section-topics .wp-block-post-template > li:nth-child(3),
  .section-topics .wp-block-post-template > li:nth-child(even) {
    grid-template-columns: 96px minmax(0, 1fr) !important;
    gap: 12px;
  }

  .section-topics .wp-block-post-featured-image,
  .section-topics .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image,
  .section-topics .wp-block-post-template > li:nth-child(3) .wp-block-post-featured-image,
  .section-topics .wp-block-post-featured-image img,
  .section-topics .wp-block-post-template > li:nth-child(1) > figure > a > img,
  .section-topics .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image img,
  .section-topics .wp-block-post-template > li:nth-child(3) .wp-block-post-featured-image img {
    width: 96px;
    height: 96px;
  }

  .section-topics {
    padding: 44px 30px 48px;
    background-color: #e9e9e9;
  }

  .section-topics .topics-top {
    margin: 0 0 42px;
    font-size: 22px;
    line-height: 1;
    color: #999;
    font-weight: 600;
  }

  .section-topics .wp-block-post-template {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .section-topics .wp-block-post-template > li,
  .section-topics .wp-block-post-template > li:nth-child(1),
  .section-topics .wp-block-post-template > li:nth-child(2),
  .section-topics .wp-block-post-template > li:nth-child(3),
  .section-topics .wp-block-post-template > li:nth-child(even) {
    display: grid !important;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr) !important;
    gap: 22px;
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .section-topics .wp-block-post-template > li:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 42%) !important;
  }

  .section-topics .wp-block-post-featured-image,
  .section-topics .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image,
  .section-topics .wp-block-post-template > li:nth-child(3) .wp-block-post-featured-image {
    width: 100%;
    margin: 0;
    order: 1;
  }

  .section-topics .wp-block-post-template > li:nth-child(even) .wp-block-post-featured-image {
    order: 2;
  }

  .section-topics .topic-text,
  .section-topics .wp-block-post-template > li > div,
  .section-topics .wp-block-post-template > li:nth-child(1) > div,
  .section-topics .wp-block-post-template > li:nth-child(2) > *:not(.wp-block-post-featured-image),
  .section-topics .wp-block-post > div,
  .section-topics .sp-only .wp-block-post > div {
    width: 100% !important;
    min-width: 0;
    padding: 0;
    order: 2;
  }

  .section-topics .wp-block-post-template > li:nth-child(even) .topic-text,
  .section-topics .wp-block-post-template > li:nth-child(even) > div {
    order: 1;
  }

  .section-topics .wp-block-post-featured-image img,
  .section-topics .wp-block-post-template > li:nth-child(1) > figure > a > img,
  .section-topics .wp-block-post-template > li:nth-child(2) .wp-block-post-featured-image img,
  .section-topics .wp-block-post-template > li:nth-child(3) .wp-block-post-featured-image img {
    width: 100% !important;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .section-topics .wp-block-post-content,
  .section-topics .wp-block-post-excerpt,
  .section-topics .entry-content {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.55;
    color: #111;
  }

  .section-works .wp-block-post-template {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 40px 18px;
    margin: 0;
    padding: 0;
  }

  .section-works {
    padding: 46px 42px 58px;
    background: #fff;
  }

  .section-works .works-top {
    margin: 0 0 42px;
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
    color: #999;
  }

  .section-works .works-bottom {
    display: none;
  }

  .section-works .wp-block-query {
    margin: 0;
  }

  .section-works .wp-block-post-template > li {
    display: block !important;
    min-width: 0;
    margin: 0;
    list-style: none;
  }

  .section-works .wp-block-post-template > li:nth-child(1) {
    grid-column: 1 / -1;
  }

  .section-works .wp-block-post-template > li:nth-child(1) .wp-block-post-featured-image,
  .section-works .wp-block-post-template > li:nth-child(1) > *:not(.wp-block-post-featured-image) {
    width: 100%;
  }

  .section-works .wp-block-post-template > li .wp-block-post-featured-image,
  .section-works .wp-block-post-template > li figure {
    margin: 0 0 14px;
  }

  .section-works .wp-block-post-template > li .wp-block-post-featured-image img,
  .section-works .wp-block-post-template > li figure img {
    width: 100% !important;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
  }

  .section-works .wp-block-post-template > li:nth-child(1) .wp-block-post-featured-image img,
  .section-works .wp-block-post-template > li:nth-child(1) figure img {
    aspect-ratio: 16 / 10.5;
  }

  .section-works .wp-block-post-date {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.4;
    color: #111;
  }

  .section-works .wp-block-post-excerpt,
  .section-works .wp-block-post-excerpt p {
    margin: 0;
    color: #111;
    font-size: 13px;
    line-height: 1.45;
    letter-spacing: 0;
  }

  .section-works .wp-block-post-template > li:nth-child(n+2) .wp-block-post-excerpt,
  .section-works .wp-block-post-template > li:nth-child(n+2) .wp-block-post-excerpt p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .section-works .wp-block-buttons {
    justify-content: center;
    margin-top: 54px;
  }

  .section-works .works-more,
  .section-works .wp-block-button {
    margin: 0 auto;
  }

  .section-works .works-more a,
  .section-works .wp-block-button__link {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1;
    color: #111 !important;
    border-bottom: 1px solid #111;
  }

  .section-about {
    background: #e9e9e9;
    padding: 46px 0 78px;
  }

  .section-about .about-inner.sp-only {
    padding-right: 42px;
    padding-left: 42px;
    box-sizing: border-box;
  }

  .section-about .about-top {
    margin: 0 0 34px;
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
    color: #999;
  }

  .section-about .about-card {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent;
  }

  .section-about .about-card + .about-card {
    margin-top: 82px !important;
  }

  .section-about .about-card .wp-block-columns {
    display: block;
  }

  .section-about .about-company-name {
    padding-bottom: 0;
    border-bottom: none;
    color: #111;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 0 18px;
  }

  .section-about .about-company-profiel,
  .section-about .about-company-profiel-honsya-detail {
    color: #111;
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
  }

  .section-about .about-company-profiel-honsya-title {
    display: none;
  }

  .section-about .map-full {
    margin-top: 38px;
  }

  .section-about .map-full iframe {
    height: 300px;
  }

  .section-about .profile-leader .about-ceo-image {
    display: grid !important;
    grid-template-columns: minmax(0, 45%) minmax(0, 1fr) !important;
    gap: 20px;
    align-items: start;
  }

  .section-about .profile-leader .wp-block-media-text.is-stacked-on-mobile {
    grid-template-columns: minmax(0, 45%) minmax(0, 1fr) !important;
  }

  .section-about .profile-leader .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media,
  .section-about .profile-leader .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .section-about .profile-leader .wp-block-media-text__media {
    margin: 0 !important;
  }

  .section-about .profile-leader figure img,
  .section-about .profile-leader .wp-block-media-text__media img {
    width: 100% !important;
    max-width: none;
    aspect-ratio: 1 / .9;
    height: auto;
    object-fit: cover;
  }

  .section-about .profile-leader .wp-block-media-text__content {
    padding: 0 !important;
  }

  .section-about .about-ceo-profiel-top,
  .section-about .about-ceo-profiel-bottom,
  .section-about .about-ceo-top {
    color: #111;
    letter-spacing: 0;
    margin: 0 0 12px;
  }

  .section-about .about-ceo-profiel-top {
    font-size: 13px;
    line-height: 1.25;
  }

  .section-about .about-ceo-profiel-bottom {
    border-bottom: none;
    font-size: 16px;
    line-height: 1.05;
    font-weight: 400;
  }

  .section-about .about-ceo-top {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.25;
  }

  .philosophy-top,
  .topics-top,
  .works-top,
  .about-top,
  .contact-top {
    font-size: 18px;
  }

  .philosophy-bottom,
  .topics-bottom,
  .works-bottom,
  .about-bottom,
  .contact-bottom,
  .section-topics .topics-bottom {
    font-size: 28px;
  }

  .section-philosophy .philosophy-top {
    font-weight: 600;
  }

  .section-about .about-top,
  .section-contact .contact-top {
    font-weight: 600;
  }

  .section-philosophy p {
    font-size: 14px;
  }

  .section-contact {
    background: #fff;
    padding: 52px 42px 30px;
  }

  .section-contact .contact-top {
    margin: 0 0 40px;
    color: #999;
    font-size: 36px;
    line-height: 1;
    font-weight: 600!important;
  }

  .section-contact .contact-bottom {
    display: none;
  }

  .section-contact .wpcf7 {
    width: 100% !important;
    max-width: 260px !important;
    margin: 0 auto;
  }

  .section-contact .wpcf7 form {
    color: #111;
    font-size: 14px;
    line-height: 1.5;
  }

  .section-contact .wpcf7 p {
    margin: 0 0 28px;
  }

  .section-contact .wpcf7 .required {
    color: #e00;
  }

  .section-contact .wpcf7 input[type="text"],
  .section-contact .wpcf7 input[type="email"],
  .section-contact .wpcf7 input[type="tel"],
  .section-contact .wpcf7 textarea {
    width: 100% !important;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #bdbdbd;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 14px;
    line-height: 1.5;
  }

  .section-contact .wpcf7 textarea {
    height: 120px;
    min-height: 120px;
    resize: vertical;
  }

  .section-contact .wpcf7 input::placeholder,
  .section-contact .wpcf7 textarea::placeholder {
    color: #aaa;
    opacity: 1;
  }

  .section-contact .wpcf7 input[type="submit"],
  .section-contact .wpcf7 input[value="送信"] {
    display: block;
    width: auto;
    min-width: 58px;
    min-height: 44px;
    margin: 4px auto 0;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
  }

  .site-footer-copy {
    padding: 22px 16px 128px;
  }

  .site-footer-copy p {
    font-size: 11px;
  }
}
