@charset "utf-8";

/*
Theme Name: wp_ssk-hiroshima
Theme URI: http://ssk-hiroshima.jp/news/
Description: 一般財団法人 広島県消防設備協会
Version: 4.9.4
Author: nvc
Author URI:  http://ssk-hiroshima.jp/index.html
*/

/*cssのリセット*/

/*コンテンツのサイズ指定*/
.container {
  box-sizing: border-box;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding: 1.25rem;
}

.container {
  padding: 2rem 1.25rem;
}

.container:after {
  display: block;
  clear: both;
  content: '';
}



.contents {
  float: left;
  width: 70%;
  margin-right: 3%;
}

.sidebar {
  float: left;
  width: 27%;
}


/*---------------------------------------------------------
ヘッダー
---------------------------------------------------------*/
.logo-text a {
	text-align:left;
	width:20%;
	margin-left:0px;
}

/*ヘッダー画像*/
.signbord_member-title_bg {
	background-color:rgba(14, 173, 35, 0.5);
	padding:10px 0;
}


.signboard_member {
	position: relative;
	overflow: hidden;
	height:170px;
}

.signboard_member img {
	display: block;
	width: 100%;
	height: auto;
}

.signboard_member-content {
	width: 100%;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.signboard_member-title {
	font-size: 38px;
	font-weight: 400;
	line-height: 1.4;
	color: #fff;
}

.signboard_member-title-sub {
	line-height: 1.6;
	font-size:21px;
	font-family: none;
	border-top:1px solid rgba(255,255,255,0.8);
	padding:20px 80px 0;
}

.signboard-title + .signboard-title-sub {
	margin-top: 8px;
}

.signboard_member-content > :nth-child(1) {
	-webkit-animation: fadeIn 1s ease both 1s;
	-moz-animation: fadeIn 1s ease both 1s;
	-ms-animation: fadeIn 1s ease both 1s;
	-o-animation: fadeIn 1s ease both 1s;
	animation: fadeIn 1s ease both 1s;
}

.signboard_member-content > :nth-child(2) {
	-webkit-animation: fadeIn 1s ease both 2.5s;
	-moz-animation: fadeIn 1s ease both 2.5s;
	-ms-animation: fadeIn 1s ease both 2.5s;
	-o-animation: fadeIn 1s ease both 2.5s;
	animation: fadeIn 1s ease both 2.5s;
}

@media only screen and (max-width: 767px) {
	.signboard_member:before {
		content: "";
		display: block;
		padding-top: 230px;
	}
	.signboard_member {
		height:100px;
	}
	
	.signboard_member img {
		width: auto;
		min-width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 50%;
		-webkit-transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		transform: translateX(-50%);
	}
	
	.signboard_member-title {
		font-size: 24px !important;
		line-height:1.6;
	}
	
	.signboard_member-title-sub {
		line-height: 1.6;
		font-size:14px;
		font-family: none;
		border-top:1px solid rgba(255,255,255,0.8);
		padding:8px 50px 0;
	}
}



/*---------------------------------------------------------
フッター
---------------------------------------------------------*/
.footer-content {
	background: #00700f;
}

/* フッターバー*/
.footer-bar {
	background: #002605;
}
/*---------------------------------------------------------
サイドバー
---------------------------------------------------------*/
.sidebar-wrapper {
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 1.1rem;
  box-sizing: border-box;
  margin: 0 0 1.2rem;
  padding: .5rem;
  color: #000;
  border-bottom: 4px solid #03162f;
}

.wp-block-latest-posts__post-date  {
	font-size:80%;
	line-height:2rem;
	margin-left:2rem;
	color:#555c63;
}

/*デフォルトウィジェット*/
.widget_recent_entries ul,
.widget_meta ul,
.widget_recent_comments ul,
.widget_pages ul,
.widget_meta ul,
.widget_categories ul,
.widget_archive ul,
.widget_nav_menu ul,
.calendar_wrap,
.tagcloud {
  list-style: none;
}

.widget_recent_entries li,
.widget_meta li,
.widget_recent_comments li,
.widget_pages li,
.widget_meta li,
.widget_archive li,
.widget_nav_menu li {
  position: relative;
  margin-bottom: .5rem;
}

.widget_recent_entries a,
.widget_meta a,
.widget_recent_comments a,
.widget_pages a,
.widget_meta a,
.widget_categories a,
.widget_archive a,
.widget_nav_menu a {
  text-decoration: none;
  color: #333;
}

.sidebar-wrapper a:hover {
  opacity: .6;
}

/*カテゴリウィジェット*/
.widget_categories li {
  display: block;
  margin-bottom: .5rem;
}

.widget_categories li a {
  font-size: .95rem;
  position: relative;
  display: block;
  padding: .9rem .6rem .9rem 2rem;
  color: #fff;
  background-color: #03162f;
}

.widget_categories li a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: .6rem;
  content: '\f02b';
  transform: translateY(-50%);
  color: #fff;
}

