body {
   margin: 0px;
}

/* ヘッダーの外枠 */
.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;
    color: #004d25;
    font-weight: bold;
    margin: 0;
}

.address,
.phone,
.message {
    font-size: 12px;
    color: #004d25;
    margin: 4px 0 0;
}

/* スマホ対応：縦並びに変更 */
@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: #3cb37a;
   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 .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) {
   -webkit-transform: translateY(20px) rotate(-315deg);
   transform: translateY(20px) rotate(-315deg);
}

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

.menu-trigger.active span:nth-of-type(3) {
   -webkit-transform: translateY(-20px) rotate(315deg);
   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;
}

/*👆ハンバーガーメニューをクリックしたときにメニューを1回表示させる指定*/


/*👇960px以下にした時にメニューバーを消し、ハンバーガーメニューを表示させる*/

@media screen and (max-width:960px){

   .main-menu-none{
      display: none;
   }

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

   .ham-dis li {
    list-style-type: none;
    border:0;
        padding:0;
}

.ham-dis ul{
   position: initial;
}

   .header-right-sp{
      display: block;
   }

}

/* ナビとタイトルの間の文章 */
.parent-comment {
  background-color: rgba(60, 179, 122, 0.3); /* 薄い緑の背景 */
  border-left: 4px solid #008000;          /* 緑のライン（左端） */
  padding: 12px 16px;
  margin: 20px auto;                       /* 上下に余白、中央寄せ */
  max-width: 800px;
  border-radius: 15px;
}

.parent-comment p {
  margin: 0;
  font-size: 16px;
  color: #1f3134;  /* 百入茶文字 */
  text-align: center;
}

.work {
  background: rgba(255, 255, 224, 0.6);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}


.title {
  font-size: 24px;
  padding: 10px 10px;
  background-color:rgba(60, 179, 122, 0.3);
  border-left: 4px solid #008000;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 20px;
  width: 300px;
  color: #1f3134;
}

.content {
  display: flex;
  gap: 5px;
  align-items: flex-start;
}



/* スライダー全体 */
.slider {
  flex: 1;
  max-width: 380px;
  height: 100%;
 }

/* 各スライド画像 */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  border: 2px solid #008000;
}

/* テキストエリア */
.text {
  flex: 1;
  max-width: 520px;
  height: 270px;
  overflow-y: auto;
  background-color: rgba(60, 179, 122, 0.3);
  padding: 10px;
  border-radius: 15px;
  line-height: 1.8;
}

.text p{color:#1f3134;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
  }

  .slider,
  .text {
    width: 100%;
    height: auto;
  }

  .text {
    max-height: 300px;
  }

.title {
  font-size: 24px;
  padding: 10px;
  background-color: rgba(0, 128, 0, 0.1);
  border-left: 4px solid #008000;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 20px;

  max-width: 300px;
  width: 100%;
}


}

.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 { background: #3cb37a;
         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;
}

/*ドットを見やすく*/

.swiper-pagination-bullet {
  background: #008000;
  opacity: 0.8;
}

.swiper-pagination-bullet-active {
  background: #006400;
  opacity: 1;
}

/* ===== ACTエリア（PC） ===== */
.act-guide {
  text-align: center;
  font-size: 15px;
  color: #006400;
  margin: 14px 0 6px;
  font-weight: bold;
}

.act-box {
  text-align: center;
  margin-bottom: 20px;
}

.act-button {
  display: inline-block;
  background: #006400;
  color: #fff;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
　box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.act-button:hover {
  opacity: 0.8;
  transform: scale(1.03);
}

@media (max-width: 768px) {

  .act-guide {
    font-size: 13px;
    padding: 6px 10px;
    margin: 10px 0 5px;
  }

  .act-button {
    width: 90%;
    max-width: 300px;
    font-size: 14px;
    padding: 12px 10px;
    border-radius: 20px;
    margin: 4px 0;
  }

  .act-box {
    margin-bottom: 15px;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* ←これが重要 */
  }
}

.text p1{
 font-weight: bold;
}

/* =============================
   リンクエリア（info-top）
============================= */
.info-top {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.info-top h6 {
   background-color: #f0e68c; /* khaki */
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s, opacity 0.2s;
}

.info-top h6:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.info-top h6 a {
  color: #2f4f4f;
  text-decoration: none;
  display: inline-block;
}

/* スマホでは縦並びに */
@media (max-width: 600px) {
  .info-top {
    flex-direction: column;
    align-items: center;
  }

  .info-top h6 {
    width: 85%;
    font-size: 15px;
  }
}

