@charset "utf-8";

header{
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 10px;
  position: fixed;
  width: 100%;
  z-index: 1;
}

.sp{
  display: none;
}

.logo{
  width: 200px;
}

header ul{
  list-style: none;
}

.header_menu{
  display: flex;
  background-color: #F9F8F5;
  align-items: center;
  padding: 5px 30px;
  gap: 20px;
  border-radius: 10px;
}

.header_menu ul{
  display: flex;
  padding-left: 0;
  gap: 20px;
}

.header_menu ul a{
  color: #000;
}

.header_menu_contact{
  color: #DB3834;
  background-color: #fff;
  padding: 10px 20px;
  border: solid 1px #DB3834;
  border-radius: 5px;
}

.header_menu_contact a{
  color: #DB3834;
}

header a{
  text-decoration: none;
}

/* ヘッダーがfixedなので、上のかぶりを防ぎたい場合は有効化 */
/* body { padding-top: clamp(60px, 10vw, 100px); } */

.fv{
  position: relative;
  height: 95vh;
  overflow: hidden;
}
.fv img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* まとめて配置するラッパー */
.fv-copy{
  position: absolute;
  left: 40%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* ここから各テキスト：absoluteはやめる */
.thema_text{
  font-family: "Nothing You Could Do", cursive;
  color: #fff;
  font-size: clamp(24px, 5vw, 50px);
  line-height: 1.1;
}

.thema_text{
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  width: 0ch;
  --chars: 25;
  animation: typing 2s steps(var(--chars)) forwards;
}
@keyframes typing{
  from{ width: 0ch; }
  to  { width: calc(var(--chars) * 1ch); }
}

/* 共通アニメーション */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 対象要素に付与するクラス */
.fade-up {
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
}




.thema_jp_text{
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 4vw, 40px);
  color: #DB3834;
  line-height: 1.15;
  margin-left: 20px;
}
.thema_text_content{
  font-family: "Noto Serif JP", serif;
  font-size: clamp(12px, 2vw, 20px);
  color: #fff;
  font-weight: lighter;
  line-height: 1.7;
  margin-left: 20px;
}

.main_bg{
  width: 100%;
  vertical-align: middle;
}

body{
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.main_content{
  position: relative;
  min-height: 200vw;
}

/* セクション全体 */
.news-hero{
  width: 100%;
  text-align: center;
  position: absolute;
  top: 5vw;
  left: 50%;
  transform: translateX(-50%) !important;
}

.box {
  opacity: 0;
  visibility: hidden;
  transition: all 1s ease-out;
  transform: translateY(150px);
}

.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.news-hero__inner{
  max-width: var(--maxw);
  margin: 0 auto;
}

/* タイトル */
.news-title{
  font-weight: bold;
  color: #DB3834;
  font-size: 4.5vw;
  margin-bottom: 0;
}
.news-sub{
  font-weight: bold;
  color: #DB3834;
  font-size: 1vw;
  line-height: 1vw;
  margin-top: 0.5vw;
}
.news-lead{
  font-size: 1vw;
  line-height: 1.6;
}

.news-item{
  background-color: #fff;
  width: 55vw;
  margin: 0 auto;
  padding: 1vw;
  border-radius: 1vw;
  margin-bottom: 1vw;
}

.news-hero > .news-hero__inner + .news-item {
  margin-top: 2vw;
}

.news_table{
  text-align: left;
}

.news-date{
  font-size: 1vw;
  vertical-align: text-top;
  padding-right: 1vw;
  margin-top: 0;
}

.news_box h3{
  margin-top: 0;
  text-align: left;
  font-size: 1.2vw;
  font-weight: 500;
}

.news_box{
  display: flex;
}

.news_text{
  font-size: 1vw;
  text-align: left;
}

.news_text a{
  color: #000;
}

.news_text a:visited{
  color: #000;
}

td{
  font-size: 1vw;
}

th{
  padding-bottom: 1vw;
  font-size: 1.2vw;
  font-weight: 500;
}

.news_more_btn a {
  position: relative;         /* 擬似要素の基準 */
  display: inline-block;
  color: #DB3834;
  text-decoration: none;
  padding: 1vw 2vw;
  background-color: #fff;
  border: solid 1px #DB3834;
  font-size: 1vw;
  border-radius: 1vw;
  overflow: hidden;           /* 擬似要素がはみ出さないようにする */
  transition: color 0.3s ease;
  z-index: 1;
}

.news_more_btn a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;                   /* 初期は非表示 */
  height: 100%;
  background-color: #D90A27;
  z-index: -1;                /* 背景として表示 */
  transition: width 0.3s ease;
}

