@charset "UTF-8";

/*
Theme Name: chubu-rwp
Description: 中部塗料工業会 組合員向け WPテーマ
*/

/*-------------------------
  全体にかかる設定
-------------------------*/

@layer reset;

:root {
  --main_color: #132767;
  --main_color_pale: #edeff8;
  --main_shadow_color: rgba(79, 8, 1, 0.3);
  --sub_color: #1a43cb;

  --kadomaru_main: 1rem;
}

/* 基本設定 */
html {
  font-size: 18px;
  scroll-behavior: smooth;
}

.skip-link a {
  position: fixed;
  left: 15px;
  top: -100vw;
  z-index: 1000;
  padding: 5px;
  text-decoration: none;
  background-color: #fff;
}

.skip-link a:is(:link, :visited) {
  color: var(--main_color);
}

.skip-link a:focus-visible {
  top: 150px;
}

body {
  color: #000;
  font-family: "M PLUS 1p", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* コンテナの左右の余白 */
main {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  background-color: var(--main_color);
}

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1024px;
}

.main-content {
  margin: 0 auto 3rem;
  padding: 20px;
  max-width: 1100px;
  border-radius: var(--kadomaru_main);
  background: url(images/content-bg.webp) no-repeat bottom right / 100%, #fff;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.05);
}

.main-content>*:last-child {
  margin-bottom: 0;
}

h1 {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin: 4rem 0 4rem 0;
  color: #fff;
  letter-spacing: 0.08em;
}

h2 {
  font-size: 1.8rem;
  margin: 3rem 0 2rem;
  font-weight: 700;
  color: var(--main_color);
  letter-spacing: 0.08em;
}

h2:has(+h3) {
  margin: 3rem 0 0rem;
}

h2:first-child {
  margin-top: 1.2rem;
}

h3 {
  font-weight: 500;
  font-size: 1.2rem;
  margin: 2rem 0 2rem;
  border-bottom: 3px solid var(--main_color);
  background: linear-gradient(#dee0f0 ,var(--main_color_pale) 80%);
  padding: 10px 20px 7px;
  letter-spacing: 0.08em;
}

p {
  font-weight: 400;
  line-height: 1.8;
}

.shadow {
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  overflow: hidden;
}

table {
  margin: 0;
  width: 100%;
}

.profile {
  overflow: scroll;

}

.profile table {
  white-space: nowrap;
  margin-bottom: 0;
}


.profile table .num {
  text-align: right;
}

/* ------------------
ヘッダー
--------------------- */
header {
  margin: 0 auto;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  width: 100%;
}

header div:first-child {
  padding: 0.5rem 0;
}

.site-title {
  display: block;
  margin: 0;
}

.site-title img {
  width: min(70%, 250px);
}

/* フッター */
footer {
  margin-top: auto;
  padding-top: 40px;
  padding-bottom: 5px;
  text-align: center;
  background-color: #fff;
}

footer p {
  font-size: 0.8rem;
  color: var(--main_color);
}

/*-------------------------
  リンク色
-------------------------*/
/* 標準 */

a {
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.1em;
}

@layer reset {

  a:link {
    color: #000;
  }

  a:visited {
    color: #000;
  }

  a:hover {
    color: #555;
  }

  a:active {
    color: #555;
  }

}

/* 黒いリンク文字 */
.black-link a {
  text-decoration: none;
}

.black-link a:link {
  color: #000;
}

.black-link a:visited {
  color: #666;
}

.black-link a:hover {
  color: #36f;
}

.black-link a:active {
  color: #f30;
}

/* 白いリンク文字 */
.white-link a {
  text-decoration: none;
}

.white-link a:link {
  color: #fff;
}

.white-link a:visited {
  color: #fff;
}

.white-link a:hover {
  color: #fc0;
}

.white-link a:active {
  color: #f30;
}



/* テーブル */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 2rem;
}

th,
td {
  padding: 0.8rem;
  font-size: 0.8rem;
  /* border: 2px solid #fff; */
}

