@charset "utf-8";

/*
Theme Name: 広島もくに会
Theme URI: http://www.h-mokunikai.com/
Description: 異業種交流会「広島もくに会」は広島市を中心とした、1業種1社参加の企業ビジネス交流の組織です。企業様の新しい出会いをサポートします。
Version: 1.0
Author: 広島もくに会
Author URI: https://wptheme-beginners.com/demo/
*/

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #443D3A;
  background: #fff;
}

#news,
#summary,
#companylist,
#register,
#rules,
#contact,
#membership {
  background-image: url(img/momiji-bg1.png);
  background-repeat: no-repeat;
  background-size: 25%;
  background-position: top 50px right 10%;
}


.flex {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  display: block;
}

a:hover {
  opacity: 0.8;
}

ul {
  list-style-type: none;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
}

h2 {
  font-family: "Graduate", sans-serif;
  text-align: center;
  background: linear-gradient(transparent 50%, #F6F6F6 50%);
  margin: 3% 0;
  font-size: 2.25rem;
}

h3 {
  border-bottom: 3px solid #FFBB91;
  box-shadow: 0 1px 0 0 #FF8E6E;
  margin-bottom: 30px;
}

time {
  font-size: 0.875rem;
}

em a {
  text-decoration: underline;
  display: inline-block;
}


/* ローディング画面 */
#loading {
  min-height: 100svh;
  background: #fff;
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  transition: 1s all 1s;
}

#loading img {
  width: 250px;
  position: 40% 0;
}

#loading.close {
  opacity: 0;
  z-index: -1;
}


/* .menu-btn  */
.menu-btn {
  width: 30px;
  height: 30px;
  position: absolute;
  left: 85%;
  top: 20%;
  padding: 10px 5px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #443D3A;
  border-radius: 5px;
  z-index: 101;
}

.menu-btn:focus {
  outline: none;
}

.menu-btn span {
  background: #443D3A;
  display: block;
  width: 100%;
  height: 2px;
}

.close span:first-child {
  transform: rotate(45deg) translate(0px, -4px);
  transform-origin: left top;
}

.close span:nth-child(2) {
  transform: rotate(-45deg) translate(1px, -3px);
}

.close span:last-child {
  display: none;
}

/* #top-btn */
.top-btn {
  opacity: 0;
  position: fixed;
  right: 25px;
  bottom: 60px;
  z-index: -1;
  text-align: center;
  color: #fff;
  background: #FF8E6E;
  display: inline-block;
  border-radius: 5%;
  padding: .2rem 1rem .3rem;
  line-height: 1.5;
}

.top-btn.open {
  opacity: 1;
  z-index: 500;
}


/*  ボタン設定  */
.button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  max-width: 250px;
  margin: 8% 2% 10% auto;
  padding: 0.8rem 4rem;
  font-weight: bold;
  background: #F6F6F6;
  color: #443D3A;
  position: relative;
  box-shadow: 2px 2px 1px 1px #FFBB91;
  transition: 0.5s;
}

.button::before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: 1em;
  transform: translateY(calc(-50% - 2px)) rotate(45deg);
  width: 10px;
  height: 1px;
  background: #443D3A;
}

.button::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  width: 20px;
  height: 1px;
  background-color: #443D3A;
}

.button:hover {
  background: #FFBB91;
  /* border: 2px solid #FF8E6E; */
  box-shadow: inset 2px 2px 1px 1px #FF8E6E;
}

form .button {
  background: #FFF;
}

/* nav 設定 */

#navigation {
  display: none;
}

#navigation.open {
  display: block;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 70dvh;
  text-align: center;
  background: rgba(246, 246, 246, 0.8);
  padding: 5% 20%;
  z-index: 100;

}

#navigation .gnavi__list a {
  display: inline-block;
  width: 50%;
  max-width: 120px;
  margin: 10px auto;
  font-size: 1rem;
}

.menu-item {
  margin: 0 auto;
}

.nav__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
}

.nav__list a {
  margin: 0 20px;
}

nav ul {
  font-size: 1rem;
}

nav a {
  position: relative;
}

nav a:hover {
  color: #FF8E6E;
}

nav a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #FF8E6E;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
}

nav a:hover::after {
  transform: scale(1, 1);
  transform-origin: left top;
}


/*  パンくずリスト    */

.breadCrumb {
  margin-top: 120px;
  padding: 8px 15px;
  color: #443D3A;
  background-color: #FDFCE5;
  font-size: 0.875rem;
}

