@charset "UTF-8";
@font-face {
    font-family:'DM Serif Display';
    src: url(/public/fonts/DMSerifDisplay-Regular.ttf);
}
@font-face {
    font-family:'Noto Sans Japanese';
    src: url(/public/fonts/NotoSansJP-Medium.ttf);
}
@font-face {
    font-family:'Arial';
    src: url(/public/fonts/Arialn.ttf);
}
@font-face {
    font-family:'Oswald';
    src: url(/public/fonts/Oswald-Regular.ttf);
}
@font-face {
    font-family:'KosugiMaru';
    src: url(/public/fonts/KosugiMaru-Regular.ttf);
}
@font-face {
    font-family:'MPLUS1';
    src: url(/public/fonts/MPLUS1-VariableFont_wght.ttf);
    font-display: swap;
}
@font-face {
    font-family:'Fredoka';
    src: url(/public/fonts/Fredoka-VariableFont_wdth,wght.ttf);
    font-display: swap;
}
@font-face {
    font-family:'Hannari';
    src: url(/public/fonts/HannariMincho-Regular.otf);
    font-display: swap;
}
@font-face {
    font-family:'Montserrat';
    src: url(/public/fonts/Montserrat-VariableFont_wght.ttf);
    font-display: swap;
}
/*******************************************************************************************
共通処理
*******************************************************************************************/
html {
    font-size: 100%;/*フォントサイズの基本値*/
    scroll-snap-type:y proximity;/*ページ内リンク少し上に着地調整*/
    scroll-padding-top:10vh;/*ページ内リンク少し上に着地調整*/
    /*scroll-behavior:smooth;/*上に戻る挙動をスムーズ化　　問い合わせフォームの画面外のフォームエラーが表示されなくなる影響あり*/
    scroll-behavior:auto;/*上に戻る挙動をスムーズ化　　問い合わせフォームの画面外のフォームエラーが表示されなくなる影響あり*/
    transition: font-size 0.3s ease; /* なめらかにフォントサイズが切り替わる */
}
body {
    background-color:white;
    font-family:'Helvetica','Arial','Noto Sans Japanese';
    font-size: 1.0rem;
    line-height: 1.7;
}
/*中身のコンテンツ幅指定の共通クラス*/
.wrapper {
    width:1200px;
    height:100%;
    max-width:100%;
    margin: 0 auto;
    padding:0 3%;
    text-align: center;
    position:relative;
}
/*新着記事に「NEW」を付与*/
.text_icon{
    color:white;
    font-weight:bold;
    background-color:red;
    border-radius:30px;
    padding:3px 10px;
    margin-left:10px;
}
/*ＰＣ用の改行*/
br.br_pc{
    display:block;
}
/*スマホ用の改行*/
br.br_sm{
    display:none;
}
/*タイトル用*/
.title_pc{
    display:block;
}
.title_sm{
    display:none;
}
span.block{
    display:block;
}
/*リンク*/
.link{
    color:#0073aa;
    text-decoration:underline;
}
span.inline{
    display:inline-block;
    white-space:nowrap;
}
/******************************************************************
ページネーション
******************************************************************/ 
#pagination{
    margin-top:50px;
}
#pagination button {
    font-size:1.2rem;
    margin: 5px;
    padding: 0.5em 1em;
    border: 1px solid #997768;
    background: white;
    cursor: pointer;
}
#pagination button:disabled {
    background: #997768;
    color: #fff;
    cursor: default;
}
/******************************************************************
パンくずリスト
******************************************************************/
.breadcrumb-area{
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb; /* 薄い境界線で上品に */
}
.breadcrumb-area .breadcrumb {
    display:block;
    width:100%;
    font-size: 0.9rem;
    text-align:left;
    padding: 12px 0;
}
.breadcrumb-area .breadcrumb a {
    color: #0073aa;
    text-decoration: none;
    padding:0 0.25em;
}
.breadcrumb-area .breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb-area .breadcrumb span {
    color: #333;
    font-weight: bold;
    padding:0 0.25em;
}
/*******************************************************************************************
記事下 関連記事一覧
*******************************************************************************************/
/* -----------------------------
   関連記事（カード型）
----------------------------- */
.related-posts {
    margin-top: 70px;
    border-top: 1px solid #E5E5E5;
}

.related-title {
    font-size: clamp(20px, 2vw, 22px);
    margin-bottom: 28px;
    font-weight: 700;
}

