@charset "utf-8";

/* =========================
   single post
========================= */
/* =========================
   Footerを常に最下部へ
========================= */

html,
body{
  height: 100%;
}

body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main{
  flex: 1;
}


.singlePost{
  padding: 120px 0;
  background: #fff;
}

.singlePost__inner{
  /* width: min(900px, calc(100% - 40px)); */
  margin: 0 auto;
}

.singlePost__breadcrumb{
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
}

.singlePost__meta{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 0 0 10px;
}

.singlePost__date{
  color:#666;
  font-size: 14px;
}

.singlePost__tag{
  display:inline-flex;
  align-items:center;
  height: 26px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  background:#2b2f7f;
  color:#fff;
}

.singlePost__title{
  margin: 0;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.4;
}

.singlePost__thumb{
  margin: 22px 0 0;
  border-radius: 16px;
  overflow:hidden;
  background:#f3f4f6;
}

.singlePost__thumbImg{
  width:100%;
  height:auto;
  display:block;
}

.singlePost__content{
  margin-top: 26px;
  line-height: 2;
  color:#111;
}

.singlePost__content h2{
  margin: 34px 0 12px;
  font-size: 20px;
}
.singlePost__content h3{
  margin: 28px 0 10px;
  font-size: 18px;
}

.singlePost__foot{
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid #e5e7eb;
  display:grid;
  gap: 16px;
}

.singlePost__pager{
  display:flex;
  justify-content: space-between;
  gap: 16px;
}

.singlePost__pager a{
  text-decoration:none;
  font-weight: 700;
  color:#111;
}


/* コメントエリア全体のラップ */
.singlePost__comments {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

/* 「コメントを残す」などの見出し */
#reply-title {
    font-size: 20px;
    margin-bottom: 20px;
    display: block;
}

/* 入力フォームのスタイル */
.comment-form-comment textarea {
    width: 100%;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    background: #f9f9f9;
}

/* 送信ボタン（お知らせのアクセントカラーに合わせる） */
.form-submit .submit {
    background: #006677; /* お知らせの日付と同じ系統の色 */
    color: #fff;
    border: none;
    padding: 12px 35px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.form-submit .submit:hover {
    opacity: 0.8;
}


@media (max-width: 768px){
  .singlePost{ padding: 70px 0; }
  .singlePost__pager{ flex-direction: column; }
}


/***************************************************
home.php news　お知らせ一覧
***************************************************/

.newsArchive{
  padding: 80px 0;
  background:#fff;
}

.newsArchive__inner{
  margin:0 auto;
}

.newsArchive__head{
  margin-bottom: 30px;
}

.newsArchive__title{
  font-size: 28px;
  font-weight: 900;
  margin:0;
}

/* リスト */

.newsArchive__list{
  border-top: 1px solid #e5e7eb;
}

.newsArchive__item{
  display:grid;
  grid-template-columns:120px 110px 1fr;
  align-items:center;
  gap:16px;
  padding:20px;
  border-bottom:1px solid #e5e7eb;
}

.newsArchive__date{
  font-size:14px;
  color:#666;
}

.newsArchive__tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:28px;
  padding:0 12px;
  font-size:12px;
  font-weight:700;
  border-radius:4px;
  background:#2b2f7f;
  color:#fff;
}

.newsArchive__link{
  text-decoration:none;
  color:#111;
  font-weight:600;
  font-size:15px;
}

.newsArchive__link:hover{
  color:#d50000;
}

/* ページネーション */

.newsArchive__pagination{
  margin-top:40px;
  text-align:center;
}

.newsArchive__pagination .page-numbers{
  display:inline-block;
  margin:0 4px;
  padding:6px 10px;
  border-radius:6px;
  text-decoration:none;
  font-weight:600;
  color:#111;
  border:1px solid #ddd;
}

.newsArchive__pagination .current{
  background:#2b2f7f;
  color:#fff;
  border-color:#2b2f7f;
}

/* SP */

@media (max-width:768px){

  .newsArchive{
    padding:60px 0;
  }

  .newsArchive__item{
    grid-template-columns:1fr;
    gap:8px;
  }

}


/* ==================================================
   つぶやき用カラー
================================================== */