.breadCrumb span {
  display: inline-block;
}

.breadCrumb a::after {
  background: none;
  content: none;
}



/*  pagination    */

.nav-links {
  display: flex;
  justify-content: space-around;
  max-width: 500px;
  text-align: center;
  margin: 10% auto;
  margin-bottom: 90px;
  font-weight: bold;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 .5em;
  padding: .5em 1em;
  text-decoration: none;
  color: #443D3A;
  border: 2px solid #ffffff;
  border-radius: 0.4em;
  background-color: #F6F6F6;
  font-size: 0.875rem;
}

.pagination .page-numbers:hover {
  background-color: #F6F6F6;
  border: none;
  background-color: transparent;
}

.pagination .page-numbers.current {
  color: #ffffff;
  border-color: #ffffff;
  background-color: #FFBB91;
}

.page-numbers.dots {
  border: none;
  background-color: #fff;
}

.page-numbers.dots:hover {
  background-color: transparent;
}


/*  header  */

.page-header {
  background-color: rgba(246, 246, 246, 0.8);
  position: fixed;
  width: 100%;
  height: 120px;
  top: 0;
  z-index: 600;
  padding: 15px 0;
}

.header-content {
  justify-content: space-between;
  align-items: center;
}

.main-title {
  font-weight: normal;
  text-align: center;
  font-size: 1.5rem;
}

.title-text {
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
}

.title-s {
  display: block;
  font-size: .75rem;
  text-align: center;
  margin-top: 10px;
}




/*   footer   */

.page-footer {
  background-color: #443D3A;
  color: #fff;
  padding: 5% 0 2% 0;
}

.menu {
  display: flex;
  justify-content: space-between;
}

.menu-item a {
  margin: 0 20px;
}

#block-7 .flex {
  margin-top: 10px;
  justify-content: space-around;
}

#block-14 ul {
  display: flex;
  justify-content: center;
  margin: 60px auto;
}

.cat-item {
  margin: 10px;
}

.cat-item a {
  border: 1px solid #FFBB91;
  border-radius: 10px;
  padding: 2px 0;
  width: 130px;
  text-align: center;
  transition: 0.5s;
}

.cat-item a:hover {
  background: #FFBB91;
  color: #443D3A;
}


.copy {
  font-size: 0.75rem;
  text-align: center;
  margin-top: 30px;
}

/*  home    */

.news-inner {
  margin-top: 30px;
}

.news-inner li {
  max-width: 1200px;
  margin: 0 auto;
}

.news-inner li:first-child {
  border-top: 2px solid #F6F6F6;
}

.newsbox {
  justify-content: start;
  padding: 0 10%;
  border-bottom: 2px solid #F6F6F6;
}

.innerbox {
  margin: 5% 8% 5% 0;
}

.inner-tag span,
.post-cat a {
  padding: 2px 0;
  width: 130px;
  margin-left: 30px;
  text-align: center;
  background: #FFBB91;
  border-radius: 5px;
}

.inner-tag span,
.inner-tag time {
  display: block;
  margin: 0 auto;
}

.inner-tag time {
  text-align: center;
  margin-top: 30px;
  width: 150px;
}

.inner-text {
  line-height: 1.2;
  font-size: 0.875rem;
}

.inner-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.home-message .home-content {
  margin: 5%;
  margin-left: 20%;
  padding: 5%;
}

.home-message .home-container {
  background-image: url(img/bridge.png);
  background-position: bottom right;
  background-size: 50%;
}

/*   スライドショー    */

#slideshow {
  position: relative;
  height: 85svh;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

#slideshow img {
  position: absolute;
  top: 0;
  left: 0;

  max-width: 100%;
  transition: 3s linear transform .5s;
}

#slideshow img.zoom {
  transform: scale(1.05);
}



/*   page   */

section .content-wrapper {
  margin-bottom: 3%;
}

.content-wrapper,
.news-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5%;
  box-shadow: inset 7px 0 3px 0 rgba(246, 246, 246, 0.8), inset -7px 0 3px 0 rgba(246, 246, 246, 0.8);
}


.news-box {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 10%;
}

.news-box h3 {
  text-align: center;
}


/*    会員企業一覧      */

body .is-layout-grid {
  gap: 30px;
}

body .is-layout-grid div {
  background-color: #F6F6F6;
  padding: 20px;
  height: 185px;
  border: 3px ridge rgba(255, 187, 145, 0.6);
}

body .is-layout-grid a:hover {
  text-decoration: underline;
  color: #FF8E6E;
}