.news_more_btn a:hover {
  color: #fff;                /* ホバー時に文字を白に */
}

.news_more_btn a:hover::before {
  width: 100%;                /* 横方向にシュッと拡大 */
}


.news_more_btn{
  margin-top: 1.5vw;
}

.service{
  position: absolute;
  top: 55vw;
  left: 54%;
  transform: translateX(-50%);
  width: 63vw;
}

.service_contentbox{
  display: flex;
  justify-content: space-between;
  gap: 2vw;
}

.service_contentbox img{
  width: 28vw;
}

.service-hero{
  margin-bottom: 4vw;
}

.service_h3{
  color: #DB3834;
  font-size: 1.4vw;
  margin-bottom: 2vw;
}

.service_text{
  font-size: 1vw;
  line-height: 1.6vw;
}

.btn-detail{
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  width: 20vw;
}

/* 右矢印 */
.btn-arrow{
  font-size: 1em;
}

/* Hover（任意） */
.btn-detail:hover{
  background: #C84B3A;
  color: #FFFFFF;
  transition: .25s;
}

.service2{
  position: absolute;
  top: 107vw;
  left: 45%;
  transform: translateX(-50%);
  width: 63vw;
}

.service2_box{
  display: flex;
  justify-content: space-between;
  gap: 2vw;
}

.service2_box img{
  width: 28vw;
}

.service_more_btn{
  margin-top: 2vw;
}

.awards{
  position: absolute;
  top: 133vw;
  left: 39%;
  transform: translateX(-50%);
}

.awards_imgbox{
  display: flex;
  gap: 2vw;
}

.awards-hero{
  margin-bottom: 2vw;
}

.awards_imgbox img{
  height: 10vw;
}

.press{
  position: absolute;
  top: 167vw;
  left: 50%;
  transform: translateX(-50%);
}

.press_listitem{
  padding: 1.5vw;
  background-color: #fff;
}

.press_listitem ul{
  list-style: none;
  display: flex;
  gap: 4vw;
  row-gap: 1vw;
  flex-wrap: wrap;
}

.press_listitem ul li{
  font-size: 1vw;
}

.contact{
  position: relative;
}

.contact img{
  width: 100%;
}

.contact_box{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.contact_box{
  text-align: center;
}

.contact_more_btn{
  margin-top: 1vw;
}

.contact-title{
  margin-top: 1vw;
}

.contact_more_btn a{
  width: 15vw;
}

.footer_box{
  display: flex;
  justify-content: space-around;
  padding: 1vw 0;
}

.footer_box ul{
  display: flex;
  list-style: none;
  gap: 2vw;
}

.footer_box ul li a{
  color: #000;
  text-decoration: none;
}

.icon_box{
  display: flex;
  justify-content: flex-end;
  gap: 1vw;
  margin-top: 1vw;
}

.icon_box img{
  width: 2vw;
}

.footer_logo img{
  width: 200px;
}

.footer_logo div{
  margin-bottom: 0.5vw;
}

small{
  color: #877B7B;
}

.page_top_btn{
  display: none !important;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .pc{
    display: none;
  }
  .sp{
    display: block;
  }
  .sp_menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
  }
  .sp_menu img{
    width: 170px;
    padding-left: 10px;
  }
  header{
    margin-top: 0;
  }
  .fv {
    padding-top: 60px;
  }
  /* 既存のボタン基本はそのまま。開閉で画像を入れ替え */
.spnav_btn {
  width: 60px;
  height: 60px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 32px 32px;
}

#spnav_btn_menu {
  float: right;
  background-color: #F9F8F5;
  background-image: url(../top2025_img/header_sp_menu.png);
}
#spnav_btn_menu.is-show {
  background-image: url(../top2025_img/header_sp_menu_close.png);
}

/* メニュー本体：位置・背景など（position:absolute のままでOK） */
.spmenu {
  z-index: 10000;
  position: absolute;
  top: 60px;   /* ハンバーガーの高さに合わせる */
  left: 0;
  display: none;
  width: 100%;
  background: #fff;
}

/* ====== ここからシンプル構成用の新規スタイル ====== */

.spmenu_inner {
  padding: 30px;
  height: 100vh;
}

