/* =================================
   CSS_001
================================= */

body{

  margin: 0;

  min-height: 100vh;

  position: relative;

  overflow-x: hidden;

  background-color: #f7f0e4;

  background-image:
    url("../images/paper.jpg");

  background-size: 900px;

  background-repeat: repeat;

  background-attachment: fixed;

  font-family:
  "Noto Sans JP",
  "Hiragino Sans",
  "Yu Gothic",
  "Meiryo",
  sans-serif;

}

/* =================================
   左固定帯 CSS_002
================================= */
/* ベージュ帯 */
.side-band{
  position: absolute;

  top: 0;
  left: 0;

  width: 60px;
  height: 100vh;

  background: #f7f0e4;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;

  z-index: 100;
}

/* 縦文字 */

.side-band p{
  writing-mode: vertical-rl;

  color: #160000;

  font-size: 14px;
  font-weight: 500;

  line-height: 1.8;
  letter-spacing: 0.1em;

  margin: 0;
}

/* ================================
   スマホ CSS_003
================================ */

@media(max-width:1100px){

  .side-band{
    width: 10%;

    justify-content: center;
    align-items: center;
  }

  .side-band p{
    font-size: 12px;

    line-height: 1.5;

    letter-spacing: 0.03em;

    position: relative;
    left: -1px;
  }

}

/* ================================
   11を回転 CSS_004
================================ */

.rotate-number{
  display: inline-block;

  transform: rotate(-90deg);

  font-size: 18px;
  font-weight: 700;

  margin: -4px 0;
}

/* =================================
   ヘッダー
================================= */

.header{
  position: absolute;

  top: -120px;
  left: 0;

  width: 100%;
  height: 100px;

  background: rgba(247, 240, 228, 0.7);

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 50px;

  z-index: 500;

  animation: headerSlide 2.0s ease forwards;
}

/* =================================
   ヘッダー出現
================================= */

@keyframes headerSlide{

  to{
    top: 0;
  }

}

/* =================================
   ロゴ
================================= */

.header-logo{
  height: 80%;

  transform:
    translateX(40px)
    translateY(-1px);
}

.header-logo img{
  height: 100%;
  width: auto;

  display: block;
}

/* =================================
   ロゴ スマホ
================================= */

@media(max-width:1100px){

  .header-logo{

    transform:
      translateX(-14px)
      translateY(-1px);

    height: 72%;
  }

}

/* =================================
   メニュー
================================= */

.header-nav{
  display: flex;
  gap: 20px;

  transform: translateX(-50px);
}

.header-nav a{
  background: #d9c7a7;

  color: #ffffff;

  font-size: 15px;
  font-weight: 700;

  text-decoration: none;

  padding: 12px 22px;

  border-radius: 999px;

  box-shadow: 0 4px 12px rgba(85, 83, 60, 0.5);

  transition: 0.3s;
}

/* マウスオン */

.header-nav a:hover{
  background: #e58b3e;
}

/* =================================
   スマホ時　ハンバーガー
================================= */

.hamburger{
  display: none;

  width: 60px;
  height: 60px;

  border-radius: 50%;

  background: #1d3557;

  position: absolute;

  box-shadow: 0 4px 12px rgba(0,0,0,0.5);

  top: 20px;
  right: 30px;

  z-index: 1000;

  cursor: pointer;
}

/* 線 */

.hamburger span{
  position: absolute;

  left: 50%;

  width: 26px;
  height: 2px;

  background: #ffffff;

  transform: translateX(-50%);

  transition: 0.3s;
}

/* 1本目 */

.hamburger span:nth-child(1){
  top: 20px;
}

/* 2本目 */

.hamburger span:nth-child(2){
  top: 29px;
}

/* 3本目 */

.hamburger span:nth-child(3){
  top: 38px;
}

@media(max-width:850px){

  /* PCメニュー非表示 */

  .header-nav{
    display: none;
  }

  /* ハンバーガー表示 */

  .hamburger{
    display: block;
  }

}

/* =================================
   オーバーレイ
================================= */

.menu-overlay{
  position: fixed;

  inset: 0;

  background: rgba(0,0,0,0.6);

  opacity: 0;
  visibility: hidden;

  transition: 0.4s;

  z-index: 900;
}

/* =================================
   スマホメニュー
================================= */

.sp-menu{
  position: fixed;

  top: 0;
  right: -50%;

  width: 50%;
  height: 100vh;

  background: rgba(247,240,228,0.8);

  z-index: 1000;

  transition: 0.4s;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 40px 20px;
}

/* メニュー */

.sp-menu nav{
  display: flex;
  flex-direction: column;

  gap: 30px;
}

/* リンク */

.sp-menu nav a{
  text-align: center;

  font-size: 18px;
  font-weight: 700;

  color: #1d3557;
}

/* 電話 */

.sp-tel{
  margin-top: 80px;

  text-align: center;
}

.sp-tel a{
  font-size: 22px;

  font-weight: 700;

  color: #1d3557;
}

/* =================================
   開いた状態
================================= */

.menu-open .menu-overlay{
  opacity: 1;
  visibility: visible;
}

.menu-open .sp-menu{
  right: 0;
}

/* =================================
   電話画像　左上の画像
================================= */

.hero-tel{
  position: absolute;

  top: 130px;
  left: 95px;

  z-index: 300;

  opacity: 0;

  animation: telFade 1.5s ease forwards;

  animation-delay: 0.4s;

  transition: 0.4s;
}

/* 画像 */

.hero-tel img{
  width: 400px;

  display: block;
}

/* hover */

.hero-tel:hover{
  filter: brightness(0.85);
}

/* =================================
   ふわっと表示
================================= */

@keyframes telFade{

  from{
    opacity: 0;

    transform: translateY(20px);
  }

  to{
    opacity: 1;

    transform: translateY(0);
  }

}

@media(max-width:800px){

  .hero-tel{
    top: 180px;

    left: 55%;

    width: 75%;

    margin-left: -37.5%;
  }

  .hero-tel img{
    width: 100%;

    height: auto;

    display: block;
  }

}

/* =================================
   ヒーロー画像
================================= */

.hero-image{

  width: 100%;

  height: 100svh;

  position: relative;

  overflow: hidden;

  z-index: 0;
}

/* =================================
   ヒーロー画像エフェクト 右に、拡大　スマホbg
================================= */

