/* layout.css */

/* ヘッダー */
header {
    width: 1208px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-logo,
  .head-logo {
    max-width: 301px;
  }
  
  .header-logo img,
  .head-logo img {
    width: 100%;
    height: auto;
  }
  
  /* グローバルナビ */
  header nav {
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
  }
  
  header nav ul {
    display: flex;
  }
  
  header nav ul li {
    margin-right: 3.0625rem;
  }
  
  /* メインナビ */
  .gnavi li a {
    position: relative;
    display: block;
    padding: 10px 0;
    color: #333;
  }
  
  .gnavi li {
    margin-bottom: 20px;
  }
  .gnavi li.drop-down {
    margin-right: 0;
  }
  
  /* ホバーラインアニメーション */
  .gnavi li.current a,
  li.is-current a,
  .gnavi li a:hover {
    color: var(--color-main);
  }
  
  .gnavi li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--color-main);
    transform: scale(0, 1);
    transform-origin: left top;
    transition: all .5s;
  }
  
  .gnavi li.is-current a::after,
  .gnavi li a:hover::after {
    transform: scale(1, 1);
    pointer-events: none;
  }
  
  /* ドロップダウン */
  nav ul li {
    position: relative;
  }
  .gnavi li a.drop-a{
    padding:10px 0;
  }
  .gnavi li a:hover{
    color:#00A63C;	
  }

  .gnavi li.has-child ul {
    position: absolute;
    left: -48px;
    top: 41px;
    z-index: 4;
    background: #E8E578;
    width: 180px;
    border-radius: 5px;
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
    text-align: center;
    padding: 0;
    flex-direction: column;
  }
  
  .gnavi li.has-child:hover > ul,
  .gnavi li.has-child ul li:hover > ul,
  .gnavi li.has-child:active > ul,
  .gnavi li.has-child ul li:active > ul {
    visibility: visible;
    opacity: 1;
  }
  .mail-tel{
    display: flex;
    column-gap: 5px;
  }

  /* slick */
  .slick-dots {
    display: block;
    text-align:center;
    padding: 0;
    position: absolute;
    bottom: 0;
    left: 46%;
}

.slick-dots li{
    display:inline-block;
	margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    /* width:8px;ドットボタンのサイズ */
    height: 15px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#fff;/*ドットボタンの色*/
    border: 1px solid #B2C2C4;
    font-size: 1px;
}

.slick-dots .slick-active button{
    background:#00A63C;/*ドットボタンの現在地表示の色*/
}
  
  /* ヒーローエリア */
  .hero-area,
  .heroarea-wrap {
    position: relative;
    width: 1208px;
    margin: 11px auto 0;
  }
  
  .hero-area img.hero-img {
    width: 100%;
    height: auto;
  }
  
  .hero-area .mv-ttl{
    position: absolute;
    bottom: 0;
    left: 0;
  }
  .heroarea-wrap .mv-ttl {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 5;
    width: 500px;
    height: 290px;
    margin: 0;
  }
  
  /* セクション共通リンク */
  section a.page-link {
    position: relative;
    display: inline-flex;
    margin: 0 auto;
    font-family: var(--font-body);
    font-weight: 700;
    align-items: center;
    color: var(--color-text);
  }
  
  section a.page-link:hover {
    color: var(--color-main);
  }
  
  section a.page-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80%;
    height: 2px;
    background: var(--color-main);
    transform: scale(0, 1);
    transform-origin: left top;
    transition: all .5s;
  }
  
  /* recruit のみ幅が違うバリエーション */
  .recruit-bnr a.page-link::after {
    width: 42%;
  }
  
  section a.page-link:hover::after {
    transform: scale(1, 1);
  }
  
/* =====================================================
   New Footer
===================================================== */

.new-footer {
  background: #6D7B52; /* あなたのサイトカラー */
  color: #fff;
  padding: 48px 0 24px;
  font-family: var(--font-heading);
}

.footer-container {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
}

/* 左エリア */
.footer-left {
  flex: 1;
  min-width: 260px;
}

.footer-logo {
  width: 180px;
  margin-bottom: 16px;
}

.footer-info p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #fff;
}

.footer-info a {
  color: #fff;
  text-decoration: underline;
}

/* 右エリア：ナビゲーション */
.footer-right {
  flex: 1;
}

.footer-nav {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 12px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* 下ライン */
.footer-line {
  width: min(1100px, 92%);
  margin: 32px auto 12px;
  border-color: rgba(255, 255, 255, 0.3);
}

/* コピーライト */
.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ======================
   SP レイアウト
====================== */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .footer-logo {
    width: 45vw;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    font-size: 3.5vw;
  }
  .footer-nav a{
    font-size: 0.9rem;
  }
  .footer-info p {
    font-size: 3.5vw;
  }
}