th {
  font-weight: 700;
  background-color: #c6cfec;
  color: #000;
  vertical-align: middle;
  text-align: left;
}

td {
  background-color: #fff;
  font-weight: 400;
}

tr:last-child td {
  padding-right: 1rem;
}

tr:nth-child(2n+1) td {
  background-color: #e8eaf0;
}

/* リスト */

li {
  font-weight: 400;
}

.deco li {
  list-style: none;

  margin-left: 0.6em;
  text-indent: -0.6em;
}

.deco li::before {
  display: inline-block;
  content: '';
  width: 0.3em;
  height: 0.3em;
  background-color: var(--sub_color);
  border-radius: 50%;
  margin: auto 0.3em 0.15em 0;
}

dt {
  font-weight: 500;
}

dd {
  font-weight: 400;
}

/*-------------------------
  文字
-------------------------*/

.lead {
  font-size: 1.4rem;
}

.text-center {
  text-align: center;
}

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

/*-------------------------
  Flex
-------------------------*/
.flex-container {
  display: flex;
  gap: 2rem 5%;
  margin-bottom: 4rem;
}

.flex-item {
  flex: 1 1 auto;
  width: 50%;
}

.flex-item-news {
  flex: 1 1 auto;
  width: 65%;
}

.flex-item-banner {
  flex: 1 1 auto;
  width: 35%;
}

/*-------------------------
  ボタン
-------------------------*/
.btn {
  background: #000;
  border-radius: 3px;
  margin: 0 auto 2rem auto;
  max-width: 280px;
  padding: 10px 25px;
  color: #fff;
  transition: 0.3s ease-in-out;
  text-decoration: none;
}

.btn:link {
  color: #fff;
}

.btn:visited {
  color: #fff;
}

.btn:hover {
  background: #999;
  color: #fff;
}

.secandary_btn a {
  display: block;
  width: fit-content;
  background-color: var(--main_color_pale);
  text-decoration: none;
  padding: 15px 35px;
  border-radius: 50vh;
  font-size: 0.9rem;
  font-weight: 500;
}

.secandary_btn a:is(:link, :visited) {
  color: #000;
}

.secandary_btn a:hover {
  opacity: 0.8;
}

/*-------------------------
  PCメニュー
-------------------------*/

.main-menu {
  display: none;
}

.main-menu nav {
  display: flex;
  gap: 20px;
}

.main-menu ul {
  list-style-type: none;
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 0;
}

.main-menu li {
  text-align: center;
  font-size: 0.9rem;
  margin-left: 0.5rem;
  font-weight: 500;
}

.main-menu a {
  display: block;
  padding: 20px 0;
  text-decoration: none;
}

.main-menu a:is(:link, :visited) {
  color: var(--main_color);
}

/* お問い合わせボタン */
.contact-btn {
  display: none;
  margin-right: -15px;
}

.contact-btn a:is(:link, :visited) {
  display: block;
  width: fit-content;
  background-color: var(--main_color);
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 15px 25px 15px 30px;
  margin-top: 5px;
  border-radius: 50vh 0 0 50vh;
  text-decoration: none;
}

.contact-btn a:hover {
  opacity: 0.8;
}

/*-------------------------
  SPメニュー
-------------------------*/

