@import url("wp-tag.css");

/* ==================================================
基本スタイル
================================================== */

/*----------------------------------------
ルート設定
----------------------------------------*/
:root {
  --font-primary: 'M PLUS 1p', 'Meiryo', 'メイリオ', sans-serif;
  --color-primary: #0092ca;
  --color-primary-dark: #0077a3;
  --color-primary-light: rgba(0, 146, 202, 0.1);

  --size-xxlarge: clamp(4.375rem, 3.693rem + 3.41vw, 6.25rem);
  /* min 70px/320px : max 100px/1200px */
  --size-xlarge: clamp(3.125rem, 2.443rem + 3.41vw, 5rem);
  /* min 50px/320px : max 80px/1200px */
  --size-large: clamp(2.5rem, 1.818rem + 3.41vw, 4.375rem);
  /* min 40px/320px : max 70px/1200px */
  --size-middle: clamp(1.875rem, 1.42rem + 2.27vw, 3.125rem);
  /* min 30px/320px : max 50px/1200px */
  --size-small: clamp(1.25rem, 0.795rem + 2.27vw, 2.5rem);
  /* min 20px/320px : max 40px/1200px; */
  --size-xsmall: clamp(1rem, 0.773rem + 1.14vw, 1.625rem);
  /* min 16px/320px : max 26px/1200px; */

  --box-padding-primary: clamp(1.25rem, 1.023rem + 1.14vw, 1.875rem);
  /* min 20px/320px : max 30px/1200px; */

  --font-size-xxlarge: clamp(1.875rem, 1.648rem + 1.14vw, 2.5rem);
  /* min 30px/320px : max 40px/1200px */
  --font-size-xlarge: clamp(1.75rem, 1.568rem + 0.91vw, 2.25rem);
  /* min 28px/320px : max 36px/1200px */
  --font-size-large: clamp(1.375rem, 1.193rem + 0.91vw, 1.875rem);
  /* min 22px/320px : max 30px/1200px */
  --font-size-middle: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
  /* min 16px/320px : max 20px/1200px */
  --font-size-small: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
  /* min 12px/320px : max 16px/1200px */
  --font-size-xsmall: clamp(0.625rem, 0.58rem + 0.23vw, 0.75rem);
  /* min 10px/320px : max 12px/1200px */
}


/*----------------------------------------
リセットCSS
----------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/*----------------------------------------
デフォルトタグ
----------------------------------------*/
body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #333;
}

body.menu-open {
  overflow: hidden;
}

/*-------------------- リンクの基本スタイル --------------------*/
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:visited {
  color: var(--color-primary);
}

a:hover {
  color: var(--color-primary-dark);
}

/*-------------------- テキストスタイル --------------------*/
p+p {
  margin-top: 1em;
}

/*-------------------- メインコンテンツの調整 --------------------*/
main {
  padding-top: 70px;
  overflow: hidden;
}

@media (max-width: 1050px) {
  main {
    padding-top: 55px;
  }
}

/*-------------------- タイトル --------------------*/
#content h2,
.top h2,
.page-header h2 {
  font-size: var(--font-size-xxlarge);
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: var(--size-middle);
  text-align: center;
  position: relative;
  line-height: 1.3;
}

#content h3,
.top-services h2,
#content .entry-content h1 {
  font-size: var(--font-size-xlarge);
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: var(--size-middle);
  text-align: center;
  position: relative;
  line-height: 1.3;
}

#content h4,
.top-services h3,
#content .column-box.service h4,
#content .entry-content h2 {
  font-size: 1.5em;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-top: var(--size-xlarge);
  margin-bottom: var(--size-middle);
  text-align: center;
  line-height: 1.3;
}

#content>h4,
#content .entry-content h2 {
  font-size: var(--font-size-large);
}

#content .entry-content h3 {
  font-size: var(--font-size-middle);
}

#content .entry-content>h5 {
  font-size: 1.125rem;
  padding-top: var(--size-small);
  margin-bottom: 1em;
}

#content .entry-content h2+h5,
#content .entry-content h3+h5,
#content .entry-content h4+h5 {
  padding-top: 0;
}


#content .entry-content>h2,
#content .entry-content>h3,
#content .entry-content>h4,
#content .entry-content>h5,
#content .entry-content>h6 {
  clear: both;
}

/*#content .entry-content>h2::before,
#content .entry-content>h3::before,
#content .entry-content>h4::before,
#content .entry-content>h5::before,
#content .entry-content>h6::before {
  content: "";
  display: block;
  clear: both;
}*/

/*-------------------- image --------------------*/
/*figure {
  margin: var(--size-middle) auto;
}*/

@media (max-width: 660px) {
  figure img {
    width: 100%;
  }
}

figcaption {
  font-size: 0.8125rem;
}

/*-------------------- ul --------------------*/
#content>ul,
#content-inner>ul,
ul.list-style1,
dl.dl-list01 ul {
  list-style: none;
  margin: 2em 0 2em 1em;
}

