/*
Theme Name:Nagasaki Shoshinren Design
*/

@charset "UTF-8";
/*================================================
 リセットCSS
================================================*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, textarea {
  margin: 0;
  padding: 0;
  border: 0;
  outline:0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  background:transparent;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}
input, select {
  vertical-align:middle;
}
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

/*================================================
 アイコン
================================================*/
/* アイコン読み込み用CSS */
@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?2mxdq1');
  src:  url('fonts/icomoon.eot?2mxdq1#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?2mxdq1') format('truetype'),
    url('fonts/icomoon.woff?2mxdq1') format('woff'),
    url('fonts/icomoon.svg?2mxdq1#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*>*/
.icon-chevron-right:before {
  content: "\e900";
}
/*ホーム*/
.icon-home3:before {
  content: "\e902";
}
/*カレンダー*/
.icon-calendar:before {
  content: "\e953";
}
/*一覧*/
.icon-list2:before {
  content: "\e9bb";
}

/*================================================
 共通
================================================*/
body {
  font-size: medium;
  line-height: 180%;
  font-family: "Noto Sans JP-Regular", Helvetica;
  /* 文字設定 */
  color: #000;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

a {
  /* color: #0066ff; */
  color: #000;
  /* text-decoration: underline; */
  text-decoration: none;
}

a:hover,
.active {
  text-decoration: none;
}

a:active,
a:focus,
input:active,
input:focus {
  outline: 0;
}

h1,
h2 {}

h1 {
  text-align: center;
  font-size: 3.0em;
}

section h2 {
  font-size: 1.35em;
  font-weight: bold;
  text-align: left;
  /* border-bottom: 1px dotted #666; */
  margin: 10px 0px 15px;
}

.inner {
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  max-width: 1040px;
}

/*=============================
PCのみ表示
=============================*/
.disp_pc {
  display: block;
}

/*=============================
SP(スマホ)のみ表示
=============================*/
.disp_sp {
  display: none;
}

/*================================================
 ボタン
================================================*/
button:hover {
  cursor: pointer;
}

.btn-news button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 120px;
  height: 40px;
  border: solid 1px #A4A4A4;
  border-radius: 5px;
  font-size: 16px;
  background-color: #fff;
}

.btn-news button:hover {
  color: #fff;
  background-color: #000;
}

.btn-news button svg {
  width: 16px;
}

.btn-news button:hover svg {
  fill: #fff; /* 内部の塗りつぶし色 */
}

/*================================================
 ヘッダー
================================================*/
header {
  position: sticky;
  top: 0;
  z-index: 11;
}

.block-header {
  width: 100%;
  height: 86px;
  padding: 0 56px;
  background-color: #ffffff;
  box-shadow: 0px 4px 4px #afafaf40;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.header-title {
  width: fit-content;
  color: #000000;
  font-size: 32px;
  white-space: nowrap;
}

.block-header-link {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  flex: 0 0 auto;
}

.block-header-link li:hover {
  opacity: 0.7;
}

/*================================================
 フッター
================================================*/
footer {
  clear: both;
  margin-top: 120px;
  overflow: hidden;
}

.content-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 56px 0;
  gap: 88px;
  background-color: #f7f7f7;
}

.box-accsess {
  width: 100%;
  max-width: 408px;
}

.box-accsess ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.box-accsess li {
  line-height: normal;
}

.box-accsess span {
  text-wrap: nowrap;
}

.accsess-title {
  margin-bottom: 16px;
  font-weight: bold;
  color: #000;
  font-size: 24px;
}

.footer-line {
  width: 1px;
  height: 168px;
  background-color: #A4A4A4;
}

.box-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.box-footer-nav a:hover {
  opacity: 0.6;
}

.copyright {
  width: 100%;
  background-color: #d4e1ea;
}
.copyright p {
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
}

/*================================================
 トップページ
================================================*/
/*=============================
 トップ画像
=============================*/
.top-image {
  max-height: 800px;
  width: 100%;
  aspect-ratio: 12 / 5;
}

.top-image img {
  width: 100%;
  object-fit: cover;
  max-height: 800px;
}

p.credit {
  padding-right: 2em;
  text-align: right;
  font-size: 12px;
}

/*=============================
 お知らせ、活動報告
=============================*/
.block-news {
  display: flex;
  justify-content: center;
  margin: 56px auto 0;
  gap: 32px;
}

.content-news {
  /* display: flex;
  flex-direction: column; */
  width: 520px;
  align-items: center;
}

.content-activity {
  /* display: flex;
  flex-direction: column; */
  width: 520px;
  align-items: center;
}