.tsubuyakiSingle {
  background: linear-gradient(
    180deg,
    #f5fbfc 0%,
    #ffffff 100%
  );
}

/* タグ色 */
.tsubuyakiSingle .singlePost__tag {
  background: var(--tweet-main);
}

/* タイトルアクセント（下線） */
.tsubuyakiSingle .singlePost__title {
  border-bottom: 3px solid var(--tweet-light);
  padding-bottom: 6px;
}

/* 本文リンク */
.tsubuyakiSingle .singlePost__content a {
  color: var(--tweet-main);
}

/* 前後リンク */
.tsubuyakiSingle .singlePost__pager a {
  color: var(--tweet-main);
}

.tsubuyakiSingle .singlePost__pager a:hover {
  color: var(--tweet-dark);
}

/* ボタン */
.tsubuyakiSingle .c-btn {
  background: linear-gradient(
    135deg,
    var(--tweet-light),
    var(--tweet-main)
  );
  color: #fff;
  text-align: center;
  background: #fff;
  color: var(--color-3-tochi);
  text-decoration: none;
  padding: 10px 30px;
  border: 1px solid var(--color-3-tochi);
  margin-top: 60px;
  display: inline-block;
}

/* コメントボタン */
.tsubuyakiSingle .form-submit .submit {
  background: var(--tweet-main);
}

.tsubuyakiSingle .form-submit .submit:hover {
  background: var(--tweet-dark);
}

/* アイキャッチ枠 */
.tsubuyakiSingle .singlePost__thumb {
  box-shadow: 0 10px 30px rgba(17,113,126,0.15);
}

/* コメントエリア */
.tsubuyakiSingle .singlePost__comments {
  border-top: 2px solid var(--tweet-light);
}

/* ==================================================
   つぶやき一覧 archive
================================================== */

:root {
  --tweet-main: #11717E;
  --tweet-light: #3FA3AF;
  --tweet-mid: #2C8F9B;
  --tweet-dark: #0E5F6A;
  --tweet-deep: #0A4C55;
}

.tweetArchive {
  background: linear-gradient(180deg, #f5fbfc 0%, #ffffff 100%);
}

.tweetArchive__head {
  margin-bottom: 30px;
}

.tweetArchive__lead {
  margin-top: 10px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
}

.tweetArchive .newsArchive__title {
  color: var(--tweet-deep);
}

.tweetArchive .newsArchive__list {
  border-top: 1px solid rgba(17, 113, 126, 0.22);
  background: rgba(255,255,255,0.8);
  /* border-radius: 14px; */
  overflow: hidden;
}

.tweetArchive .newsArchive__item {
  border-bottom: 1px solid rgba(17, 113, 126, 0.12);
}

.tweetArchive .newsArchive__date {
  color: var(--tweet-dark);
}

.tweetArchive .newsArchive__tag {
  background: linear-gradient(135deg, var(--tweet-light), var(--tweet-main));
  color: #fff;
  border-radius: 20px;
}

.tweetArchive .newsArchive__link {
  color: #163238;
  text-decoration: underline;
}

.tweetArchive .newsArchive__link:hover {
  color: var(--tweet-main);
  text-decoration: none;
}

/*トップページも同様に下線*/
.top-news__item a span {
  text-decoration: underline;
}

.top-news__item a:hover span {
  text-decoration: none;
}

.tweetArchive .newsArchive__pagination .page-numbers {
  border-color: rgba(17, 113, 126, 0.25);
}

.tweetArchive .newsArchive__pagination .current {
  background: var(--tweet-main);
  border-color: var(--tweet-main);
  color: #fff;
}


.tsubuyakiSingle__comments {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid rgba(17, 113, 126, 0.18);
}

.tsubuyakiSingle__comments #comments,
.tsubuyakiSingle__comments .comment-reply-title {
  margin: 0 0 20px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.5;
  font-weight: 800;
  color: #0A4C55;
}

.tsubuyakiSingle__comments h3#comments {
  display: none;
}

.tsubuyakiSingle__comments h3.comments-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
}

.tsubuyakiSingle__comments h3.comments-title span {
color: var(--color-3-tochi);
font-size: 18px;
}