#content>ul>li,
#content-inner>ul>li,
ul.list-style1 li,
dl.dl-list01 ul li {
  margin: 0.5rem 0;
  padding-left: 1.3rem;
  position: relative;
}

#content>ul>li::before,
#content-inner>ul>li::before,
ul.list-style1>li::before,
dl.dl-list01 ul li::before {
  content: "■";
  color: #CCCCCC;
  font-size: 0.8em;
  position: absolute;
  top: 0.1em;
  left: 0;
}

/*-------------------- br --------------------*/
.sp-only {
  display: none;
}

@media (max-width: 450px) {
  .sp-only {
    display: block;
  }
}

/*-------------------- clearfix --------------------*/
.clearfix:after,
#content:after {
  content: "";
  display: block;
  clear: both;
}

.clearfix:before,
#content:before {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  display: block;
}



/* ==================================================
ヘッダー
================================================== */

/*----------------------------------------
header
----------------------------------------*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 0;
}

@media (max-width: 1050px) {
  .header-inner {
    gap: 1rem;
    padding: 0.8rem 0;
  }
}

.logo {
  display: block;
  width: 180px;
  height: auto;
}

header h1 {
  font-size: 2rem;
  color: var(--color-primary);
  margin: 0;
  padding: 0 0 0 1rem;
}

header h1 .logo {
  height: 40px;
  width: auto;
  transition: opacity 0.3s ease;
}

header h1 .logo:hover {
  opacity: 0.6;
}

@media (max-width: 1050px) {
  header h1 .logo {
    height: 30px;
    width: auto;
    transition: opacity 0.3s ease;
  }
}

/*-------------------- ハンバーガーメニュー --------------------*/
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

@media (max-width: 1050px) {
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/*-------------------- ナビゲーションメニュー --------------------*/
.nav-menu {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

@media (max-width: 1150px) {
  .nav-menu a {
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 1050px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    padding: 3rem 0 0;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1), -15px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    display: block;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
  }

  /*.menu-item-has-children a[href="#"] {
    pointer-events: none;
    cursor: default;
  }

  .menu-item-has-children a[href="#"]:hover {
    color: #333 !important;
  }*/

}

/* ドロップダウンメニュー --------------------*/
.nav-menu li {
  position: relative;
  display: block;
}

.nav-menu .dropdown-menu,
.nav-menu .dropdown-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
}

.nav-menu>li:hover>.dropdown-menu {
  display: block;
  transition: all .3s;
}

.nav-menu .dropdown-menu>li:hover>.dropdown-menu {
  display: block;
  position: absolute;
  top: 0;
  left: 100%;
  transition: all .3s;
}

.nav-menu .dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s;
  font-size: 0.9rem;
}

.nav-menu .dropdown-menu a:hover {
  background-color: #f5f5f5;
}

@media (max-width: 1050px) {

  .nav-menu .dropdown-menu,
  .nav-menu .dropdown-menu li ul {
    position: relative;
    box-shadow: none;
    background: #FFFFFF;
    width: 100% !important;
    display: block;
    padding: 0 1em 0 0;
    top: 0;
    left: 0;
    z-index: 100;
    box-sizing: border-box;
  }

  .nav-menu .dropdown-menu>li:hover>.dropdown-menu,
  .nav-menu li .dropdown-menu li:hover ul {
    position: relative;
    left: 0;
    display: block;
  }

  .nav-menu .dropdown-menu li a::before {
    content: "― ";
    color: #BBBBBB;
  }

  .nav-menu .dropdown-menu li ul li a::before {
    content: "・ ";
    color: #BBBBBB;
  }

  .nav-menu li.active .dropdown-menu,
  .nav-menu li.active .dropdown-menu li ul {
    display: block;
    padding: 0;
  }

  .nav-menu .dropdown-menu a {
    padding-left: 1rem;
  }

  .nav-menu .dropdown-menu li ul li a {
    padding-left: 2rem;
  }

}



/* ==================================================
フッター
================================================== */

footer {
  background-color: #004A74;
  color: #FFFFFF;
  padding: 4rem 0 2rem;
  margin-top: -2px;
  position: relative;
}

/*.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

@media screen and (max-width: 900px) {
  .footer-content {
    grid-template-columns: 2fr 1fr;
    grid-template-areas:
      "logo links1"
      "logo links2";
    gap: 2rem 3rem;
  }

  .footer-logo {
    grid-area: logo;
  }

  .footer-links:nth-of-type(1) {
    grid-area: links1;
  }

  .footer-links:nth-of-type(2) {
    grid-area: links2;
  }
}
*/

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: clamp(5rem, -5.625rem + 20vw, 9.375rem);
  /* min 70px/850px : max 100px/1200px */
}

.footer-links-wrap {
  display: flex;
  gap: 3rem;
}

/*@media (max-width: 870px) {
  .footer-links-wrap {
    flex-wrap: wrap;
    gap: 0;
  }
}*/

.footer-links {
  flex: 0 0 auto;
  width: max-content;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #FFFFFF;
  opacity: 0.7;
}