/* カード並び */
.related-cards {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* カード本体 */
.related-card {
    display: block;
    background: var(--base-softpink);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform .2s, box-shadow .2s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

/* サムネイル */
.related-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* テキスト */
.related-meta {
    padding: 14px 16px 18px;
}

.related-date {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 6px;
}

/* タイトルは2行で省略 */
.related-title-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp:2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-cards {
    display: grid;
    gap: 28px;
}

@media (min-width: 960px) {
    .related-cards {
        grid-template-columns: repeat(3, 1fr); /* ★PCは必ず3列 */
    }
}

@media (min-width: 600px) and (max-width: 959px) {
    .related-cards {
        grid-template-columns: repeat(2, 1fr); /* ★タブレットは2列 */
    }
}

@media (max-width: 599px) {
    .related-cards {
        grid-template-columns: 1fr; /* ★スマホは1列 */
    }
}
/*******************************************************************************************
フォーカス設定
*******************************************************************************************/
:focus {
    outline: 3px solid #4087bf;
    outline-offset: 4px;
}
/*******************************************************************************************
変数定義
*******************************************************************************************/
body{
    /*テーマカラー*/
    --themecolor:#f4f3ee;
    /*テーマカラー サブ*/
    /*--themecolor_sub:#faedcd;*/
    --themecolor_sub:#fdf6e3;
    /*テーマカラー 強調部*/
    --themecolor_emphasis:#ffab16;
    /*フォントカラー rgb(66,30,4)*/
    --fontcolor:#222222;
    /*フォントカラー　サブ*/
    --fontcolor_sub1:#f4e3dd;

    color:var(--fontcolor);
}
/*******************************************************************************************
header　共通
*******************************************************************************************/
#header{
    display:block;
    width:100%;
    max-width:100%;
    /*height:18vh;*/
    background-color:rgba(255,255,255,0.7);
    box-shadow: 0 0 8px gray;
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:10000;
}
#header #header_menu_area{
    display:block;
}
#header #header_menu_area .inner{
    display:block;
    padding:10px;
}
/*ヘッダーメニューのエリア*/
#header #header_menu_area #header_menu{
    display:flex;
    justify-content:space-between;
}
#header #header_menu_area #header_menu .logo_area{
    display:block;
    width:300px;
}
#header #header_menu_area #header_menu .logo_area span.text{
    display:block;
    font-size:0.8rem;
    line-height:0.8rem;
    text-align:left;
}
#header #header_menu_area #header_menu .logo_area .logo{
    display:block;
    width:200px;
}
#header #header_menu_area #header_menu .logo_area .logo img{
    display:block;
    width:100%;
}
#header #header_menu_area #header_menu .menu_area{
    display:flex;
}
#header #header_menu_area #header_menu .menu_area nav{
    display:flex;
    align-items:center;
    margin-right:2em;
}
#header #header_menu_area #header_menu .menu_area nav ul#nav_menu{
    display:flex;
}
#header #header_menu_area #header_menu .menu_area nav ul#nav_menu li.nav_menu_item{
    display:block;
    font-size:1.0rem;
    font-weight:bold;
    width:fit-content;
    margin:0 1em;
    padding:0.5em 0;
    position:relative;
}
#header #header_menu_area #header_menu .menu_area nav ul#nav_menu li.nav_menu_item::before{
    background: #4087bf;
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
}
#header #header_menu_area #header_menu .menu_area nav ul#nav_menu li.nav_menu_item:hover::before{
    transform-origin: left top;
    transform: scale(1, 1);
}
#header #header_menu_area #header_menu .menu_area .sns_area{
    /*display:flex;*/
    display:none;/*一時対応*/
    justify-content:center;
    align-items:center;
    margin-right:1em;
}
#header #header_menu_area #header_menu .menu_area .sns_area .item{
    display:flex;
    width:50px;
    height:50px;
    justify-content:center;
    align-items:center;
}
#header #header_menu_area #header_menu .menu_area .sns_area .item img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}
#header #header_menu_area #header_menu .menu_area .contact_area{
    display:flex;
    justify-content:center;
    align-items:center;
}
#header #header_menu_area #header_menu .menu_area .contact_area .contact_btn{
    display:block;
}
#header #header_menu_area #header_menu .menu_area .contact_area .contact_btn a.btn{
    display:block;
    font-size:1.0rem;
    font-weight:bold;
    width:fit-content;
    color:white;
    background-color:#4087bf;
    box-shadow: 0 0 8px gray;
    border-radius:50px;
    padding:0.5em 2em;
    transition:0.2s;
}
#header #header_menu_area #header_menu .menu_area .contact_area .contact_btn a.btn:hover{
    background-color:#4087bf;
}
/*
ハンバーガメニュー（共通）
*/
#header .hamburger_btn{
    display:none;
    width:fit-content;
    margin-left:10px;
}
/*ボタン外側*/
#header .hamburger_btn .header_menu_lines{
    position: relative;/*ボタン内側を基点とする*/
    cursor: pointer;
    width: 40px;
    height:40px;
}
/*ボタン内側*/
#header .hamburger_btn .header_menu_lines span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 5px;
    height: 4px;
    border-radius: 5px;
    background: var(--fontcolor);
    width: 75%;
}
#header .hamburger_btn .header_menu_lines span:nth-of-type(1) {
    /*top:10px; */
    top:calc(50% - 20%);
    transform:translateY(-50%);
}
#header .hamburger_btn .header_menu_lines span:nth-of-type(2) {
    /*top:18px;*/
    top:calc(50%);
    transform:translateY(-50%);
}
#header .hamburger_btn .header_menu_lines span:nth-of-type(3) {
    /*top:26px;*/
    top:calc(50% + 20%);
    transform:translateY(-50%);
}
#header .hamburger_btn .header_menu_lines.active span:nth-of-type(1) {
    top: 12px;
    left:10px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}
#header .hamburger_btn .header_menu_lines.active span:nth-of-type(2) {
    opacity: 0;
}
#header .hamburger_btn .header_menu_lines.active span:nth-of-type(3){
    top: 24px;
    left: 10px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}
#header .hamburger_btn .header_menu_lines.active span:nth-of-type(3)::after {
    /*content:"Close";MENU文言非表示*/
    transform: translateY(0) rotate(-45deg);
    top:5px;
    left:4px;
}

/*
スライドメニュー
*/
#header_slide_menu_area{
    display:none;
    background-color:#4087bf;
    position: fixed;
    top: 0px;
    right: 0px;
    width: 80%;
    height:100%;
    transform: translateX(100%); /* ハンバーガーメニューOFF時、右側へスライドさせておく */
    z-index:10000;
    transition: 0.4s;
    overflow-y:scroll;/*メニュー縦スクロール許可*/
    pointer-events: none; /* 非表示時はクリック不可に */
    opacity: 0;
}
#header_slide_menu_area.active{
    transform: translateX(0);
    pointer-events: auto;
    opacity: 1;
}
#header_slide_menu_area .shop_name{
    display:block;
    background-color:white;
    margin:40px 0 50px 0;
    padding:10px 0;
}
#header_slide_menu_area .shop_name a.link{
    display:flex;
    width:150px;
    height:auto;
    justify-content:center;
    align-items:center;
    margin-left:10px;
}
#header_slide_menu_area ul.header_slide_menu{
    padding:0 30px;
}
#header_slide_menu_area ul.header_slide_menu li{
    color:white;
    text-align:justify;
    margin-bottom:10px;
}
#header_slide_menu_area ul.header_slide_menu_2{
    padding:0 30px;
    margin-top:30px;
}
#header_slide_menu_area ul.header_slide_menu_2 li{
    color:white;
    font-size:0.8rem;
    text-align:justify;
    padding:0 1.3em;
    margin-bottom:10px;
    position:relative;
}
#header_slide_menu_area ul.header_slide_menu_2 li::before{
    content:"";
    display:block;
    width:1em;
    height:1em;
    background-image:url(/public/img/caret-right-solid-full-white.svg);
    background-repeat:no-repeat;
    background-size:contain;
    background-position:center center;
    position:absolute;
    top:50%;
    left:0;
    translate:0 -50%;
}
#header_slide_menu_area .contact_area{
    padding:0 30px;
}
#header_slide_menu_area .contact_area a.contact_btn{
    display:flex;
    width:400px;
    max-width:100%;
    font-weight:bold;
    color:white;
    justify-content:center;
    align-items:center;
    background-color:#d81d52;
    border:5px solid #d81d52;
    border-radius:50px;
    box-shadow: 0 0 6px gray;
    padding:0.5em 1em;
    margin-top:50px;
}
#header_slide_menu_area .sns_area{
    /*display:flex;*/
    display:none;/*一時対応*/
    padding:1em;
    justify-content:center;
    align-items:center;
    border-radius:5px;
    position:relative;
}
#header_slide_menu_area .sns_area .item{
    display:flex;
    width:50px;
    height:50px;
    margin:0 10px;
}
#header_slide_menu_area .sns_area .item a.sns_btn{
    display:flex;
    width:100%;
    height:100%;
}
#header_slide_menu_area .sns_area .item a.sns_btn img{
    display:flex;
}
#header_slide_menu_area .close_btn{
    display:block;
    width:fit-content;
    z-index:100;
    position:absolute;
    top:0;
    left:0;
}
/*ボタン外側*/
#header_slide_menu_area .close_btn .header_menu_lines{
    position: relative;/*ボタン内側を基点とする*/
    cursor: pointer;
    width: 40px;
    height:40px;
}
/*ボタン内側*/
#header_slide_menu_area .close_btn .header_menu_lines span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 5px;
    height: 4px;
    border-radius: 5px;
    background: white;
    width: 75%;
}
#header_slide_menu_area .close_btn .header_menu_lines span:nth-of-type(1) {
    transform:translateY(-50%);
    top: 12px;
    left:10px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}
