@charset "UTF-8";
/* ==========================================================================
   ソイルラボ北海道テーマ：配色・文字サイズ・サイト全体の追加 CSS
   ブロック用 CSS と Contact Form 7 の CSS の後に読み込む
   ========================================================================== */

/* ---- dynamic.css ---- */
:root { --vw: 1vw; --single_post_title_font_size: 32px; --single_post_title_font_size_tb: 28px; --single_post_title_font_size_sp: 20px; --tcd-logo-font-weight: bold; --font_family_type1: Arial, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif; --font_family_type2: Arial, "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif; --font_family_type3: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif; --tcd-logo-font-weight: bold; --tcd-preloader-logo-font-size-pc: 30px; --tcd-preloader-logo-font-size-sp: 20px; --tcd-preloader-logo-font-color: #ffffff; }
body { font-size:16px; }
.large_headline { font-size:70px !important; }
.rich_font { font-size:32px !important; }
@media screen and (max-width:1100px) {
  .large_headline { font-size:55px !important; }
  .rich_font { font-size:28px !important; }
}
@media screen and (max-width:800px) {
  body { font-size:14px; }
  .large_headline { font-size:30px !important; }
  .rich_font { font-size:20px !important; }
}
body, input, textarea { font-family:var(--tcd-font-type1); }
.rich_font { font-family:var(--tcd-font-type1); font-weight:600; }
.large_headline { font-family:var(--tcd-font-type1); font-weight:600; }
#single_post_header .title { font-family:var(--tcd-font-type1); font-weight:600; }
.rich_font_2 { font-family:var(--tcd-font-type2); font-weight:600; }
/*
 * フッターのバナーの見出しは改行しない。
 * 文字サイズは列の幅から計算する（基準は一番長い「北のいきものギャラリー」の11文字＋矢印ボタン）。
 * 見出しを長くするときは、下の式の 11 を文字数に合わせて変える。
 */
#footer_banner { --fb-pad: clamp(30px, calc(var(--vw) * 3.2), 60px); }
#footer_banner.banner_num3 a { padding-left: var(--fb-pad); padding-right: var(--fb-pad); }
#footer_banner .title { white-space: nowrap; font-size: min(50px, calc((var(--vw) * 33.33 - var(--fb-pad) * 2 - 72px) / 11)) !important; }
@media screen and (max-width:1100px) {
  #footer_banner .title { font-size: min(40px, calc((var(--vw) * 100 - 152px) / 11)) !important; }
}
@media screen and (max-width:800px) {
  #footer_banner .title { font-size: min(23px, calc((var(--vw) * 100 - 97px) / 11)) !important; }
}
@media(hover: hover) {
  .animate_background .image_wrap img { width:100%; height:100%; will-change:transform; transition: transform  0.5s ease; }
  .animate_background:hover .image_wrap img { transform: scale(1.2); }
}
a { color:#000; }
:root, ::before, ::after { --tcd-main-color: #ffc000;--tcd-hover-color: #e1a200; }
a:hover, .category_button, .sub_title.colored, #global_menu > ul > li > a:hover, #bread_crumb, #bread_crumb li.last, .faq_list .title.active, .news_category_button a:hover, #footer_banner a:hover .arrow_button:before, #footer_banner a:hover .arrow_button:after, .service_category_post_list .title, .page_navi a:hover, #return_top a:hover .arrow:before, #return_top a:hover .arrow:after, body.header_type2.active_header #global_menu > ul > li > a:hover, body.header_type2.header_fixed #global_menu > ul > li > a:hover { color:#ffc000; }
#global_menu > ul > li.active > a, #global_menu > ul > li.current-menu-item > a, .design_arrow_button a, .swiper-nav-button:hover .arrow_button_small:before, .swiper-nav-button:hover .arrow_button_small:after { color:#ffc000 !important; }
.page_navi span.current, #global_menu ul ul a:hover, .arrow_button, .widget_tab_post_list_button div.active, #copyright, .news_category_button li.current a, .swiper-scrollbar-drag, #mobile_menu li li a { background-color:#ffc000; }
.category_button, .page_navi span.current, .news_category_button li.current a, .news_category_button a:hover, .page_navi a:hover { border-color:#ffc000; }
.category_button:hover, .faq_list .title:hover { color:#e1a200; }
.design_arrow_button a:hover { color:#e1a200 !important; }
.category_button:hover { border-color:#e1a200; }
.post_content a { color:#ff4000; }
.post_content a:hover { color:#ff4000; }

/* ---- keyframes ---- */

/* ---- 旧サイトの「追加 CSS」 ---- */
.cb_design_content.num2 {
    background-color: #333333; /* ここに好きな色コードを入れてください */
}

.cb_design_content.num2 .large_headline,
.cb_design_content.num2 .desc,
.cb_design_content.num2 .post_content {
    color: #ffffff !important;
}


:root {
    --accent-yellow: #fbc02d;
    --base-gray: #f5f5f5; /* 統一した背景のグレー */
    --text-black: #000000;
    --width-max: 1429px; /* ご指定の幅 */
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

.unified-service-section {
    padding: 120px 0;
    background-color: var(--base-gray);
    font-family: 'Noto Sans JP', sans-serif;
}

.service-container {
    max-width: var(--width-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* --- ヘッダーレイアウト --- */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    gap: 80px;
}

.main-title {
    font-family: 'Roboto', sans-serif;
    font-size: 70px !important;
    font-weight: 900;
    color: var(--text-black);
    line-height: 1.0;
    margin: 0;
    padding: 0;
    letter-spacing: -0.01em;
}

.lead-content {
    max-width: 680px;
}

.lead-content p {
    font-size: 16px;
    line-height: 2.2;
    color: #1a1a1a;
    margin: 0;
    text-align: justify;
}

/* --- グリッドレイアウト --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.item-center {
    grid-column: 2;
}

/* --- カードデザイン --- */
.service-card {
    position: relative;
    height: 520px;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s var(--ease);
    z-index: 1;
}

.card-overlay {
    position: absolute;
    inset: 0;
    /* ホバー前は少しだけ白を薄く敷く */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 85%);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    transition: all 0.5s var(--ease);
}

.card-no {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: 'Roboto', sans-serif;
    font-size: 50px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0,0,0,0.15);
}

.card-info h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-black);
}

/* 説明文：色を濃く、ウェイトを上げて視認性を最大化 */
.card-info p {
    font-size: 16px; /* 少し大きく */
    font-weight: 500; /* ミディアムウェイト */
    line-height: 1.7;
    color: #000000; /* 真っ黒に指定 */
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease);
}

.btn-details {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--accent-yellow);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    padding: 16px 25px;
    width: 190px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease);
}

/* --- ホバーアニメーションの強化 --- */
.service-card:hover .card-image {
    transform: scale(1.1);
}

.service-card:hover .card-overlay {
    /* ホバー時は背景をより白く不透明にする（文字を浮かび上がらせる） */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px); /* ぼかしを加えて高級感を出しつつ文字を強調 */
}

.service-card:hover p,
.service-card:hover .btn-details {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブ（スマホ対応） */
@media (max-width: 992px) {
    .service-header { flex-direction: column; gap: 30px; align-items: flex-start; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .item-center { grid-column: span 2; }
}

@media (max-width: 600px) {
    .service-grid { grid-template-columns: 1fr; }
    .item-center { grid-column: span 1; }
    .main-title { font-size: 50px !important; }
}

/* 基本設定 */
.svc-sec { padding: 80px 20px; font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; color: #333; }
.svc-inner { max-width: 1200px; margin: 0 auto; }

/* ヘッダー */
.svc-head { margin-bottom: 60px; text-align: center; }
.svc-head h2 { 
  font-family: 'Roboto', sans-serif; 
  font-size: 70px; 
  font-weight: 700; 
  letter-spacing: 0.05em; 
  margin: 0 0 25px; 
  line-height: 1;
}
.svc-head p { line-height: 1.8; max-width: 850px; margin: 0 auto; text-align: justify; font-size: 15px; }

/* グリッドレイアウト */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

/* カード本体 */
.svc-card {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg) center / cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: 2px;
}

/* オーバーレイ内容 */
.svc-content {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 30px;
  width: 100%;
  transform: translateY(calc(100% - 75px)); /* 通常時はタイトル付近まで隠す */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.svc-card:hover .svc-content { transform: translateY(0); }

/* カード内要素 */
.svc-content .no { font-family: 'Roboto', sans-serif; font-size: 1.2rem; color: #bbb; display: block; }
.svc-content h3 { font-size: 1.4rem; margin: 5px 0 15px; font-weight: bold; }
.svc-content p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; opacity: 0.85; }
.svc-content .btn {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid #fff;
  padding-bottom: 2px;
  font-size: 13px;
  transition: opacity 0.3s;
}
.svc-content .btn:hover { opacity: 0.6; }

/* レスポンシブ */
@media (max-width: 768px) {
  .svc-head h2 { font-size: 50px; } /* スマホでは少し小さく */
}

@media (max-width: 480px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-content { transform: translateY(0); background: rgba(0, 0, 0, 0.6); } /* スマホは固定表示 */
}





/* 基本設定 */
.svc-sec { padding: 100px 20px; font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; color: #333; overflow: hidden;}
.svc-inner { max-width: 1200px; margin: 0 auto; }

/* ヘッダー */
.svc-head { margin-bottom: 60px; text-align: center; }
.svc-head h2 { 
  font-family: 'Roboto', sans-serif; 
  font-size: 70px; 
  font-weight: 700; 
  letter-spacing: 0.05em; 
  margin: 0 0 20px; 
  line-height: 1;
}
.svc-head p { line-height: 1.8; max-width: 800px; margin: 0 auto; text-align: justify; font-size: 15px; color: #666; }

/* グリッドレイアウト */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px; /* 余白を少し広げてスッキリさせました */
}

/* カード本体 */
.svc-card {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg) center / cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* オーバーレイ内容 */
.svc-content {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9) 40%);
  color: #fff;
  padding: 40px 25px 25px;
  width: 100%;
  transform: translateY(calc(100% - 85px));
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* PCではホバーで出す、スマホ（後述のメディアクエリ）では常時表示 */
@media (min-width: 1025px) {
  .svc-card:hover .svc-content { transform: translateY(0); }
}

/* カード内要素 */
.svc-content .no { font-family: 'Roboto', sans-serif; font-size: 1.2rem; color: #ffc000; display: block; font-weight: bold; }
.svc-content h3 { font-size: 1.4rem; margin: 5px 0 10px; font-weight: bold; letter-spacing: 0.05em; }
.svc-content p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 15px; opacity: 0.9; }
.svc-content .btn {
  display: inline-block;
  color: #ffc000; /* リンクをコーポレートカラーにして目立たせました */
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* フッターボタン */
.svc-footer { margin-top: 80px; text-align: center; }
.main-link-btn {
  display: inline-block;
  padding: 20px 80px;
  background-color: #ffc000;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-radius: 50px; /* 角を丸くしてスマホで押しやすくモダンな印象に */
  transition: all 0.3s;
}

/* --- スマホ・タブレット専用の調整 --- */
@media (max-width: 1024px) {
  .svc-sec { padding: 60px 15px; }
  .svc-head h2 { font-size: 50px; } /* タイトルを少し縮小 */
  
  .svc-grid {
    grid-template-columns: 1fr; /* 1列固定 */
    gap: 20px;
  }

  .svc-card {
    aspect-ratio: 1 / 1; /* スマホでは正方形に近くして画像と文字のスペースを確保 */
  }

  .svc-content {
    transform: translateY(0); /* 文字を常に表示 */
    background: rgba(0, 0, 0, 0.65); /* 全体に暗くして文字を読みやすく */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
  }
  
  .svc-content h3 { font-size: 1.25rem; }
  .svc-content p { font-size: 0.85rem; margin-bottom: 10px; }

  .main-link-btn {
    width: 100%;
    padding: 18px 0;
  }
}





/* カテゴリーナビの親要素を広範囲に指定して非表示にする */
.p-postList__catNav, 
.p-categoryNav, 
.c-categoryNav,
nav[class*="catNav"],
div[class*="catNav"] {
    display: none !important;
}

/* 万が一、上記で消えない場合（olを直接指定） */
ol.swiper-wrapper {
    display: none !important;
}





  /* 1. セクション全体 */
  .svc-sec {
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
    font-family: sans-serif;
  }

  .svc-head h2 { font-size: 48px; margin-bottom: 10px; color: #333; }
  .svc-head p { margin-bottom: 50px; color: #666; }

  /* 2. グリッド */
  .svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* 3. カード（画像枠） */
  .svc-card {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  /* 下部の黒グラデーション（文字を常に読みやすくするため少し高めに設定） */
  .svc-card::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 60%; /* グラデーション範囲を少し広げました */
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
  }

  /* 4. コンテンツ（数字と文字） */
  .svc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  /* 5. 数字 (01, 02...) */
  .svc-content .no {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #ffbf00;
    margin: 0;
    padding: 0;
    line-height: 1.2;
  }

  /* 6. タイトル、説明、ボタン（最初から表示） */
  .svc-card h3 {
    opacity: 1;
    height: auto;
    font-size: 20px;
    line-height: 1.4;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #fff;
  }

  .svc-card .svc-details p {
    opacity: 1;
    height: auto;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #eee;
  }

  .svc-card .btn {
    opacity: 1;
    height: auto;
    font-size: 11px;
    line-height: 1;
    padding: 6px 15px;
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    width: fit-content;
    transition: background 0.3s; /* ボタンの色だけ変わるように */
  }

  /* ホバー時にボタンの色を変えるなど、さりげない演出のみ残す */
  .svc-card .btn:hover {
    background: #fff;
    color: #333;
  }

  /* 下部の黄色いボタン */
  .svc-footer { margin-top: 40px; }
  .svc-footer a {
    display: inline-block;
    background: #ffbf00;
    color: #b35900;
    padding: 15px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
  }

  /* レスポンシブ */
  @media (max-width: 768px) { .svc-grid { grid-template-columns: 1fr; } }




/* TCD GENESIS：ヘッダーの重なりを解消するCSS */
@media screen and (min-width: 1025px) {
    /* 1. メニュー項目の左右の余白と文字サイズを調整して全体の幅を縮める */
    #global_menu > ul > li > a {
        padding-left: 6.5px !important; /* デフォルトより狭く調整 */
        padding-right: 6.5px !important;
        font-size: 15px !important; /* 必要に応じて少し小さくする */
    }

    /* 2. ロゴ画像の最大幅を制限して、メニューが入り込むスペースを確保する */
    #site_logo img,
    .l-header__logo img {
        max-width: 200px !important; /* 画像が大きすぎる場合はここで数値を調整 */
        height: auto !important;
    }
}




@media screen and (min-width: 1025px) {
    /* メニュー全体を右端に寄せる（右側の余白を埋める） */
    #global_menu {
        margin-left: auto !important;  /* 左側の余白を自動で最大に取り、メニューを右へ押しやる */
        margin-right: 0 !important;    /* 右側の強制的な余白をゼロにする */
    }
    
    /* もし一番右の項目（「リンク」）のさらに右側に隙間が残る場合は、これも追加します */
    #global_menu > ul > li:last-child > a {
        padding-right: 0 !important;
    }
}

.grecaptcha-badge {
    visibility: hidden;
}

@media screen and (min-width: 1025px) {
    /* メニューの位置（右側の余白）を80から40に上書き */
    #global_menu {
        right: 40px !important;       /* positionがrightで指定されていた場合 */

}


}