.hero-bg{
  position: absolute;

  inset: 0;

  background-image: url("../images/top_01_4k.jpg");

  background-size: cover;
  background-position: center;

  animation: heroZoom 10s ease forwards;

  animation-delay: 0.4s;

  animation-fill-mode: forwards;
}

/* ================================
   スマホ画像切替 CSS_006
================================ */

@media(max-width:1100px){

  .top-page .hero-bg{

    background-image:
      url("../images/top_01_4k_4.jpg");

    background-position: center top;

    animation:
      heroZoomSp 10s ease forwards;

    animation-delay: 0.4s;

    animation-fill-mode: forwards;
  }

}

/* =================================
   keyframes追加
================================= */

@keyframes heroZoom{

  from{
    transform: scale(1) translateX(0);
  }

  to{
    transform: scale(1.05) translateX(3%);
  }

}
/* =================================
   keyframes追加 スマホ
================================= */

@keyframes heroZoomSp{

  from{

    transform:
      translateY(-30px)
      scale(1.04);
  }

  to{

    transform:
      translateY(-50px)
      scale(1.1);
  }

}

/* =================================
   リード文章
================================= */

.lead-section{

  background: #f7f0e42d;

  padding: 120px 8%;

  position: relative;

  overflow: hidden;

  z-index: 5;
}

.lead-inner{
  max-width: none;

  margin: 0 auto;

  position: relative;

  z-index: 2;
}

.lead-top{

  color: #b07d52;

  font-size: 14px;

  letter-spacing: 0.15em;

  margin-bottom: 30px;
}

.lead-section h2{

  font-size: 42px;

  line-height: 1.7;

  color: #1d3557;

  margin-bottom: 40px;

  font-weight: 700;
}

.lead-text{

  font-size: 17px;

  line-height: 2.2;

  color: #444;
}

/* =================================
   リード文章  スマホ
================================= */
@media(max-width:1100px){

  .lead-section{

    padding: 80px 10%;
  }

  .lead-section h2{

    font-size: 28px;

    line-height: 1.6;
  }

  .lead-text{

    font-size: 15px;

    line-height: 2;
  }

}

/* =================================
   ヘッダー　メニュー順番点灯　2で2回転
================================= */
.header-nav a{

  animation-duration: 1.5s;

  animation-timing-function: ease-in-out;

  animation-iteration-count: 2;

}

/* =================================   ヘッダー　メニュー順番点灯   1個目   ================================= */
.nav-1{
  animation-name: navFlash;

  animation-delay: 1.0s;
}
/* =================================   ヘッダー　メニュー順番点灯   2個目   ================================= */
.nav-2{
  animation-name: navFlash;

  animation-delay: 1.4s;
}
/* =================================   ヘッダー　メニュー順番点灯   3個目   ================================= */
.nav-3{
  animation-name: navFlash;

  animation-delay: 1.9s;
}
/* =================================   ヘッダー　メニュー順番点灯   4個目   ================================= */
.nav-4{
  animation-name: navFlash;

  animation-delay: 2.3s;
}

/* =================================
   ヘッダー　メニュー　キーフレーム
================================= */
@keyframes navFlash{

  0%{
    background: #d9c7a7;
  }

  25%{
    background: #e58b3e;
  }

  50%{
    background: #d9c7a7;
  }

  100%{
    background: #d9c7a7;
  }

}

/* =================================
   ヒーロー下　リードセクション白カード
================================= */

.lead-card{

  width: 95%;

  margin: 0 auto;
  
  max-width: 1800px;

  background: rgba(255,255,255,0.8);

  border-radius: 30px;

  padding: 60px;

  display: flex;

  gap: 50px;

  align-items: center;

  backdrop-filter: blur(3px);

  box-shadow:
    0 10px 40px rgba(0,0,0,0.06);
}

.lead-content{
  flex: 0 0 35%;
}

.lead-image{
  flex: 1;
}

.lead-image img{

  width: 100%;

  display: block;

  border-radius: 24px;

  box-shadow:
    0 8px 30px rgba(0,0,0,0.55);
}

.lead-top{

  font-size: 22px;

  line-height: 2;

  color: #b07d52;

  margin-bottom: 30px;
}

.lead-section h2{

  font-size: 52px;

  line-height: 1.5;

  color: #1d3557;

  margin-bottom: 40px;
}


/* =================================
   ヒーロー下　リードセクション白カード　スマホ
================================= */
@media(max-width:900px){

  .lead-card{

    flex-direction: column;

    padding: 40px 25px;
  }

  .lead-content,
  .lead-image{

    width: 100%;
  }

  .lead-section h2{

    font-size: 34px;
  }

  .lead-top{

    font-size: 18px;
  }

  .lead-text{

    font-size: 15px;

    line-height: 2;
  }

}

/* =================================
   lead image スライドショー
================================= */

.lead-image{

  position: relative;

  flex: 1;

  aspect-ratio: 13 / 10;

  overflow: hidden;

  border-radius: 24px;

  box-shadow:
    0 8px 30px rgba(0,0,0,0.35);
}

.slide{

  position: absolute;

  inset: 0;

  background-size: cover;

  background-position: center;

  opacity: 0;

  animation: slideShow 24s infinite;
}

.slide1{
  background-image: url("../images/c006.jpg");
  animation-delay: 0s;
}

.slide2{
  background-image: url("../images/c007.jpg");
  animation-delay: 6s;
}

.slide3{
  background-image: url("../images/c008.jpg");
  animation-delay: 12s;
}

.slide4{
  background-image: url("../images/c009.jpg");
  animation-delay: 18s;
}

/* =================================
   lead image スライドショー スマホ
================================= */
@keyframes slideShow{

  0%{
    opacity: 0;
    transform: scale(1) translateX(0);
  }

  8%{
    opacity: 1;
  }

  25%{
    opacity: 1;
    transform: scale(1.05) translateX(-2%);
  }

  33%{
    opacity: 0;
  }

  100%{
    opacity: 0;
    transform: scale(1.08) translateX(-3%);
  }

}

/* =================================
   リード電話リンク
================================= */

.lead-tel{

  color: #1d3557;

  font-size: 26.5px;

  font-weight: 700;

  line-height: 1.8;

  display: inline-block;

  transition: 0.3s;
}

/* hover */

.lead-tel:hover{

  color: #e58b3e;
}

/* =================================
   サービス背景 和紙
================================= */

.service-grid{

  position: relative;

  z-index: 2;
}

.service-section{

  position: relative;

  background: #f7f0e42d;

  padding: 120px 0;

  overflow: hidden;
}

