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

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 {
   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;
  }
}


h2{color: #2f4f4f;
   padding-left: 30px;
}     

.main{width:100%;
}

.main h3{ margin: 20px auto;
          color: #008b8b;
	  padding: 10px 10px;/*上下の余白*/
  	  border-top: solid 3px #008b8b;/*上線*/
  	  border-bottom: solid 3px #008b8b;/*下線*/
          width: 600px;/*長さ*/
          text-align: center;
}

.auto-slider {
  position: relative;
  width: 300px;
  height: 240px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1)
}

.auto-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.auto-slider img.active {
  opacity: 1;
  z-index: 1;
} 

.box{ display:flex;
	gap: 20px;
/*全体の中央揃え*/
	width: 90%;
	margin: 0 auto;
	justify-content: center;
}

.box-list {width:330px;
	   hight: 260px;
	   text-align:center;  
	   display: flex;
  flex-direction: column;
  justify-content: center; /* 縦（上下）中央 */
  align-items: center;     /* 横（左右）中央 */    
}

.box-list p{font-size:15px;
            font-weight:bold;
	    color: #2f4f4f;
}


.about{/*全体の中央揃え*/
	width: 90%;
	margin: 0 auto;
       /*写真と文を並べる*/
	display: flex;
	gap: 30px;
	justify-content: center;
}

.about-list { width:500px;
	      text-align:left;
}

.about-list p{font-size:15px;
	    font-weight:bold;
	    padding-left:15px;
	    color: #2f4f4f;
}

.wave {width:800px;
	max-width: 100%;
      margin:10px auto;
	border-radius:30px;
	border:2px dashed #008b8b;
	background-color:rgba(255,255,224,0.5);
	text-align:justify;}

.wave h4{color:#008b8b;
	 text-align: center;}

.wave p{
	border-radius:20px;
	padding:0 30px;
	 color: #2f4f4f;
	  font-size: 13px;
	  font-weight: bold;
	  line-height: 30px;
}


.clap{width:700px;
	max-width: 100%;
      margin:0 auto;
}

.clap h4{color:red;
	border-top:none;}

.clap p{color:navy;
	font-size:13px;
	font-weight:bold;
	text-align:center;}

.under5{border-bottom:1px dashed red;
	color:red;}

.act-area{
 display:flex;
 justify-content:center;
 gap:20px;
 margin:30px auto;
 width:90%;
}

.act-area a{
  text-decoration:none;
}

.act-box{
 width:190px;
 padding:3px;
 background-color:rgba(255,255,224,0.85);
 border:2px solid #008b8b;
 border-radius:20px;
 text-align:center;
 transition:.3s;
}

.act-box h4{
 color:#008b8b;
 font-size:16px;
 margin:0 0 10px;
}

.act-box p{
 color: #2f4f4f;
 font-size:13px;
 font-weight:bold;
}

.act-box:hover{
 transform:translateY(-5px);
}


@media(max-width:600px){

.act-area{
 flex-direction:column;
 align-items:center;
}

.act-box{
 width:80%;
}

}

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





@media(max-width:600px){
	.header-logo img{width:100%;}
	.main{width:100%;}
	.main h3{width:80%;
		font-size:15px;}

 .auto-slider {
    width: 100%;
    aspect-ratio: 4 / 3; /* or 16 / 9 */
  height: auto;
  }

	.box{width:100%;
	     flex-direction: column;  /* 横並びから縦並びにする */
    }
	.box-list{width:100%;}
	.box-list p{width:100%;
		    padding:0;
		    font-size:13px;}
	.about{width:100%;
	       flex-direction: column;  /* 横並びから縦並びにする */
    }
	
	.about-list{width:100%;
	}
	.about-list p{width: 100%;
			padding:0;
		      font-size:13px;}	
h3{width:100%;
	   font-size:15px;}
.wave{width:80%;
}
	.wave p{font-size:12px;}
 .info {
    flex-direction: column;
    align-items: center; /* 中央揃え（任意） */
    gap: 10px;
  }

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


footer {
  background: #eed13f;
  text-align: center;
  padding: 26px 0;
  margin-top: 50px;
  width: 100%;
}

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

.sns-links {
  text-align: center;
  margin-top: 20px;
  color: #fff;
}

.sns-links a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  margin: 0 10px;
}

.sns-links a:hover {
  text-decoration: underline;
}
