/* 文字コード宣言 */
@charset "UTF-8";

/* 基本色 */
:root {
  --accent-color: #bf6a7a;
  --dark-main-color: #2b5566;
  --gray-color: #ddd;
  --icon-bk-color: #ddd;
  --icon-color: #fff;
  --large-width: 1000px;
  --main-color: #5d9ab2;
  --middle-width: 800px;
  --text-bright-color: #fff;
}

/* ルート変数定義 */

/* レイアウト: 汎用コンテナとカラム構成 */
.container {
  display: flex;
  flex-wrap: wrap;
  padding: 1em;
  max-width: 1000px;
  margin: auto;
  background-color: white;
}

.image-column {
  flex: 1 1 300px;
  padding: 1em;
}

.image-column img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.text-column {
  flex: 2 1 300px;
  padding: 1em;
}

.text-column img {
  max-width: 100%;
  height: auto;
  margin-top: 1em;
  border-radius: 8px;
}

/* ヘッダー関連スタイル */
.headB {
  display: none;
}
.headB a {
  color: inherit;
  display: block;
  font-size: 12px;
  padding: 15px;
  text-decoration: none;
}
.headB a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.headB ul {
  display: flex;
}
.headC:hover {
  opacity: 0.3;
}
.nohero header {
  border-bottom: solid 1px var(--gray-color);
  position: static;
}
/* ヘッダー */
header {
  background-color: rgba(255, 255, 255, 0.9);
  left: 0;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 100;
}

/* ヘッダーA: サイト名 */
.headA {
  background-color: var(--main-color);
  color: var(--text-bright-color);
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  line-height: 70px;
  padding-left: 20px;
  padding-right: 20px;
  text-decoration: none;
}
/* ヘッダーB： ナビゲーションメニュー */
.headB ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
header h1 {
  font-size: 1.5em;
  margin-bottom: 1em;
  text-align: center;
}
.headB {
  display: block !important;
}
/* ヘッダーC： トグルボタン */

.headC {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  margin-right: 10px;
  opacity: 0.5;
  outline: none;
  padding: 0;
}

/* メインビジュアル関連スタイル */
#main-visual {
  font-size: 1.2em;
  margin-bottom: 1em;
  text-align: center;
}

/* コンテンツセクション（A〜D、記事、沿革） */
.conA a {
  background-color: var(--accent-color);
  border: solid 3px currentColor;
  border-radius: 6px;
  color: var(--text-bright-color);
  display: inline-block;
  font-size: 14px;
  margin-top: 20px;
  padding: 10px 30px;
  text-decoration: none;
}
.conA a:hover {
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.2)
  );
}
.conA h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 10vw;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  margin-left: 0.2em;
  margin-top: 0;
}
.conA img {
  width: 20%;
}
.conA p {
  color: #ffff00;
  font-size: 24px;
  margin-bottom: 0;
  margin-top: 0;
}
.conA.compact {
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(img/topback01.jpg);
  height: 450px;
  min-height: 0;
}
.conB .icon {
  background-color: var(--icon-bk-color);
  border-radius: 50%;
  color: var(--icon-color);
  display: inline-block;
  font-size: 40px;
  line-height: 2em;
  margin-bottom: 20px;
  text-align: center;
  width: 2em;
}
.conB .text {
  flex: 1;
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
}
.conB a {
  color: var(--main-color);
  text-decoration: none;
}
.conB a:hover {
  text-decoration: underline;
}
.conB h2 {
  font-size: 20px;
  margin-bottom: 10px;
  margin-top: 0;
}
.conB p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  margin-top: 0;
  opacity: 0.8;
}
.conC .photo {
  background-image: url(img/note.jpg);
  background-position: center;
  background-size: cover;
  flex: 3;
  min-height: 200px;
}
.conC .text {
  flex: 2;
  padding: 50px;
}
.conC a {
  background-color: var(--accent-color);
  border: solid 3px currentColor;
  border-radius: 6px;
  color: var(--text-bright-color);
  display: inline-block;
  font-size: 14px;
  margin-top: 20px;
  padding: 10px 30px;
  text-decoration: none;
}
.conC a:hover {
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.2)
  );
}
.conC h2 {
  font-size: 20px;
  margin-bottom: 10px;
  margin-top: 0;
}
.conC p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  margin-top: 0;
  opacity: 0.8;
}
.conD .photo {
  background-image: url(img/life.jpg);
  background-position: center;
  background-size: cover;
  flex: 0 0 400px;
  min-height: 200px;
}
.conD .text {
  flex: 1;
  padding: 50px;
}
.conD a {
  background-color: var(--accent-color);
  border: solid 3px currentColor;
  border-radius: 6px;
  box-shadow: 0 0 0 1px #888;
  color: var(--text-bright-color);
  display: inline-block;
  font-size: 14px;
  margin-top: 20px;
  padding: 10px 30px;
  text-decoration: none;
}
.conD a:hover {
  background-image: linear-gradient(
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.2)
  );
}
.conD h2 {
  font-size: 20px;
  margin-bottom: 10px;
  margin-top: 0;
}
.conD p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  margin-top: 0;
  opacity: 0.8;
}
.history .photo {
  background-image: url(img/plant.jpg);
  background-position: center;
  background-size: cover;
  flex: 3;
  min-height: 300px;
}
.history .text {
  flex: 2;
  padding: 50px;
}
.history h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  margin-top: 0;
}
.history table {
  border-collapse: collapse;
  border-top: solid 1px var(--gray-color);
  font-size: 0.875rem;
}
.history th {
  padding-right: 1rem;
  text-align: left;
  word-break: keep-all;
}
.history th,
.history td {
  border-bottom: solid 1px var(--gray-color);
  padding-bottom: 1.8rem;
  padding-top: 1.8rem;
}
.post h1 {
  border-left: solid 0.75rem var(--accent-color);
  font-size: 2rem;
  padding-left: 0.5rem;
}
.post img {
  max-width: 100%;
}
.post p {
  font-size: 1rem;
  line-height: 2;
}
/* アバウトページ： 画像と沿革 */
.history {
  background-color: var(--main-color);
  color: var(--text-bright-color);
}
/* コンテンツA： ヒーローイメージ */
.conA {
  align-items: center;
  background-position: center;
  background-size: cover;
  color: var(--text-bright-color);
  display: flex;

  justify-content: center;
  min-height: 350px;
  text-align: center;
}
/* コンテンツB： 概要（アイコン＋テキスト） */
.conB .container {
  padding-bottom: 20px;
  padding-top: 80px;
}
/* コンテンツC： 概要（画像＋テキスト） */
.conC {
  background-color: var(--main-color);
  color: var(--text-bright-color);
}
/* コンテンツD： 概要（画像＋テキスト：逆配置） */
.conD .container {
  padding-top: 2px;
}
/* コンテンツページ: 記事 */
.post .container {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--middle-width);
  padding: 30px 10px;
}