.widget_categories .children {
  margin-bottom: .5rem;
  padding: 0;
  padding-left: 1rem;
  background-color: #415671;
}

.widget_categories .children li {
  margin-bottom: 0;
}

.widget_categories .children li a {
  font-size: .9rem;
  background-color: transparent;
}

.widget_categories .children li a::before {
  position: absolute;
  top: 50%;
  left: .6rem;
  content: '∟';
  transform: translateY(-50%);
  color: #fff;
}

/*カテゴリウィジェットとアーカイブウィジェットのドロップダウン表示*/
.widget_categories .screen-reader-text {
  display: none;
}

.widget_archive .screen-reader-text {
  position: relative;
  display: block;
  height: 0;
  text-indent: -9999999px;
}

.widget_categories form {
  position: relative;
}

.widget_categories form::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  content: '▼';
  transform: translateY(-50%);
  pointer-events: none;
}

.widget_categories .postform,
.widget_archive select {
  font-size: .95rem;
  width: 100%;
  padding: 4px 10px;
  cursor: pointer;
  border: 1px solid #e0e3ef;
  border-radius: 0;
  background-color: #f4f5f9;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.widget_archive label::after {
  position: absolute;
  top: .5rem;
  right: 1rem;
  content: '▼';
  text-indent: 0;
  pointer-events: none;
}

/*タグウィジェット*/
.tagcloud a {
  font-size: .9rem !important;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-bottom: .5rem;
  padding: .2rem .5rem;
  text-decoration: none;
  color: #03162f;
  border: 1px solid #000;
  background-color: #fff;
}

/*メニューウィジェット*/
.widget_nav_menu li a {
  font-size: 1rem;
  font-weight: bold;
  position: relative;
  padding-left: 1.3rem;
  color: #333;
}

.widget_nav_menu li a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 0;
  content: '\f105';
  transform: translateY(-50%);
  color: #03162f;
}

/*最近の投稿*/
.widget_recent_entries li {
  padding-bottom: .5rem;
  border-bottom: 1px solid #ddd;
}

.widget_recent_entries li a:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: bold;
  font-weight: 900;
  position: absolute;
  left: 5px;
  content: '\f303';
  color: #000;
}

.widget_recent_entries li a {
  display: block;
  margin-bottom: .3rem;
  padding-left: 1.6rem;
}

.widget_recent_entries .post-date {
  font-size: .8rem;
  display: block;
}

/*カレンダーウィジェット*/
.calendar_wrap {
  padding: 1rem;
  border: 1px solid #ddd;
}

.calendar_wrap table {
  width: 100%;
}

.calendar_wrap tbody {
  text-align: center;
}

.calendar_wrap caption {
  font-weight: bold;
  margin-bottom: 1rem;
}

.calendar_wrap td {
  padding: .3rem 0;
}

.calendar_wrap tfoot td {
  padding-top: .7rem;
}

.calendar_wrap tfoot td:last-child {
  text-align: right;
}

.wp-block-calendar {
  padding: 1rem;
  border: 1px solid #ddd;
}

.wp-block-calendar table {
  width: 100%;
}

.wp-block-calendar thead {
  font-weight:bold;
	border-bottom:3px solid #aaa;
	padding-bottom:.5rem;
}
.wp-block-calendar thead th {
	padding-bottom:.3rem;
}

.wp-block-calendar tbody {
  text-align: center;
}

.wp-block-calendar caption {
  font-weight: bold;
  margin-bottom: 1rem;
}

.wp-block-calendar td {
  padding: .5rem;
	border-bottom:1px solid #ccc;
}