/* =================================
   各種　サービスカード
================================= */

.service-grid{

  width: 80%;

  max-width: 1800px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 40px;
}

.service-card{

  background: rgba(255,255,255,0.8);

  border-radius: 30px;

  overflow: hidden;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.06);

  backdrop-filter: blur(3px);

    transition:
    transform 0.5s ease,
    box-shadow 0.5s ease,
    opacity 0.3s ease;
}

.service-card:hover{

  transform:
    translateY(-8px)
    scale(1.03);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.12);
}

.service-image{

  overflow: hidden;
}

.service-image img{

  width: 100%;

  height: 320px;

  object-fit: cover;

  display: block;
}

.service-body{

  padding: 35px;
}

.service-en{

  color: #ebeff3;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 0.18em;

  margin: 0;
}

.service-body h3{

  font-size: 30px;

  color: #1d3557;

  margin: 0;
}

.service-body p{

  line-height: 2;

  color: #444;
}

.service-card:active{

  transform:
    scale(0.98);
}

/* =================================
   各種　サービスカード　スマホ
================================= */
@media(max-width:900px){

  .service-grid{

    grid-template-columns: 1fr;
  }

  .service-image img{

    height: 240px;
  }

  .service-body h3{

    font-size: 28px;
  }

}

/* =================================
   スクロール出現
================================= */

.fade-up{

  opacity: 0;

  transform: translateY(60px);

  transition:
    opacity 1.0s ease,
    transform 1.0s ease;
}

/* 表示後 */

.fade-up.show{

  opacity: 1;

  transform: translateY(0);
}

/* =================================
   サービスタイトル帯　カード内の横帯
================================= */

.service-title{

  display: flex;

  align-items: center;

  gap: 18px;

  width: 100%;

  background: #5d94d3;

  padding: 5px 35px;

  margin: 0;

  backdrop-filter: blur(2px);

  border-radius: 0 50px 0 50px;
}

/* =================================
   フローティングメニュー
================================= */

.floating-menu{

  position: fixed;

  top: 50%;
  right: -100px;

  transform: translateY(-50%);

  z-index: 800;

  display: flex;
  flex-direction: column;

  gap: 15px;

  transition: 1s ease;
}

/* 表示時 */

.floating-menu.show{

  right: 20px;
}

/* =================================
   横から出てくる　タブ 3
================================= */

.floating-tab{

  display: block;

  filter:
    brightness(1)
    drop-shadow(0 6px 16px rgba(0,0,0,0.35));

  transition:
    filter 0.8s ease,
    transform 0.5s ease,
    opacity 0.5s ease;

  opacity: 0;

  transform:
    translateX(30px);
}

/* 画像 */

.floating-tab img{

  width: 37px;

  height: auto;

  display: block;
}

/* hover */

.floating-tab:hover{

  filter:
    brightness(1.12)
    drop-shadow(0 8px 18px rgba(0,0,0,0.35));

  transform: translateX(-4px);
}

.floating-menu.show .floating-tab{

  opacity: 1;

  transform:
    translateX(0);
}

/* 1個目 時間差*/

.floating-menu.show
.floating-tab:nth-child(1){

  transition-delay: 0.1s;
}

/* 2個目 時間差*/

.floating-menu.show
.floating-tab:nth-child(2){

  transition-delay: 0.6s;
}

/* =================================
   TOPへ戻るボタン
================================= */

.totop-btn{

  position: fixed;

  right: 26px;
  bottom: 26px;

  z-index: 950;

  opacity: 0;

  pointer-events: none;

  transform:
    translateY(20px);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;

  transition-delay: 0.8s;

}

/* 表示 */

.totop-btn.show{

  opacity: 1;

  pointer-events: auto;

  transform:
    translateY(0);
}

/* 画像 */

.totop-btn img{

  width: 80px;
  height: 80px;

  display: block;

  filter:
    drop-shadow(0 5px 14px rgba(0,0,0,0.28));
}

/* hover */

.totop-btn:hover{

  animation:
    totopBounce 0.7s ease infinite;
}

/* =================================
   TOPへ戻るボタン　ぴょんぴょん
================================= */

@keyframes totopBounce{

  0%{
    transform: translateY(0);
  }

  30%{
    transform: translateY(-8px);
  }

  50%{
    transform: translateY(0);
  }

  70%{
    transform: translateY(-4px);
  }

  100%{
    transform: translateY(0);
  }

}

/* =================================
   フッター
================================= */

.footer{

  width: 100%;

  background:
    rgba(80,80,80,0.2);

  backdrop-filter: blur(6px);

  padding:
    20px 0 30px;

  position: relative;

  overflow: hidden;
}

/* 内側 */

.footer-inner{

  width: 90%;

  max-width: 1600px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    1fr 1.2fr 1fr;

  gap: 60px;
}

/* カラム */

.footer-column h3{

  font-size: 24px;

  color: #1d3557;

  margin-bottom: 10px;
}

/* リンク */

.footer-nav{

  display: flex;

  flex-direction: column;

  gap: 4px;
}

.footer-nav a{

  font-size: 18px;

  color: #333;

  transition: 0.4s;
}

/* 左のカラムのメニュー　太文字 */

.footer-main{

  font-weight: 700;
}

/* hover */

.footer-nav a:hover{

  color: #e58b3e;

  letter-spacing: 0.08em;
}

/* 住所 */

.footer-address{

  line-height: 2;

  margin-bottom: 10px;

  color: #333;
}

/* map　-------------------------------------------消してよい----------------------------------------------- */

.footer-map{

  width: 80%;

  max-width: 420px;

  margin:
    0 auto 20px;

  border-radius: 20px;

  overflow: hidden;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.12);
}

.footer-map iframe{

  width: 100%;

  height: 200px;

  display: block;
}
/* map　-------------------------------------------消してよい　　ここまで　----------------------------------- */

/* 右カラム */

.footer-column p{

  line-height: 2;

  color: #333;
}

/* コピー */

.footer-copy{

  text-align: center;

  margin-top: 20px;

  font-size: 15px;

  color: #666;

  letter-spacing: 0.08em;
}

/* =================================
   フッター右画像
================================= */

.footer-right{

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 10px;

  margin-top: 40px;
}

/* 各画像 */

.footer-banner{

  width: 100%;

  text-align: center;

  overflow: hidden;

  border-radius: 14px;
}

/* 画像 */