#header_slide_menu_area .close_btn .header_menu_lines span:nth-of-type(2) {
    opacity: 0;
}
#header_slide_menu_area .close_btn .header_menu_lines span:nth-of-type(3) {
    top: 24px;
    left: 10px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}
/*******************************************************************************************
mask_area
*******************************************************************************************/
#mask_area{
    display:none;
    width:100%;
    height:100%;
    position:fixed;
    top:0;
    left:0;
    background-color:rgb(51,51,51,0.5);
    z-index:9999;
}
#mask_area.active{
    display:block;
}
/*******************************************************************************************
mainvisual
*******************************************************************************************/
.page-index #mainvisual{
    display:block;
    width:100%;
    height:100vh;
    overflow:hidden;
    position:relative;
    margin-bottom:50px;
}
.page-index #mainvisual .inner{
    display:block;
    width:100%;
    height:100%;
    position:relative;
}
.page-index #mainvisual .inner .mainvisual_area{
    display:block;
    width:100%;
    height:100%;
}
.page-index #mainvisual .inner .mainvisual_area .item{
    display:block;
    width:100%;
    height:100%;
    position:relative;
}
.page-index #mainvisual .inner .mainvisual_area .item:after{
    content:"";
    display:block;
    width:100%;
    height:100%;
    background-color:rgba(255,255,255,0.6);
    position:absolute;
    top:0;
    left:0;
    z-index:2;
}
.page-index #mainvisual .inner .mainvisual_area .item img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.page-index #mainvisual .inner .title_area{
    display:block;
    width:fit-content;
    position:absolute;
    bottom:0;
    left:3%;
    z-index:10;
}
.page-index #mainvisual .inner .title_area .inner{ 
    display:block;
    width:100%;
    height:100%;
}
.page-index #mainvisual .inner .title_area .inner p.title{
    font-size:3rem;
    font-weight:bold;
    line-height:5rem;
    -webkit-text-stroke: 1px #222222;
    text-shadow: 0 0 1px #222222
}
.page-index #mainvisual .inner .title_area .inner p.sub-title{
    display:block;
    width:fit-content;
    font-size:1.5rem;
    font-weight:bold;
    border-radius:5px;
    padding:0 10px;
}
.page-index #mainvisual .inner .title_area .inner p.explan{
    display:block;
    width:fit-content;
    margin:5rem 0;
    background-color:rgba(255,255,255,0.8);
    border-radius:5px;
    padding:5px 10px;
}

/*******************************************************************************************
mainvisual_slide（スライドショー用） 改良版
*******************************************************************************************/
#mainvisual_slide {
  position: relative;
  width: 100%;
}

#slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
}

/* メインビジュアル画像DIV */
#slider div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1) translateX(0);
  z-index: 10;
}

/* 各スライド画像指定 */
.anime_mainvisual div:first-of-type {
  background-image: url(/public/img/mainvisual1.png);
}
.anime_mainvisual div:nth-of-type(2) {
  background-image: url(/public/img/mainvisual2.png);
  animation-delay: 12s; /* 2枚目開始 */
}
.anime_mainvisual div:nth-of-type(3) {
  background-image: url(/public/img/mainvisual3.png);
  animation-delay: 24s; /* 3枚目開始 */
}

/* ====== スライドアニメーション ====== */
@keyframes zoomBack {
  0%   { opacity: 0; transform: scale(1.2); }
  10%  { opacity: 1; transform: scale(1.05); }
  30%  { opacity: 1; transform: scale(1); }
  40%  { opacity: 0; transform: scale(0.9); }
  100% { opacity: 0; transform: scale(0.9); }
}

.anime_mainvisual div {
  animation: zoomBack 36s infinite ease-in-out;
}

.anime_mainvisual div:first-of-type  { animation-delay: 0s; }
.anime_mainvisual div:nth-of-type(2) { animation-delay: 12s; }
.anime_mainvisual div:nth-of-type(3) { animation-delay: 24s; }

/* ===============================
 メインビジュアルタイトル：光エフェクト付き
=============================== */
#mainvisual .title_area .title {
  position: relative;
  display: inline-block;
  font-size: 3rem;
  font-weight: 700;
  color: white;
  overflow: hidden; /* 光がはみ出ないように */
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInTitle 1.8s ease-out 0.5s forwards;
}

/* 光のライン */
#mainvisual .title_area .title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 2.5s ease-in-out 1.2s forwards;
}

/* タイトルのスライドイン（前回のまま） */
@keyframes slideInTitle {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  60% {
    opacity: 1;
    transform: translateX(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 光が流れるアニメーション */
@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
/* ===============================
 サブタイトルと説明文アニメーション
=============================== */
#mainvisual .title_area .sub-title {
    color:white;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeDown 1.5s ease-out 2s forwards; /* 2s後にふわっと降りる */
}

#mainvisual .title_area .explan {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeDown 1.5s ease-out 2.4s forwards; /* 少し遅れて続く */
}

/* 共通のふわっと下へフェードイン */
@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/*******************************************************************************************
slick
*******************************************************************************************/
.slick-list{
    height:100%;
}
.slick-track{
    height:100%;
}
.slick-prev{
    position:absolute;
    left:0;
    z-index:100;
}
.slick-prev::before {
    content:"";
    display:block;
    width:15px;
    height:15px;
    left: 0;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: translateX(100%) rotate(45deg);
    position:relative;
    z-index:5;
}
.slick-next{
    position:absolute;
    right:0;
    z-index:100;
}
.slick-next::before {
    content:"";
    display:block;
    width:15px;
    height:15px;
    right: 0;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: translateX(-100%) rotate(45deg);
    position:relative;
    z-index:5;
}

/*slickの初期化前に表示では縦並びに表示されるため*/
.slick_list.main {
    visibility: hidden; /* 初期化前は見せないが、レイアウトは保持 */
}
.slick_list.main.slick-initialized {
    visibility: visible; /* 初期化後に見せる */
}
/*******************************************************************************************
h1,h2　（非表示）
*******************************************************************************************/
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/*******************************************************************************************
about
*******************************************************************************************/
.page-index #service{
    display:block;
    width:100%;
    z-index:1;
}

