
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html, body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  background-color: #f5f0e7;
  color: #3b3238;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  background-image: url('../images/body_bg.jpg');
  background-repeat: repeat;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}


#global_header {
  position: relative;
  width: 100%;
  background-color: #3b3238;
}

.header_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.h_logo {
  padding: 10px 0;
}

.h_tel {
  font-size: 24px;
  margin-bottom: 5px;
  color: #f5f0e7;
}

.h_tel span {
  font-size: 14px;
}

.h_contact {
  text-align: right;
}

.h_contact a {
  display: inline-block;
  font-size: 12px;
  background-color: #94554a;
  color: #f5f0e7;
  padding: 5px 10px;
  border-radius: 3px;
}

#nav_global {
  background-color: #3b3238;
  padding: 0;
  margin: 0;
  width: 100%;
}

#nav_global ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#nav_global ul li {
  position: relative;
  margin: 0;
  padding: 0;
}

#nav_global ul li a,
#nav_global ul li span {
  display: block;
  padding: 15px 20px;
  color: #f5f0e7;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

#nav_global ul li a:hover,
#nav_global ul li span:hover {
  background-color: #94554a;
  color: #f5f0e7;
}

#nav_global ul li:hover > .sub_menu {
  display: block;
}

.sub_menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #3b3238;
  min-width: 200px;
  z-index: 1000;
  display: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border: 1px solid #5a5152;
}

.sub_menu li {
  width: 100%;
}

.sub_menu li a {
  padding: 12px 20px;
  font-size: 14px;
  white-space: nowrap;
  border-bottom: 1px solid #5a5152;
}

.sub_menu li:last-child a {
  border-bottom: none;
}

.sub_menu li a:hover {
  background-color: #94554a;
  color: #f5f0e7;
}

.menu {
  display: none;
}


.keyvisual {
  width: 100%;
  position: relative;
  height: auto;
  overflow: hidden;
}


#contents_wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f5f0e7;
}

#contents {
  display: flex;
}

#main {
  flex: 1;
}


#local-keyvisual {
  position: relative;
  width: 100%;
  height: 150px;
  margin-bottom: 30px;
  background-color: #3b3238;
}

#local-keyvisual-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 15px;
  color: #f5f0e7;
  z-index: 2;
}

#local-keyvisual-title h1 {
  font-size: 24px;
  margin: 0;
}

#local-keyvisual-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.5;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 15px;
  font-weight: normal;
}

h2 {
  font-size: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid #b8ab93;
  margin-bottom: 20px;
}

h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #94554a;
  margin-top: 10px;
}

h3 {
  font-size: 18px;
  background-color: #3b3238;
  color: #f5f0e7;
  padding: 10px;
  margin-bottom: 20px;
}


/*.cont_h2 {
  margin-bottom: 30px;
}*/

.cont_h3 {
  margin-bottom: 20px;
}

section {
  margin-bottom: 50px;
}

article {
  margin-bottom: 30px;
}