.footer-banner img{

  width: 100%;

  max-width: 462px;

  height: auto;

  display: block;

  margin: 0 auto;

  border-radius: 14px;

  box-shadow:
    0 6px 20px rgba(0,0,0,0.10);

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

/* hover */

.footer-banner a:hover img{

  transform: translateY(-4px);

  filter: brightness(1.08);
}

/* =================================
   フッター　スマホ
================================= */

@media(max-width:900px){

  .footer-inner{

    grid-template-columns: 1fr;

    gap: 70px;
  }

  .footer{

    padding:
      70px 0 30px;
  }

  .footer-column{

    text-align: center;
  }

}

/* =================================
   フッターロゴ
================================= */

.footer-center{

  text-align: center;

  padding-top: 90px;
}

/* ロゴリンク */

.footer-logo{

  display: inline-block;

  margin-bottom: -30px;

  transition:
    filter 0.6s ease,
    transform 0.4s ease;
}

/* ロゴ画像 */

.footer-logo img{

  width: 170px;

  height: auto;

  display: block;
}

/* hover */

.footer-logo:hover{

  filter: brightness(1.12);

  transform: translateY(-2px);
}

/* 住所 */

.footer-address{

  font-size: 21px;

  text-align: center;

  line-height: 2;

  margin-bottom: 12px;

  margin-top: 30px;

  color: #333;
}

.footer-address .zip{

  display: inline-block;

  margin-right: 14px;
}

/* =================================
   下層各ページトップイメージ
================================= */

.sub-page .hero-bg{

  background-size: contain;

  background-repeat: no-repeat;

  background-position: center top;

  animation: none;
}

/* =================================
   service
================================= */

.service-page .hero-bg{

  background-image:
    url("../images/page_top_01.png");
}

/* =================================
   price
================================= */

.price-page .hero-bg{

  background-image:
    url("../images/page_top_02.png");
}

/* =================================
   works
================================= */

.works-page .hero-bg{

  background-image:
    url("../images/page_top_03.png");
}

/* =================================
   csr
================================= */

.csr-page .hero-bg{

  background-image:
    url("../images/page_top_04.png");
}

/* =================================
   privacy
================================= */

.privacy-page .hero-bg{

  background-image:
    url("../images/page_top_05.png");
}

/* =================================
   今いるページの色を変える
================================= */

.header-nav a.current{

  background: #e58b3e;

  color: #fff;
}

/* =================================
   ヘッダーロゴ　ホバー
================================= */

.header-logo a{

  display: block;

  height: 100%;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

/* hover */

.header-logo a:hover{

  transform: translateY(-2px);

  filter: brightness(1.08);
}

/* =================================
   各ページ スマホ画像位置
================================= */

@media(max-width:1100px){

  .service-page .hero-bg,
  .price-page .hero-bg,
  .works-page .hero-bg,
  .csr-page .hero-bg,
  .privacy-page .hero-bg{

    transform: translateY(100px);
  }

}

/* =================================
   下層ページタイトル
================================= */

.page-title{

  position: absolute;

  top: 28%;

  left: 6%;

  z-index: 5;

  pointer-events: none;
}

.page-title h1{

  font-size: 72px;

  font-weight: 700;

  color: #117ca7;

  letter-spacing: 0.12em;

  text-shadow:
    0 4px 20px rgba(0,0,0,0.35);
}

/* =================================
   service等各ページ タイトル スマホ
================================= */

@media(max-width:1100px){

   .page-title{

    top: 22%; /* 小さくすると上に動かす 大きくすると下に動く */

    left: 9%; /* 大きくすると右に動かす */

    transform: translateY(-50%);
  }

  .page-title h1{

    font-size: 38px;
  }

}

/* =================================
   下層ページ 冒頭　コピー　共通
================================= */

.sub-page .page-copy{

  position: absolute;

  top: 150px;

  right: 6%;

  width: 480px;   /* ←追加7/14 */

  z-index: 10;
}

.sub-page .page-copy p{

  font-size: 22px;

  line-height: 2;

  color: #2b0505;

  text-shadow:
    0 2px 12px rgba(0,0,0,0.35);

  letter-spacing: 0.08em;

  text-align: justify;

  text-justify: inter-ideograph;
}

/* =================================
   下層ページ コピー スマホ
================================= */

@media(max-width:1100px){

  .sub-page .page-copy{

    position: absolute;

    left: auto;
    right: auto;
    top: auto;

    width: auto;   /* ←追加7/14 */

    transform: none;

    padding:
      200px 50px 0; /* 上  左右  下 でコピー移動 */

    text-align: left;
  }

  .sub-page .page-copy p{

    font-size: 18px;

    line-height: 2;

    color: #333;

    text-shadow: none;
  }

}

/* =================================
   下層各ページ 小タイトル
================================= */

.page-subtitle{

  position: relative;

  top: -300px;

  z-index: 10;

  text-align: center;

  padding-bottom: 20px;
}

.page-subtitle h2{

  font-size: 42px;

  font-weight: 700;

  color: #1d3557;

  letter-spacing: 0.08em;
}

/* =================================
   下層各ページ 小タイトル　スマホ
================================= */

@media(max-width:1100px){

  .page-subtitle{

    top: -200px;
  }

  .page-subtitle h2{

    font-size: 28px;

    line-height: 1.6;
  }

}

/* =================================
   横スライドカード
================================= */

.k-slider-card{

  width: 90%;

  max-width: 1450px;

  margin: -280px auto 120px;

  padding: 50px 0;

  background:
    rgba(255,255,255,0.82);

  backdrop-filter: blur(8px);

  border-radius: 40px;

  box-shadow:
    0 12px 40px rgba(0,0,0,0.10);

  overflow: hidden;

  position: relative;
}

/* =================================
   スライダー枠
================================= */

.k-slider-wrap{

  overflow: hidden;

  position: relative;
}

.k-slider-wrap::before,
.k-slider-wrap::after{

  content: "";

  position: absolute;

  top: 0;

  width: 140px;

  height: 100%;

  z-index: 3;

  pointer-events: none;
}

/* 左 */

.k-slider-wrap::before{

  left: 0;

  background:
    linear-gradient(
      to right,
      rgba(255,255,255,1),
      rgba(255,255,255,0)
    );
}

/* 右 */

.k-slider-wrap::after{

  right: 0;

  background:
    linear-gradient(
      to left,
      rgba(255,255,255,1),
      rgba(255,255,255,0)
    );
}

/* =================================
   スライダー本体
================================= */

.k-slider{

  display: flex;

  gap: 30px;

  width: max-content;

  animation:
    kSlide 40s linear infinite;
}

/* =================================
   スライダー画像
================================= */

.k-slider img{

  width: 268px;

  height: 300px;

  object-fit: cover;

  border-radius: 18px;

  flex-shrink: 0;

  box-shadow:
    0 6px 20px rgba(0,0,0,0.08);
}

@keyframes kSlide{

  from{

    transform: translateX(0);
  }

  to{

    transform: translateX(-50%);
  }

}

/* =================================
   スライダー　スマホ
================================= */

@media(max-width:1100px){

  .k-slider-card{

    width: 92%;

    margin: -235px auto 80px;

    padding: 30px 0;

    border-radius: 28px;
  }

  .k-slider{

    gap: 16px;
  }

  .k-slider img{

    width: 178px;

    height: 245px;

    border-radius: 14px;
  }

}

/* =================================
   サービスメッセージ
================================= */

.service-message{

  text-align: center;

  margin-top: -100px;

  padding-bottom: 120px;
}

/* 大タイトル */

.service-message h2{

  font-size: 42px;

  font-weight: 700;

  color: #1d3557;

  letter-spacing: 0.08em;

  margin-bottom: 30px;
}

/* 説明文 */

.service-message p{

  font-size: 24px;

  line-height: 2;

  color: #333;

  letter-spacing: 0.06em;
}

/* =================================
   サービスメッセージ スマホ
================================= */

@media(max-width:1100px){

  .service-message{

    margin-top: -50px;

    padding:
      0 20px 80px;
  }

  .service-message h2{

    font-size: 28px;

    line-height: 1.5;

    margin-bottom: 20px;
  }

  .service-message p{

    font-size: 18px;

    line-height: 1.9;
  }

}

/* =================================
   下層ページ サービスページのリード
================================= */

.service-lead{

  margin-top: -120px;
}

/* =================================
   設備カード
================================= */

.equipment-card{

  padding:
    80px 80px 100px;
}

/* タイトル */

.lead-card .equipment-title{

  position: relative;

  top: -60px;

  text-align: center;

  font-size: 42px;

  font-weight: 700;

  color: #1d3557;

  letter-spacing: 0.08em;

  margin-bottom: -20px;
}

/* 3カラム */

.equipment-grid{

  display: grid;

  grid-template-columns:
    repeat(3,1fr);

  gap: 50px;
}

/* 各カラム */

.equipment-item{

  text-align: center;
}

/* 画像 */

.equipment-item img{

  width: 100%;

  border-radius: 24px;

  display: block;

  margin-bottom: 60px;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.08);
}

/* 説明文 */

.equipment-item p{

  margin-top: 10px;

  font-size: 22px;

  line-height: 1.8;

  color: #333;

  letter-spacing: 0.06em;
}

/* =================================
   設備カード スマホ
================================= */

@media(max-width:1100px){

  .equipment-card{

    padding:
      50px 25px 80px;
  }

  .equipment-title{

    top: -10px;

    font-size: 30px;

    line-height: 1.6;

    margin-bottom: 40px;
  }

  .equipment-grid{

    grid-template-columns: 1fr;

    gap: 60px;
  }

  .equipment-item img{

    border-radius: 18px;
  }

  .equipment-item p{

    font-size: 18px;

    line-height: 1.8;
  }

}

/* =================================
   各設備　部分　画像 hover
================================= */

.equipment-image img{

  cursor: pointer;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

/* hover */

.equipment-image:hover img{

  transform: translateY(-6px);

  filter: brightness(1.06);
}

/* =================================
   モーダル
================================= */

.modal-overlay{

  position: fixed;

  inset: 0;

  background:
    rgba(40,40,40,0.78);

  backdrop-filter: blur(6px);

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 0;

  visibility: hidden;

  transition: 0.4s;

  z-index: 9999;
}

/* 開いた時 */

.modal-overlay.active{

  opacity: 1;

  visibility: visible;
}

/* モーダル　ウインドウ */

.modal-window{

  width: 90%;

  max-width: 820px;

  background:
    rgba(255,255,255,0.95);

  border-radius: 36px;

  padding: 60px;

  position: relative;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.25);

  transform:
    translateY(30px);

  transition: 0.4s;
}

/* 開いた時 */

.modal-overlay.active .modal-window{

  transform:
    translateY(0);
}

/* モーダル　画像 */

.modal-image{

  width: 100%;

  border-radius: 24px;

  margin-bottom: 30px;
}

/* モーダル　説明文 */

.modal-text{

  font-size: 22px;

  line-height: 2;

  color: #333;
}

/* =================================
   モーダル　閉じるボタン
================================= */

.modal-close{

  position: absolute;

  top: 24px;

  right: 24px;

  width: 56px;

  height: 56px;

  border: none;

  border-radius: 50%;

  background: #f2f2f2;

  font-size: 32px;

  cursor: pointer;

  transition:
    transform 0.6s ease,
    background 0.4s ease,
    color 0.4s ease;
}

/* =================================
   hover
================================= */

.modal-close:hover{

  transform: rotate(360deg);

  background: #e58b3e;

  color: #fff;
}

/* =================================
   モーダルウインドウ　スマホ
================================= */

@media(max-width:1100px){

  .modal-window{

    padding: 30px;
  }

  .modal-text{

    font-size: 18px;

    line-height: 1.9;
  }

  .modal-close{

    width: 46px;

    height: 46px;

    font-size: 26px;
  }

}

/* =================================
   トップページ　左帯 hover
================================= */

.side-band p{

  cursor: pointer;

  transition:
    color 0.4s ease,
    transform 0.4s ease;
}

/* hover */

.side-band p:hover{

  color: #e58b3e;

  transform: translateY(-3px);
}

/* =================================
   モーダル署名　右揃え
================================= */

.modal-sign{

  display: block;

  text-align: right;

  margin-top: 20px;

  line-height: 1.8;
}

/* ===================================================================================================
    料金ページ　料金カード
=================================================================================================== */

.price-card-section{

  max-width: 1200px;

  margin: -380px auto 0;

  z-index: 10;

  padding: 80px 20px;
}

.price-card{

  background: #fff;

  border-radius: 40px;

  padding: 60px;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.08);
}