.wp-block-calendar td a {
  padding: .3rem;
  background-color: #007bff;
	color:#fff;
	border-radius:15px;
}

.wp-block-calendar tfoot td {
  padding-top: .7rem;
}

.wp-block-calendar tfoot td:last-child {
  text-align: right;
}

.wp-calendar-nav {
	padding-top:1rem;
}

/*サイドバーログアウト*/
.sidebar-logout-button {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #004b64;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    box-sizing: border-box;
}

.sidebar-logout-button:hover {
    background: #111;
    color: #fff !important;
}

/*---------------------------------------------------------
記事一覧
---------------------------------------------------------*/
.archive-top h1 {
font-size: 1.6rem;
margin-bottom: 1.5rem;
}

.archive-top p {
font-size: .875rem;
line-height: 1.7;
margin-bottom: 1.5rem;
}

.article-list {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
}

.article-list:hover {
  background-color: #eee;
}

.article-list a {
  display: block;
  text-decoration: none;
  color: #333;
}

.article-list a:after {
  display: block;
  clear: both;
  content: '';
}

.article-list .img-wrap {
  position: relative;
  float: left;
  line-height: 1;
}

.article-list .img-wrap img {
  width: 240px;
  height: 160px;
  object-fit: cover;
}

.article-list .img-wrap .cat-data {
  font-size: .75rem;
  position: absolute;
  top: 0;
  right: 0;
  padding: .3rem .5rem;
  color: #fff;
  background-color: #03162f;
}

.article-list .text {
  margin-left: 260px;
}

.article-list .text h2 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}

.article-list .text .article-date,
.article-list .text .article-author {
  font-size: .75rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: .5rem;
  color: #888;
}

.article-list .text .article-date {
  margin-right: .5rem;
}

.article-list .text .article-author i {
  margin-right: .3rem;
}

.article-list .text p {
  font-size: .8125rem;
  line-height: 1.7;
}

/*ページネーション*/
.pagination {
  margin: 2rem 0;
  text-align: center;
}

.pagination ul {
  font-size: 0;
}

.pagination ul li {
  font-size: 1rem;
  display: inline-block;
  margin-right: .5rem;
}

.pagination ul li:last-child {
  border: 0;
}

.pagination ul li a,
.pagination .current {
  display: block;
  padding: .5rem .8rem;
  border: 1px solid #ccc;
}

.pagination ul li .prev,
.pagination ul li .next {
  border: 0;
}

.pagination ul li a {
  text-decoration: none;
  color: #333;
}

.pagination ul li a:hover {
  opacity: .6;
}

.pagination .current {
  color: #fff;
  background-color: #03162f;
}

/*---------------------------------------------------------
投稿・固定ページ
---------------------------------------------------------*/
.article-content {
  margin-bottom: 2rem;
}

.article-content .article-info {
  margin-bottom: 1rem;
}

.article-content .cat-data a {
  font-size: .8rem;
  margin-right: .5rem;
  padding: .2rem .8rem;
  text-decoration: none;
  color: #fff;
  background-color: #03162f;
  border-radius:30px;
}



.article-content .article-info .article-date,
.article-content .article-info .article-author {
  font-size: .8rem;
  display: inline-block;
  margin-right: .5rem;
  color: #888;
}

.article-content .article-info .article-author i {
  margin-right: .3rem;
}

.article-content p,
.article-content b,
.article-content table,
.article-content ul,
.article-content ol {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 1px;
}

.article-content p,
.article-content img,
.article-content table,
.article-content ul,
.article-content ol {
  margin-bottom: 2rem;
}

.article-content h1 {
  font-size: 1.9rem;
  margin: 0 0 2rem;
  letter-spacing: 1px;
}

.article-content h2 {
  font-size: 1.7rem;
  margin: 3rem 0 2rem;
  padding: .4rem 0;
  letter-spacing: 1px;
  border-bottom: solid 5px #03162f;
}

.article-content h3 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1.8rem;
  padding: 0 1rem;
  letter-spacing: 1px;
  border-left: solid 7px #415671;
  background: transparent;
}

.article-content h4 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  letter-spacing: 1px;
}

.article-content h5 {
  font-size: 1.1rem;
  margin: 0 0 .3rem;
  letter-spacing: 1px;
}

