﻿/* 1536 , 1530 × 735 ,1366 *//* 上記画面幅でも崩れていないか確認 */

/* 修正した場合→各項目の一番下に日付をコメントアウトして追記 */




@charset "utf-8";
/*■■　ALL　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

#fakeloader{
    display:none;
}

body{
    line-height:2;
    background-color: var(--color2);
}
header{
    background: url(/Files/img/bg.jpg);
    background-size: 200px;
}

#logo{
    max-width:200px;
}
#main_menu li a,
.footer_cms,
#footer_menu li a,
#page-top a,#page-top a span,
#copyright,#copyright a{
    color:#fff!important;
}

#main_menu li a:hover,
#footer_menu li a:hover,
#top_cms .more a:hover{
    opacity:0.5;
}

.tel_bt a,
.head_banner a,
.foot_tel_bt a,
#top_cms .more a{
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #A67C52 !important; /* ボタン自体のオーク色 */
    color: #ffffff !important;           /* 白文字 */
    border-radius: 50px !important;      /* カプセル型 */
    text-decoration: none !important;
    font-weight: 600;
    letter-spacing: 0.05em;              /* 少し文字間を広げて可読性アップ */
    border: none !important;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 12px;                 /* ボタン同士の間隔 */
    height: 54px;                        /* 画像の比率に合わせた高さ */
    transition: opacity 0.3s ease;
}
#top_cms .more a{
    width:300px;
}

/* ホバー時の演出：頑張りすぎない程度の変化 */
.tel_bt a:hover, 
.head_banner a:hover,
.foot_tel_bt a:hover{
    opacity: 0.8;
    background-color: #A67C52 !important; /* 色は変えず透明度のみ */
}

/* 電話アイコン・コメントアイコンのサイズ微調整 */
.tel_bt a i, 
.head_banner a i,
.foot_tel_bt a i{
    font-size: 0.9em;
}

/* 2カラム左ヘッダー内でのレイアウト調整 */
@media screen and (min-width: 992px) {
    .tel_bt, .head_banner {
        padding: 0 20px; /* サイドバーの左右に余白を作る */
    }
}

footer{
    /*background-color:var(--color4);*/
    background-color:transparent!important;
    background-image:url(/Files/img/bg2.jpg);
    background-size: cover;
}


/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

#logo {
    max-width: 110px;
}
.hamburger__icon,.hamburger__icon:after, .hamburger__icon:before{
    background-color: #fff!important;
}
.hamburger.active .hamburger__icon:before,
.hamburger.active .hamburger__icon:after{
    background-color:var(--color1)!important;
}
#main_img{
    max-height: 80vh;
}
.hamburger {
    top: 30px;
}
.fat-nav li{
    font-size:16px;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#logo {
    max-width: 85px;
}
footer .logo{
    text-align: center;
}
.hamburger {
    top: 20px;
}
}



/*■■　FV　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#main_img::before{
    content:'';
    position:absolute;
    display:block;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background-color:rgba(0,0,0,0.2);
    z-index:3;
    pointer-events:none;
}
.catchcopy {
    text-align: center;
    z-index:4;
    text-shadow: 2px 2px 30px rgba(0, 0, 0, 0.5);
}

.main_copy {
    font-size: 3vw;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.sub_copy1,.sub_copy {
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    position: relative;
    padding-top: 15px;
}

/* キャッチコピー下の波線（ラフ案の演出） */
.sub_copy::before {
    content: "";
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 10px;
    background: url(/Files/img/item1.png) center / contain repeat;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .fv_container { flex-direction: column-reverse; }
    .side_nav { width: 100%; height: auto; }
    .main_visual { width: 100%; height: 70vh; }
    .main_copy { font-size: 1.8rem; }
}

/*sign-pole*/
/* スクロールエリア全体の配置（FVの最下部へ） */
.scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

/* サインポール本体をリンクボタンにする */
.sign-pole {
  display: block;
  width: 30px;  /* スクロール用なので少し細身に */
  height: 80px; /* 高さを抑えてスマートに */
  border-radius: 20px;
  text-decoration: none;
  /*
  border: 2px solid #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.2), inset 0 0 5px rgba(0,0,0,0.2);
  */
  overflow: hidden;

  /* 青→白→赤→白 のループ背景 */
  background: repeating-linear-gradient(
    -45deg,
    #005bbb 0px, #005bbb 15px,
    #ffffff 15px, #ffffff 30px,
    #d40000 30px, #d40000 45px,
    #ffffff 45px, #ffffff 60px
  );
  background-size: 85px 85px; /* サイズに合わせて調整 */
  animation: poleMoveUp 3.5s linear infinite; /* 少し速めて躍動感を出す */
}

/* スクロールのテキスト（サインポールの下） */
.scroll span {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  /* ふわふわ揺れるアニメーションを追加 */
  animation: srollBounce 3.5s ease-in-out infinite;
}

/* 逆回転（上に昇る動き） */
@keyframes poleMoveUp {
  0% { background-position: 0 0; }
  100% { background-position: 0 -85px; }
}