@media (max-width: 870px) {
  .footer-logo p br {
    display: none;
  }
}

.footer-content .dropdown-menu {
  margin-top: 0.5em;
}

.footer-content .dropdown-menu li::before {
  content: '― ';
  opacity: 0.5;
}

.footer-content .dropdown-menu ul li {
  padding-left: 1em;
}

.footer-content .dropdown-menu ul li::before {
  content: '・ ';
  opacity: 0.5;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

/*.footer-links a[href="#"] {
  pointer-events: none;
  cursor: default;
}

.footer-links a[href="#"]:hover {
  color: #fff !important;
}*/

.footer-links a:visited {
  color: #FFFFFF;
}

.footer-links a:hover {
  color: #ccc;
}

.footer-contact {
  margin-top: var(--size-middle);
}

.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.footer-contact p {
  color: #FFFFFF;
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-contact p:first-of-type {
  font-size: 1rem;
}

.footer-contact p:first-of-type i {
  font-size: 0.875rem;
}

.footer-contact p span {
  display: inline-block;
  font-size: 0.75rem;
  padding-top: 0.5em;
}

.footer-contact a[href*="tel:"] {
  color: #FFFFFF;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #ccc;
}

.footer-legal a {
  color: #FFFFFF;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-legal a:visited {
  color: #FFFFFF;
}

@media (max-width: 768px) {

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    display: none;
  }

  .footer-contact {
    text-align: center;
  }

}


/*----------------------------------------
ページトップボタン
----------------------------------------*/
#page-top {
  width: 40px;
  height: 60px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
}

#page-top a {
  width: 40px;
  height: 60px;
  display: block;
  background-image: url(../img/b_pagetop.png);
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: cover;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  opacity: 0.6;
}

#page-top a:hover {
  text-decoration: none;
  opacity: 0.4;
}

@media screen and (max-width: 768px) {
  #page-top {
    right: 15px;
    bottom: 15px;
  }
}



/* ==================================================
共通スタイル
================================================== */

/*----------------------------------------
各ページのコンテンツボックス
----------------------------------------*/
section {
  padding: var(--size-xlarge) var(--size-small) var(--size-xxlarge) var(--size-small);
}

#content {
  max-width: 1200px;
  margin: var(--size-small) auto var(--size-xlarge) auto;
  padding: 0 clamp(0.938rem, 0.142rem + 3.98vw, 3.125rem);
  /* min 15px/320px : max 50px/1200px */
  padding-bottom: 20px;
}

#content.narrow {
  max-width: 1060px;
}