.article-content .article-img {
  margin-bottom: 2rem;
}

.article-content .article-img img {
  display: block;
  margin: 0 auto;
}

.article-content ul {
  margin-left: 2rem;
  list-style: disc;
}

.article-content ol {
  margin-left: 2rem;
  list-style: decimal;
}

.article-content table {
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: .6rem;
  vertical-align: middle;
  border: 1px solid #ddd;
}

.article-content figure {
  max-width: 100%;
}

.article-tag {
  text-align: right;
}

.article-tag ul {
  font-size: 0;
  margin-bottom: 0;
}

.article-tag ul li {
  font-size: .9rem;
  display: inline-block;
  margin-right: .5rem;
  vertical-align: middle;
}

.article-tag ul li:last-child {
  margin-right: 0;
}

.article-tag ul li a {
  padding: .2rem .5rem;
  text-decoration: none;
  color: #000;
  border: 1px solid #000;
}

.article-tag ul li a:hover {
  opacity: .6;
}

/*---------------------------------------------------------
TOPページ
---------------------------------------------------------*/
.home-top .article-top .img-wrap img {
  width: 200px;
  height: auto;
}

.home-top .article-top .text {
  margin-left: 230px;
}

.home-top .article-top .new-post {
  font-weight: bold;
  display: block;
  margin-bottom: .5rem;
  color: #f00;
}



.home-top .article-top .text h2 {
	
	font-size: 140%;
	line-height: 1.4;
	font-weight: 500;
	margin: 0 0 1.4em 0;
	padding: 0;
  /*font-size: 1.6rem;
  margin-bottom: 1rem;*/
}

.home-top .article-top .text .article-date,
.home-top .article-top .text .cat-data {
  margin-bottom: 1rem;
}

@media(max-width: 1024px) {
  .home-top .article-top .img-wrap img {
    width: 220px;
    height: 280px;
  }

  .home-top .article-top .text {
    margin-left: 240px;
  }
}

@media(max-width: 800px) {
  .contents,
  .sidebar {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  .contents {
    margin-bottom: 1.5rem;
  }
}

	/*ダウンロードタイトル*/
	.download-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 40px 0 25px;
    padding: 16px 22px;
    background: #f5f7f5;
    border: 1px solid #d7e1d9;
    border-radius: 6px;
    color: #163522;
		font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
}

/*.download-title::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0b5d2a;
    flex: 0 0 14px;
}*/

.wp-block-heading.download-title {
    font-size: clamp(1rem, 1.5vw, 1.45rem) !important;
    white-space: nowrap;
}

.wp-block-heading.download-title {
    font-size: clamp(1rem, 1.5vw, 1.45rem) !important;
    white-space: nowrap;
}

@media only screen and (max-width: 767px) {
    .wp-block-heading.download-title {
        white-space: normal;
        font-size: 1.2rem !important;
    }
}

.wp-block-heading.download-title {
    font-size: clamp(0.95rem, 1.35vw, 1.4rem) !important;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.download-title-long {
    font-size: 1.15rem !important;
    letter-spacing: -0.04em;
}

/* ダウンロード資料 3カラム */
.download-columns {
    gap: 24px !important;
}

/* PCでは中央カラムを少し広く */
@media (min-width: 1000px) {
    .download-columns > .wp-block-column:nth-child(1) {
        flex-basis: 31% !important;
    }

    .download-columns > .wp-block-column:nth-child(2) {
        flex-basis: 38% !important;
    }

    .download-columns > .wp-block-column:nth-child(3) {
        flex-basis: 31% !important;
    }
}


/* 各資料タイトル */
.wp-block-heading.download-title {
    display: flex !important;
    align-items: center;
    min-height: 84px;

    margin: 0 0 24px;
    padding: 16px 20px;

    background: #075f32 !important;
    border: none;
    border-radius: 7px;

    color: #fff !important;
    font-size: clamp(1.05rem, 1.35vw, 1.45rem) !important;
    font-weight: 700;
    line-height: 1.45;

    box-shadow: 0 3px 10px rgba(0,0,0,.14);

    box-sizing: border-box;
}


/* 左のアクセント */
.wp-block-heading.download-title::before {
    content: "";
    display: block;

    width: 11px;
    height: 32px;

    margin-right: -3px;

    background: #f3c900;
    border-radius: 2px;

    flex: 0 0 11px;
}


/* 長い中央タイトル */
.wp-block-heading.download-title-long {
    font-size: clamp(1.05rem, 1.35vw, 1.45rem) !important;
    letter-spacing: -0.025em;
    white-space: nowrap;
}


/* タブレット以下は無理に1行にしない */
@media (max-width: 999px) {
    .wp-block-heading.download-title-long {
        white-space: normal;
    }
}


/* スマホ */
@media (max-width: 767px) {
    .wp-block-heading.download-title {
        min-height: 68px;
        padding: 14px 16px;
        font-size: 1.15rem !important;
    }

    .wp-block-heading.download-title-long {
        font-size: 1.1rem !important;
    }
}


/* ダウンロード最上段タイトル */
.download-main-title {
    position: relative;
    margin: 0 0 70px;
    padding-bottom: 20px;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
    color: #163522;
}

.download-main-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 390px;
    height: 4px;
    background: #08723b;
    border-radius: 2px;
    transform: translateX(-50%);
}
@media (max-width: 767px) {
.download-main-title::after {
    width: 50%;
	}}