/* 記事一覧・おすすめリンク・宗教関連スタイル */
.listA .container {
  display: flex;
  flex-wrap: wrap;
  margin: 30px auto;
  max-width: var(--large-width);
}
.listA .photo {
  background-position: center;
  background-size: cover;
  min-height: 150px;
}
.listA .text {
  margin: 10px;
}
.listA a {
  border: solid 1px var(--gray-color);
  color: inherit;
  display: block;
  flex: 1;
  margin: 10px;
  text-decoration: none;
}
.listA a:hover {
  opacity: 0.8;
}
.listA article {
  display: flex;
  flex: 1 1 300px;
}
.listA h2 {
  font-size: 18px;
}
.listA p {
  font-size: 14px;
  opacity: 0.8;
}
.listB .container {
  display: flex;
  flex-wrap: wrap;
  margin: 30px auto;
  max-width: var(--large-width);
}
.listB .photo {
  background-position: center;
  background-size: cover;
  flex: 2;
  min-height: 0;
}
.listB .text {
  flex: 3;
  margin: 10px;
}
.listB a {
  border: solid 1px var(--gray-color);
  color: inherit;
  display: flex;
  flex: 1;
  margin: 10px;
  text-decoration: none;
}
.listB a:hover {
  opacity: 0.8;
}
.listB article {
  display: flex;
  flex: 1 1 384px;
}
.listB h2 {
  font-size: 18px;
}
.listB p {
  display: none;
  font-size: 14px;
  opacity: 0.8;
}
.other-links {
  margin-top: 2em;
  text-align: center;
}
.other-links a {
  color: #004080;
  font-size: 1.1em;
  font-weight: bold;
  margin: 0 1em;
  text-decoration: none;
}
.other-links a:hover {
  text-decoration: underline;
}
.religious-item {
  margin-bottom: 1.5em;
  text-align: center;
}
.religious-item img {
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 100%;
}
.religious-item p {
  color: #333;
  font-size: 1em;
  margin-top: 0.5em;
}
.religious-links-vertical {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-top: 1em;
}
/* 記事一覧A */
.listA h1 {
  text-align: center;
}
/* 記事一覧B */
.listB h1 {
  text-align: center;
}
/* 統合された recommend_section.css の内容 */
.recommend-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  margin-top: 1em;
}
.recommend-links a {
  background-color: #004080;
  border-radius: 5px;
  color: white;
  display: inline-block;
  padding: 1em 2em;
  text-align: center;
  text-decoration: none;
  font-size: 1.1em;
  width: 80%;
  max-width: 400px;
}
.recommend-links a:hover {
  background-color: #0066cc;
}