.label-news {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.title-news {
  color: #000;
  font-size: 24px;
}

.list-news ul {
  margin-top: 24px;
}
.list-news li {
  padding: 8px 0;
  border-bottom: solid 1px #B3B3B3;
}

.list-news .date {
  color: #9F9F9F;
}

.list-news .title {
  display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-news a:hover {
  text-decoration: underline;
}

/*================================================
 下層ページ
================================================*/
.inner .page-header {
  display: flex;
  width: fit-content;
  margin: 64px auto 56px;
  flex-direction: column;
  align-items: center;
}

.page-header h2 {
  width: fit-content;
  margin-top: -1px;
  font-size: 28px;
  text-align: center;
}

.inner .group {
  width: calc(100% + 80px);
  height: 3px;
  background-color: #d9d9d9;
}

.inner .rectangle {
  width: 48px;
  height: 3px;
  background-color: #0068b7;
}

.page-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-container a {
  color: #0d6efd;
  /* text-decoration: underline; */
  transition: opacity 0.2s ease;
}

.page-container a:hover {
  text-decoration: underline;
  /* opacity: 0.7; */
}

.data-item {
  display: flex;
  gap: 16px;
}

.inner .component {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 96px;
  min-width: 96px;
  height: 32px;
  /* margin-right: 1em; */
  background-color: #999999;
  color: #fff;
  border-radius: 5px;
}

.component .data-label {
  line-height: normal;
}

.page-container:not(:last-child) {
  margin-bottom: 56px;
}

.group-flex {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.section-title h3 {
  font-size: 24px;
}

.section-title-mark {
  margin-top: 5px;
  width: 20px;
  height: 20px;
  background-color: #25cb00;
}

.member-page ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 4px;
  width: 100%;
}
.member-page ul li {
  width: 32%;
}

/*================================================
 お知らせ・活動レポートページ
==================================================*/
/*=============================
 一覧ページ
=============================*/
.infolist {
  margin: 0px 0px;
  padding: 0px 30px 10px 30px;
}

.info_infolist {
  margin: 10px 0px 0px;
}

.info_infolist>ul {}

.info_infolist>ul a {
  text-decoration: none;
}

.info_infolist>ul li {
  border-bottom: 1px solid #ddd;
  padding: 7px 5px;
}

.info_infolist>ul a li>div:first-child {
  color: #000;
}

.info_infolist>ul li>div:first-child img {
  vertical-align: middle;
  margin-right: 7px;
  width: 15px;
}

.info_infolist>ul li>div:first-child>span.blinking2 {
  background-color: #f00;
  color: #fff;
  padding: 2px 5px;
  font-size: 0.7em;
  vertical-align: middle;
  margin: 0px 10px;
}

.info_infolist>ul li>div:first-child>span.icon-chevron-right {
  background-color: #0068b7;
  color: #fff;
  padding: 2px 1px 2px 2px;
  font-size: 0.8em;
  margin: 0px 10px;
  border-radius: 100%;
}

.info_infolist>ul li>div:last-child {
  padding-left: 36px;
}

.info_infolist>ul a:hover li>div:last-child {
  text-decoration: underline;
}

.nothing_info {
  padding: 32px 8px 8px;
}

/*** ページナビ ***/
.pagenavi {
  color: #0095d1;
  margin: 20px auto 56px;
  line-height: 2em;
  text-align: center;
  clear: both;
}

.pagenavi a {
  text-decoration: none;
}

.pagenavi a.page-numbers,
.pagenavi .current {
  color: #0068b7;
  padding: 8px 12px;
  border: solid 1px #0068b7;
  text-decoration: none;
  font-size: 12px;
}

.pagenavi a.page-numbers:hover {
  color: #fff;
  background: #0068b7;
  border-color: #0068b7;
}

.pagenavi .current {
  color: white;
  background: #0068b7;
  border-color: #0068b7;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  /* font-weight:bold mac対策 */
  -moz-osx-font-smoothing: grayscale;
  /* font-weight:bold mac対策 */
}

.pagenavi .next,
.pagenavi .prev {
  border: 0 none;
  background: transparent;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  border: none!important;
  -webkit-font-smoothing: antialiased;
  /* font-weight:bold mac対策 */
  -moz-osx-font-smoothing: grayscale;
  /* font-weight:bold mac対策 */
}

.pagenavi .next:hover,
.pagenavi .prev:hover {
  color: #0068b7!important;
  background: unset!important;
  opacity: 0.8;
}

/*=============================
 詳細ページ
=============================*/
.infodetail {
  margin: 0px 0px;
}

h2 span.style1 {
  padding: 10px 10px 10px;
  border-left: 4px solid #0095d1;
  display: inline-block;
  margin: 5px 0px;
}

.infodetail_date {
  display: inline-block;
  font-size: 0.9em;
  color: #a4a4a4;
}

.infodetail_title {
  font-weight: bold;
  line-height: 1.5em;
  font-size: 1.2em;
  text-align: left;
  padding-bottom: 16px;
}

.infodetail_content {
  margin-bottom: 80px;
  word-break: break-all;
}

.infodetail_content img {
  max-width: 100%;
  height: auto;
}

.infodetail ul {
  margin: 1em 0;
  padding-left: 40px;
  list-style-type: disc;
}

.infodetail ol {
  margin: 1em 0;
  padding-left: 40px;
  list-style-type: decimal;
}

/*ボタン*/
.box_btn_style1 {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px auto 0px;
}
button.btn_style1 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 176px;
  height: 40px;
  border: solid 1px #A4A4A4;
  border-radius: 5px;
  font-size: 16px;
  background-color: #fff;
}

button.btn_style1:hover {
  color: #fff;
  background-color: #000;
}

/*================================================
 エラーページ（404 NOTFOUND）
==================================================*/
section.s_notfound {
  padding:10px 0px 40px;
}
.notfound {
  margin:0px 0px;
  padding:0px 30px 10px 30px;
}
.notfound > div:first-child {
  text-align:center;
  font-size:1.8em;
  padding:60px 10px 30px;
}
.notfound > div:nth-child(2) {
  text-align:center;
  margin-top:5px;
  font-size:0.9em;
}

/*1024px以下 ノートPC*/
@media screen and (max-width: 1024px) {
  /*================================================
   ヘッダー
  ================================================*/
  .header-title {
    font-size: 24px;
  }

  .block-header-link {
    font-size: 0.9em;
  }

}

/*768px以下 タブレット*/
@media screen and (max-width: 768px) {
  /*================================================
   共通
  ==================================================*/
  body {
    min-width: 100%;
  }

  .disp_pc {
    display: none;
  }

  .disp_sp {
    display: block;
  }

  .inner {
    padding: 0 24px;
    font-size: 0.9em;
  }

  /*================================================  
   ヘッダー
  ================================================*/
  header {
    position: unset;
  }

  .block-header {
    padding: 0;
    height: 56px;
  }

  .content-header {
    width: calc(100% - 56px);
    margin-left: 24px;
    padding: 0;
  }
  
  /*================================================  
   フッター
  ================================================*/
  .content-footer {
    flex-direction: column;
    padding: 56px 32px;
    gap: 24px;
    font-size: 0.9em;
  }

  .footer-line {
    width: 100%;
    max-width: 400px;
    height: 1px;
  }

  .box-footer-nav {
    flex-direction: row;
  }

  /*================================================
   メニュー
  ==================================================*/
  .outbox_menu {
    display: none;
  }

  .box_menu {
    width: 100%;
  }

  /*================================================
   トップページ
  ==================================================*/
  /*** スライダー部分 ***/
  /* skippr用 */
  #container {
    min-width: 100%;
  }

  .top_img_moji1 {
    width: 98%;
    line-height: 1.3em;
  }

  .top_img_moji2 {
    width: 98%;
    font-size: 1.2em;
  }

  /** お知らせ情報 **/
  .block-news {
    flex-direction: column;
    gap: 56px;
  }

  .content-news {
    width: 100%;
  }

  .content-activity {
    width: 100%;
  }
  
  .title-news {
    font-size: 20px;
  }

  .btn-news button {
    font-size: 0.9em;
  }

  .list-news ul {
    margin-top: 16px;
  }

  /*================================================
   下層ページ
  ================================================*/
  .inner .page-header {
    margin: 48px auto 56px;
  }

  .page-header h2 {
    font-size: 24px;
  }

  /*================================================
   お知らせ・活動レポート詳細ページ
  ==================================================*/
  
}

