/*
 Theme Name:   Lightning Child
 Template:     lightning
*/

@charset "UTF-8";


/*===================================================================
  20250612_「メンバー紹介」詳細ページ用調整
===================================================================*/
.company__contents{
  margin-top:3em;
}
.company__contents .container__inner{
  padding-inline: 25px;


}
/* 背景色と全体のフォント設定 */
.layout__flex {
  display: flex !important;
  gap: 40px !important;
}
/*.company__contents {
  background-color: #fcfbf8;
  font-family: "Noto Serif JP", serif;
  padding: 40px 0 !important;
}*/

.layout__ribbon {
  background-color: hsl(45deg, 33%, 98%);
  padding-top: calc(var(--_space, 1.8rem) * 1.5);
  padding-bottom: calc(var(--_space, 1.8rem) * 1.5);
  width: 100% !important;
  margin:80px auto;
}

.layout__flex > .layout__flow {
  width: calc(50% - 20px) !important; /* gap(40px)の半分を引いて50%に */
  flex: 0 0 auto;
}

/* 役職（名前の横のspan）のスタイル */
.company__contents h2 {
  display: flex;
  border: none !important;
  gap: 10px !important;
  justify-content: center !important;
  font-size: 200% !important;
}
.company__contents h2 span {
  font-size: 0.7em;
  display: block;
}
.company__contents h2::before {
  content: '';
  position: absolute;
  left: calc(50% - 30px);
  bottom: -15px;
  width: 60px;
  height: 1px;
  border-radius: 100px;
  background: var(--wp--preset--color--vk-color-custom-1);
}