.sp-simple {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}
.sp-simple li + li {
  margin-top: 40px; 
}
.sp-simple a {
  display: inline-block;
  text-decoration: none;
  color: #111;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.hmb_contact_more_btn{
  margin-top: 1vw;
}

.hmb_contact_more_btn a{
  width: 15vw;
}
/* 「お問い合わせはこちら」ボタン（ご指定のHTMLに寄せて横幅いっぱい） */
.hmb_contact_more_btn {
  margin: 28px 0 12px; /* 上に余白 */
}
.hmb_contact_more_btn .btn-detail {
  display: block;
  text-align: center;
  padding: 16px 20px;
  border-radius: 10px;
  border: 2px solid #C9493B; 
  margin: 0 auto;
  color: #C9493B;
  text-decoration: none;
  transition: opacity .2s ease;
}
.hmb_contact_more_btn .btn-detail:hover {
  opacity: .85;
}
.hmb_contact_more_btn .btn-detail .btn-arrow {
  margin-left: 10px;
}

/* 「メニューを閉じる」リンク（下端に配置） */
.spmenu_close {
  display: inline-block;
  margin-top: 18px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

/* ハンバーガーの開閉中に見た目変えるなら（任意） */
.spnav_btn.is-show {
  transition: transform .3s;
  /* transform: rotate(90deg);  必要なら回転させる */
}

/* ====== ここまで 新規スタイル ====== */

  .fv{ height: 80vh; }
  .fv-copy{
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
  }
  .thema_text{ 
    font-size: 8vw;
    /* transform: rotate(-4deg); */
  }
  
  .thema_jp_text{ font-size: clamp(18px, 6.5vw, 42px); }
  .thema_text_content{ 
    font-size: clamp(12px, 3.2vw, 18px); 
    width: 60vw;
    color: #000;
  }
  .news-hero{
    top: 13vw;
    left: 45%;
    text-align: left;
    width: auto;
  }
  .news-title{
    font-size: 10vw;
  }
  .news-sub{
    font-size: 3vw;
  }
  .news-lead{
    font-size: 3vw;
  }
  .news-item{
    width: 75vw;
    padding: 3vw 2vw;
    margin-bottom: 6vw;
  }

  .news_box{
    display: block;
  }
  .news-date{
    font-size: 2.5vw;
  }
  .news_box h3{
    font-size: 3vw;
  }
  .news_text{
    font-size: 3vw;
  }

  .news_more_btn {
    margin: 2vw auto 0;
}

  .news_more_btn a{
    font-size: 5vw;
  }

  .service_title_sp{
    position: absolute;
    top: 205vw;
    left: 20%;
    text-align: center;
  }

  .service{
    top: 255vw;
    left: 45%;
  }
  .service_contentbox{
    display: block;
  }

  .service_h3{
    font-size: 6vw;
  }

  .service_contentbox img {
    width: 70vw;
  }

  .service_text{
    font-size: 3vw;
    line-height: 5vw;
  }

  .service_more_btn{
    width: 100%;
  }

  .service_more_btn a{
    width: auto;
    padding: 3vw 2vw;
    font-size: 4vw;
  }

  .service2{
    top: 403vw;
    width: fit-content;
    left: 55%;
  }

  .service2_box img {
    width: 70vw;
  }

  .awards{
    top: 561vw;
    left: 39%;
  }
  .awards_imgbox img {
    height: 20vw;
  }
  .press{
    top: 650vw;
    width: 67vw;
    left: 54%;
  }
  .press_listitem ul{
    row-gap: 3vw;
    padding: 0;
  }
  .press_listitem ul li {
    font-size: 4vw;
    width: 45%;
  }
  .press_listitem{
    padding: 2.5vw 4vw;
  }

  .press-hero {
    text-align: right;
    margin-bottom: 10vw;
}
.contact_box{
  top: -39vw;
  left: 46%;
}

.contact_more_btn a{
  font-size: 4vw;
}


  .footer_box{
    display: block;
    padding: 10vw;
  }
  .footer_box ul{
    display: block;
    padding-left: 0;
  }
  .footer_box ul li{
    margin-bottom: 2.5vw;
  }
  .icon_box{
    justify-content: flex-start;
    gap: 3vw;
  }
  .icon_box img{
    width: 10vw;
  }
  small{
    margin-top: 5vw;
    text-align: center;
  }
}