/*480px以下 スマホ*/
@media screen and (max-width: 480px) {
  /*================================================  
   ヘッダー
  ================================================*/
  .header-title {
    font-size: 20px;
  }

  /*================================================  
   フッター
  ================================================*/
  footer {
    margin-top: 80px;
  }

  .accsess-title {
    font-size: 20px;
  }

  .box-footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }

  .box-footer-nav a {
    width: 50%;
  }

  .copyright p {
    font-size: 10px;
  }

  /*================================================
   ページ共通
  ==================================================*/
  .box_btn_style1 {
    flex-wrap: wrap
  }

  /*================================================
   トップページ
  ==================================================*/
  /*=============================
   トップ画像
  =============================*/
  p.credit {
    padding-right: 1em;
    font-size: 10px;
  }

  /*=============================
   お知らせ、活動報告
  =============================*/
  .block-news {
    margin-top: 24px;
  }

  .btn-news button {
    height: 32px;
  }

  /*================================================
   下層ページ
  ================================================*/
  .data-item {
    flex-direction: column;
    gap: 4px;
  }

  .inner .component {
    margin-bottom: 8px;
    height: 24px;
  }

  .data-item p,
  .data-item ul,
  .data-item ol {
    padding-left: 1em;
  }

  .section-title h3 {
    font-size: 20px;
  }

  .member-page ul li {
    padding-left: 1em;
    width: 100%;
  }

  /*================================================
   お知らせ・活動レポートページ
  ==================================================*/
  /*=============================
   一覧ページ
  =============================*/
  section.sinfo_infolist {
    padding: 0px 0px 0px;
  }

  .infolist {
    margin: 0px 0px;
    padding: 0px 0px 10px 0px;
  }

  /*=============================
   詳細ページ
  =============================*/
  section.sinfo_infodetail {
    padding: 10px 0px 20px;
  }

  .infodetail {
    margin: 0px 0px;
    padding: 0px 15px 10px 15px;
    padding: 0px 0px 10px 0px;
  }

  .infodetail_content {
    margin: 0px 10px 80px;
  }

}