/* タイトル */

.price-card-title{

  text-align: center;

  font-size: 42px;

  color: #1d3557;

  margin-bottom: 50px;
}

/* カラム */

.price-columns{

  display: flex;

  gap: 40px;
}

.price-column{

  flex: 1;
}

.price-column h3{

  text-align: center;

  font-size: 28px;

  color: #e58b3e;

  margin-bottom: 20px;
}

/* ===================================================================================================
    料金ページ　料金　表
=================================================================================================== */
.price-highlight th,
.price-highlight td{

  background: #fff4e8;

  color: #d96a00;

  font-weight: 700;
}

.price-table{

  width: 100%;

  border-collapse: collapse;
}

.price-table th,
.price-table td{

  border: 1px solid #ddd;

  padding: 18px;

  font-size: 18px;
}

.price-table th{

  width: 60%;

  background: #f8f5ef;

  text-align: left;
}

.price-table td{

  text-align: right;

  font-weight: 700;
}

/* =================================
    料金ページ　料金　スマホ
================================= */
@media(max-width:1100px){

  .price-card{

    padding: 40px 20px;

    margin-top:60px;
  }

  .price-columns{

    flex-direction: column;
  }

  .price-card-title{

    font-size: 32px;
  }

  .price-column h3{

    font-size: 24px;
  }

  .price-table th,
  .price-table td{

    font-size: 16px;
  }

}