.page-index #service .head-area{
    display:block;
    width:100%;
    height:300px;
    position:relative;
}
.page-index #service .head-area::after{
    content:"";
    width:100%;
    height:100%;
    background-color:rgba(74,165,209,0.6);
    position:absolute;
    top:0;
    left:0;
    right:0;
    z-index:2;
}
.page-index #service .head-area .img-area{
    display:block;
    width:100%;
    height:100%;
    overflow:hidden;
}
.page-index #service .head-area .img-area img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.page-index #service .head-area .text-area{
    display:block;
    width:fit-content;
    position:absolute;
    top:50%;
    left:50%;
    translate:-50% -50%;
    z-index:3;
}
.page-index #service .head-area .text-area h2{
    color:white;
    font-size:3rem;
    font-family: 'Montserrat', 'Noto Sans Japanese';
    font-weight:bold;
    letter-spacing: 0.1em;
    text-align:center;
}
.page-index #service .head-area .text-area p.explan{
    color:white;
    font-size:1rem;
    font-family:'Noto Sans Japanese';
    text-align:center;
}
.page-index #service .inner .service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    margin-bottom:60px;
}
.page-index #service .inner .service-grid .item {
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 30px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-index #service .inner .service-grid .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.page-index #service .inner .service-grid .item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}
.page-index #service .inner .service-grid .item h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}
.page-index #service .inner .service-grid .item p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    text-align:justify;
}
/*******************************************************************************************
works
*******************************************************************************************/
.page-index #works{
    background-image:url(/public/img/works-back.png);
    padding-bottom:100px;
}
.page-index #works .inner .head{
    padding:70px 0;
}
.page-index #works .inner .head h2{
    color:#211A18;
    font-size:3rem;
    font-family: 'Montserrat', 'Noto Sans Japanese';
    font-weight:bold;
    letter-spacing: 0.1em;
    text-align:center;
}
.page-index #works .inner .head p.comment{
    color:#555555;
}
.page-index #works .inner .works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.page-index #works .inner .works-grid .item {
    background-color: #fff;
    border-radius: 10px;
    /*overflow: hidden;*/
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-index #works .inner .works-grid .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.page-index #works .inner .works-grid .item .item_inner{
    display:block;
    width:100%;
    height:100%;
}
.page-index #works .inner .works-grid .item .item_inner .img_area{
    border-radius:10px;
    overflow:hidden;
}
.page-index #works .inner .works-grid .item .item_inner .img_area img {
    display:block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.page-index #works .inner .works-grid .item .item_inner .text_area span.title{
    display:block;
    font-weight:bold;
    color:#555555;
}
.page-index #works .inner .works-grid .item .item_inner .text_area span.category{
    display:block;
    font-size:0.9rem;
    color:#555555;
}
.page-index #works .inner .works-grid .item .item_inner:focus {
    outline: none;
    box-shadow: 0 0 0 4px #4087bf;
    border-radius: 10px;
    display: block;
}
/*******************************************************************************************
price
*******************************************************************************************/
.page-index #price {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        #4087BF 0%,
        #6FB4E8 40%,
        #C2E2FA 100%
    );
    position:relative;
}
.page-index #price::after {
    content:"";
    display:block;
    width:200px;
    height:200px;
    background-image:url(/public/img/price-deco.png);
    background-repeat:no-repeat;
    background-size:contain;
    position:absolute;
    top:0;
    right:0;
    translate:-10% 10%;
}
.page-index #price .head h2 {
    color: #211A18;
    color: white;
    font-size: 3rem;
    font-family: 'Montserrat', 'Noto Sans Japanese';
    font-weight: bold;
    letter-spacing: 0.1em;
    text-align: center;
}
.page-index #price .head .comment {
    text-align: center;
    color: #333;
    color: white;
    line-height: 1.8;
    margin-bottom: 60px;
    font-size: 1.1rem;
}
.page-index #price .price-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.page-index #price .price-grid .item {
    position: relative;
    background: #ffffffcc; /* 半透明で背景となじむ */
    backdrop-filter: blur(6px);
    padding: 32px 26px;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.6);
    text-align: center;
}
.page-index #price .price-grid .item .badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFAFB6, #F46A7E);
    color: #fff;
    padding: 8px 26px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.page-index #price .price-grid .item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #4087BF;
    font-weight: 600;
}
.page-index #price .price-grid .item .price {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
}
.page-index #price .price-grid .item .price span {
    font-size: 1.6rem;
    font-weight: bold;
    color: #d81d52;
}
.page-index #price .price-grid .item .desc {
    font-size: 0.95rem;
    text-align:justify;
    color: #555;
    line-height: 1.7;
}
.page-index #price .notice {
    text-align: center;
    margin-top: 40px;
    color: #666;
    font-size: 0.9rem;
}
.page-index #price .notice a {
    color: #4087BF;
    font-weight: bold;
}
/*******************************************************************************************
blog
*******************************************************************************************/
.page-index #blog{
    padding-top:70px;
    padding-bottom:70px;
}
.page-index #blog .inner .head h2{
    color:#211A18;
    font-size:3rem;
    font-family: 'Montserrat', 'Noto Sans Japanese';
    font-weight:bold;
    letter-spacing: 0.1em;
    text-align:center;
}

