/*
Theme Name: Lightning Child Sample
Theme URI: 
Template: lightning
Description: 
Author: 
*/

/* fonts */
@font-face {
  font-family: "Kaiso-Makina-B";
  src: url(fonts/Kaiso-Makina-B.otf);
}
@font-face {
  font-family: "Zen Maru Gothic";
  src: url("fonts/ZenKakuGothicNew-Regular.ttf") format("truetype");
  font-style: normal;
}

/* 全体フォント変更 */
body,
input,
button,
select,
textarea {
  font-family: "Zen Maru Gothic", sans-serif;
}

/* ロゴ　フォント変更 */
.site-header-logo a span {
  font-family: "Kaiso-Makina-B";
}

/* ウィジェットのロゴフォント変更 */
aside.widget_block h2.wp-block-heading {
  font-family: "Kaiso-Makina-B";
}

/* TOP header画像設定 */
.ltg-slide picture img {
  height: 92vh;
  object-fit: cover;
}

/* 子ページ header画像設定 */
.page-header {
  background: url(https://mien-aki.com/wp-content/uploads/2026/05/child-header.jpg)
    no-repeat center center / cover;
  height: 404px;
  width: 100%;
  object-fit: cover;
}

.page-header-title {
  color: black;
}

/* お知らせリスト　CSS調整 */
.news-list {
  display: inline-block;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  width: 80%;
}
/* ニュース見出し */
.news-list li,
.news-list li a {
  display: flex;
  gap: 2em;
  width: 100%;
}

.news-list li a h3,
.news-list li h3 {
  margin-top: 0;
  font-size: 18px;
  width: 100%;
}

/* スマホ対応 */
@media (max-width: 781px) {
  .news-list {
    width: 95%;
  }

  .news-list li a .news_date,
  .news-list li .news_date {
    font-size: 12px;
  }

  .news-list li a h3,
  .news-list li h3 {
    font-size: 15px;
  }
}

/* お知らせアーカイブ　CSS調整 */
.news-archive-list li {
  list-style: none;
  border-bottom: 1px solid #ccc;
  display: flex;
  gap: 2em;
  margin-bottom: 0;
  align-items: center;
}

.news-archive-list li a {
  display: flex;
  gap: 2em;
}

.news_date {
  display: flex;
  align-items: center;
}

.news-archive-list li h2,
.news-archive-list li a h2 {
  display: flex;
  margin-bottom: 0;
  align-items: center;
  font-size: 18px;
}

/* 詳細なし */
.news_excerpt {
  display: none;
}

/* 制作実績アーカイブ CSS */
.works-archive-list,
.works-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.works-archive-list li,
.works-list li {
  list-style: none;
  border-bottom: 1px solid #ccc;
  display: flex;
  gap: 2em;
  margin-bottom: 1.5em;
  align-items: flex-start;
  padding-bottom: 1.5em;
}

.works-archive-list li:last-child,
.works-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.works-archive-list li a,
.works-list li a {
  display: flex;
  gap: 2em;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.works_date,
.works-archive-list li .works_date,
.works-list li .works_date {
  display: inline-flex;
  align-items: center;
  color: #777;
  min-width: 120px;
  white-space: nowrap;
}

.works_title,
.works-archive-list li h2,
.works-list li h2 {
  margin: 0;
  font-size: 20px;
}

.works-thumb {
  flex: 0 0 140px;
  max-width: 140px;
}
.works-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.works-body {
  flex: 1 1 auto;
}

/* ショートコード用：ブログ風リスト表示 */
.works-list {
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}
.works-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}
.works-list li:last-child {
  border-bottom: none;
}
.works-list .works-thumb {
  flex: 0 0 180px;
  max-width: 180px;
}
.works-list .works-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}
.works-list .works-body {
  flex: 1 1 auto;
}
.works-list .works_date {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.works-list .works_title {
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
}
.works-list .works_excerpt {
  color: #666;
  margin-top: 0.5rem;
}
.works-list a:hover .works_title {
  text-decoration: underline;
}

@media (max-width: 781px) {
  .works-list {
    max-width: 100%;
    flex-direction: column;
  }

  .works-list li a {
    gap: 0.6rem;
    display: flex;
    flex-direction: column;
  }
  .works-list .works-thumb {
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
  }

  .works-list .works-thumb img {
    height: auto;
  }
}

.works_excerpt {
  margin-top: 0.75em;
  color: #555;
}

.works-single .entry-header {
  margin-bottom: 2em;
}

.works-single .entry-meta {
  margin-top: 0.8em;
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  color: #777;
}

/* スマホ対応 */
@media (max-width: 781px) {
  .news-archive-list,
  .works-archive-list,
  .works-list {
    padding: 0;
  }

  .news-archive-list li a .news_date,
  .news-archive-list li .news_date,
  .works-archive-list li a .works_date,
  .works-archive-list li .works_date,
  .works-list li a .works_date,
  .works-list li .works_date {
    font-size: 12px;
  }

  .news-archive-list li h2,
  .news-archive-list li a h2,
  .works-archive-list li h2,
  .works-list li h2 {
    font-size: 15px;
  }

  .works-archive-list li,
  .works-list li {
    flex-direction: column;
    align-items: stretch;
  }
}

/* border なし */
.entry-title--post-type--page,
h2:where(:not(.wp-block-post-title)) {
  border: none;
}

/*ContactFormカスタマイズ*/
table.CF7_table {
  width: 80%;
  margin: 0 auto;
  border: 3px solid #e5e5e5;
}
table.CF7_table tr {
  border-top: 1px solid #e5e5e5;
}
/*入力欄*/
.CF7_table input,
.CF7_table textarea {
  border: 1px solid #d8d8d8;
}
.CF7_table ::placeholder {
  color: #797979;
}
/*「必須」文字*/
.CF7_req {
  font-size: 0.9em;
  padding: 5px;
  background: #f73434;
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}
/*「任意」文字*/
.CF7_unreq {
  font-size: 0.9em;
  padding: 5px;
  background: #bdbdbd; /*グレー*/
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}
/* タイトル列 */
@media screen and (min-width: 768px) {
  .CF7_table th {
    width: 30%; /*横幅*/
    background-color: #ebedf5; /*ブルーグレー*/
    text-align: left;
  }
}
/* レスポンシブ */
@media screen and (max-width: 768px) {
  table.CF7_table {
    width: 95%;
  }
  .CF7_table tr,
  .CF7_table td,
  .CF7_table th {
    display: block;
    width: 100%;
    line-height: 2.5em;
  }
  .CF7_table th {
    text-align: left;
    background-color: #ebedf5;
  }

  .CF7_table th p,
  .CF7_table td p {
    margin-bottom: 0;
  }
}
/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
  background-color: #000;
  border: 0;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 auto;
}
.CF7_btn {
  text-align: center;
  margin-top: 20px;
}
.wpcf7-spinner {
  width: 0;
  margin: 0;
}

/* menu */

.vk-mobile-nav-menu-btn {
  border: none;
}

.vk-mobile-nav-menu-btn.menu-open {
  border: none;
}
