/* =============================
   全体スタイル設定
============================= */
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 {
   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;
}

.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-text-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background:#ffffe0 ;
}

.auto-slider {
  position: relative;
  width: 350px;
  height: 270px;
  overflow: hidden;
}

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

.intro {
  flex: 1;
  min-width: 330px;
}


.area{width:100%;
      margin-top:10px;
}

h3 { width:330px;
     color: navy; 
     margin:0 auto;
    text-align:center;
    border-bottom: 2px solid #ffcc00;
  padding-bottom: 5px;
}

.marquee {
	  width:330px;
	  background-color:white;
	  border: 2px dashed orange;
	  padding: 15px;
	  margin:15px auto;
	  overflow: hidden;
}

.marquee p:after {
		  content:"";
		  white-space:nowrap;
		  padding-right:50px;
}

.marquee p {font-weight: bold;
	    margin:0;
	    padding-left:330px;
	    display:inline-block;
	    white-space:nowrap;
	-webkit-animation-name:marquee;
	-webkit-animation-timing-function:linear;
	-webkit-animation-duration:25s;
	-webkit-animation-iteration-count:infinite;
	-moz-animation-name:marquee;
	-moz-animation-timing-function:linear;
	-moz-animation-duration:25s;
	-moz-animation-iteration-count:infinite;
	-ms-animation-name:marquee;
	-ms-animation-timing-function:linear;
	-ms-animation-duration:25s;
	-ms-animation-iteration-count:infinite;
	-o-animation-name:marquee;
	-o-animation-timing-function:linear;
	-o-animation-duration:25s;
	-o-animation-iteration-count:infinite;
	animation-name:marquee;
	animation-timing-function:linear;
	animation-duration:25s;
	animation-iteration-count:infinite;
}
@-webkit-keyframes marquee {
  from   { -webkit-transform: translate(0%);}
  99%,to { -webkit-transform: translate(-100%);}
}
@-moz-keyframes marquee {
  from   { -moz-transform: translate(0%);}
  99%,to { -moz-transform: translate(-100%);}
}
@-ms-keyframes marquee {
  from   { -ms-transform: translate(0%);}
  99%,to { -ms-transform: translate(-100%);}
}
@-o-keyframes marquee {
  from   { -o-transform: translate(0%);}
  99%,to { -o-transform: translate(-100%);}
}
@keyframes marquee {
  from   { transform: translate(0%);}
  99%,to { transform: translate(-100%);}
}


/* 概要と画像 */
.main {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.main img {
  width: 100%;
  max-width: 350px;
  height: 270px;
  border-radius: 15px;
 }

.summary {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.summary ul {
  list-style:none;
  text-align: left;       /* リストは左寄せ */
  display: inline-block;  /* 中央に表示された親要素の中で左揃えに */
  list-style-position: inside; /* 黒丸を本文の左に合わせる（任意） */
  padding-left: 0;
}

/* 運営方針 */
.policy {
  border-top: 2px solid #999;
  text-align: center;
}

.policy h3 {
  margin-bottom: 10px;
}

.policy ul {
  list-style:none;
  text-align: left;       /* リストは左寄せ */
  display: inline-block;  /* 中央に表示された親要素の中で左揃えに */
  list-style-position: inside; /* 黒丸を本文の左に合わせる（任意） */
  padding-left: 0;
}

.policy li{
  margin-bottom: 10px;
}



/* レスポンシブ対応 */
@media (max-width: 600px) {
  .slider-text-wrapper,
  .main {
    flex-direction: column;
  }

  .auto-slider {
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 600px) {
  .policy {
    padding: 20px;
  }

  .policy ul {
    font-size: 14px;
    line-height: 1.6;
  }

 .summer ul {
    font-size: 14px;
    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 {
  background: #eed13f;
  text-align: center;
  padding: 26px 0;
  margin-top: 50px;
  width: 100%;
}

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

/* スマホ画面（例: 600px以下）では縦並びにする */
@media (max-width: 600px) {
  .info {
    flex-direction: column;
    align-items: center; /* 中央揃え（任意） */
    gap: 10px;
  }

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