.page-index #blog .inner .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}
.page-index #blog .inner .blog-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-index #blog .inner .blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.page-index #blog .inner .blog-item a.detail-inner{
    display:block;
    width:100%;
    height:100%;
}
.page-index #blog .inner .blog-item a.detail-inner figure{
    display:block;
    border-radius:10px 10px 0 0;
    overflow:hidden;
}
.page-index #blog .inner .blog-item a.detail-inner figure img {
    display:block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.page-index #blog .inner .blog-item a.detail-inner .blog-meta{
    display:flex;
    margin: 5px 20px;
}
.page-index #blog .inner .blog-item a.detail-inner .blog-meta .category {
    display: block;
    font-size: 0.8rem;
    color: #999;
    text-align: right;
    margin-right:10px;
}
.page-index #blog .inner .blog-item a.detail-inner .blog-meta .date {
    display: block;
    font-size: 0.8rem;
    color: #999;
    text-align: right;
}
.page-index #blog .inner .blog-item a.detail-inner h3 {
    text-align:justify;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    color: #333;
    margin: 5px 20px;
}
.page-index #blog .inner .blog-item a.detail-inner p {
    display: -webkit-box;
    text-align:justify;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin: 0 20px 15px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;/* 表示は3行まで */
    line-clamp: 3;
    overflow: hidden;
}
.page-index #blog .inner .blog-item a.detail-inner:focus {
    outline: none;
    box-shadow: 0 0 0 4px #4087bf;
    border-radius: 10px;
    display: block;
}
.page-index #blog .inner .btn-area {
    text-align: center;
    margin-top: 40px;
}
.page-index #blog .inner .btn {
    display: inline-block;
    background: #4087bf; /* HP Build Studioの青 */
    color: #fff;
    padding: 12px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.page-index #blog .inner .btn:hover {
    background: #2f6b9a;
}
.page-index #blog .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.page-index #blog .blog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.page-index #blog .blog-item h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 18px 20px 10px;
    color: #333;
}
.page-index #blog .blog-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0 20px 15px;
    line-height: 1.7;
}
/*******************************************************************************************
profile
*******************************************************************************************/
#profile {
  background-color: #f6f8fb; /* 淡いブルーグレーで柔らかく */
  padding: 100px 0;
}

/* コンテナの調整 */
#profile .wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 見出し */
#profile .head {
  text-align: center;
  margin-bottom: 60px;
}

#profile .section-title {
  font-family: 'Raleway', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 10px;



  color: #333;
  font-size: 2.6rem;
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
}

#profile .section-title span {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #777;
  margin-top: 5px;
}

/* ===============================
プロフィール本体
=============================== */
#profile .content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 60px;
}

/* 画像部分 */
#profile .profile-img img {
  width: 100%;
  max-width: 320px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 0 auto;
  display: block;
}

/* テキスト部分 */
#profile .profile-text h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #333;
}

#profile .profile-text h3 span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #777;
}

#profile .profile-text p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #555;
  margin-bottom: 25px;
}

/* ボタン */
#profile .btn {
  display: inline-block;
  background: #4087bf; /* HP Build Studio のメインブルー */
  color: #fff;
  padding: 12px 40px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

#profile .btn:hover {
  background: #2f6b9a;
}
/*******************************************************************************************
BLOG 共通スタイル（一覧）
*******************************************************************************************/
.page-post #blog .blog_inner h1{
    color: #211A18;
    font-size: 3rem;
    font-family: 'Montserrat', 'Noto Sans Japanese';
    font-weight: bold;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom:50px;
}
.page-post #blog .blog_inner p.explan{
    text-align:center;
    margin-bottom:50px; 
}
.page-post #blog {
    padding: 90px 0;
}
.page-post #blog .blog_inner h1 span {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    color: #777;
    margin-top: 5px;
}
/* ==== グリッドレイアウト ==== */
.page-post #blog .blog_inner .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.page-post #blog .blog_inner .blog-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-post #blog .blog_inner .blog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.page-post #blog .blog_inner .blog-item a.detail-inner{
    display:block;
    width:100%;
    height:100%;
}
.page-post #blog .blog_inner .blog-item a.detail-inner:focus {
    outline: none;
    box-shadow: 0 0 0 4px #4087bf;
    border-radius: 10px;
    display: block;
}
.page-post #blog .blog_inner .blog-item a.detail-inner figure{
    display:block;
    border-radius:10px 10px 0 0;
    overflow:hidden;
}
.page-post #blog .blog_inner .blog-item a.detail-inner figure img {
    display:block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.page-post #blog .blog_inner .blog-item a.detail-inner .blog-meta{
    display:flex;
    margin: 5px 20px;
}
.page-post #blog .blog_inner .blog-item a.detail-inner .blog-meta .category {
    display: block;
    font-size: 0.8rem;
    color: #999;
    text-align: right;
    margin-right:10px;
}
.page-post #blog .blog_inner .blog-item a.detail-inner .blog-meta .date {
    display: block;
    font-size: 0.8rem;
    color: #999;
    text-align: right;
}
.page-post #blog .blog_inner .blog-item a.detail-inner h3 {
    text-align:justify;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 5px 20px;
    color: #333;
}
.page-post #blog .blog_inner .blog-item a.detail-inner p {
    display: -webkit-box;
    text-align:justify;
    font-size: 0.95rem;
    color: #666;
    margin: 0 20px 15px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;/* 表示は3行まで */
    line-clamp: 3;
    overflow: hidden;
}




/* ================================
   人気記事ランキング（カード型）
================================ */
.popular-ranking-wrap {
    margin: 60px 0 40px;
    padding: 30px;
    background: #E7F3FF; /* おすすめの薄い青 */
    border-radius: 16px;
    border: 1px solid #4087bf;
}

.popular-ranking-wrap .ranking-title {
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--accent-blue);
    text-align: center;
}

.popular-ranking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.ranking-card {
    display: block;
    background: white;
    border-radius: 12px;
    padding: 12px;
    text-decoration: none;
    color: var(--text-main);
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}

.ranking-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

/* ランクバッジ */
.rank-badge {
    background-color:#4087bf;
    position: absolute;
    top: -10px;
    left: -10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
}