/* =================================
   料金注記
================================= */

.price-note{

  margin-top: 12px;

  font-size: 14px;

  line-height: 1.8;

  color: #666;

  text-align: left;
}

/* =================================
   各種割引
================================= */

.discount-area{

  margin-top: 50px;
}

.discount-title{

  text-align: center;

  font-size: 32px;

  color: #1d3557;

  margin-bottom: 30px;
}

.discount-columns{

  display: flex;

  gap: 30px;
}

.discount-item{

  flex: 1;

  background: #f8f5ef;

  border-radius: 20px;

  padding: 20px;

  text-align: center;

  font-size: 20px;

  font-weight: 700;

  color: #1d3557;

  box-shadow:
    0 4px 12px rgba(0,0,0,0.06);
}


/* =================================
   各種割引　スマホホ
================================= */
@media(max-width:1100px){

  .discount-columns{

    flex-direction: column;
  }

  .discount-title{

    font-size: 26px;
  }

  .discount-item{

    font-size: 18px;
  }

}

/* =================================
   オプション料金画像
================================= */

.option-image img{

  width: 100%;

  max-width: 900px;

  display: block;

  margin: 0 auto;

  height: auto;

  border-radius: 24px;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.12);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.option-image img:hover{

  transform: translateY(-5px);

  box-shadow:
    0 15px 35px rgba(0,0,0,0.18);
}

/* =================================
   クレジットカード利用可能
================================= */

.credit-section{

  margin-top: 60px;
}

.credit-card{

  display: flex;

  gap: 40px;

  align-items: center;

  background: #fff;

  border-radius: 30px;

  padding: 30px;

  box-shadow:
    0 8px 24px rgba(0,0,0,0.08);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* hover */

.credit-card:hover{

  transform: translateY(-8px);

  box-shadow:
    0 18px 50px rgba(0,0,0,0.12);
}

.credit-image{

  flex: 0 0 320px;
}

.credit-image img{

  width: 100%;

  height: auto;

  display: block;

  border-radius: 20px;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.credit-card:hover .credit-image img{

  filter: brightness(1.04);

    transform: scale(1.02);
}

.credit-text{

  flex: 1;
}

.credit-text p{

  font-size: 18px;

  line-height: 2;

  color: #444;
}

/* =================================
   クレジットカード利用可能　スマホ
================================= */
@media(max-width:1100px){

  .credit-card{

    flex-direction: column;

    text-align: center;
  }

  .credit-image{

    flex: none;

    width: 100%;

    max-width: 400px;
  }

  .credit-text p{

    font-size: 16px;

    line-height: 1.9;
  }

}

/* =================================
   料金　ケース紹介
================================= */

.case-section{

  margin-top: 100px;
}

.case-title{

  text-align: center;

  font-size: 42px;

  color: #1d3557;

  margin-bottom: 50px;
}

/* カード */
.case-card{

  background: #fff;

  border-radius: 40px;

  padding: 40px;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.08);

  display: flex;

  gap: 50px;

  align-items: flex-start;
}

/* 画像 */
.case-image{

  flex: 0 0 550px;

  position: relative;

  top: 0px;
}

.case-image img{

  width: 100%;

  border-radius: 24px;

  display: block;
}

/* 右側 */
.case-text{

  flex: 1;
}

.case-text h3{

  font-size: 28px;

  margin-top: 0;

  margin-bottom: 25px;
}

.case-orange{

  color: #f18221;
}

.case-blue{

  color: #0e11ad;
}

.case-green{

  color: #0c490b;
}

.case-red{

  color: #c94c4c;
}

.case-text p{

  font-size: 18px;

  line-height: 1.6;
}

/* 料金部分 */
.case-price{

  margin: 30px 0;
}

.case-price h4{

  font-size: 24px;

  color: #1d3557;

  margin-bottom: 15px;
}

.case-price ul{

  list-style: none;

  padding: 0;

  margin: 0;
}

.case-price li{

  padding: 2px 0;

  font-size: 18px;

  line-height: 1.4;
}

.case-small{

  font-size: 12px;
}

/* 合計金額 */
.case-total{

  font-size: 24px;

  font-weight: 700;

  color: #d9534f;

  margin-top: 15px;
}

/* スマホ */
@media(max-width:1100px){

  .case-card{

    flex-direction: column;
  }

  .case-image{

    flex: none;

    width: 100%;
  }

  .case-title{

    font-size: 32px;
  }

  .case-text h3{

    font-size: 24px;
  }

}

/* =================================
   料金　ケース紹介へのリンク
================================= */
.case-link{

  color: #e58b3e;

  font-weight: 700;

  text-decoration: underline;

  transition: 0.3s;
}

.case-link:hover{

  color: #1d3557;
}

#case-price{

  scroll-margin-top: 200px;
}

/* ====================================================================================================================================
   料金の下　電話予約カード
==================================================================================================================================== */
.tel-inside{

  margin-top: 80px;

  text-align: center;
}
.tel-inside img{

  width: 900px;

  max-width: 100%;

  height: auto;

  border-radius: 20px;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.tel-inside img:hover{

  transform: translateY(-6px);

  filter: brightness(1.05);
}

/* ====================================================================================================================================
   料金ケースの下　電話予約カード
==================================================================================================================================== */

.tel-card-section{

  max-width: 1200px;

  margin: 60px auto 150px;  /* hovermargin: 上 左右 下;  */

  padding: 0 20px;
}

.tel-card{

  background: #fff;

  border-radius: 40px;

  padding: 40px;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.08);

  text-align: center;
}