#companylist .bg-box {
  background-image: url(img/minamo.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 80px;
  height: 60svh;
  background-attachment: fixed;
}


/*   投稿ページ   */

.post-info {
  justify-content: start;
  margin-bottom: 80px;
}

.post-button {
  margin-bottom: 0;
}



/*   contact  入会申請   */

form {
  max-width: 90%;
  margin: 5% auto;
  padding: 3rem;
  background-color: #F6F6F6;
}

.contact-title {
  margin: 5% 0;
}

label {
  font-size: 1.125rem;
  margin-bottom: 5px;
  margin-top: 2rem;
  display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="number"],
textarea {
  display: block;
  background: #fff;
  border: 1px dotted #FFBB91;
  border-radius: 5px;
  padding: 10px;
  font-size: 1rem;
  max-width: 90%;
  margin: 0 5%;
}


textarea {
  width: 800px;
  height: 10rem;
  margin-left: 5%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus {
  outline: 2px solid #FF8E6E;
  outline-offset: -2px;
}

#register .button,
#contact .button {
  margin: 7% auto;
}



/*   404    */

.error {
  padding-bottom: 80px;
}


/*========== モバイル版 =============*/



@media (max-width: 1450px) {
  #slideshow {
    height: 80svh;
  }
}

@media (max-width: 1280px) {
  #slideshow {
    height: 70svh;
  }

  .header-content {
    margin-top: 15px;
  }
}

@media (max-width: 1020px) {
  body {
    background-size: 30%;
    background-position: top 128px right 5%;
  }

  .header-content {
    margin-top: 20px;
  }

  h1 img {
    max-width: 50%;
  }

  .main-nav-box {
    display: none;
  }

  #slideshow img {
    top: 120px;
  }

  #news,
  #summary,
  #companylist,
  #register,
  #rules,
  #contact,
  #membership {
    background-position: top 40px right 0px;
  }

  .menu-btn {
    display: flex;
  }

  .menu {
    flex-direction: column;
    margin-top: 30px;
    text-align: center;
  }
}

@media (max-width: 860px) {
  #slideshow {
    height: 60svh;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 1.5rem;
  }

  .header-logo p {
    margin: 0 10px;
  }

  .page-footer .flex {
    flex-direction: column;
    margin-bottom: 40px;
  }

  #news,
  #summary,
  #companylist,
  #register,
  #rules,
  #contact,
  #membership {
    background-position: top 30px;
    background-size: 30%;
  }

  #slideshow img {
    top: 120px;
  }

  #block-14 ul {
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 80px;
  }

  .newsbox {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 30px;
  }

  .inner-tag {
    display: flex;
    align-items: baseline;
    font-size: 0.875rem;
  }

  .inner-tag span {
    width: 100px;
  }

  .inner-tag time {
    margin: 0 3%;
  }

  .inner-title {
    font-size: 1.25rem;
  }

  .home-message .home-content {
    margin: 5%;
  }

  .home-message .home-container {
    padding-bottom: 250px;
    background-size: contain;
  }

  .bold {
    font-size: 1.16rem;
  }

  form {
    padding: 5%;
  }
}

@media (max-width: 670px) {
  #slideshow {
    height: 40svh;
  }

  #companylist .bg-box {
    background-attachment: scroll;
  }
}




/* Wordpressカラー・フォント設定 */

.has-orange-background-color {
  background-color: #FF8E6E;
}

.has-orange-color {
  color: #FF8E6E;
}

.has-light-orange-background-color {
  background-color: #FFBB91;
}

.has-light-orange-color {
  color: #FFBB91;
}

.has-light-gray-background-color {
  background-color: #F6F6F6;
}

.has-light-gray-color {
  color: #F6F6F6;
}

.has-light-yellow-background-color {
  background-color: #FDFCE5;
}

.has-light-yellow-color {
  color: #FDFCE5;
}

.has-black-background-color {
  background-color: #443D3A;
}

.has-black-color {
  color: #443D3A;
}

.has-white-background-color {
  background-color: #ffffff;
}

.has-white-color {
  color: #ffffff;
}

.has-xx-small-font-size {
  font-size: 0.75rem;
}

.has-x-small-font-size {
  font-size: 0.875rem;
}

.has-small-font-size {
  font-size: 1rem;
}

.has-normal-font-size {
  font-size: 1.125rem;
}

.has-large-font-size {
  font-size: 1.5rem;
}

.has-huge-font-size {
  font-size: 2.25rem;
}