.rank-badge.rank-1 { background: #D4AF37; } /* 金 */
.rank-badge.rank-2 { background: #C0C0C0; } /* 銀 */
.rank-badge.rank-3 { background: #CD7F32; } /* 銅 */

/* サムネイル */
.ranking-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
}

.ranking-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-info .ranking-title-text {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}
/*******************************************************************************************
詳細ページ（blog-detail.php）
*******************************************************************************************/
#blog-detail .inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}
.toc-area {
  background: #fff;
  padding: 22px 26px;
  border-radius: 10px;
  border: 1px solid #4087bf;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  margin: 45px 0;
}

.toc-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #2b2b2b;
  border-bottom: 2px solid #4087bf;
  padding-bottom: 6px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.toc-list li.level-3 {
  margin-left: 14px;
}

.toc-list a {
  color: #4087bf;
  text-decoration: none;
  transition: .2s;
  position: relative;
}

.toc-list a:hover {
  color: #2b2b2b;
}


/* ---- メインビジュアル ---- */
.blog-head {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.blog-head-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(100,140,180,0.45); /* 薄いブルーマスク */
}

.blog-head-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.blog-head-text h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.blog-head-text .date {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
}

/* ---- 本文エリア ---- */
.blog-content h2 {
  font-family: 'Raleway', 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  border-left: 4px solid #4087bf;
  padding-left: 12px;
  margin-top: 60px;
  margin-bottom: 20px;
  color: #333;
}

.blog-content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 25px;
}

.blog-content pre {
  background: #f6f8fb;
  padding: 16px 20px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.blog-content code {
  font-family: Consolas, monospace;
  color: #333;
}

/* ---- 戻るボタン ---- */
.btn-area {
  text-align: center;
  margin-top: 60px;
}

.btn-area .btn {
  display: inline-block;
  background: #4087bf;
  color: #fff;
  padding: 12px 40px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-area .btn:hover {
  background: #2f6b9a;
}

/* ===============================
レスポンシブ
=============================== */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  #blog {
    padding: 70px 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .blog-head {
    height: 240px;
  }

  .blog-head-text h1 {
    font-size: 1.8rem;
  }

  .blog-content h2 {
    font-size: 1.4rem;
  }
}
/*******************************************************************************************
ページネーション
*******************************************************************************************/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.pagination a {
  display: inline-block;
  color: #4087bf;
  border: 1px solid #4087bf;
  border-radius: 6px;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: #4087bf;
  color: #fff;
}

.pagination .current {
  background-color: #4087bf;
  color: #fff;
  pointer-events: none;
  border-color: #4087bf;
}
/*******************************************************************************************
BLOG詳細ページ
*******************************************************************************************/
#blog-detail {
  background: #fff;
  margin-top:90px;
}
/* ---- メインビジュアル ---- */
.blog-head {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.blog-head .blog-head-bg{
    display:block;
    width:100%;
    height:100%;
    overflow:hidden;
}
.blog-head-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blog-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(100,140,180,0.65); /* ブルーマスク */
}
.blog-head-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: justify;
}
.blog-head-text h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.4rem;
    font-weight:bold;
    line-height: 1.4;
    letter-spacing: 0.05em;
}
.blog-head-text .date {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    margin-top: 10px;
}
/* ---- 本文エリア ---- */
.blog-content .inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}
.blog-content h2 {
    font-family: 'Raleway', 'Noto Sans JP', sans-serif;
    font-size: 1.7rem;
    text-align:justify;
    margin-top: 70px;
    margin-bottom: 25px;
    padding: 14px 18px;
    background-color: #e8f2fb;
    border-left: 6px solid #4087bf; /* アクセントブルー */
    border-radius: 6px;
    color: #333;
    line-height: 1.5;
}
.blog-content h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    text-align:justify;
    margin-top: 40px;
    margin-bottom: 16px;
    padding-left: 10px;
    border-left: 5px solid #4087bf; /* h2 より細くして階層が分かる */
    color: #333;
    line-height: 1.6;
}
.blog-content p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.05rem;
    text-align:justify;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
}
.blog-content strong {
    font-weight:bold;
}
.blog-content pre {
    background: #f6f8fb;
    padding: 15px 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9rem;
    margin-bottom: 25px;
}
.blog-content code {
    font-family: Consolas, monospace;
    color: #333;
}
.blog-content ul {
    margin: 20px 0 25px;
    padding-left: 1.4em;
}
.blog-content ul li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 0.4em;
    line-height: 1.8;
    font-size: 1.05rem;
    text-align:justify;
    color: #444;
}
.blog-content ul li::before {
    content: "•";
    position: absolute;
    left: -1em;
    top: 0.1em;
    font-size: 1.1em;
    color: #4087bf;
}
.blog-content ol {
    margin: 20px 0 25px;
    padding-left: 1.6em;
    counter-reset: number-list;
}
.blog-content ol li {
    counter-increment: number-list;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #444;
    padding-left: 0.2em;
}
.blog-content ol li::before {
    content: counter(number-list) ".";
    position: absolute;
    left: -1.3em;
    top: 0.1em;
    font-weight: 600;
    color: #4087bf;
}
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 1.05rem;
    background: #fff;
    border: 1px solid #e5e7eb; /* 外枠の薄いグレー */
    overflow: hidden;
    border-radius: 6px; /* 角丸で柔らかい雰囲気 */
}
.blog-content th,
.blog-content td {
    border: 1px solid #e5e7eb; /* マス目の線 */
    padding: 12px 14px;
    text-align: justify;
    color: #333;
    line-height: 1.7;
}
.blog-content th {
    background: #f3f4f6; /* ヘッダー行は薄いグレー */
    font-weight: 600;
    color: #333;
}
.blog-content tr:nth-child(even) td {
      background: #fafafa; /* 偶数行を薄くして可読性UP */
}
/* ---- タグエリア ---- */
.tag-area {
      margin-top: 40px;
}
.tag-area span {
    display: inline-block;
    background: #eaf3fa;
    color: #4087bf;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin:3px;
}
/* ---- 前後記事ナビ ---- */
.post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
}
.post-nav a {
    color: #4087bf;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}
.post-nav a:hover {
      color: #2f6b9a;
}
/* ---- 一覧へ戻るボタン ---- */
.btn-area {
    text-align: center;
    margin-top: 60px;
}
.btn-area .btn {
    display: inline-block;
    background: #4087bf;
    color: #fff;
    padding: 12px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.btn-area .btn:hover {
      background: #2f6b9a;
}
/*******************************************************************************************
contact
*******************************************************************************************/
.page-contact #main {
    margin-top: 90px;
}

.page-contact #contact .inner h2 {
    display: block;
    width: fit-content;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 50px auto 0 auto;
    position: relative;
}

.page-contact #contact .inner .explanation {
    display: block;
    width: 800px;
    color: #231815;
    text-align: justify;
    margin: 50px auto 10px auto;
    line-height: 1.8;
}

.page-contact #contact .inner .ifa_area {
    margin-top: 50px;
}

/***********************
 電話エリア
***********************/
.page-contact #contact .inner .tell_area {
    display: block;
    width: 100%;
    border-top: 1px solid #4087bf;
    margin-top: 100px;
    padding-top: 50px;
}

.page-contact #contact .inner .tell_area .tell_explanation {
    font-size: 1.1rem;
    text-align: center;
}