.tsubuyakiSingle__comments .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tsubuyakiSingle__comments .commentlist > li {
  margin: 0 0 18px;
  padding: 0;
}

.tsubuyakiSingle__comments .comment-body {
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfc 100%);
  border: 1px solid rgba(17, 113, 126, 0.12);
  border-left: 5px solid #11717E;
  /* border-radius: 14px; */
  padding: 20px 20px 16px;
  box-shadow: 0 8px 22px rgba(17, 113, 126, 0.08);
}

.tsubuyakiSingle__comments .comment-author {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 15px;
}

.tsubuyakiSingle__comments .comment-author .fn,
.tsubuyakiSingle__comments .comment-author .fn a {
  font-style: normal;
  font-weight: 700;
  color: #0A4C55;
  text-decoration: none;
}

.tsubuyakiSingle__comments .comment-author .says {
  color: #6b7280;
  font-size: 13px;
}

.tsubuyakiSingle__comments .comment-meta {
  margin-bottom: 12px;
  font-size: 13px;
  color: #6b7280;
}

.tsubuyakiSingle__comments .comment-meta a {
  color: #2C8F9B;
  text-decoration: none;
}

.tsubuyakiSingle__comments .comment-meta a:hover {
  color: #11717E;
  text-decoration: underline;
}

.tsubuyakiSingle__comments .comment-body p {
  margin: 0 0 12px;
  line-height: 1.9;
  color: #1f2937;
}

.tsubuyakiSingle__comments .reply {
  margin-top: 10px;
}

.tsubuyakiSingle__comments .comment-reply-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3FA3AF, #11717E);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tsubuyakiSingle__comments .comment-reply-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.tsubuyakiSingle__comments .comment-respond {
  margin-top: 28px;
  padding: 24px;
  /* border-radius: 16px; */
  background: linear-gradient(180deg, #f5fbfc 0%, #ffffff 100%);
  border: 1px solid rgba(17, 113, 126, 0.12);
  box-shadow: 0 8px 22px rgba(17, 113, 126, 0.06);
}

.tsubuyakiSingle__comments .logged-in-as,
.tsubuyakiSingle__comments .comment-notes {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #4b5563;
}

.tsubuyakiSingle__comments .logged-in-as a,
.tsubuyakiSingle__comments .comment-notes a {
  color: #11717E;
}

.tsubuyakiSingle__comments .comment-form {
  display: grid;
  gap: 16px;
}

.tsubuyakiSingle__comments .comment-form p {
  margin: 0;
}

.tsubuyakiSingle__comments .comment-form label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #0A4C55;
}

.tsubuyakiSingle__comments .comment-form textarea,
.tsubuyakiSingle__comments .comment-form input[type="text"],
.tsubuyakiSingle__comments .comment-form input[type="email"],
.tsubuyakiSingle__comments .comment-form input[type="url"] {
  width: 100%;
  border: 1px solid rgba(17, 113, 126, 0.18);
  border-radius: 10px;
  background: #fff;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.8;
  box-sizing: border-box;
}

.tsubuyakiSingle__comments .comment-form textarea:focus,
.tsubuyakiSingle__comments .comment-form input[type="text"]:focus,
.tsubuyakiSingle__comments .comment-form input[type="email"]:focus,
.tsubuyakiSingle__comments .comment-form input[type="url"]:focus {
  outline: none;
  border-color: #11717E;
  box-shadow: 0 0 0 4px rgba(63, 163, 175, 0.16);
}

.tsubuyakiSingle__comments .required,
.tsubuyakiSingle__comments .required-field-message {
  color: #b91c1c;
}

.tsubuyakiSingle__comments .form-submit .submit {
  appearance: none;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #3FA3AF, #11717E);
  color: #fff;
  min-height: 46px;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.tsubuyakiSingle__comments .children {
  list-style: none;
  margin: 16px 0 0 18px;
  padding: 0;
}

@media (max-width: 768px) {
  .tsubuyakiSingle__comments .comment-body {
    padding: 16px;
  }

  .tsubuyakiSingle__comments .comment-respond {
    padding: 18px;
  }

  .tsubuyakiSingle__comments .children {
    margin-left: 12px;
  }
}