/* 画像 */

.tel-image-link{

  display: inline-block;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.tel-image-link img{

  max-width: 100%;

  width: 300px;

  height: auto;

  display: block;

  margin: 0 auto;

  border-radius: 20px;
}

/* hover */

.tel-image-link:hover{

  transform: translateY(-6px);

  filter: brightness(1.05);
}


/* ====================================================================================================================================
   料金ケースの下　電話予約カード　　　　スマホ
==================================================================================================================================== */
@media(max-width:1100px){

  .tel-card{

    padding: 20px;
  }

  .tel-image-link img{

    width: 100%;
  }

}

/* ====================================================================================================================================
   プライバシーポリシー
==================================================================================================================================== */

.privacy-section{

  max-width: 1200px;

  margin: -380px auto 0;

  padding: 80px 20px;
}

.privacy-card{

  background: #fff;

  border-radius: 40px;

  padding: 80px 0;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.08);
}

.privacy-inner{

  width: 80%;

  margin: 0 auto;
}

.privacy-inner h2{

  text-align: center;

  font-size: 42px;

  color: #1d3557;

  margin-bottom: 60px;
}

.privacy-inner h3{

  font-size: 24px;

  color: #117ca7;

  margin-top: 50px;

  margin-bottom: 20px;
}

.privacy-inner p{

  line-height: 2.2;

  color: #444;
}

.privacy-inner ul{

  padding-left: 1.5em;

  line-height: 2;
}

.privacy-warning{

  color: #c94c4c;

  font-weight: 700;
}

.privacy-contact{

  margin-top: 40px;

  padding: 30px;

  background: #f8f8f8;

  border-radius: 20px;
}


/* ====================================================================================================================================
   プライバシーポリシー　　　　　スマホ
==================================================================================================================================== */
@media(max-width:1100px){

  /* プライバシーポリシーカード全体を下げる */

  .privacy-section{

    margin: -303px auto 0;   /* 数値で調整 */
  }

  .privacy-inner{

    width: 90%;
  }

  .privacy-inner h2{

    font-size: 32px;
  }

  .privacy-inner h3{

    font-size: 20px;
  }

}

/* ====================================================================================================================================
   トップページ　　介護福祉士セクション
==================================================================================================================================== */

.care-worker-section{

  max-width: 1200px;

  margin: 80px auto;

  padding: 0 20px;
}

.care-worker-card{

  background: #fff;

  border-radius: 40px;

  padding: 70px 8%;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.08);
}

/* タイトル */

.care-worker-title{

  text-align: center;

  font-size: 42px;

  font-weight: 700;

  color: #1d3557;

  margin-bottom: 50px;
}

/* 本文 */

.care-worker-text{

  max-width: 900px;

  margin: 0 auto;
}

.care-worker-text p{

  font-size: 17px;

  line-height: 2.4;

  color: #444;

  margin-bottom: 28px;
}

/* ====================================================================================================================================
   トップページ　　介護福祉士セクション　　　スマホ
==================================================================================================================================== */
@media(max-width:1100px){

  .care-worker-card{

    padding: 50px 30px;
  }

  .care-worker-title{

    font-size: 28px;

    line-height: 1.6;
  }

  .care-worker-text p{

    font-size: 16px;

    line-height: 2.1;
  }

}

/* ====================================================================================================================================
   トップページ　　介護福祉士セクション　　　画像
==================================================================================================================================== */

.care-worker-image{

  text-align: center;

  margin-top: -50px;

  margin-bottom: 20px;
}