.img_flex {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.img_flex .box {
  flex: 1 1 220px;
  max-width: calc(25% - 15px);
}

.img_flex .box img {
  width: 100%;
  height: auto;
  border: 1px solid #b8ab93;
}

.form_wrap {
  margin-bottom: 30px;
}

.form_wrap dl {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #dfd2b6;
  padding: 15px 0;
}

.form_wrap dt {
  width: 25%;
  padding: 5px;
  font-weight: bold;
}

.form_wrap dd {
  width: 75%;
  padding: 5px;
}

.flame1 {
  border: 1px solid #b8ab93;
  padding: 15px;
  margin-bottom: 30px;
  background: #f5f0e7;
}

.inner2 {
  text-align: center;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background-color: #94554a;
  color: #f5f0e7;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 10px 0;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #b49957;
}


.news-section {
  background-color: #f5f0e7;
  padding: 20px;
  margin-bottom: 30px;
  position: relative;
}

.news-section h2 {
  color: #3b3238;
  display: inline-block;
}

.view-more {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 14px;
  color: #94554a;
}

.news-item {
  border-bottom: 1px solid #dfd2b6;
  padding: 15px 0;
  display: flex;
  align-items: flex-start;
}

.news-item .date {
  width: 100px;
  color: #94554a;
  font-weight: bold;
}

.news-item .news-content {
  flex: 1;
}

.news-item .news-content a {
  color: #3b3238;
}

.news-item .news-content a:hover {
  text-decoration: underline;
}


.event-section {
  margin-bottom: 40px;
}

.event-item {
  background-color: #f5f0e7;
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #dfd2b6;
}

.event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.event-flyer {
  flex: 0 0 250px;
}

.event-info {
  flex: 1;
  min-width: 300px;
}

.event-item h2 {
  font-size: 20px;
  margin-bottom: 15px;
}

.summary h3 {
  font-size: 16px;
  padding: 8px 15px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}


.contact-section {
  background-color: #3b3238;
  color: #f5f0e7;
  padding: 30px;
  margin-top: 40px;
  background-image: url("../images/3761493575.jpeg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(59, 50, 56, 0.7);
}

.contact-section h2 {
  position: relative;
  color: #f5f0e7;
  border-bottom-color: #f5f0e7;
  text-align: center;
}

.contact-section h2::after {
  background: #f5f0e7;
  margin: 10px auto 0;
}

.contact-container {
  position: relative;
  text-align: center;
}

.contact-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tel-link {
  font-size: 30px;
  color: #f5f0e7;
  margin-bottom: 5px;
}

.contact-btn {
  display: inline-block;
  margin-top: 15px;
}

.contact-btn img {
  width: 50px;
  height: auto;
}


.h1txt {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 10px;
  font-size: 24px;
  font-weight: normal;
  display: flex;
  align-items: baseline;
}

.h1txt span {
  margin-left: 10px;
  font-size: 16px;
  color: #94554a;
}

.h1txt::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #b8ab93;
}

.img__w img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.h_flex2 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.herf {
  max-width: 100%;
}

.aifs {
  align-items: flex-start;
}

.fllyer .box {
  text-align: center;
}

.fllyer .box div {
  margin-top: 10px;
  font-size: 14px;
}


#global_footer {
  background-color: #3b3238;
  color: #f5f0e7;
  padding: 30px 0;
}

.footer_container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav_footer {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.nav_footer li {
  width: 25%;
  padding: 5px 0;
}

.nav_footer li a {
  color: #f5f0e7;
  font-size: 14px;
}

.nav_footer li a:hover {
  color: #b49957;
}

#copyright {
  text-align: center;
  font-size: 12px;
  padding: 20px 0;
  border-top: 1px solid #5a5152;
}


@media (max-width: 768px) {
  .header_container {
    flex-direction: column;
    text-align: center;
  }

  .h_tel, .h_contact {
    text-align: center;
    margin-top: 10px;
  }

  #nav_global ul {
    flex-direction: column;
  }

  .sub_menu {
    position: static;
    width: 100%;
    padding: 0;
  }

  .form_wrap dt, .form_wrap dd {
    width: 100%;
  }

  .nav_footer li {
    width: 50%;
  }

  .img_flex .box {
    max-width: calc(50% - 15px);
  }

  .event-flyer, .event-info {
    flex: 0 0 100%;
  }

  .event-flyer {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .img_flex .box {
    max-width: 100%;
  }

  .nav_footer li {
    width: 100%;
  }

  .news-item {
    flex-direction: column;
  }

  .news-item .date {
    margin-bottom: 5px;
  }
}


@media screen and (max-width: 768px) {
  .header {
    display: none;
  }
  
  .mobile_menu {
    display: block;
  }

  #nav_global {
    display: none;
  }

  .img_flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .img_flex .box {
    width: 100%;
    margin: 0;
    padding: 5px;
  }

  .img_flex .box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .img_flex .box div {
    font-size: 12px;
    margin-top: 8px;
    color: #333;
    text-align: center;
  }

  .desktop-img {
    display: none;
  }
  
  .mobile-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}


@media screen and (min-width: 769px) {
  .header {
    display: block;
  }
  
  .mobile_menu {
    display: none;
  }

  #nav_global {
    display: block;
  }
}


.desktop-img {
  display: block;
}

.mobile-img {
  display: none;
}

@media screen and (max-width: 768px) {
  .desktop-img {
    display: none;
  }
  
  .mobile-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

#translate {
    display: none;
}