/*----------------------------------------
ページヘッダー
----------------------------------------*/
.page-header {
  padding: var(--size-large) 2rem;
  text-align: center;
  background-image: url(../img/bg_img_main.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.page-header h2 {
  margin-bottom: 1rem;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
  color: #FFFFFF;
  opacity: 0.8;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.page-header br {
  display: none;
}

@media (max-width: 500px) {
  .page-header p br {
    display: block;
  }
}

@media (max-width: 360px) {
  .page-header h2 br {
    display: block;
  }
}

/* 太陽光発電モジュール点検 --------------------*/
.page-header.solar-panels {
  background-image: url(../img/service/solar-panels/bg_img_solar-panels.jpg);
  background-position: right center;
}

.page-header.outer-wall {
  background-image: url(../img/service/outer-wall/bg_img_outer-wall.jpg);
  background-position: right center;
}

.page-header.solar-panels h2,
.page-header.solar-panels p {
  text-shadow: 0px 0px 30px rgba(0, 0, 0, 1);
}

.page-header.solar-panels p {
  opacity: 0.9;
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 1), 0px 0px 20px rgba(0, 0, 0, 1);
}

@media (max-width: 400px) {

  .page-header.solar-panels,
  .page-header.outer-wall {
    background-position: right center;
  }
}


/*----------------------------------------
パンくず
----------------------------------------*/
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  /*margin: 0 0 var(--size-xlarge) 0;*/
  margin-bottom: var(--size-middle);
  font-size: 0.875rem;
  color: #999999;
}

.breadcrumb-item {
  padding-right: 0.5rem;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: ">";
  padding: 0 0.1rem 0 0;
}

.breadcrumb-item a {
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #999999;
}

.auto-title {
  transition: opacity 0.3s;
}


/*----------------------------------------
パーツ遅延読み込み
----------------------------------------*/
.fadeTrigger {
  opacity: 0;
}

.fadeAnime {
  animation-name: fadeAnime;
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
}

@keyframes fadeAnime {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
}

.slide-down {
  transform: translateY(-100px);
}

.slide-up {
  transform: translateY(100px);
}

.slide-left {
  transform: translateX(100%);
}

.slide-right {
  transform: translateX(-100%);
}


/*----------------------------------------
ボタンの基本スタイル
----------------------------------------*/

/*-------------------- 共通ボタン --------------------*/
/* トップページとサービストップで使用 */
.common-button {
  text-align: center;
  clear: both;
  padding-top: var(--size-middle);
}

p+.common-button {
  padding-top: var(--size-small);
}

.common-button a {
  display: inline-block;
  margin: 0 auto;
  padding: 0.6em 1.5em !important;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  line-height: 1.4;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-align: center;
  transition: all 0.3s ease;
  border-radius: 1.5em;
}

.common-button a:hover {
  background: var(--color-primary-dark);
}

.common-button a:visited {
  color: #fff;
}

/*-------------------- サービスリンクボタン --------------------*/
/* トップページとサービストップで使用 */
.service-link {
  text-align: center;
}

.service-link a {
  display: inline-block;
  width: 10em;
  margin: 20px auto 0 auto;
  padding: 0.5em 1.5em !important;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-align: center;
  transition: all 0.3s ease;
  border-radius: 1.5em;
}

.service-link a:hover {
  background: var(--color-primary-dark);
}

.service-link a:visited {
  color: #fff;
}

/*-------------------- moreリンク --------------------*/
.more-link {
  text-align: right;
  font-size: 0.9em;
  margin-top: 1em;
  padding-right: 1.4em;
  position: relative;
}

.more-link::after {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  content: '\f138';
  color: var(--color-primary);
  font-weight: 900;
  font-size: 1.1em;
  line-height: 100%;
  position: absolute;
  top: 0.25em;
  right: 0;
}


/*----------------------------------------
文字サイズ
----------------------------------------*/
.text-xxlarge {
  font-size: var(--font-size-xxlarge);
}

.text-xlarge {
  font-size: var(--font-size-xlarge);
}

.text-large {
  font-size: var(--font-size-large);
}

.text-middle {
  font-size: var(--font-size-middle);
}

.text-small {
  font-size: var(--font-size-small);
}

.text-xsmall {
  font-size: var(--font-size-xsmall);
}


/*----------------------------------------
文字カラー
----------------------------------------*/
.text-red {
  color: #CC0000;
}


/*----------------------------------------
配置
----------------------------------------*/

/*-------------------- box --------------------*/
.element-left {
  width: 35%;
  height: auto;
  float: left;
  margin: 0 var(--size-middle) 1em 0;
}

.element-right {
  width: 35%;
  height: auto;
  float: right;
  margin: 0 0 1em var(--size-middle);
}

.element-left img,
.element-right img {
  width: 100%;
  height: auto;
  margin: 0 0 0.5em 0;
}

@media (max-width: 768px) {

  .element-left,
  .element-right {
    width: 100%;
    float: none;
    margin: 1em 0;
  }

  .element-left img,
  .element-right img {
    width: 100%;
  }

}

/*-------------------- align --------------------*/
.align-left {
  text-align: left !important;
}

.align-center {
  text-align: center !important;
}

.align-right {
  text-align: right !important;
}


/*----------------------------------------
テキスト
----------------------------------------*/
a.text-link,
.text-link a {
  display: inline-block;
  position: relative;
  padding-left: 1em;
  margin-top: var(--size-middle);
}

a.text-link::before,
.text-link a::before {
  content: "";
  font-family: FontAwesome;
  font-size: 0.75em;
  content: "\f054";
  position: absolute;
  top: 0.15em;
  left: 0;
}

/*----------------------------------------
注釈
----------------------------------------*/
#content ul.note,
#content-inner ul.note {
  list-style-type: none;
  margin: 1em 0;
}

#content ul.note:last-child,
#content-inner ul.note:last-child {
  margin-bottom: 0;
}

#content ul.note li,
#content-inner ul.note li {
  padding-left: 1em;
  text-indent: -1em;
}

#content ul.note>li::before,
#content-inner ul.note>li::before {
  content: "※";
  font-size: 1em;
  color: #333333;
  top: auto;
}


/*----------------------------------------
ボックス
----------------------------------------*/
.shadow-box {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: var(--size-middle);
}

.gray-box {
  margin: 0 auto var(--size-middle) auto;
  padding: var(--size-middle);
  background: #F6F6F6;
  border-radius: 12px;
}



.shadow-box+.gray-box {
  margin-top: var(--size-middle);
}



/*----------------------------------------
画像と説明ボックス
----------------------------------------*/
.photo-text-box+h3 {
  margin-top: var(--size-xlarge);
}

.photo-text-box+p {
  margin-top: var(--size-middle);
}

.photo-text-box {
  display: flex;
  flex-wrap: wrap;
  gap: var(--size-middle);
}

.photo-text-item {
  width: calc(50% - var(--size-middle));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(var(--size-small) - 10px);
  flex-grow: 1;
}

.photo-text-image {
  width: 150px;
}

.photo-text-image img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  vertical-align: bottom;
}

.photo-text-info {
  flex: 1;
}

.photo-text-item.width100 {
  width: 100%;
}

#content .photo-text-info h4 {
  text-align: left;
  margin: 0 0 0.5em 0;
}