.page-contact #contact .inner .tell_area a.tell_btn {
    display: block;
    width: fit-content;
    max-width: 100%;
    font-size: 1.3rem;
    color: white;
    background-color: #4087bf;
    border-radius: 50px;
    margin: 50px auto 0 auto;
    padding: 0.5em 3em;
    position: relative;
    transition: background 0.2s ease;
}

.page-contact #contact .inner .tell_area a.tell_btn:hover {
    background-color: #d81d52;
}

.page-contact #contact .inner .tell_area a.tell_btn:after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(/public/img/chevron-right-solid-full-white.svg);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 0;
    translate: -50% -50%;
}

.page-contact #contact .inner .tell_area span.tell_text {
    display: block;
    width: 100%;
    font-size: 2.7rem;
    font-weight: bold;
    color: #4087bf;
    margin-bottom: 100px;
    text-align: center;
}

/***********************
 注意喚起ボックス（朱色デザイン ver.）
***********************/
.contact-notice {
    background: #FFF0EB; /* やわらか朱色 */
    border-left: none;   /* 左ラインを削除 */
    padding: 24px 28px;
    margin-top:50px;
    margin-bottom: 50px;
    border-radius: 10px;
    /* ふんわり影 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.contact-notice .notice-inner{ 
    max-width:800px;
    margin:0 auto;

}
.contact-notice h3 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    font-weight: 700;
    color: #C6543F; /* 少し濃い朱色 */
}

.contact-notice p {
    margin-bottom: 10px;
    line-height: 1.7;
    text-align:justify;
    color: #B74336; /* 朱色系のテキストカラー */
}

.contact-notice .small {
    font-size: 0.9rem;
    color: #B16050; /* 薄めの朱色 */
}
/*******************************************************************************************
privacy
*******************************************************************************************/
.page-privacy-policy #main{
    margin-top:150px;
}
.page-privacy-policy .privacy-inner{
    display:block;
    text-align:justify;
    margin:50px 0 100px 0;
}
.page-privacy-policy .privacy-inner h2 {
    display: block;
    width: fit-content;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto;
    position: relative;
}
.page-privacy-policy .privacy-inner  h3{
    display:block;
    font-size:1.7rem;
    font-weight:bold;
    text-align:left;
    padding:0.3em 1em;
    margin:2em 0;
    position:relative;
}
.page-privacy-policy .privacy-inner h3:before{
    content:"";
    display:block;
    width:5px;
    height:100%;
    background-color:#4087bf;
    position:absolute;
    top:0;
    left:0;
}
.page-privacy-policy .privacy-inner p.text{
    padding:0.5em 0;
}
.page-privacy-policy .privacy-inner p.text a.link{
    display:block;
    padding:0 1em;
    position:relative;
}
.page-privacy-policy .privacy-inner p.text a.link:after{
    content:"";
    display:block;
    width:1em;
    height:1em;
    background-image:url(/public/img/caret-right-solid-full.svg);
    background-repeat:no-repeat;
    background-size:contain;
    background-position:center center;
    position:absolute;
    top:50%;
    left:0;
    translate:0 -50%;
}
.page-privacy-policy .privacy-inner a.contact-link{
    color:#0000ee;
}
/*******************************************************************************************
iframe  
*******************************************************************************************/
.ifr_area iframe{
    display: block;
    width: 100%;
    min-height: 1300px;   /* 初回表示は縦長でも白が出にくいよう広め */
    background: #fff;     /* 再描画時のチラつき対策 */
    border: 0;
}
#gform {
    display: block;
    width: 100%;
    min-height: 1300px;   /* 初回表示は縦長でも白が出にくいよう広め */
    background: #fff;     /* 再描画時のチラつき対策 */
    border: 0;
}
/*******************************************************************************************
footer トップへ戻るボタン    
*******************************************************************************************/
#footer{
    display:block;
    width:100%;
    height:auto;
    background-color:var(--themecolor);
    position:relative;
}
#footer #return_top_btn{
    display:block;
    width:3.5rem;
    height:3.5rem;
    right: 0;
    z-index:19;/*ハンバーガーメニュー表示中は後ろに隠す*/
    scroll-behavior:smooth;
}
#footer #return_top_btn img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    filter:drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.5));
}
/*******************************************************************************************
footer
*******************************************************************************************/
#footer #footer_menu{
    width:100%;
    height:400px;
    position:relative;

}
#footer #footer_menu .img_area{
    display:block;
    width:100%;
    height:100%;
    overflow:hidden;
    z-index:0;
}
#footer #footer_menu .img_area::after{
    content:"";
    display:block;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.5);
    position:absolute;
    top:0;
    left:0;
    right:0;
    z-index:1;
}
#footer #footer_menu .img_area img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
#footer #footer_menu .content{
    display:block;
    width:100%;
    position:absolute;
    margin-top:50px;
    top:0;
    left:0;
    right:0;
    z-index:2;
}
#footer #footer_menu .content .menu_area ul.list{
    display:flex;
    width:100%;
    justify-content:center;
}
#footer #footer_menu .content .menu_area ul.list li.list_item{
    display:flex;
    color:white;
    padding:0.5em 1em;
}




/*コピーライト*/
#footer #copyright{
    display:block;
    width:100%;
    height:auto;
    color:white;
    background-color:#3153a4;
}
#footer #copyright .copyright_area{
    display:block;
    width:fit-content;
    height:auto;
    text-align:center;
    margin:0 auto;
}
#footer #copyright .copyright_area p{
    font-size:0.8rem;
}
#footer #copyright .webdesign_area{
    display:block;
    width:fit-content;
    height:auto;
    text-align:center;
    margin:0 auto;
}
#footer #copyright .webdesign_area p{
    font-size:0.7rem;
}
/*******************************************************************************************
アニメーション（共通）
*******************************************************************************************/
/*
アニメーション（スクロール時、右下にフェードイン）
フェードイン前の初期ポジションを指定用？
*/
.anime_slideBottom {
    opacity: 0;
    transform: translateY(20px);
    transition-property:all;
    transition-duration:0.5s;
    transition-delay:0s;
    transition-timing-function:ease-in-out;
}
/*******************************************************************************************
Media Queries
*******************************************************************************************/
@media only screen and (min-width: 1930px) {

}
/* Smaller than standard 1200 */
@media only screen and (max-width: 1199px) {

}
/* Smaller than standard 980 */
@media only screen and (max-width: 991px) {

}
@media only screen and (max-width: 1024px) {

}
@media only screen and (max-width: 780px) {

}
/* Tablet Landscape */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {

}

@media only screen and (max-width: 1399px) {

}