/* ダウンロード2段目タイトル */
.download-section-title {
    margin: 0 0 40px;
    padding: 0 0 14px 16px;
    border-left: 6px solid #08723b;
    border-bottom: 2px solid #d9dfdb;
    color: #111;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
}
.download-main-sub {
    display: block;
    margin-bottom: 6px;
    color: #08723b;
    font-size: .75rem;
    letter-spacing: .18em;
    font-weight: 700;
}
  /*---------------------------------------------------------
  ヘッダー
  ---------------------------------------------------------*/

  /*---------------------------------------------------------
  フッター
  ---------------------------------------------------------*/
 
  
  /*---------------------------------------------------------
  TOPページ
  ---------------------------------------------------------*/
  .home-top .article-top .img-wrap {
    float: none;
  }

  .home-top .article-top .img-wrap img {
    width: 100%;
    height: 60vw;
  }

  .home-top .article-top .text {
    margin-left: 0;
  }

  .home-top .article-top .new-post,
  .home-top .article-top .text h2,
  .home-top .article-top .text .article-date,
  .home-top .article-top .text .cat-data {
    margin-bottom: 0;
  }
}


  /*---------------------------------------------------------
  ヘッダー
  ---------------------------------------------------------*/


  /*---------------------------------------------------------
  記事一覧
  ---------------------------------------------------------*/
div.sentence-content{
}  
.archive-top h1 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .archive-top p {
    font-size: .8125rem;
    margin-bottom: 1rem;
  }
  
.article-post{
	margin-top:30px;
}


  .article-list {
    padding: .5rem;
  }

  .article-list .img-wrap img {
    width: 132px;
    height: 88px;
  }

  .article-list .img-wrap .cat-data {
    font-size: .6rem;
  }

  .article-list .text {
    margin-left: 140px;
    padding: 0;
  }

  .article-list .text h2 {
	line-height: 1.4;
	font-weight: 500;
	margin: 0 0 1.4em 0;
	padding: 0;
    /*font-size: 1rem;
    margin-bottom: 0;*/
  }

  .article-list .text p {
    display: none;
  }

  .article-list .text .article-date,
  .article-list .text .article-author {
    font-size: .625rem;
    margin-bottom: 0;
  }

  .article-list .text .article-date {
    margin-right: .2rem;
  }


/*--------- ページナビゲーション -------*/
.post-nav {
    margin: 5rem 0;
    text-align: center;
  }
  
.post-nav ul {
    font-size: 0;
  }
  
.post-nav ul li {
    font-size: 1rem;
    display: inline-block;
    margin-right: .5rem;
  }
  
.post-nav ul li:last-child {
    border: 0;
  }
  
.post-nav ul li a,
.post-nav .current {
    display: block;
    padding: .5rem .8rem;
    border: 1px solid #ccc;
  }
  
.post-nav ul li .prev,
.post-nav ul li .next {
    border: 0;
  }

.post-nav li.prev {
  margin-right:30px;
}

.post-nav li.next {
  margin-left:30px;
}
  