@media (max-width: 900px) {
  .photo-text-item {
    width: 100%;
    align-items: center;
    gap: calc(var(--size-small));
  }
}

@media (max-width: 600px) {

  .photo-text-image {
    width: 100%;
    text-align: center;
  }

  .photo-text-image img {
    width: 100%;
    max-width: 240px;
  }

  #content .photo-text-info h4 {
    font-size: 1.2em;
    text-align: center;
  }

}


/*----------------------------------------
カラムボックス
----------------------------------------*/

/*-------------------- 共通 --------------------*/
.column-box-wrap+h3 {
  margin-top: var(--size-xlarge);
}

figure+.column-box-wrap,
p+.column-box-wrap,
.column-box-wrap+p,
.column-box-wrap+.column-box-wrap {
  margin-top: var(--size-middle);
}

@media (max-width: 768px) {
  .column-box-wrap:has(.column2)+.column-box-wrap:has(.column2) {
    margin-top: 30px;
  }
}

.column-box {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.column-box-item {
  background: #fff;
  border-radius: 8px;
  padding: var(--box-padding-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex: 1;
}

.column-box-img {
  width: 100%;
  height: auto;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.column-box-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

#content .column-box-item h4 {
  font-size: 1.2rem;
  color: #333;
  margin: 0.5em 0 1em 0;
}

.column-box-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* トップページ、サービストップ共通 */
.top-services .column-box-item,
.column-box.service .column-box-item {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.top-services h3,
#content .column-box.service h4 {
  margin: 0.5em 0 1em 0;
}

.top-services .column-box-item p,
.column-box.service .column-box-item p {
  flex-grow: 1;
}

@media (max-width: 768px) {
  .column-box-img {
    margin: 0 auto min(20px, 5vw);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* 2column --------------------*/
@media (max-width: 768px) {
  .column-box-item.column2 {
    width: 100%;
    flex: auto;
  }
}

/* 3column --------------------*/
@media (max-width: 900px) {
  .column-box-item.column3:nth-of-type(1) {
    width: 100%;
    flex: auto;
  }
}

@media (max-width: 600px) {
  .column-box-item.column3 {
    width: 100%;
    flex: auto;
  }
}

/* 4column --------------------*/
img.column-icon {
  width: 80px;
  height: 80px;
}

@media (max-width: 900px) {
  .column-box-item.column4 {
    width: calc(50% - 15px);
    flex: auto;
  }
}

@media (max-width: 600px) {
  .column-box-item.column4 {
    width: 100%;
    flex: auto;
  }
}


/*----------------------------------------
dl list
----------------------------------------*/
dl.dl-list01 {
  width: 100%;
  padding: 0px;
  margin-top: var(--size-middle);
}

dl.dl-list01 dt {
  float: left;
  width: 6em;
  padding: 0.8em 0;
  margin: 0px;
}

dl.dl-list01 dd {
  padding: 0.8em 0 0.8em 8em;
  margin: 0px;
  border-bottom: 1px dotted #CCCCCC;
}

dl.dl-list01 dd img {
  width: 100%;
  height: auto;
  margin: var(--size-xsmall) 0 var(--size-xxsmall) 0;
}

dl.dl-list01 dd iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: var(--size-xsmall) 0 var(--size-xxsmall) 0;
}

dl.dl-list01 ul {
  list-style: none;
  margin: -0.5rem 0 -0.5rem 0.5em;
}

@media screen and (max-width: 768px) {

  dl.dl-list01 dt {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 0;
    font-weight: bold;
  }

  dl.dl-list01 dd {
    width: 100%;
    padding-left: 0;
  }

  dl.dl-list01 ul {
    list-style: none;
    margin-top: 1.8em;
  }

}


/*----------------------------------------
関連ワード（詳細ページへのリンク兼）
----------------------------------------*/
.feature-item ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6em;
  padding: 10px 0;
  margin: 1.5em 0;
}

.feature-item ul li:not(:has(a)) {
  list-style-type: none;
  padding: 0.5em 1.3em;
  border: 1px solid #CCCCCC;
  border-radius: 1em;
  line-height: 100%;
  font-size: 0.875em;
}

/*-------------------- link --------------------*/
.feature-item ul.detail-link {
  margin: 1.5em 0;
}

.feature-item ul.detail-link li {
  border: none;
  transition: all .3s;
  list-style-type: none;
}

.feature-item ul.detail-link li a {
  background-color: var(--color-primary);
  display: block;
  padding: 0.5em 1.8em 0.5em 1.3em;
  border-radius: 1em;
  line-height: 100%;
  position: relative;
}

.feature-item ul.detail-link li a::after {
  content: "";
  font-family: FontAwesome;
  font-size: 0.75em;
  content: "\f054";
  position: absolute;
  top: 0.7em;
  right: 1.2em;
}

.feature-item ul li a:link,
.feature-item ul li a:visited {
  color: #FFFFFF;
}

.feature-item ul li:has(a):hover,
.feature-item ul li a:hover {
  opacity: 0.6;
}



/* ==================================================
お問い合わせフォーム
================================================== */

/*----------------------------------------
フォーム
----------------------------------------*/
.contactForm {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.7em;
}

p+.form-group {
  margin-top: var(--size-middle);
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.form-group textarea {
  resize: vertical;
}

.checkbox-label {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

/*.form-submit {
  text-align: center;
  margin-top: 30px;
}*/

.required {
  color: #ff0000;
}

.privacy-label {
  text-align: center;
  margin: 2rem 0;
}

.privacy-label a {
  color: #007bff;
  text-decoration: none;
}

.privacy-label a:hover {
  text-decoration: underline;
}

/*-------------------- エラーメッセージ --------------------*/
.error-message {
  background-color: #fff3f3;
  border: 1px solid #ffcdd2;
  color: #d32f2f;
  padding: 15px;
  margin: 20px auto;
  max-width: 800px;
  border-radius: 4px;
}

.error-message ul {
  margin: 0;
  padding-left: 20px;
}

/*-------------------- 成功メッセージ --------------------*/
.success-message {
  background-color: #f1f8e9;
  border: 1px solid #c5e1a5;
  color: #33691e;
  padding: 15px;
  margin: 20px auto;
  max-width: 800px;
  border-radius: 4px;
  text-align: center;
}

/*-------------------- お問い合わせ情報セクション --------------------*/
#content.narrow .contactForm h3 {
  font-size: var(--font-size-large);
}

#content.narrow .contactForm h3 br {
  display: none;
}

@media (max-width: 400px) {
  #content.narrow .contactForm h3 br {
    display: block;
  }
}

.contactForm .confirm-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.contactForm .confirm-group:last-child {
  border-bottom-style: none;
}

.contactForm .confirm-group label {
  display: block;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.contactForm .confirm-value {
  margin: 0;
  padding: 0.5rem;
  background: #F6F6F6;
  border-radius: 4px;
  color: #333;
  line-height: 1.6;
}

.contactForm .message-content {
  white-space: pre-wrap;
  min-height: 100px;
}

.contactForm .form-submit {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.contactForm .back-button {
  background: #F6F6F6;
  border: 1px solid #ddd;
  color: #333;
}

.contactForm .back-button:hover {
  background: #e9ecef;
}

/*-------------------- フォームのラジオボタングループ --------------------*/
.radio-group {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-group input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.company-name-group {
  margin-top: 1rem;
  transition: all 0.3s ease;
}


/*-------------------- フォームボタン　--------------------*/
.submit-button,
.wpcf7cp-cfm-edit-btn,
.wpcf7cp-cfm-submit-btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  line-height: 100%;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.submit-button:hover {
  background: var(--color-primary-dark);
}

.wpcf7-spinner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px auto;
}

/* エラーメッセージの枠 */
.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #CD8D8D !important;
  padding: 0.6em 1em;
}

/* 成功メッセージの枠 */
.wpcf7 form.sent .wpcf7-response-output {
  border-color: #599CD4 !important;
  padding: 0.6em 1em;
}


/*----------------------------------------
確認画面
----------------------------------------*/
#wpcf7cpcnf {
  max-width: 800px;
  left: 50% !important;
  transform: translateX(-50%);
}

#wpcf7cpcnf table {
  width: 100%;
}

