@charset "UTF-8";


/* html,body,div,ul,li,p{
  font-size:14px;
} */


/* フェード */

body {
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.loaded {
  opacity: 1;
}



/* --------------------
ヘッダー
-------------------- */

/* ===== PCレイアウト ===== */
/* レイアウト全体 */
body {
  margin: 0;
  padding:0;
}

#header{
  /* height:100px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ボタンデザイン */
.apply-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--primary);
  color: var(--white);
  font-weight: bold;
  text-decoration: none;
  padding: 36px 0;
  transition: opacity 0.5s ease;
}
.apply-btn:hover {
  opacity: 0.8;
}


/* メインコンテンツ */
.main-content {
  width:100%;
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  width: 28px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  z-index: 2001; /* メニューより前面 */
  transition: 0.3s ease;
}

.hamburger span {
  display: block;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* 開いているときの「×」変化 */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==== メイン コンテンツ ==== */





/* ==== 1000px以下のとき ==== */
@media (max-width: 1000px) {

  .hamburger {
    display: flex;
  }
}




/* ------------
footer
------------ */

/* ---------------- footer */



#footer {
  background: var(--gray3);
  padding: 60px 0 0;
}

#footer a {
  text-decoration: none;
}

/* 全体 */
#footer .inner {
  width: 100%;
}

/* 上段（下罫線ブロック） */
#footer .top-wrap {
  padding-bottom: 40px;
  margin-bottom: 30px;
  display: flex;
  align-items:flex-end;
  gap:90px;
}

/* ロゴ */
#footer .logo img {
  width: 240px;
  height: auto;
  display: block;
  margin-bottom: 24px;
}

/* メイン横並び */
#footer .main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width:100%;
  border-bottom: 1px solid var(--gray2);
  padding-bottom:30px;
}

/* ボタン */
#footer .btns {
  display: flex;
  gap: 16px;
  flex:1;
  text-align: center;
}

#footer .btns .ft-btn {
  display: inline-block;
  padding: 8px 28px;
  border: 1px solid #fff;
  background-color: var(--white);
  border-radius: 30px;
  font-size: var(--font-16);
  margin-top:0 !important;
  color:var(--black);
}

#footer .btns .ft-btn:hover {
  opacity: 0.8;
  background-color: none !important;
}


/* ナビ */
#footer .nav {
  display: flex;
  gap: 32px;
  justify-content: flex-end;
  flex-wrap: wrap;
  flex:1;
}

#footer .nav a {
  font-size: 14px;
  white-space: nowrap;
}

/* 下段 */
#footer .bottom {
  text-align: center;
  font-size: 12px;
  opacity: .7;
}

/* ---------------- SP */

@media (max-width: 1000px) {

  #footer {
    padding: 40px 0 20px;
  }

  #footer .top-wrap{
    flex-direction: column;
    align-items: center;
    gap:0;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  /* ロゴ中央 */
  #footer .logo img {
  width: 160px;
    margin: 0 auto 30px;
  }

  /* 縦並び */
  #footer .main {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  /* ボタン縦並び */
  #footer .btns {
    flex-direction: column;
  }

  #footer .btns .ft-btn {
    text-align: center;
  }

  /* ナビを2列グリッド */
  #footer .nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
    text-align: center;
  }

}

.gr{
background-color: #06C655 !important;
color:var(--white) !important;
}



/* -------- footer bottom */

#footer .bottom {
  padding: 20px 0;
}

#footer .bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* コピーライト */
#footer .copy {
  font-size: 12px;
  opacity: .7;
}

/* ナビ */
#footer .bottom-nav {
  display: flex;
  gap: 24px;
}

#footer .bottom-nav a {
  font-size: 12px;
  opacity: .7;
}

/* SP */
@media (max-width: 768px) {

  #footer .bottom-inner {
    flex-direction: column-reverse;  /* ← 逆順 */
    gap: 12px;
    text-align: center;
  }

  #footer .bottom-nav {
    justify-content: center;
  }
}



/* ---------------------------
news */


/* グリッド */
.section .wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap:24px;
  column-gap: var(--margin-l);
  margin-top: 32px;
  padding-left: var(--margin-l);
  padding-right: var(--margin-l);
}

@media (max-width: 1400px) {
  #section .wrap {
  padding-left: var(--margin-l);
  padding-right: var(--margin-l);
}
}



/* お知らせカード */
.section .news-item {
  display: block;
  padding: 20px;
  border-bottom: 1px solid var(--gray2);
  text-decoration: none;
  transition: background 0.3s ease;
}

/* #news .item:hover {
  background: #f5f5f5;
} */

/* 日付 */
.section .date {
  display: block;
  font-size: var(--font-12);
  color: var(--gray);
  margin-bottom: 8px;
}

/* 本文 */
.section .text {
  font-size: var(--font-16);
  color: var(--black2);
}

/* スマホは1列 */
@media (max-width: 768px) {

  .section .wrap {
    grid-template-columns: 1fr;
    gap:0px;
    padding:0;
    margin-top:0;
  }

  .section .news-item {
    padding:.5rem 0;

  }

  .section .date{
    margin:0; padding:0;
  }
}




  .arrow-svg {
    color: red;
    transition: transform 0.3s ease;
  }

  .arrow-svg:hover {
    transform: translateX(20px);
  }

  /* .logo {
width:clamp(40px,5vw,70px);
height:auto;
color: rgb(60, 60, 67); 
padding:10px 0;
} */

  .header-logo {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .header-logo img {
    width: clamp(40px,5vw,80px);
    height: auto;
    display: block;
  }



  /* -------------------------nav */

  header nav {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .nav-left,
  .nav-right {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-divider {
    color: #999;
  }
  

/* -------------------------------
New footer
------------------------------- */
  .footer {
    padding: 35px 20px;
    text-align: center;
    background: #f7f7f7;
  }

  .footer-logo {
    margin-bottom: 15px;
  }

  .footer-logo img {
    width: 120px;
    height: auto;
  }

  .footer-address {
    margin: 0 0 15px;
    font-size: 13px;
    line-height: 1.7;
    color: #666;
  }

  .copyright {
    margin: 0;
    font-size: 12px;
    color: #999;
  }

  /* 画像 */

  .img-box {
    margin-bottom: 25px;
    width: 100%;
  }

  .img-box img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