.post-nav ul li a {
  text-decoration: none;
  color: #fff;
  background-color: #007bff;
  }
  
.post-nav ul li a:hover {
    opacity: .6;
  }


  /*---------------------------------------------------------
  投稿・固定ページ
  ---------------------------------------------------------*/
  .article-content h1 {
    font-size: 1.6rem;
  }

  .article-content h2 {
    font-size: 1.4rem;
  }

  .article-content h3 {
    font-size: 1.3rem;
  }

  .article-content h4 {
    font-size: 1.2rem;
  }
}

/*--------- ボタン -------*/
	
	

.wp-block-file__button:active,
.wp-block-button:active, .wp-block-button:focus {
	box-shadow: none !important;
}


.wp-block-file {
	color: #ffb600;
}

.wp-block-button {
	display: inline-block;
	margin: 0;
	padding: 30px 40px;
	color: #fff;
	text-decoration: none !important;
}

.wp-block-file__button {
	display: inline-block;
	margin:30px 0 0 0;
	padding: 20px;
	background: #004b64 !important;
	border-radius: 30px;
	color: #ffb600 !important;
	text-decoration: none !important;
}

.wp-block-button__link.wp-element-button {
	padding: 20px;
	background: #004b64 !important;
	border-radius: 30px;
	color: #ffb600;
	text-decoration: none !important;
}



.wp-block-file__button:hover,
.wp-block-button__link:hover.wp-element-button:hover {
	background: #111 !important;
	color: #fff !important;
}




/* =========================================================
   完成版トップページ
========================================================= */
.ssk-front-main {
  margin-top: 0;
  width: 100%;
}

.ssk-front-banners {
  padding: 34px 0 22px;
}

.ssk-front-banner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.ssk-front-banner-item img {
  display: block;
  width: 100%;
  height: auto;
}

.ssk-front-banner-item a {
  display: block;
  transition: opacity .2s ease;
}

.ssk-front-banner-item a:hover {
  opacity: .78;
}

.ssk-front-heading {
  padding: 12px 0 38px;
  text-align: center;
}

.ssk-front-heading h2 {
  margin: 0;
  padding: 0;
  font-size: 2rem;
  line-height: 1.5;
  font-weight: 400;
  border: 0;
}

.ssk-front-news-section {
  padding: 46px 0 52px;
  background: #f5f5f5;
}

.ssk-front-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
}

.ssk-front-news-box {
  min-width: 0;
}

.ssk-front-news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d7d7d7;
}

.ssk-front-news-header h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1.4;
  border: 0;
}

.ssk-front-news-header h3 i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: #9e2727;
  font-size: 15px;
}

.ssk-front-news-more {
  flex: 0 0 auto;
  font-size: .9rem;
  white-space: nowrap;
}

.ssk-front-news-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.ssk-front-news-item {
  display: grid;
  grid-template-columns: 104px auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 0;
  border-bottom: 1px solid #dedede;
}

.ssk-front-news-item time {
  font-size: .78rem;
  color: #555;
  white-space: nowrap;
}

.ssk-front-news-label {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  color: #fff;
  background: #9e2727;
  font-size: .68rem;
  line-height: 1.2;
  white-space: nowrap;
}

.ssk-front-news-item > a {
  overflow: hidden;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ssk-front-news-empty {
  margin: 1rem 0 0;
  padding: 1rem 0;
  line-height: 1.7;
}

.ssk-front-download-section {
  padding: 48px 0 70px;
}

.ssk-front-editable-content > h2:first-child,
.ssk-front-editable-content > .wp-block-heading:first-child {
  margin: 0 0 42px;
  padding: 0;
  text-align: center;
  font-size: 1.65rem;
  font-weight: 400;
  border: 0;
}

.ssk-front-editable-content .wp-block-columns {
  gap: 50px;
  margin-bottom: 40px;
}

.ssk-front-editable-content .wp-block-column h3 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1.5;
  border: 0;
}

.ssk-front-editable-content .wp-block-column ul {
  margin: 0 0 0 1.25em;
  padding: 0;
  list-style: disc;
}

.ssk-front-editable-content .wp-block-column li {
  margin-bottom: 7px;
  line-height: 1.6;
}

/* パンくず */
.signboard-bar.breadcrumbs {
  width: 100%;
}