/* お問い合わせ・地図関連スタイル */
#contact {
  font-size: 1em;
  text-align: center;
}
#contact a {
  color: #004080;
  text-decoration: underline;
}
.contact {
  flex: 1;
}
.contact a {
  color: inherit;
  font-size: 1.4rem;
  text-decoration: none;
}
.contact h2 {
  font-size: 1.2rem;
  margin-top: 0;
}
.contact span {
  background-color: var(--main-color);
  border-radius: 50%;
  color: var(--icon-color);
  display: inline-block;
  font-size: 2.2rem;
  line-height: 2em;
  margin-bottom: 20px;
  text-align: center;
  width: 2em;
}
.contact:first-child {
  margin-right: 20px;
}
.location h2 {
  background-color: var(--main-color);
  color: var(--text-bright-color);
  font-size: 1.5rem;
  margin: 0;
  padding-bottom: 20px;
  padding-top: 20px;
  text-align: center;
}
/* お問い合わせページ: 問い合わせ先 */
.contact {
  border: solid 1px var(--gray-color);
  margin-bottom: 20px;
  margin-top: 20px;
  padding: 20px;
  text-align: center;
}
/* お問い合わせページ： 地図 */
.location iframe {
  height: 400px;
  vertical-align: bottom;
  width: 100%;
}

/* フッター関連スタイル */
.footA {
  flex: 0 0 40%;
}
.footA a {
  color: inherit;
  text-decoration: none;
}
.footA h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  margin-top: 0;
}
.footA p {
  font-size: 14px;
  margin-bottom: 0;
  margin-top: 0;
}
.footB {
  flex: 0 0 60%;
}
.footB a {
  color: inherit;
  display: block;
  font-size: 12px;
  padding: 5px;
  text-decoration: none;
}
.footB a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.footB div {
  flex: 1;
}
.footB div:not(:first-child) {
  margin-left: 40px;
}
.footB h3 {
  border-bottom: solid 1px currentColor;
  font-size: 14px;
  margin-bottom: 10px;
  margin-top: 0;
}
.footB ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footC {
  flex: 0 0 100%;
}
.footD a {
  border: solid 1px currentColor;
  border-radius: 50%;
  color: inherit;
  display: block;
  font-size: 16px;
  line-height: 2em;
  margin-right: 8px;
  padding: 0;
  text-align: center;
  text-decoration: none;
  width: 2em;
}
.footD a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.footD ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* フッターB： フッターメニュー */
.footB div {
  margin-bottom: 20px;
}
/* フッターD： SNSメニュー */
.footD {
  margin-top: 20px;
}
footer .container {
  padding: 40px 20px;
}
/* フッター */
footer {
  background-color: var(--dark-main-color);
  color: var(--text-bright-color);
}
/* フッターA： サイト情報 */
.footA {
  margin-bottom: 30px;
}
/* フッターC： コピーライト */
.footC {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  text-align: center;
}

/* その他のスタイル */
#industry-buttons {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-bottom: 2em;
}
#plus-one-description {
  background-color: #eef6ff;
  border-left: 4px solid #004080;
  color: #333;
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 2em;
  padding: 1em;
}
#plus-one-description strong {
  color: #004080;
}
#plus-one-visual {
  margin-bottom: 1.5em;
  text-align: center;
}
#plus-one-visual img {
  border-radius: 8px;
  height: auto;
  max-width: 100%;
}
#wrapper {
  margin: auto;
  max-width: 1170px;
  padding: 1em;
}
.bread a {
  color: inherit;
  display: block;
  font-size: 0.875rem;
  padding: 5px;
  text-decoration: none;
}
.bread a::after {
  content: "\f054";
  font-family: "FontAwesome";
  margin-left: 10px;
  opacity: 0.3;
}
.bread a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.class2 {
  display: block;
  margin: auto;
}
.class3 {
  display: block;
  margin: auto;
}
.industry-button {
  background-color: #004080;
  border-radius: 5px;
  color: white;
  display: block;
  padding: 1em;
  text-align: center;
  text-decoration: none;
}
.industry-button:hover {
  background-color: #0066cc;
}
/* コンテンツページ: パンくずリスト */
.bread ol {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* スマホ中心のレスポンシブデザイン */
body {
  background-color: #f9f9f9;
  color: #333;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}
/* 基本設定： フォントサイズ */

body {
  font-size: 16px;
}
/* 基本設定： ページ全体 */
body {
  font-family: "メイリオ", "Hiragino Kaku Gothic Pro", sans-serif;
  margin: 0;
}
/* 画像サイズ自動変更2023/11/28 */
image-vw {
  width: 70vw;
}
.section-title {
  color: #004080;
  font-size: 1.4em;
  margin-top: 1em;
  text-align: center;
}
strong {
  background-color: #ffff66;
  color: #ff3333;
}
strong.red {
  color: #ff3333;
  background-color: #ffff66;
}
strong.t {
  background-color: transparent; /* 背景を透明に */
  color: yellow; /* 文字色を黄色に */
}
/* 記事一覧B2023/11/29追加、配置 */
.class1 {
  background-color: gray;
  height: 300px;
  margin: 50px;
  width: 500px;
}