/* ハンバーガーボタン
--------------------- */
.menu-btn-sp {
  position: absolute;
  z-index: 999;
  right: 0;
  top: 15px;
  width: 50px;
  height: 50px;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-btn-sp span {
  display: block;
  height: 4px;
  width: 70%;
  background-color: #000;
  border-radius: 3px;
}

/* パネル
-------------- */

.main-menu-sp {
  display: none;
  background-color: var(--main_color);
  position: fixed;
  z-index: 998;
  inset: 0;
  box-shadow: inset -4px -4px 10px var(--main_shadow_color);
}

.main-menu-sp nav {
  margin-top: 70px;
  width: 80%;
  margin-inline: auto;
  text-align: center;
}

.main-menu-sp ul {
  list-style-type: none;
}

.main-menu-sp li {
  margin-bottom: 0.5rem;
  margin-left: 0;
  font-weight: 500;
}

.main-menu-sp a {
  display: block;
  padding-block: 0.5rem;
  text-decoration: none;
}

.main-menu-sp a:is(:link, :visited) {
  color: #fff;
}

.main-menu-sp .contact-btn-sp a {
  display: block;
  background-color: #fff;
  border-radius: 50vh;
  color: var(--main_color);
  box-shadow: -3px -3px 10px var(--main_shadow_color);
  text-decoration: none;
}

.main-menu-sp .contact-btn-sp a:hover {
  opacity: 0.8;
}

/* パネルが開いたら
----------------- */

.main-menu-sp.is-show {
  display: block;
}

.menu-btn-sp:has(+.main-menu-sp.is-show) {
  position: fixed;
}

.menu-btn-sp:has(+.main-menu-sp.is-show) span {
  background-color: #fff;
  transition: transform 0.1s;
}

.menu-btn-sp:has(+.main-menu-sp.is-show) span:nth-child(1) {
  transform: translateY(11px) rotate(30deg);
}

.menu-btn-sp:has(+.main-menu-sp.is-show) span:nth-child(2) {
  visibility: hidden;
}

.menu-btn-sp:has(+.main-menu-sp.is-show) span:nth-child(3) {
  transform: translateY(-11px) rotate(-30deg);
}

/*-------------------------
  ニュース
-------------------------*/

.news {
  width: 100%;
}

.news dt {
  font-size: 0.75rem;
  padding: 10px 0 0;
}

.news dd {
  font-size: 0.9rem;
  padding: 0 0 10px;
  margin-left: 0;
}
/* ニュース記事 */
.news_page h1 {
  max-width: 1100px;
  margin-inline: auto;
  font-size: 1.4rem;
}

.news_page img {
  display: block;
  max-width: 500px;
  margin: 2rem auto;
  object-fit: contain;
}


/*-------------------------
  バナー
-------------------------*/
.googlemap {
  position: relative;
  padding-bottom: 40%;
  height: 0;
  overflow: hidden;
}

.googlemap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/*-------------------------
  活動報告
-------------------------*/

.katudou-area h2 {
  font-weight: 500;
  font-size: 1.2rem;
  margin: 2rem 0 2rem;
  border-bottom: 3px solid var(--main_color);
  background: linear-gradient(#dee0f0 ,var(--main_color_pale) 80%);
  padding: 10px 20px 7px;
  letter-spacing: 0.08em;
  text-align: left;
}

.katudou-area p {
  font-weight: 400;
}

/*-------------------------
  組合員向け
-------------------------*/
.login_area label {
  display: block;
  margin-bottom: 2rem;

}

.login_area input {
  border: 1px solid var(--main_color);
  background-color: var(--main_color_pale);
  display: inline-block;
  width: 100%;
  padding: 10px;
  border-radius: 5px;

}

.login_area .form_btn {
  text-align: center;
  margin-block: 3rem;
}

.login_area .form_btn input {
  width: fit-content;
  padding-inline: 50px;
  background-color: var(--main_color);
  color: #fff;
}

.login_area .form_btn input:hover {
  opacity: 0.7;
}

/* 仮ページでのみ表示
公開時は削除する */
.login_area .form_btn {
text-align: center;
  margin-block: 3rem;
}

.login_area .form_btn a {
  display: inline-block;
width: fit-content;
  padding: 12px 50px;
  background-color: var(--main_color);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.login_area .form_btn a:hover {
  opacity: 0.7;
}




/*-------------------------
  メディアクエリ
-------------------------*/
/* スマートフォン */
@media (max-width: 599px) {
  .container {
    padding: 0 10px;
  }
}

/* タブレット */
@media (min-width: 600px) {
  .container {
    padding: 0 15px;
  }

  /*-------------------------
  ニュース
-------------------------*/

.news {
  display: grid;
  grid-template-columns: 150px auto;
}

.news dt {
  padding: 10px 0;
}

.news dd {
  padding: 10px 0;
}

/* ニュース記事 */
.news_page h1 {
  font-size: 1.8rem;
}


/*-------------------------
  組合員向け
-------------------------*/
.login_area label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.login_area input {
  width: calc(100% - 140PX);

}


}



/* パソコン */
@media (min-width: 1025px) {

  .container {
    width: 995px;
    margin: 0 auto;
  }

  .main-content {
    padding: 5.5rem 8rem 7.5rem;
  }

  .profile {
    overflow: unset;

  }

  .profile table {
    white-space: wrap;
  }

  /*-------------------------
  ヘッダー
-------------------------*/
  header {
    margin: 10px 0;
    padding: 0.5rem 15px;
  }

  .site-title {
    margin-left: 1.1rem;
  }

  .site-title img {
    width: min(20vw, 250px);
  }

  header div:first-child {
    padding: 0;
  }


  /*-------------------------
  PCメニュー
-------------------------*/

  .main-menu {
    display: block;
  }

  .contact-btn {
    display: block;
  }

  /*-------------------------
  SPメニュー
-------------------------*/

  .menu-btn-sp {
    display: none;
  }
/*-------------------------
  組合員向け
-------------------------*/
  .login_area .form_btn {
  margin-bottom: 0;
}


}

@media (min-width: 1200px) {}

/* Pagination */
ul.pagination {
  margin-top: 0;
  margin-bottom: 3rem;
}

ul.pagination li {
  margin: 0;
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
}

.page-link {
  position: relative;
  display: block;
  color: #000;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #dee2e6;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .page-link {
    transition: none;
  }
}
.page-link:hover {
  z-index: 2;
  color: #000;
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.page-link:focus {
  z-index: 3;
  color: #660033;
  background-color: #e9ecef;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.page-item:not(:first-child) .page-link {
  margin-left: -1px;
}
.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: var(--main_color);
  border-color: var(--main_color);
}
.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  background-color: #fff;
  border-color: #dee2e6;
}

.page-link {
  padding: 0.375rem 0.75rem;
}

.page-item:first-child .page-link {
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.pagination-lg .page-link {
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
}
.pagination-lg .page-item:first-child .page-link {
  border-top-left-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}
.pagination-lg .page-item:last-child .page-link {
  border-top-right-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

.pagination-sm .page-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}
.pagination-sm .page-item:first-child .page-link {
  border-top-left-radius: 0.2rem;
  border-bottom-left-radius: 0.2rem;
}
.pagination-sm .page-item:last-child .page-link {
  border-top-right-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
}

.justify-content-center {
  justify-content: center !important;
}

figure.wp-block-image img {
	width: auto !important;
	max-width: 100% !important;
	height: auto;
}

img.alignnone,
img.aligncenter,
img.alignleft,
img.alignright,
img.alignwide {
	width: auto !important;
	max-width: 100% !important;
	height: auto;
}

.entry-content:after {
	content: "";
	display: block;
	clear: both;
}
.mt-5,
.my-5 {
  margin-top: 3rem !important;
}

.mb-5,
.my-5 {
  margin-bottom: 3rem !important;
}

.justify-content-center {
  -ms-flex-pack: center !important;
  justify-content: center !important;
}

/* Alignments */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1rem;
}

@media only screen and (min-width: 768px) {
  .alignleft {
    /*rtl:ignore*/
    margin-right: calc(2 * 1rem);
  }
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1rem;
}

@media only screen and (min-width: 768px) {
  .alignright {
    /*rtl:ignore*/
    margin-left: calc(2 * 1rem);
  }
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* News */
.back_btn {
  text-align: center;
  margin-block: 3rem;
}

.login_area .form_btn {
text-align: center;
  margin-block: 3rem;
}

.back_btn a {
  display: inline-block;
width: fit-content;
  padding: 12px 50px;
  background-color: var(--main_color);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.back_btn a:hover {
  opacity: 0.7;
}