.care-worker-image img{

  width: 400px;

  max-width: 100%;

  height: auto;

  display: block;

  margin: 0 auto;

  border-radius: 20px;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

/* hover */

.care-worker-image img:hover{

  transform: scale(1.25);

  filter: brightness(1.15);
}


/* ====================================================================================================================================
   実績紹介 CSS（大カード）  6/8-2
==================================================================================================================================== */

.works-card-section{

  max-width: 1600px;

  margin: -380px auto 0;

  z-index: 10;

  padding: 80px 20px;
}

.works-card-wrap{

  background: #fff;

  border-radius: 40px;

  padding: 100px 60px 100px 60px;  /* 上100px 右60px 下100px 左60px */

  box-shadow:
    0 10px 40px rgba(0,0,0,0.08);
}

/* ====================================================================================================================================
   実績紹介 CSS（3カラム）  6/8-3
==================================================================================================================================== */
.works-card-wrap{

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.work-card{

  flex: 1;

  background: #fafafa;

  border-radius: 30px;

  padding: 25px;

  cursor: pointer;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.work-card:hover{

  transform: translateY(-8px);

  box-shadow:
    0 12px 30px rgba(0,0,0,0.12);
}


/* ====================================================================================================================================
   実績紹介 ④ 画像  6/8-4
==================================================================================================================================== */
.work-card img{

  width: 100%;

  border-radius: 20px;

  display: block;

  margin-bottom: 20px;
}

/* ====================================================================================================================================
   実績紹介 ④ タイトル  6/8-5
==================================================================================================================================== */
.work-card h3{

  font-size: 24px;

  color: #1d3557;

  margin-bottom: 15px;
}

/* ====================================================================================================================================
   実績紹介 説明文  6/8-6
==================================================================================================================================== */
.work-card p{

  line-height: 1.8;

  color: #555;
}

/* ====================================================================================================================================
   実績紹介 スマホ  6/8-7
==================================================================================================================================== */
@media(max-width:1100px){

  .works-card-section{

    margin: -300px auto 0;   /* 数値で上下位置を調整-300より-220のほうが下に */
  }

  .works-card-wrap{

    grid-template-columns: 1fr;

    padding: 40px 20px;
  }

}


/* =================================
   実績紹介 モーダル 6/8-2-1
================================= */

.works-modal-overlay{

  position: fixed;

  inset: 0;

  background: rgba(40,40,40,0.78);

  backdrop-filter: blur(6px);

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 0;

  visibility: hidden;

  transition: 0.4s;

  z-index: 9999;
}

/* 開いた時 */

.works-modal-overlay.active{

  opacity: 1;

  visibility: visible;
}


/* =================================
   実績紹介 モーダル本体 6/8-2-2
================================= */
.works-modal-window{

  width: 90%;

  max-width: 1000px;

  background: rgba(255,255,255,0.96);

  border-radius: 36px;

  padding: 50px;

  position: relative;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.25);

  transform: translateY(30px);

  transition: 0.4s;
}

/* 開いた時 */

.works-modal-overlay.active .works-modal-window{

  transform: translateY(0);
}


/* =================================
   実績紹介 モーダル閉じるボタン 6/8-2-3
================================= */
.works-modal-close{

  position: absolute;

  top: 20px;

  right: 20px;

  width: 56px;

  height: 56px;

  border: none;

  border-radius: 50%;

  background: #f2f2f2;

  font-size: 32px;

  cursor: pointer;

  transition:
    transform 0.6s ease,
    background 0.4s ease,
    color 0.4s ease;
}

.works-modal-close:hover{

  transform: rotate(360deg);

  background: #e58b3e;

  color: #fff;
}

/* ====================================================================================================================================
   モーダルCSS  6/8-10（6/8/2-4）
==================================================================================================================================== */
.works-modal-images{

  display:flex;

  justify-content:center;

  gap:20px;

  margin-bottom:30px;
}

.works-modal-images img{

  width:50%;

  border-radius:20px;

    display: block;
}

/* ===================================================================================================================================
   実績モーダル スマホ 表示は　縦に二枚画像
=================================================================================================================================== */

@media(max-width:1100px){

  .works-modal-window{

    height: 95vh;

    overflow-y: auto;
  }

  .works-modal-images{

    flex-direction: column;

    align-items: center;

    gap: 15px;
  }

  .works-modal-images img{

    width: 100%;

    max-width: 400px;
  }

}

/* =================================
   実績紹介 モーダルタイトル 6/8-2-5
================================= */
.works-modal-title{

  font-size: 34px;

  color: #1d3557;

  margin-bottom: 20px;

  text-align: center;
}

/* =================================
   実績紹介 モーダル説明文 6/8-2-6
================================= */
.works-modal-text{

  font-size: 18px;

  line-height: 2;

  color: #444;
}

/* ====================================================================================================================================
   社会貢献　4つのカード　6/9-1
==================================================================================================================================== */

.csr-section{

  max-width: 1600px;

  margin: -340px auto 0;

  padding: 40px 20px;

  position: relative;

  z-index: 10;
}

/*------------------------------------------------------ 2列 ------------------------------------------------------*/
.csr-grid{

  display: grid;

  grid-template-columns: repeat(2, 750px);

  justify-content: center;

  gap: 40px;
}

/*------------------------------------------------------ カード ------------------------------------------------------*/
.csr-card{

  background: #fff;

  border-radius: 40px;

  padding: 35px;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.08);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.csr-card:hover{

  transform: translateY(-8px);

  box-shadow:
    0 18px 50px rgba(0,0,0,0.12);
}

/*------------------------------------------------------ タイトル ------------------------------------------------------*/
.csr-card h3{

  font-size: 30px;

  color: #1d3557;

  text-align: center;

  margin-bottom: 60px;
}

/*------------------------------------------------------ 画像 ------------------------------------------------------*/
.csr-card img{

  width: 100%;

  border-radius: 20px;

  display: block;

  cursor: pointer;

  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.csr-card img:hover{

  transform: scale(1.02);

  filter: brightness(1.04);
}

/*------------------------------------------------------ 説明文 ------------------------------------------------------*/
.csr-card p{

  margin-top: 25px;

  line-height: 2;

  color: #444;
}

/* ====================================================================================================================================
   社会貢献　4つのカード　スマホ　6/9-1
==================================================================================================================================== */
@media(max-width:1100px){

  /* CSR全体を下げる */

  .csr-section{

    margin: -280px auto 0;   /* 数値で調整 */
  }

  /* CSRカード */

  .csr-grid{

    grid-template-columns: 1fr;
  }

  /* モーダル画像 */

  .csr-modal-images{

    flex-direction: column;

    align-items: center;
  }

  .csr-modal-images img{

    width: 100%;

    max-width: 450px;
  }

  /* モーダルウインドウ */

  .csr-modal-window{

    width: 92%;

    max-height: 90vh;

    overflow-y: auto;

    padding: 25px;
  }

}

/* ====================================================================================================================================
   CSR モーダル
==================================================================================================================================== */

.csr-modal-overlay{

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,0.75);

  backdrop-filter: blur(4px);

  display: flex;

  justify-content: center;

  align-items: center;

  opacity: 0;

  visibility: hidden;

  transition: 0.4s;

  z-index: 9999;
}

/* 開いた状態 */

.csr-modal-overlay.active{

  opacity: 1;

  visibility: visible;
}

/* ウインドウ */

.csr-modal-window{

  position: relative;

  max-width: 90%;

  max-height: 90vh;

  animation: modalFade 0.4s ease;
}

/* モーダル画像エリア */

.csr-modal-images{

  display: flex;

  gap: 20px;

  justify-content: center;

  margin-bottom: 30px;
}

/* モーダル画像 */

.csr-modal-images img{

  width: 50%;

  max-height: 70vh;

  object-fit: contain;

  border-radius: 20px;

  display: block;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.35);
}

/* 閉じるボタン */

.csr-modal-close{

  top: 15px;

  right: 15px;

  border: none;

  background: transparent;

  color: #fff;

  font-size: 48px;

  font-weight: 300;

  cursor: pointer;

  line-height: 1;

  transition:
    transform 0.4s ease,
    color 0.4s ease;
}

/* ホバー */

.csr-modal-close:hover{

  transform: rotate(90deg);

  color: #e58b3e;
}
/* アニメーション */

@keyframes modalFade{

  from{

    opacity: 0;

    transform: scale(0.9);
  }

  to{

    opacity: 1;

    transform: scale(1);
  }

}

/* CSR モーダル　0623追加 */
.csr-modal-images{

  display:flex;

  gap:20px;

  justify-content:center;

  margin-bottom:30px;
}

.csr-modal-images img{

  width:50%;

  border-radius:20px;

  display:block;
}

/* CSR モーダル　タイトル　0623追加 */
.csr-modal-title{

  text-align:center;

  font-size:32px;

  color:#e3e8f0;

  margin-bottom:30px;
}

/* CSR モーダル　テキスト　0623追加 */
.csr-modal-text{

  font-size:18px;

  line-height:2;

  color:#ffffff;
}