/* 写真のスタイル */
.eyecatch-image {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

/* 自己紹介テキストのスタイル */
.text__body {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* 経歴・専門分野・受賞歴の各セクションのスタイル */
.container__inner h3,
.container__inner h2 {
  font-size: 1.4rem;
  color: #333;
  position: relative !important;
}
.container__inner h3::after {
  border: none !important;
}
.container__inner h3 {
  margin-bottom: 0 !important;
}

/* テーブル（リスト）のスタイル */
.company__contents table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
@media only screen and (min-width: 899px) {
  .contents.company__contents .layout__ribbon .container__inner table {
    max-width: 850px;
    width: 100%;
    margin-inline: auto;
  }
}

.company__contents table,
.company__contents table tr,
.company__contents table th,
.company__contents table td {
  border-top: 1px solid #ccc !important;
  border-left: 0px none !important;
  border-right: 0px none !important;
  border-spacing: 0;
  border-collapse: collapse;
  background: transparent !important; 
}

.company__contents table td {
  padding: 1.5rem 0;
  border-bottom: 1px solid #ccc !important;
  font-size: 15px;

}

/* 一覧へ戻るボタンのスタイル */
.back-to-list-button {
  display: inline-block;
  background-color: #b09d6b !important;
  color: #fff !important;
  padding: 15px 40px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  margin: 50px auto;
  transition: opacity 0.3s;
}

.back-to-list-button:hover {
  opacity: 0.8;
}

.page__body .page-back {
  text-align: center !important;
}

/* レスポンシブ調整（スマホ対応） */
@media screen and (max-width: 768px) {
  .layout__flex {
    display: block !important; /* 横並びを縦にする */
  }
  .layout__flex > .layout__flow {
  width: 100% !important;
  flex: 0 0 auto;
}
  .layout__flow {
    width: 100% !important;
    margin-bottom: 30px;
  }
}

/*===================================================================
  20250612_「メンバー紹介」追加
===================================================================*/
.member-main {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #f0eee5;
  font-family: "Noto Serif JP", serif;
}

.inner--member {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.fadein {
  animation-name: fadein;
  animation-delay: 0.8s;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.member-wrap {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.member-list {
  width: 25%;
  padding: 4px;
  text-decoration: none;
  list-style: none;
  color: #333;
}

.member-item {
  display: block;
  background-color: #fff;
  width: 100%;
  height: 100%;
  color: #333;
  position: relative;
  transition: 0.3s;
  text-decoration: none !important;
}

.member-thumb {
  height: 300px;
  width: 100%;
  overflow: hidden;
}

.member-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.member-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  color: #333 !important;
}

.member-item:hover img {
  transform: scale(1.2);
}

.member-body {
  padding: 5px 10px 40px;
}

.member-title {
  font-size: 24px;
  font-weight: 700;
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 1.5;
  border: none !important;
  margin-bottom: 0.5rem !important;
}

.member-text {
  font-size: 16px;
  line-height: 1.5;
}

.member-date {
  font-size: 12px;
  position: absolute;
  bottom: 8px;
  left: 12px;
}

@media screen and (max-width: 600px) {
  .member-list {
    width: 50%;
  }

  .member-thumb {
    height: 200px;
  }

  .member-body {
    padding: 0px 10px 25px;
  }
.member-title {
  font-size: 20px;

}
  .member-text {
    /*display: none;*/
    font-size:14px;
  }

  .member-date {
    bottom: 4px;
  }
}



/*===================================================================
  20250410_「コラム」追加
===================================================================*/
.column-main {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #f0eee5;
  font-family: "Noto Serif JP", serif;
}

.inner--column {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.column-wrap {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.column-list {
  width: 33%;
  padding: 4px;
  text-decoration: none;
  list-style: none;
  color: #333;
}

.column-item {
  display: block;
  background-color: #fff;
  width: 100%;
  height: 100%;
  color: #333;
  position: relative;
  transition: 0.3s !important;
  text-decoration: none !important;
}

.column-thumb {
  height: 170px;
  width: 100%;
  overflow: hidden;
}

.column-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.column-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 5px rgba(0, 0, 0, .3);
  color: #333;
}

.column-item:hover img {
  transform: scale(1.2);
}

.column-body {
  padding: 5px 10px 40px;
}

.column-title {
  font-size: 16px;
  font-weight: 700;
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 1.5;
  border: none !important;
}

.column-text {
  font-size: 12px;
  line-height: 1.5;
}

.column-date {
  font-size: 12px;
  position: absolute;
  bottom: 8px;
  left: 12px;
}

@media screen and (max-width: 600px) {
  .column-list {
    width: 50%;
  }

  .column-thumb {
    height: 120px;
  }

  .column-body {
    padding: 0px 10px 25px;
  }

  .column-text {
    display: none;
  }

  .column-date {
    bottom: 4px;
  }
}
@media screen and (max-width: 900px) {
  .single-column-block {
    flex-wrap: wrap;
  }
.single-column-block .layout__flex > .layout__flow {
    width: 100% !important;
  }

  .single-column-main {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .single-column-contents {
    padding: 30px 20px;
  }

  .sidebar-column {
    width: 100%;
    order: 2;
  }

  .pager--column {
    flex-wrap: wrap;
  }

  .previous--column, .next--column {
    width: 100%;
    margin-bottom: 10px;
  }
}




/*========================
    pagination
========================*/
.pagination {
  text-align: center;
  width: 100%;
  margin: 40px auto 0 !important;
  display: flex;
  justify-content: center;
}

.page-numbers {
  width: 52px;
  height: 48px;
  transition: .5s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 3px;
  background-color: #fff;
  color: #333;
}

.current {
  background-color: #980B20;
  color: #fff;
  pointer-events: none;
}

.page-numbers:hover {
  background-color: #c6b37c;
  color: #fff;
}

.prev.page-numbers,
.next.page-numbers {
    display: none;
}

.pager--column {
  display: flex !important;
  gap: 1rem !important;
}

.next--column, .previous--column {
  background-color: #980B20 !important;
  padding: 2rem;
  width: calc(50% - 0.9rem);
  border-radius: 10px !important;
  margin-top: 2rem !important;
  transition: 0.3s;
}
.arrow-column-text {
  margin-bottom: 0 !important;
  color: #fff !important;
}
.next--column .pager-tit, .previous--column .pager-tit {
  color: #fff !important;
  margin: 0 !important;
}
.arrow-column {
  display: flex !important;
  text-align: center !important;
}
.next--column:hover, .previous--column:hover {
  opacity: 0.8;
  transition: 0.3s;
}


/*========================
  single-column
========================*/
.single--column {
  padding: 90px 0 120px;
  background-color: #f0eee5;
  font-family: "Noto Serif JP", serif;
}

.single-column-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.single-column-main {
  width: calc(100% - 360px);
}

.single-column-contents {
  width: 100%;
  padding: 60px 30px;
  background-color: #fff;
  line-height: 2;
}

.single-column-date {
  font-size: 12px;
  display: block;
  margin-bottom: 20px;
}

.single-column-contents p {
  margin-bottom: 15px;
  font-family: 'Noto Sans JP';
}


.sidebar-column {
  width: 330px;
  padding: 25px 10px 10px;
  background-color: #fff;
  border: 2px solid #980B20;
}

.sidebar-column-tit {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
  background-color: #980B20;
  text-align: center;
}

.sidebar-column-item {
  display: block;
  border-bottom: 1px solid #ccc;
  font-weight: 700;
  padding-bottom: 15px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 15px;
}

.sidebar-column-date {
  font-size: 12px;
  display: block;
  color: #333;
}

.sidebar-column-item-tit {
  font-weight: 700;
  color: #333;
}

/* 既存のCSSに上書き、または差し替え */

.jumbotron.news-hero {
  /* min-height: 500px; */
  position: relative;
  display: flex;
  align-items: center;
  /* padding-top: 70px; */
  z-index: 1;
}
.jumbotron.news-hero .page__bg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.jumbotron.news-hero .page__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(153, 11, 32, 0.6);
  z-index: 0;
}
.jumbotron.news-hero .page__bg figure,
.jumbotron.news-hero .page__bg picture,
.jumbotron.news-hero .page__bg img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.jumbotron.news-hero .news--title {
  margin: 0 auto;
  padding: 100px 5%;
  position: relative;
  z-index: 2; 
  color: #fff !important;
  text-align: left;
  padding-left: 3rem;
  width: 100%;
}