#wpcf7cpcnf table th,
#wpcf7cpcnf table td {
  text-align: left;
  padding: 0.5em 0;
}

.wpcf7cp-btns {
  text-align: center;
  margin-top: var(--size-middle) !important;
}



/* ==================================================
共通お問い合わせ欄
================================================== */

.common-contact {
  /*background-color: #D5EBF3;*/
  background-size: auto auto;
  background-color: rgba(224, 239, 244, 1);
  background-image: repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(213, 235, 243, 1) 2px, rgba(213, 235, 243, 1) 6px);
}

.common-contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.common-contact-inner h3 {
  font-size: var(--font-size-xlarge);
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-bottom: calc(var(--size-small) - 10px);
  text-align: center;
  line-height: 100%;
}

.common-contact-logo {
  text-align: center;
}

.common-contact-logo img {
  width: 200px;
}

.common-contact-inner .phone {
  font-size: var(--font-size-large);
  font-weight: bold;
  line-height: 100%;
}

.common-contact-inner .phone span {
  font-size: 1rem;
}

.common-contact-inner .phone span:last-child {
  font-size: 0.875rem;
  font-weight: normal;
}

.common-contact-inner .time {
  font-size: var(--font-size-middle);
  font-weight: bold;
  line-height: 100%;
  padding: var(--size-xsmall) 0;
}


/*----------------------------------------
本文内埋め込み用お問い合わせ
----------------------------------------*/
#footer-contact {
  margin: var(--size-xlarge) auto 0 auto;
  padding: var(--size-middle);
  background: #F6F6F6;
  border-radius: 12px;
  text-align: center;
}

/* #footer-contactの隣り合う前の要素を指定 */
.wp-block-paragraph:has(+ #footer-contact)::after {
  content: "";
  display: block;
  clear: both;
}