/* テキストのバウンド */
@keyframes srollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------------------------　responsive　-------------------------- */
@media screen and (max-width: 1260px){
.main_copy {
    font-size: 2.5vw;
}
}


/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
.catchcopy{
    width:60%;
}
.main_copy {
        font-size: 2.5rem;
    }
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#main_img img.object_fit_img{
    min-height: 40vh;
}
.catchcopy {
    width: 80%;
}
.main_copy {
    font-size: 1.8rem;
    letter-spacing: -1px;
}
.sub_copy1,.sub_copy {
    font-size: 1.2rem;
    letter-spacing: -0.1em;
}
.sub_copy::before{
    bottom: -17px;
    height: 7px;
}
.scroll{
    bottom:10px;
}
.scroll span{
    margin-top:0;
}
.sign-pole{
    width: 20px;
    height: 40px;
}
}

@media screen and (max-width: 375px){
.scroll {
    bottom: 0px;
}    
.sign-pole {
    width: 15px;
    height: 30px;
}    
}


/*■■　TOP　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


#contents1 .con_no{
    padding-left: 50px;
    background: url(/Files/img/item2.png) no-repeat center left / 36px;
}
#contents2 .con_no{
    padding-left: 50px;
    background: url(/Files/img/item3.png) no-repeat center left / 36px;
}
#contents3 .con3_1 .con_no{
    padding-left: 50px;
    background: url(/Files/img/item4.png) no-repeat center left / 36px;
}
#contents3 .con3_2 .con_no{
    padding-left: 50px;
    background: url(/Files/img/item5.png) no-repeat center left / 22px;
}
#top_cms .cms_3-g .box_wrap{
    position:relative;
    z-index:0;
}
#top_cms .cms_3-g .box_wrap::before,
#top_cms .cms_3-g .box_wrap::after{
    content: '';
    position: absolute;
    display: block;    
}
#top_cms .cms_3-g .box_wrap::before {
    width: 55px;
    height: 30px;
    background: url(/Files/img/item6.png) no-repeat center center / contain;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
#top_cms .cms_3-g .box_wrap::after{
    width:calc(100% + 30px);
    height:calc(100% + 30px);
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    border:2px solid var(--color1);
    pointer-events:none;
    z-index:-1;
}


/* 写真の土台：相対配置(relative)にして疑似要素の基準にする */
#contents2 .editImg1,
#contents3 .editImg1{
    position: relative; /* 必須 */
    background: #fff;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid #eee;
    display: inline-block;
    transition: transform 0.3s ease;
    overflow: visible; /* 疑似要素がはみ出しても見えるように */
}

/* 中の画像自体の設定 */
#contents2 .editImg1 img,
#contents3 .editImg1 img{
    display: block;
    width: 100%;
    height: auto;
}

/* 左上と右下の共通設定（切り込みライン） */
#contents2 .editImg1::before,
#contents2 .editImg1::after,
#contents3 .editImg1::before,
#contents3 .editImg1::after{
    content: "";
    position: absolute;
    width: 50px;          /* ラインの長さ */
    height: 1px;          /* ラインの太さ */
    background-color: #555; /* ラインの色（画像に合わせて調整してください） */
    z-index: 2;           /* 画像より上に表示 */
}

/* 左上のライン */
#contents2 .editImg1::before,
#contents3 .editImg1::before{
    top: 5px;
    left: -15px;
    transform: rotate(-35deg); /* 斜め45度 */
}

/* 右下のライン */
#contents2 .editImg1::after,
#contents3 .editImg1::after{
    bottom: 5px;
    right: -15px;
    transform: rotate(-35deg); /* 斜め45度 */
}





/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#contents3 {
    padding: 50px 10% 100px;
}
#contents3 .grid_6 {
    margin-top: 50px;
}
#top_cms .cms_3-g .box_wrap::after{
    width: calc(100% + 20px);
    height: calc(100% + 20px);
}
#top_cms .cms_title h2{
    font-size:27px;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){

}



/*■■　下層ページ　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#cms_2-h .box_title1:before {
display:none;
}
#page10 li a{
    border:solid 1px;
}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
article.page_wrap {
    padding: 50px 8%;
}
.cate_list {
    margin-bottom: 50px;
}
}

@media screen and (max-width: 375px){
.contact_btn span{
    font-size:21px;
}
}

/* 2026/01/14 タブレット横はみ出し修正 */
@media screen and (max-width: 1024px) {
    /* 1. 枠線の飛び出しを抑制 */
    #top_cms .cms_3-g .box_wrap::after {
        width: calc(100% + 10px); /* 30pxから10pxに縮小 */
        height: calc(100% + 10px);
    }

    /* 2. 写真の切り込み装飾が画面外に出ないように調整 */
    #contents2 .editImg1::before,
    #contents2 .editImg1::after,
    #contents3 .editImg1::before,
    #contents3 .editImg1::after {
        left: -5px;  /* 飛び出しを最小限に */
        right: -5px;
    }

    /* 3. 根本的な解決：全体のはみ出しをカット */
    body, .main_contents {
        overflow-x: hidden;
    }
}