/* All Mobile Sizes */
@media only screen and (max-width: 767px) {

}
@media only screen and (max-width: 600px) {

}

/* Mobile Portrait Size */
/*@media only screen and (max-width: 479px) {*/
@media only screen and (max-width: 768px) {
    .wrapper {
        width:100%;
        max-width:100%;
        padding:0 20px;

    }
    /*PC用の文章改行を解除*/
    br.br_pc{
        display:none;
    }
    br.br_sm{
        display:block;
    }
    /*タイトル用*/
    .title_pc{
        display:none;
    }
    .title_sm{
        display:block;
    }
    /*header*/
    #header #header_menu_area #header_menu_top {
        padding:5px 10px;
    }
    #header #header_menu_area #header_menu_top span.text{
        text-align:center;
        font-size:0.7rem;
        line-height:0.7rem;
    }
    #header #header_menu_area #header_menu .logo_area {
        width:150px;
    }
    #header #header_menu_area #header_menu .logo_area .logo {
        display: block;
        width:100%;
    }
    #header #header_menu_area #header_menu .menu_area .sns_area{
        display:none;
    }
    #header #header_menu_area #header_menu .menu_area nav {
        display:none;
    }
    #header #header_menu_area #header_menu .menu_area .contact_area{
        display:none;
    }
    #header #header_menu_area #header_menu .menu_area .contact_area .contact_btn a.btn{
        font-size:0.9rem;
        padding:0.3em 1.5em;
    }
    #header .hamburger_btn{
        display:block;
    }
    #header_slide_menu_area{
        display:block;
    }
    /*mainvisual*/
    .page-index #mainvisual .inner .title_area {
        width:100%;
        left:0%;
        padding:0 10px;
    }
    .page-index #mainvisual .inner .title_area .inner p.title {
        font-size:2rem;
        line-height:3rem;
    }
    .page-index #mainvisual .inner .title_area .inner p.title span.text1 span.blue_text {
        font-size:3rem;
    }
    .page-index #mainvisual .inner .title_area .inner p.title span.text1 span.after_text {
        font-size:1.0rem;
    }
    .page-index #mainvisual .inner .title_area .inner p.title span.text2{
        font-size:1.5rem;
    }
    .page-index #mainvisual .inner .title_area .inner p.sub-title{
        font-size:1.2rem;
        padding:0;
    }
    .page-index #mainvisual .inner .title_area .inner p.explan{
        display:block;
        width:100%;
        font-size:0.8rem;
        margin:5rem 0;
    }
    .page-index #mainvisual .inner .cost_area {
        width:100%;
        justify-content:center;
        left:50%;
        translate:-50% -100%;
    }
    .page-index #mainvisual .inner .cost_area .item{
        width:30%;
    }
    /*service*/
    .page-index #service .head-area .text-area{
        width:90%;
    }
    .page-index #service .inner .service-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
        margin-top: 60px;
        margin-bottom:60px;
    }
    /*price*/
    .page-index #price::after {
        width:150px;
        height:150px;
    }
    .page-index #price .notice {
        text-align: justify;
    }
    .page-index #blog .inner .head p.explan{
        text-align:justify;
    }
    /*works*/
    .page-index #works .inner .works-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    /*blog*/
    .page-index #blog .inner .blog-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    /*service*/
    .page-index #service .inner h2 {
        font-size:2.0rem;
    }
    .page-index #service .inner .list {
        flex-wrap:wrap;
    }
    .page-index #service .inner .list .item {
        width:45%;
        margin:0.5em;
    }
    /*price*/
    .page-index #price .inner h2 {
        font-size:2.0rem;
    }
    .page-index #price .inner p.comment{
        text-align:justify;
    }
    .page-index #price .inner .list {
        flex-direction:column;
    }
    .page-index #price .inner .list .item {
        width:100%;
        margin:0 0 50px 0;
    }
    .page-index #price .inner .list .item .content_area{
        padding:10px;
    }
    .page-index #price .inner .list .item .content_area .box .box_item{
        padding: 0.2em;
    }
    .page-index #price .inner p.supplement{
        text-align:left;
    }
    .page-index #price .inner p.supplement2{
        text-align:left;
    }
    /*production*/
    .page-index #production .inner .list {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /*profile*/
    #profile {
        padding: 70px 0;
    }
    #profile .section-title {
        font-size: 2rem;
    }
    #profile .profile-text p {
        text-align:justify;
        font-size: 1rem;
        line-height: 1.8;
    }
    #profile .content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    #profile .profile-img img {
        max-width: 150px;
    }
    #profile .profile-text h3 span {
        display: inline-block;
    }
    /*Information*/
    .page-index #Information .inner {
        width:100%;
    }
    .page-index #Information .inner .row {
        grid-template-columns:1fr 2fr; 
    }
    /*footer*/
    #footer #footer_menu .inner .menu_area ul.list {
        flex-direction:column;
    }
    #footer #footer_menu .inner .menu_area ul.list li.list_item {
        width:100%;
    }
    #footer #footer_menu .inner .menu_area ul.list li.list_item {
        width:100%;
        margin-bottom:10px;
    }
    #footer #footer_menu .inner .menu_area ul.list li.list_item a.btn {
        width:100%;
    }
    #footer #footer_menu .inner .menu_area ul.list2 {
        flex-direction:column;
    }
    #footer #footer_menu .inner .menu_area ul.list2 li.list_item2{
        border:none;
        margin-bottom:10px;
    }
    #footer #footer_menu .inner .menu_area ul.list2 li.list_item2:last-child{
        border:none;
    }
    /*contact*/
    .page-contact #contact .inner .explanation{
        width:100%;
    }
    /*privacy*/
    .page-privacy #privacy .inner .text_area h3 {
        font-size:1.3rem;
        padding: 0.3em 0 0.3em 1em;
    }
    .page-privacy #privacy .inner .text_area ol {
        margin:0 0 0 2em;
    }
    /*ブログ記事一覧*/
    .page-post #blog .blog_inner .blog-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }
    .page-post #blog .blog_inner p.explan{
        text-align:justify;
    }
    /*ブログ記事詳細*/
    .blog-head-text h1 {
        font-size: 1.8rem;
    }
    .blog-content h2 {
        font-size: 1.4rem;
    }
    .blog-head-text {
        width:90%;
    }
    /*footer*/
    #footer #footer_menu .content .menu_area ul.list{
        display:flex;
        width:100%;
        justify-content:center;
        flex-wrap:wrap;
    }
}
@media only screen and (max-width: 320px) {

}
/* Center menu vertically */
@media screen and (min-width: 1025px) {
	
}