.signboard-bar-content {
  width: 100%;
}

.ssk-breadcrumbs {
  padding: 12px 0;
  font-size: 13px;
  line-height: 1.5;
}

.ssk-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssk-breadcrumbs li {
  margin: 0;
  padding: 0;
}

.ssk-breadcrumbs a {
  color: #333;
}

.breadcrumb-separator {
  color: #888;
}

/* 固定ページは常に全幅 */
.page-main .primary,
.page-main .primary-full,
.page-main .contents {
  float: none;
  width: 100%;
  margin-right: 0;
}

@media (max-width: 900px) {
  .ssk-front-banner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ssk-front-news-grid {
    gap: 28px;
  }

  .ssk-front-news-item {
    grid-template-columns: 92px auto minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .ssk-front-banners {
    padding: 22px 0 14px;
  }

  .ssk-front-banner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ssk-front-heading {
    padding: 14px 0 26px;
  }

  .ssk-front-heading h2 {
    font-size: 1.55rem;
  }

  .ssk-front-news-section {
    padding: 30px 0 34px;
  }

  .ssk-front-news-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ssk-front-news-header h3 {
    font-size: 1.15rem;
  }

  .ssk-front-news-item {
    grid-template-columns: 88px auto;
    gap: 7px;
  }

  .ssk-front-news-item > a {
    grid-column: 1 / -1;
    padding-bottom: 4px;
    white-space: normal;
  }

  .ssk-front-download-section {
    padding: 34px 0 45px;
  }

  .ssk-front-editable-content .wp-block-columns {
    display: block;
    margin-bottom: 0;
  }

  .ssk-front-editable-content .wp-block-column {
    margin-bottom: 30px;
  }

  .ssk-breadcrumbs {
    font-size: 11px;
  }
}

/*ログアウトボタン*/
.member-logout-wrap {
    text-align: right;
    margin: 20px 0;
}

.member-logout-button {
    display: inline-block;
    padding: 10px 20px;
    background: #004b64;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.member-logout-button:hover {
    background: #111;
    color: #fff;
}


/* =========================================
   会員ログイン画面
========================================= */

.member-login-page {
    padding: 60px 0 100px;
}

.member-login-box {
    max-width: 560px;
    margin: 0 auto;
    padding: 50px 60px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.member-login-title {
    margin: 0 0 25px;
    text-align: center;
    font-size: 2rem;
    line-height: 1.5;
}

.member-login-lead {
    margin: 0 0 35px;
    text-align: center;
    line-height: 1.9;
}

/* フォーム */
#member-loginform {
    margin: 0;
}

#member-loginform p {
    margin: 0 0 22px;
}

/* ラベル */
#member-loginform label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.5;
}

/* ユーザー名・パスワード */
#member-loginform input[type="text"],
#member-loginform input[type="password"] {
    display: block;
    width: 100%;
    height: 52px;
    padding: 10px 14px;
    border: 1px solid #aaa;
    background: #fff;
    font-size: 16px;
    line-height: 1.4;
    box-sizing: border-box;
}

#member-loginform input[type="text"]:focus,
#member-loginform input[type="password"]:focus {
    border-color: #004b64;
    outline: 2px solid rgba(0, 75, 100, 0.15);
}

/* ログイン保持 */
#member-loginform .login-remember {
    margin: 5px 0 25px;
}

#member-loginform .login-remember label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

#member-loginform input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

/* ログインボタン */
#member-loginform .login-submit {
    margin-top: 30px;
    text-align: center;
}

#member-loginform input[type="submit"] {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 15px 30px;
    border: 0;
    border-radius: 4px;
    background: #004b64;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#member-loginform input[type="submit"]:hover {
    background: #111;
}

/* スマホ */
@media only screen and (max-width: 767px) {

    .member-login-page {
        padding: 30px 0 60px;
    }

    .member-login-box {
        padding: 30px 20px;
    }

    .member-login-title {
        font-size: 1.6rem;
    }

    .member-login-lead br {
        display: none;
    }

    #member-loginform input[type="text"],
    #member-loginform input[type="password"] {
        height: 48px;
        font-size: 16px;
    }

    #member-loginform input[type="submit"] {
        max-width: none;
    }
}

