@charset "UTF-8";

/*
Theme Name: kn-hanabiwp
Description: なばり観光ガイド 花火大会 テーマ
*/

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

/* 基本設定 */
html {
  font-size: 16px;
}

body {
  color: #000000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
}

/* ヘッダー */
header {
  background-color: #000000;
}

.site_name {
  padding: 30px 10px;
  text-align: center;
  color: #ffffff;
}

.site_name a {
  color: #ffffff!important;
}

.site_name p {
  display: inline-block;
  font-size: 1.2rem;
  line-height: 2;
  margin: 0;
}

.site_name span {
  font-size: 1.5rem;
}

/* フッター */
.wrapper {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

footer {
  background-color: #333;
}

.syusai {
  color: #ffffff;
  font-size: 0.8rem;
  text-align: center;
  font-weight: bold;
  padding: 2rem 0.5rem;
}

.syusai p {
  margin-bottom: 0;
}

/* コンテナの左右の余白 */
.container {
  padding: 0 15px;
  margin: 0 auto;
}

/* 画像の幅 */
img {
  width: 100%;
}

h1 {
  margin: 2rem 0 2rem 0;
  font-size: 1.6rem;
  font-family: 'Noto Serif JP', serif;
  text-align: center;
}

h2 {
  margin: 2rem 0;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  border: 2px dotted #666;
}

h3 {
  display: inline-block;
  margin: 2rem auto 1rem auto;
  padding: 0 15px;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  background: linear-gradient(rgba(255, 230, 209, 0) 0% 60%, #ffa1a1 40% 100%);
}

h4 {
  margin: 1rem 0;
  color: #999;
  font-size: 1rem;
  font-weight: bold;
}

/* リード文 */
.lead {
  font-size: 1.1rem;
  text-align: center;
}

/* 強調 */
strong {
  font-weight: bold;
  color: #ff0000
}

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

th,
td {
  padding: 0.3rem 0.5rem;
  font-size: 1rem;
  border: 1px solid #d0c5a3;
}

th {
  color:#000000;
  background-color: #f4eede;
  vertical-align: middle;
  font-weight: bold;
}
td {
  padding-left: 0.8rem;
}

div.access ul,
div.hanabi_size ul {
  display: grid;
  place-content: center;
}


/* === リンク色 =============== */

/* 標準 */
a:link {
  color: #36f;
  text-decoration: none;
}

a:visited {
  color: #69f;
}

a:hover {
  color: #f30;
}

a:active {
  color: #fc0;
}


/* ボタン*/
.boshu_btn a,
.q_a_btn a {
  display: block;
  text-align: center;
  padding: 10px 10px;
  color: #000000!important;
  background-color: #0b1a75;
  box-shadow: 5px 5px 0px 0 #dfdfdf;
  border-radius: 10px;
  transition: all 0.2s 0s ease-in-out;
  font-family: "Kaisei Opti", serif;
  letter-spacing: 1px;
}


.boshu_btn:first-child a {
  color: #000!important;
}

.q_a_btn a {
  background-color: #f5e69c;
}

.boshu_btn a img {
  height: 90px;
  margin: 10px auto;
}

.boshu_btn:last-child a img {
  margin: 10px auto;
  height: 90px;
}

.boshu_btn a p {
  line-height: 1.4;
}

.boshu_btn a p:last-child {
  background-color: #fff;
  padding-right: 15px;
  position: relative;
  padding-bottom: 2px;
  letter-spacing: 1px;
}

.boshu_btn:last-child a p {
  background-color: #fff;
  
}

.boshu_btn a p:last-child::after {
  display: block;
  content: "";
  height: 12px;
  width: 14px;
  border-left: 7px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
}

.boshu_btn:last-child a p::after {
  border-left: 7px solid #000;
}

.boshu_btn a:hover,
.q_a_btn a:hover {
  background-color: #17299e;
  transform: translateY(5px);
  box-shadow: 0px 0px 0px 0 #dfdfdf;
}

/* メッセージフォームリンク */
.massage_boshu_btn a,
.q_a_btn a {
  display: block;
  text-align: center;
  padding: 10px 5px;
  color: #000000!important;
  background-color: #e2d06e;
  box-shadow: 5px 5px 0px 0 #dfdfdf;
  border-radius: 10px;
  transition: all 0.2s 0s ease-in-out;
  font-family: "Kaisei Opti", serif;
  letter-spacing: 0.2rem;
}

.massage_boshu_btn a:hover,
.q_a_btn a:hover {
  background-color: #fff56d;
  transform: translateY(5px);
  box-shadow: 0px 0px 0px 0 #dfdfdf;
}

.q_a_btn a:hover {
  background-color: #f9f290;
}

.back_btn {
  text-align: center;
  margin: 3rem 0;
}

.back_btn a {
  display: inline-block;
  margin: 0;
  padding: 1.1rem 1.8rem;
  line-height: 1;
  color: #000000;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: all 0.2s 0s ease-in-out;
}

.back_btn a:hover {
  background-color: #ccc;
}

/* === トップコンテンツ =============== */

.main_img .container {
  padding: 0;
}

.main_img .container h1 {
  margin: 0;
}

/* リード文 */
.top_lead  {
  text-align: center;
}

.top_lead .lead {

  margin: 2rem 0 1rem 0;
}

.top_lead .lead br {
  display: block;
}

.top_lead br {
  display: none;
}

/* === 募集 =============== */

.boshu_area {
  margin: 50px 0;
}

.boshu_content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  justify-content: center;
}

.boshu_btn p {
  margin-bottom: 0;
}

/* === よくあるご質問 =============== */

.q_a_area {
  margin: 50px 0;
}

.q_a_btn a  {
  position: relative;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

.q_a_btn a p  {
  position: relative;
  display: inline-block;
  margin-bottom: 0;
}

.q_a_btn a p::before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left:-40px;
  transform: translateY(-50%);
  width: 30px;
  height:30px;
  background: url(images/qa.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* === ご案内 =============== */

.annai_area {
  text-align: center;
  margin: 50px 0;
}

.annai_area table {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.annai_area table th {
  width: 100px;
  text-align: center;
}

.annai_area ul {
  margin-bottom: 0;
}

.annai_area li {
  text-align: left;
}

/* === ご案内 =============== */
.access ul {
  margin-bottom: 1rem;
}
/* === 協賛バナー =============== */

.kyousan_area {
  background-color: #888888;
  padding: 30px 0 50px 0;
}

.kyousan_area h2 {
  text-align: center;
  border: none;
  margin: 0 0 30px 0;
  padding: 0;
  color: #ffffff;
}
 .kyousan-grid {
      display: grid;
      gap: 10px; /* 画像間のパディング */
      margin-bottom: 20px; /* 各セクションの間隔 */
      letter-spacing: -0.03rem;
      line-height: 0.7rem;
  }
  
  .kyousan-grid img {
      width: 100%;
      height: auto;
      object-fit: cover;
  }
  
  .kyousan-grid.tokubetsu {
      grid-template-columns: repeat(2, 1fr); /* 2分割 */
  }

  .kyousan-grid.dai {
      grid-template-columns: repeat(3, 1fr); /* 3分割 */
  }
  
  .kyousan-grid.cyu {
      grid-template-columns: repeat(4, 1fr); /* 4分割 */
  }
  
  .kyousan-grid.syou {
      grid-template-columns: repeat(6, 1fr); /* 6分割 */
       font-size: 0.5rem; /* 文字サイズをさらに小さくする */
       line-height: 0.7rem;
  }

  .kyousan-grid.syou a {
          color:#000;
 }
  .kyousan-grid.syou a:hover {
          color:#00c;
          text-decoration:underline;
 }

  /* タブレットサイズ */
  @media (max-width: 768px) {
      .kyousan-grid.syou {
          font-size: 0.6rem; /* 文字サイズを小さくする */
      }
  }
  
  /* スマホサイズ */
  @media (max-width: 480px) {
      .kyousan-grid.syou {
          font-size: 0.5rem; /* 文字サイズをさらに小さくする */
          line-height: 0.7rem;
      }
  }

/* === メッセージ花火募集 =============== */

.hanabi_course {
  max-width: 800px;
  margin: 0 auto;
}

.hanabi_course .hanabi_course_kingaku {
  width: 150px;
}
.hanabi_course .hanabi_course_shurui {
  width: 100px;
}

.hanabi_course td:first-child { 
background-color: #fccc6c;
font-size:1.8rem;
text-align: center;
vertical-align: middle;
}
.hanabi_course td:first-child span {
  font-size:1.2rem;
  margin-left: 0.2rem;
}

.hanabi_course td:nth-last-child(2){ 
background-color: #f3e2a9;
font-size:1.2rem;
text-align: center;
vertical-align: middle;
}


.hanabi_size {
   text-align: center;
   max-width: 500px;
   margin: 0 auto;
   padding: 10px;
   background-color: #fff5d7;
   border-radius: 10px
}

.hanabi_size ul {
  display: grid;
  place-content: center;
  text-align: center;
}

.hanabi_moushikomi_area {
  text-align: center;
  margin: 50px 0;
  padding: 20px;
  border: 1px solid #d6c07d;
}

.hanabi_moushikomi_area h3 {
  margin-top: 0;
}

.moushikomi_content {
  padding: 10px;
}

.moushikomi_content p {
  margin-bottom:0;
}

.moushikomi_content .moushikomi_contact_soroe {
  text-align: right;
  line-height: 1.5;
  display: grid;
  place-content: center;
}


.moushikomi_content .massage_boshu_btn {
  max-width: 300px;
  padding: 20px 5px;
  margin: 0 auto;
}

.moushikomi_content .massage_boshu_btn a {
  padding: 20px 5px;
}

.moushikomi_contact_tel {
  font-size: 1.5rem;
}


/* === よくあるご質問 =============== */

.q_a_content {
  margin-bottom: 30px;
}

.q_a_content p {
  margin-bottom: 0;
}

.q_a_content p:first-child {
  background-color: #d9caab;
  font-size:1.2rem;
  padding:10px;
}
.q_a_content p::first-letter {
  font-size: 1.5rem;
  color:#d6c07d;
  background-color: #fff;
  padding: 0.7rem 1rem;
  margin-right:0.5rem;
  border-radius: 50%;
}

.q_a_content p:nth-child(2) {
  font-size:1.2rem;
  padding:10px;
  text-indent: -3.5rem;
  margin-left: 3.5rem;
}

.q_a_content p span {
  padding: 1rem;
}


/* === メディアクエリ =============== */

@media (min-width:600px) {
  body {
    line-height: 2;
  }

  /* ヘッダー */
.site_name p {
  font-size: 1.3rem;
}

.site_name span {
  font-size: 1.8rem;
}

/* フッター */
.syusai {
  font-size: 1.5rem;
}

/* 見出し */
h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

/* リード文 */
.lead {
  font-size: 1.8rem;
  font-family: "Noto Serif JP", serif;
  color:#f30;
}

.disp_sp {
  display: none;
}

/* トップコンテンツ */

/* リード文 */
.top_lead  {
  text-align: center;
}

.top_lead .lead {
  margin-bottom: 1rem;
}

.top_lead .lead br {
  display: none;
}

.top_lead br {
  display: block;
}

/* 募集 */

.boshu_content {
  gap: 20px;
}
.boshu_btn a {
  font-size: 1.3rem;
  padding: 20px;
}

.boshu_btn br {
  display: none;
}

.boshu_btn a img {
  height: 120px;
  margin: 15px auto 25px;

}
.boshu_btn:last-child a img {
  height: 120px;
  margin: 15px auto 25px;
  padding-left: 20px;
}
.boshu_btn a p:last-child {
  line-height: 2;
  
}
.boshu_btn:first-child a p:last-child {
  letter-spacing: 2px;
  
}

/* メッセージ募集フォーム */
.massage_boshu_btn a {
  font-size: 1.3rem;
  padding: 20px;
}

.massage_boshu_btn br {
  display: none;
}









/* よくあるご質問 */

.q_a_btn a  {
  font-size: 1.3rem;
}

/* ご案内 */

.annai_area .contact_tel a {
  pointer-events: none;
  color: #000000;
}

/* メッセージ花火募集 */

.moushikomi_contact_tel a {
  pointer-events: none;
  color: #000000;
}

.hanabi_course br {
  display: none;
}

}

@media (min-width:800px) {

/* ヘッダー */
.site_name p {
  font-size: 1.8rem;
}

.site_name span {
  font-size: 2.5rem;
}


/* 募集 */

.boshu_content {
  display: grid;
  grid-template-columns: 375px 375px;
  gap: 50px;
  justify-content: center;
}

.boshu_btn a {
  height: 275px;
}

.boshu_btn a p::after {
  right: 10px;
}

/* ご案内 */

.annai_area .contact_tel br {
  display: none;
}

/* メッセージ花火募集 */

.hanabi_moushikomi {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}

.moushikomi_content {
  flex: 0 1 40%;
}

 /* 協賛 */
      .kyousan-grid.syou {
          font-size: 0.6rem; /* 文字サイズを小さくする */
      }
}



@media (min-width:1025px) {

  .container {
    width: 1025px;
  }
  
  /* 協賛 */
      .kyousan-grid.syou {
          font-size: 0.9rem; /* 文字サイズを小さくする */
          line-height: 1.2rem;
      }

}

  /* 追加 2025.04.23 */
.boshu_content02 {
  max-width: 375px;
  margin-left: auto;
  margin-right: auto;
}


@media (min-width:1400px) {

  .main_img .container {
    width: 1400px;
  }
}

/* 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;
}

.top_lead .lead br {
  display: block !important;
}

@media (max-width:599px) {
  .lead {
    font-size: 1.4rem;
    font-family: "Noto Serif JP", serif;
    color: #f30;
  }
}