#footer-contact h3 {
  font-size: var(--font-size-large) !important;
  margin-bottom: 1em;
}

#footer-contact .contact-link {
  display: inline-block;
  background: var(--color-primary);
  color: #ffffff;
  padding: 1rem 2.5rem;
  margin-top: 1.5em;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ==================================================
機材紹介ページ
================================================== */

.equipment-category+h3 {
  margin-top: var(--size-xlarge);
}

.equipment-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.equipment-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 4px;
}

#content .equipment-info h4 {
  text-align: left;
  margin-top: 0;
}

@media (max-width: 768px) {

  .equipment-item {
    grid-template-columns: 1fr;
  }

  .equipment-image {
    text-align: center;
  }

  #content .equipment-info h4 {
    text-align: center;
  }

}


/*----------------------------------------
機材紹介ボックス内のリストタグ
----------------------------------------*/
.equipment-item ul {
  list-style: none;
}

.equipment-item li {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.equipment-item li:before {
  content: "•";
  color: var(--color-primary);
  position: absolute;
  left: 0;
}

.specs {
  list-style: none;
  margin: 1rem 0;
}

.specs li {
  padding-left: 1.5rem;
  position: relative;
  margin: 0.5rem 0;
}

.specs li:before {
  content: "✓";
  color: var(--color-primary);
  position: absolute;
  left: 0;
}



/* ==================================================
FAQ
================================================== */

.search-container {
  margin-bottom: 30px;
  text-align: center;
}

.search-container input {
  width: 100%;
  max-width: 600px;
  padding: 12px 20px;
  border: 2px solid var(--color-primary);
  border-radius: 25px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.search-container input:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 146, 202, 0.3);
}

.category-toggle {
  text-align: center;
  margin-bottom: 30px;
}

.toggle-all {
  padding: 10px 20px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-all:hover {
  background-color: var(--color-primary-dark);
}

.category {
  margin-bottom: 0.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

#content.faq .category h2 {
  margin: 0;
  padding: var(--size-xsmall);
  background-color: #F6F6F6;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  color: #000;
  line-height: 1.5;
  font-size: 1rem;
}

.category h2::after {
  content: '';
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230092ca'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.category h2.collapsed::after {
  transform: rotate(-90deg);
}

.category h2:hover {
  background-color: #e9ecef;
}

@media (max-width: 768px) {
  .category h2 {
    line-height: 1.2em;
  }
}

.category-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
}

.category-content.expanded {
  padding: 0.5rem;
  max-height: 2000px;
  opacity: 1;
}

.faq-item {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #FFFFFF;
  border-radius: 5px;
  border-bottom: 1px dotted #ddd;
}

.faq-item:last-child {
  margin-bottom: 0;
  border: none;
}

@media (max-width: 768px) {
  .faq-item {
    margin-bottom: 5%;
    padding: 0.5rem;
  }
}

.question {
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  font-size: 1em;
}

.answer {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.6;
}

.faq-item.hidden {
  display: none;
}


/* ==================================================
アーカイブ・新着情報一覧（index.php用）
================================================== */
dl.news-list {
  margin-bottom: 30px;
}

dl.news-list dt {
  float: left;
  width: 14em;
  padding: 15px 0 15px 0.3em;
  clear: both;
  box-sizing: border-box;
  position: relative;
}

dl.news-list dd {
  padding: 15px 0.3em 15px 15.4em;
  box-sizing: border-box;
  border-bottom: 1px dashed #bfbfbf;
}

dl.news-list dt span {
  width: 8em;
  display: inline-block;
  font-size: 0.6875rem;
  text-align: center;
  line-height: 100%;
  padding: 0.45em 0 0.3em 0;
  border-radius: 4px;
  position: absolute;
  top: 1.4em;
  left: 13em;
}

dl.news-list .info,
dl.news-list .other {
  color: #555555;
  border: 1px solid #999999;
}

dl.news-list .important {
  color: #FFFFFF;
  background-color: #AD0000;
  border: 1px solid #AD0000;
}

dl.news-list .noChk {
  color: #FFFFFF;
  background-color: #999999;
}

dl.news-list a {
  text-decoration: none;
}

.newsMoreBtn {
  text-align: right;
}

.newsMoreBtn a {
  display: inline-block;
  text-align: center;
  color: #FFFFFF;
  background-color: #555555;
  padding: 0 1em;
  border-radius: 1em;
  text-decoration: none;
}

.newsMoreBtn span::after {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  content: '\f054';
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.7rem;
  line-height: 100%;
  margin-left: 7px;
}


@media screen and (max-width: 768px) {

  dl.news-list {
    margin-bottom: 15px;
  }

  dl.news-list dt {
    float: none;
    padding: 15px 0 0 0;
  }

  dl.news-list dd {
    padding: 0 0 10px 0;
  }

  dl.news-list dt span {
    position: absolute;
    /*top: 1em;*/
    left: 12em;
  }

}

