/* =============================
   全体スタイル設定
============================= */
body, .address, .phone, .message, .company-name {
  font-family:  sans-serif; 
  color: navy;
}

body {
    margin: 0;
}

/* =============================
   ヘッダー部分
============================= */
.site-header {
    position: relative;        /* ロゴの中央配置に必要 */
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    height: 100px;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo img {
  width:100%;
  border-radius: 30px;
}
  

.company-info {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.company-name {
  font-size: 12px;
  font-weight: bold;
  margin: 0;
}

.address,
.phone,
.message {
  font-size: 12px;
  margin-top: 4px;
}

/* スマホ対応：縦並びに変更 */
@media screen and (max-width: 600px) {
    .site-header {
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo {
        position: static;
        transform: none;
        margin-bottom: 10px;
    }

    .company-info {
        position: static;
        transform: none;
        text-align: center;
    }

    .company-name {
        font-size: 1em;
    }

    .address,
    .phone,
    .message {
        font-size: 0.85em;
    }
}

/* =============================
   メインメニュー
============================= */
.main-menu {
   width: 100%;
   display: flex; 
   padding: 0;
   margin:0 ;
}

ul.main-menu a {
  background-color: #eed13f;
  color: white;
  line-height: 40px;
  text-decoration: none;
  font-weight: bold;
  display: block;
}

.main-menu li {
  list-style-type: none;
  width: 100%;
  text-align: center;
}

.main-menu ul {
  display: none;
  padding: 0;
}

.main-menu li:hover ul {
  display: block;
}

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

/* =============================
   ハンバーガーメニュー
============================= */
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
}

.menu-trigger {
  margin: 9px;
  z-index: 10000;
  position: fixed;
  width: 50px;
  right: 0;
  height: 44px;
}

.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #008080;
  border-radius: 4px;
}

.menu-trigger span:nth-of-type(1) {
  top: 0;
}

.menu-trigger span:nth-of-type(2) {
  top: 20px;
}

.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}

.menu-trigger.active span:nth-of-type(1) {
  transform: translateY(20px) rotate(-315deg);
}

.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}

.menu-trigger.active span:nth-of-type(3) {
  transform: translateY(-20px) rotate(315deg);
}

.header-right-sp {
  display: none;
 position: fixed;
  top: 10px;
  right: 10px;
  z-index: 10000; 
}

.ham-dis {
  display: none;
  transform: translateY(10px);
  text-align: center;
  position: fixed;
  background-color: white;
  height: 100%;
  width: 100%;
  top: -10px;
  z-index: 9999;
}

.ham-dis ul {
  padding: 0;
  position: relative;
  top: 4rem;
}

.ham-dis li {
  list-style-type: none;
  border-top: 1px dashed;
  border-bottom: 1px dashed;
  padding: 1rem 0;
}

.ham-dis a {
  text-decoration: none;
  color: black;
}

.backshow {
  background-color: #87cefa;
  display: block;
}

/* ハンバーガーメニューのレスポンシブ対応 */
@media screen and (max-width: 960px) {
  .main-menu-none {
    display: none;
  }

  .ham-dis .main-menu {
    display: block;
  }

  .ham-dis li {
    border: 0;
    padding: 0;
  }

  .ham-dis ul {
    position: initial;
  }

.header-right-sp {
    display: block;
  }
}
/*==========================
　スライダーの画像
==========================*/
.slider img{
	display:none;
	width: 330px;
	height: auto;
	border-radius:10px;
}
.slider img.active{
	display: block;
}

/*==========================
   見出し
==========================*/
h2{
    background-color:#eef;
    padding:8px 12px;
    border-radius: 8px;	
}

/*=======================
画像と説明文のところ
========================*/

.section1{
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center; /* 縦方向の中央揃え */
}

/*==========================
   説明文のところ
=========================*/

.description{
	flex: 1;
	min-width: 250px;
}

/*===========================
     開催日のところ
===========================*/

.info-box{
	background: #f9f9f9;
	border-left: 4px solid #77c;
	padding: 12px;
	margin: 10px auto;
	border-radius: 6px;
	max-width: 600px;
}
/*=============================
　　問い合わせ
=============================*/

.contact{
	margin-top: 20px;
  padding: 10px;
  font-size: 1em;
  background-color: #eef8ff;  /* 薄い青で目立たせる */
  border-left: 4px solid #3399cc;
  border-radius: 8px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

section {
  margin: 40px 20px;
}

.section1, .info-box, .description {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 1em;
  border-radius: 15px;
}

/*====================================
お願いの部分
===============================*/

.attention-box {
  background-color: #fff7d6; /* 明るい黄色ベース */
  border: 2px solid #ff8c00; /* オレンジで目立たせる */
  padding: 1em 1.5em;
  margin-top: 20px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1.05em;
  line-height: 1.6;
}
/* =============================
   その他共通スタイル
============================= */
.info {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.info h4 {
  color: navy;
}

.info a:visited {
  color: red;
}

.info a:hover {
  color: green;
}

.page-top {
  margin: 0 auto;
  text-align: center;
  width: 200px;
}

footer {
  width: 100%;
  background-color: #eed13f;
  color: navy;
  text-align: center;
  padding: 20px 0;
  box-sizing: border-box;
  margin: 0;
}

footer p {
  color: #fff;
  font-size: 15px;
}

/* スマホ画面（例: 600px以下）では縦並びにする */
@media (max-width: 600px) {
  .section1{
   flex-direction: column;
  }

  .slider img{
   width: 100%;
   max-width: 330px;
  }

  .info {
    flex-direction: column;
    align-items: center; /* 中央揃え（任意） */
    gap: 10px;
  }

  .info a {
    display: block;
    width: 90%; /* 任意: 横幅を調整 */
    text-align: center;
  }
}