/*.archive-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3em 0;
}

.archive-list .archive-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.archive-list .archive-link {
  display: flex;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.archive-list .news-date {
  font-size: 0.9em;
  color: #666;
  white-space: nowrap;
}

.archive-list .news-title {
  font-size: 1em;
  flex-grow: 1;
}

.archive-list .news-more {
  font-size: 0.9em;
  color: #257CD8;
  white-space: nowrap;
  padding-right: 1.4em;
}

.archive-list .archive-link:hover .news-title {
  color: #257CD8;
  text-decoration: underline;
}

.archive-list .archive-link:hover .news-more {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .archive-list .archive-link {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 5px !important;
  }

  .archive-list .news-more {
    align-self: flex-end;
  }
}

li.archive-item .news-more {
  display: inline-block;
  position: relative;
}

li.archive-item .news-more::after {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  content: '\f138';
  color: var(--color-primary);
  font-weight: 900;
  font-size: 1.1em;
  line-height: 100%;
  position: absolute;
  top: 0.3em;
  right: 0;
}*/

/* 個別記事フォールバック用 */
.fallback-post-title {
  margin-top: 2em;
}



/* ==================================================
記事詳細ページ（single.php用）
================================================== */
.entry-thumbnail {
  margin-bottom: 2em;
}

.entry-thumbnail img {
  max-width: 100%;
  height: auto;
}

/* single.php用の詳細メタ情報 */
.single .entry-meta,
.entry-content .entry-meta {
  margin: -1em 0 1em 0;
  font-size: 0.9em;
  color: #666;
  text-align: right;
}

.entry-meta .meta-category {
  margin-left: 1em;
}

#content .entry-content.info h1,
#content .entry-content.important h1 {
  font-size: 1.6em;
  color: #333333;
  letter-spacing: 0.05em;
  margin-top: 1em;
  margin-bottom: 1.5em;
  text-align: left;
  line-height: 1.3;
}

#content .entry-content li h3 {
  text-align: left;
  margin-bottom: 0.5em;
  color: #333333;
}


/*----------------------------------------
ページネーション
----------------------------------------*/
.nav-links {
  list-style-type: none !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.nav-links a.page-numbers,
.nav-links .current,
.nav-links a.prev,
.nav-links a.next,
.nav-links .dots {
  width: 2.5rem;
  height: 2.5rem;
  text-align: center;
  line-height: 2.5rem;
  color: var(--color-primary);
  border-radius: 50%;
  /*margin-right: 20px;*/
  font-size: 1rem;
  font-weight: bold;
  border: 1px solid var(--color-primary);
  text-decoration: none;
  font-family: Helvetica Neue, Helvetica, Arial;
}

.nav-links a.page-numbers:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary);
  border-radius: 50%;
}

.nav-links .current {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 0;
}

/* 前への「＜」、次への「＞」 */
.nav-links a.prev,
.nav-links a.next {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  position: relative;
}



/* ==================================================
トップページ最新情報（front-page.php用）
================================================== */
/*.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.news-list .news-link {
  display: flex;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.news-list .news-date {
  font-size: 0.9em;
  color: #666;
  white-space: nowrap;
}

.news-list .news-title {
  font-size: 1em;
  flex-grow: 1;
}

.more-link a {
  font-size: 0.9em;
  color: #257CD8;
}*/



/* ==================================================
アーカイブリスト
================================================== */

/*----------------------------------------
共通
----------------------------------------*/
.tab-content-area ul {
  list-style-type: none;
}

.news-list .news-date {
  font-size: 0.9em;
  color: #666;
  white-space: nowrap;
  display: inline-block;
  padding-right: 1em;
}

/*.news-list .news-title {
  font-size: 1em;
  flex-grow: 1;
}*/

.more-link a {
  font-size: 0.9em;
  color: var(--color-primary);
}


/*----------------------------------------
新着情報
----------------------------------------*/

ul.news-list li {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

ul.news-link {
  display: flex;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  color: #333;
}

ul.news-link a:link,
ul.news-link a:visited {
  color: #333;
}

ul.news-list .news-title {
  font-size: 1em;
  flex-grow: 1;
}



/*----------------------------------------
コラムとブログ
----------------------------------------*/
ul.column-list {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* liの横幅200px換算 */
  gap: 50px;
  margin-top: var(--size-large);
}

ul.column-list li {
  overflow: hidden;
  height: auto;
  /*aspect-ratio: 1 / 1;*/
}

ul.column-list figure {
  margin: 0 0 0.5em 0;
}

ul.column-list li img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

ul.column-list a:link,
ul.column-list a:visited {
  color: #333;
}

ul.column-list .news-date {
  font-size: 0.75em;
}

@media screen and (max-width: 1060px) {
  ul.column-list {
    gap: 5.3vw;
    /* 50px/1060px */
  }
}

@media screen and (max-width: 768px) {
  ul.column-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 600px) {
  ul.column-list {
    grid-template-columns: 1fr;
  }
}