﻿@charset "utf-8";



/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Homemade+Apple&family=Sawarabi+Mincho&display=swap');

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/*lightbox.cssの読み込み
---------------------------------------------------------------------------*/
@import url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.10.0/css/lightbox.css);

/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("inview.css");


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* outline: 1px solid #B058D6; */
}


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
    --primary-color: #000; /*テンプレートのメインとなる色*/
    --primary-text-color: #ccc; /*メインの上で使うテキスト色*/
    --accent-color: url('../images/marble.jpg'); /*テンプレートのアクセントとなる色*/
    --accent-text-color: #000; /*アクセントの上で使うテキスト色*/
}


/*opa1のキーフレーム設定
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


/*fadeInのキーフレーム設定（テキストのフェードインに使用）
---------------------------------------------------------------------------*/
@keyframes fadeIn {
	0% {opacity: 0;transform: scale(0.8);}
	100% {opacity: 1;transform: scale(1);}
}


/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	height: 100%;
	font-size: 13px;	/*基準となるフォントサイズ。*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	html, body {
		font-size: 16px;	/*基準となるフォントサイズ。*/
	}

	}/*追加指定ここまで*/

    


body {
	font-family: "Sawarabi Mincho", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳＰ明朝", "MS PMincho", serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-text-color);	/*文字色。css冒頭で指定しているprimary-text-colorを読み込みます*/
	line-height: 2.2;		/*行間*/
}

@media screen and (max-width:1024px) {
         body {
             width: 100%;
         }
     }



/*リセット*/
figure {margin: 0;}
dd {  margin: 3px; font-size: 14px; }
nav {margin: 0;padding: 0;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}


/*section
---------------------------------------------------------------------------*/
section {
	padding: 2rem;	/*section内の余白*/
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {

	section {
			padding: 4rem;/*section内の余白。上下、左右への順番。*/
	}

	}/*追加指定ここまで*/


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: var(--primary-text-color);	/*文字色。css冒頭で指定しているprimary-text-colorを読み込みます*/
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少し明るくする*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
body:not(.home) #container {
	height: 100%;
	display: flex;
	flex-direction: column;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*トップページのヘッダーブロック*/
.home header {
	position: relative;
	width: 100%;
	height: 90vh;
}

/*ロゴ共通*/
#logo {
	width: 250px;		/*ロゴの幅*/
	margin: 0 auto;	/*上下に３文字分のスペースを空ける*/
}

/*トップページのロゴ共通*/
.home header #logo {
	position: absolute;z-index: 1;
	left: 5%;	/*左からの配置場所指定*/
	top: 50%;	/*上からの配置場所指定*/
	transform: rotate(-10deg);	/*10度回転させる*/
	width: 30%;	/*ロゴの幅*/
}

/*ロゴをSVGで使う場合の設定*/
#svg-logo {
	animation: opa1 1s both;	/*一瞬ロゴが全部出ちゃうのを隠す為の応急措置です*/
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    stroke: #fff;	/*ここは文字色ではないので基本的に変更しない*/
    stroke-width: 80;
}

/*ロゴをpng画像で使う場合の設定*/
.home header #logo img {
	animation: opa1 1s 1.5s both;	/*@keyframesのopa1を1秒かけて実行する。実行までの待機時間1.5秒。*/
}

/*ロゴをテキストで使う場合の設定*/
.home header #logo.hosoku {
	opacity: 1;		/*下の.hosokuで透明度を下げているので、通常通りの色を出す*/
	width: auto;
	font-size: 5vw;	/*画面幅に対する割合。大きくすると文字も大きくなります。*/
}


@media screen and (max-width:1024px){


  .home header #logo {
      filter: drop-shadow(5px 5px 5px #000);
  }

  .home header #logo a {
     top: 0;
  }


   
}


	/*画面幅768px以下の追加指定*/
	@media screen and (max-width:768px) {

        h1  {
            width: 100%;
            top: 0%;
        }

        .home header #logo {
             display: flex;
          justify-content: space-around;
         align-items: center;
            width: 100%;
            text-align: center;
            left: 0;
            filter: drop-shadow(5px 5px 5px #000);
        }
          .home header #logo a {
          display: flex;
          justify-content: center;
         align-items: center;
         width: 100%;
         top:0;
}

}
  /*追加指定ここまで*/


/*メイン画像
---------------------------------------------------------------------------*/
#mainimg {
	animation: opa1 1.5s 0.5s both;	/*@keyframesのopa1を1.5秒かけて実行する。実行までの待機時間0.5秒。*/
	position: fixed;
	right: 0;
	width: 70%;	/*画面の半分だけに配置*/
	height: 100%;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);	/*切り抜く形。左上,右上,右下,左下の順番で、それぞれ2つセットになっている数字はX軸 Y軸の順番。基点は左上(0 0)。*/
	background: url(../images/img1.jpg) no-repeat center center / cover;	/*背景画像を読み込む指定*/
    z-index: -10;
}

	/*画面のアスペクト比が1:2以下の場合の追加設定*/
	@media screen and (max-aspect-ratio: 1/2) {

	#mainimg {
		width: 100%;		/*画像が細くなりすぎるので、全画面に出すように変更*/
		clip-path: none;	/*切り抜きをリセット*/
	}

	}    /*追加指定ここまで*/

@media screen and (max-width:1024px) {
    #mainimg {
        width: 100%;
        margin: 0;
        padding: 0;
    }
}


@media screen and (max-width:768px) {
    #mainimg {
        display: flex;
        align-items: center;
      
    }
}


/*mainブロック
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {
	flex: 1;
}

/*main内のh2*/
main h2 {
	font-size: 1.5rem;		/*文字サイズ。1.5倍。*/
	font-weight: normal;	/*デフォルトの太字を標準に*/
	line-height: 1.5;		/*行間*/
	display: inline-block;	/*文字の幅にブロック幅を合わせる。これがないと画面幅いっぱいになって、下の右寄せ指定が離れすぎてしまう。*/
	text-align: right;		/*テキストを右寄せ。上でinline-blockを指定したので、画面の右側ではなく、装飾文字と合わせた幅内で右に揃う。*/
    color: #fff;
    mix-blend-mode: difference;
}

/*大きな装飾文字*/
.hosoku {
	font-family: "Allura", cursive;	/*冒頭で読み込んでいるGoogle Fontsの指定*/
	font-weight: 400;
	font-size: 3em;	/*文字サイズ。３倍。*/
	display: block;
	opacity: 0.8;	/*透明度。50%色が出た状態。*/
}

.hosoku2 {
	font-family: "Allura", cursive;	/*冒頭で読み込んでいるGoogle Fontsの指定*/
	font-weight: 400;
	font-size: 3em;	/*文字サイズ。３倍。*/
	display: block;
	opacity: 0.8;	/*透明度。50%色が出た状態。*/
    margin-top: 30px;
}


/*トップページの挨拶の最後の署名に使った設定*/
.homemade-apple-regular {
	font-family: "Homemade Apple", cursive;	/*冒頭で読み込んでいるGoogle Fontsの指定*/
	font-weight: 400;
	font-style: normal;
}


.henav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 5;
    white-space: nowrap;
    position: fixed;
    width: 100%;
    z-index: 1;
}

.henav h1 a {
    text-decoration: none;
}

.henav h1 {
    font-size: 24px;
    letter-spacing: 8px;
}

.henav nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    width: 100%;
}

.henav nav ul li{
    text-align: center;
    font-size: 18px;
}

.henav nav ul li:last-child{
    
}

.henav nav ul li .menu{
   text-decoration: none;
   display: block;
   padding: 14px;
}

.henav .animation-btn-inner {
    padding: 0.2em 2em;
    letter-spacing: 0em;
}

.henav nav ul li .menu:hover{
    background: rgb(139, 150, 42);
    opacity: 0.8;
}

.henav li {
    transition: transform 0.5s;
}

.henav li :hover{
   letter-spacing: 0.15em;
   transform: rotate(360deg);
}


#menubar {
    display: none;
}





/*.henav nav ul li .menu::before{
    content:"";
    display: block;
    margin: 0px auto 5px;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-size: contain;
    
}*/
/*
.henav nav ul li .home-icon::before{
    background: url(../images/home.svg);
}

.henav nav ul li .profile-icon::before{
    background: url(../images/Profile.svg);
}

.henav nav ul li .report-icon::before{
    background: url(../images/Report.svg);
}

.henav nav ul li .photo-icon::before{
    background: url(../images/Gallery.svg);
}

.henav nav ul li .contact-icon::before{
    background: url(../images/Contact.svg);
}
*/

@media screen and (max-width:1024px) {
    .henav {
      width: 100%;
    }

    .henav h1 {
    letter-spacing: 0.05em;
    font-size: 24px;
}

 

    .henav nav ul li {
        width: 100%;
       
        font-size: 18px;
    }

   .henav ul.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	justify-content: center;
	align-self: center;
}
.henav ul.icons li {
	margin-right: 5px;	/*アイコン同士の余白*/
}
.henav .icons img {
	width: 20px;	/*XだけはFont Awesomeにまだなかったので画像で配置しました。そのサイズです。*/
}
.henav .icons i {
	font-size:18px;	/*Font Awesomeのアイコンサイズ*/
}

.henav nav ul li .menu {
    padding: 0.5em;
}

.henav li :hover{
   letter-spacing: 0.1em;
}

}



    @media screen and (max-width:820px) {
        .henav {
            display: none;
        }

        footer .icons li {
            display: none;
        }
  

    /*メニューブロック設定
---------------------------------------------------------------------------*/
    #menubar a {
        display: block;
        text-decoration: none;
    }

    #menubar ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #menubar {
        display: none;
    }

        #menubar.d-b, #menubar_hdr.d-b {
            display: block;
        }

        #menubar.d-n, #menubar_hdr.d-n {
            display: none;
        }

        #menubar .i {
            display: block;
            width: 600px;
        }



    /*メニューブロック設定
---------------------------------------------------------------------------*/
    /*メニューブロック*/
    #menubar {
        position: fixed;
        overflow: auto;
        z-index: 100;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 100%;
        padding: 100px 20px 20px; /*ブロック内の余白。上、左右、下。*/
        background: rgba(0,0,0,0.9); /*背景色。0,0,0は黒の事で0.9は色が90%出た状態。*/
        text-align: center; /*内容をセンタリング*/
        animation: animation1 0.2s both; /*animation1を0.2秒かけて実行する*/
        color: #fff; /*文字色*/
    }

        /*メニュー１個あたりの設定*/
        #menubar a {
            color: inherit;
            padding: 10px; /*メニュー内の余白*/
        }


    /*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
    /*３本バーを囲むブロック*/
    #menubar_hdr {
        position: fixed;
        z-index: 101;
        cursor: pointer;
        left: 0px; /*右からの配置場所指定*/
        top: 0px; /*上からの配置場所指定*/
        padding: 30px; /*余白*/
        width: 100px; /*幅（３本バーが出ている場合の幅になります）*/
        height: 100px; /*高さ*/
        display: flex; /*flexを使う指定*/
        flex-direction: column; /*子要素（３本バー）を縦並びにする*/
        justify-content: space-around; /*並びかたの種類の指定*/
    }

        /*バー１本あたりの設定*/
        #menubar_hdr span {
            display: block;
            transition: 0.3s; /*アニメーションにかける時間。0.3秒。*/
            border-top: 1.5px solid #fff; /*線の幅、線種、色*/
        }

        /*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
        #menubar_hdr.ham span:nth-of-type(1),
        #menubar_hdr.ham span:nth-of-type(3) {
            transform-origin: center center; /*変形の起点。センターに。*/
            width: 50px; /*バーの幅*/
        }

        /*×印が出ている状態の設定。※１本目のバー。*/
        #menubar_hdr.ham span:nth-of-type(1) {
            transform: rotate(45deg) translate(4px, 10px); /*回転45°と、X軸Y軸への移動距離の指定*/
        }

        /*×印が出ている状態の設定。※３本目のバー。*/
        #menubar_hdr.ham span:nth-of-type(3) {
            transform: rotate(-45deg) translate(4px, -10px); /*回転-45°と、X軸Y軸への移動距離の指定*/
        }

        /*×印が出ている状態の設定。※２本目のバー。*/
        #menubar_hdr.ham span:nth-of-type(2) {
            display: none; /*２本目は使わないので非表示にする*/
        }
}


/*フッター設定
---------------------------------------------------------------------------*/
small {font-size: 100%;}
footer {
	font-size: 0.7rem;		/*文字サイズ*/
	text-align: center;		/*内容をセンタリング*/
	padding: 1rem;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}

/*著作部分*/
footer .pr {display: block;}


/*メニュー内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
ul.icons {
    display: flex;
    justify-content: center;
	list-style: none;
	margin: 0;padding: 0;
}
ul.icons li {
	margin: 0;	/*アイコン同士の余白*/
}
.icons img {
	width: 32px;	/*XだけはFont Awesomeにまだなかったので画像で配置しました。そのサイズです。*/
}
.icons i {
	font-size: 30px;	/*Font Awesomeのアイコンサイズ*/
   
    padding-top: 50%;
    text-align: center;
}


/*活動報告（新着情報用）ブロック
---------------------------------------------------------------------------*/
/*ブロック内のspan。日付の横のアイコン的な部分です。*/
.news span {
	display: inline-block;
	/*border-radius: 3px;	*/	/*角を丸くする指定*/
	/*border: 1px solid var(--primary-text-color); */	/*枠線の幅、線種、色*/
	margin: 0 1rem;			/*上下、左右へのブロックの外にとる余白*/
    color: #b39855;
    letter-spacing: 0.1em;
}

.news span::before {
    content: "『";
}

.news span::after {
    content: "』";
}

.bg2 {
    position: relative;
	padding-top: 3vw;		/*ボックス内の上に空ける余白*/
	padding-bottom: 3vw;	/*ボックス内の下に空ける余白*/
	margin-top: 5vw;		/*ボックス外の上に空ける余白*/
	margin-bottom: 5vw;		/*ボックス外の下に空ける余白*/

}

.news {
   width: 100%;
   height: 320px;
   padding: 20px 20px ;
   margin: 1px;
   background: rgba(0,0,0,0.9);
   overflow: hidden;
   transition: 0.3s;
}

.news:hover {
    overflow-y: auto;
}

.news::-webkit-scrollbar {
    width: 16px;
}

.news::-webkit-scrollbar-track {
    background-color: rgb(139, 150, 42,0.8);
    border-radius: 100px;
}

.news::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 100px;
}

.syousai {
    padding-top: 20px;
}






@media screen and (max-width:480px){

    .news {
        display: block;
    }
    .news span {
       width: 100%;
       margin: 0 auto;
    }
 }



.bg3 {
    position: relative;
	padding-top: 3vw;		/*ボックス内の上に空ける余白*/
	padding-bottom: 3vw;	/*ボックス内の下に空ける余白*/
	margin-top: 5vw;		/*ボックス外の上に空ける余白*/
	margin-bottom: 5vw;		/*ボックス外の下に空ける余白*/
}

.bg4 {

	margin-top: 2vw;		/*ボックス外の上に空ける余白*/
	margin-bottom: 2vw;		/*ボックス外の下に空ける余白*/
}

@media screen and (max-width:1024px){
  .bg4 .gaiyou {
    margin-top: 5vw;
    margin-bottom: 5%;
  }
}

@media screen and (max-width:768px){
    .bg4 .gaiyou{
        margin-top: 10vw;
    }
}

@media screen and (max-width:480px){
    .bg4 .gaiyou{
        margin-top: 20vw;
    }
}

/*list-grid（gallery.htmlでサムネイルを表示している部分の設定です）
---------------------------------------------------------------------------*/
/*listブロックを囲む外側のボックス*/
.list-grid-trimming {
	display: grid;
	grid-template-columns: repeat(4, 1fr);	/*ここの「4」の数字が横に並べる数です。3列がいいなら(3, 1fr)です。*/
	gap: 1rem;	/*マージン的な数値。サムネイル間を１文字分あけます。*/
}

/*ボックスを正方形にトリミングする為の指定なので変更しない。*/
.list-grid-trimming .list {
	position: relative;
	overflow: hidden;
	height: 0;
	padding-top: 100%;
}
.list-grid-trimming .list a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
.list-grid-trimming .list img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
    filter: brightness(70%);
    border: 2px solid #ccc;
    border-radius: 1%;
}

/*マウスオン時の画像*/
.list-grid-trimming .list img:hover {
	transform: scale(1.1);	/*1.1倍に拡大*/
	filter: contrast(1.3);	/*コントラストを1.3倍*/
}

/*----------------------------galleryメインメニュー--------------------------*/
/*listブロックを囲む外側のボックス*/

.list-grid-trimming2 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);	/*ここの「4」の数字が横に並べる数です。3列がいいなら(3, 1fr)です。*/
	gap: 20px;
    margin-top: 20px;
}


/*ボックスを正方形にトリミングする為の指定なので変更しない。*/
.list-grid-trimming2 .list2 {
	position: relative;
	overflow: hidden;
	height: 0;
	padding-top: 70%;
    gap: 60px;
    letter-spacing: 0.5em;   
}


.list-grid-trimming2 .list2 a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
    text-decoration: none;
}
.list-grid-trimming2 .list2 img {
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
    border-radius: 3%;
    border: 2px outset #fff;
}

/*マウスオン時の画像*/
.list-grid-trimming2 .list2 img:hover {
	transform: scale(1.1);	/*1.1倍に拡大*/
	filter: sepia(1.3);	/*コントラストを1.3倍*/
    opacity: 0.9;
}



@media screen and (max-width: 1024px) {

    .list-grid-trimming2 {
        grid-template-columns: repeat(2, 1fr);	/*ここの「4」の数字が横に並べる数です。3列がいいなら(3, 1fr)です。*/
        gap: 18px;	/*マージン的な数値。サムネイル間を１文字分あけます。*/
        margin-top: 5%;
    }

}

@media screen and (max-width: 480px) {
    .list-grid-trimming2 {
        grid-template-columns: repeat(1, 1fr);	/*ここの「4」の数字が横に並べる数です。3列がいいなら(3, 1fr)です。*/
        gap: 18px;	/*マージン的な数値。サムネイル間を１文字分あけます。*/
    }

}



/*bg1背景色がついたブロック
---------------------------------------------------------------------------*/
.bg1 {
	position: relative;
	background: var(--accent-color);  /*背景色。css冒頭で指定しているaccent-colorを読み込みます*/
    opacity: 0.8;
    background-size: cover;
	padding-top: 3vw;		/*ボックス内の上に空ける余白*/
	padding-bottom: 3vw;	/*ボックス内の下に空ける余白*/
	margin-top: 5vw;		/*ボックス外の上に空ける余白*/
	margin-bottom: 5vw;		/*ボックス外の下に空ける余白*/
}


.bg1 a {
	color: inherit;
}


.letter {
   letter-spacing: 10px;
   font-size: 24px;
   text-align: center;
}

p.date {
    text-align: right;
}

.bgpro {    
background: var(--accent-color);
filter: grayscale(30%);
background-size: cover;
background-attachment: fixed;
display: flex;
justify-content: center;
flex-direction: column;
padding-bottom: 20%;
background-position: bottom;

}

.bgpro .look {
    width: 100%;
}



.bgpro .letter{
    margin-bottom: 10px;
    padding: 0;
}

.bgpro p {
    margin-bottom: 10px;
}


@media screen and (max-width:1024px) { 
    .bgpro  .hosoku{
        margin-top: 30%;
    }
    .bgpro {
        height: auto;
    }

    .bgpro .letter{
        margin-bottom: 0;
    }
 
}

@media screen and (max-width:768px) {
    .bgpro .midashi .hosoku{
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
p.date {
    text-align: center;
}

 .bgpro .look {
    padding: 0 20px 0px 20px;
    margin: 0 auto;
 }

 

.animation-btn {
    width: 100%;
    text-align: center;
}

.service .syousai2 p {
    margin-top: 20px;
    text-align: center;
}

}


/*以下のheightの行が傾斜の角度です。vwという単位は画面幅に対してで、画面幅100%＝100vwになります。
つまり、画面幅に対して常に同じ傾斜具合になります。1pxの数字は時々隙間が発生するのでそれを防ぐ為の措置です。
傾斜（height）を変更したい場合は、下にある「.bg1::before」のtopと「.bg1::after」のbottomの数字も変更。*/
.bg1::before, .bg1::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: calc(5vw + 1px);
	background: var(--accent-color);	/*背景色。css冒頭で指定しているaccent-colorを読み込みます*/
    background-size: cover;
}

.bg1::before {
	top: -5vw;	/*上の、heightの「5vw」と数字を揃えて先頭にマイナスをつける*/
	clip-path: polygon(0 100%, 100% 0, 100% 100%);	/*三角形の形を作っています*/
}

.bg1::after {
	bottom: -5vw;	/*上の、heightの「5vw」と数字を揃えて先頭にマイナスをつける*/
	clip-path: polygon(0 0, 100% 0, 0 100%);	/*三角形の形を作っています*/
}


/*2カラムの設定
---------------------------------------------------------------------------*/
/*全体を囲むブロック*/
.c2 {
    display: flex;	/*flexを使う指定*/
    gap: 3vw;		/*ボックスの間に空けるマージン的な要素。画面幅100%＝100vwです。*/
}

/*大きい方のボックス*/
.c2 .large-box {
    flex: 1;
}

/*小さい方のボックス*/
.c2 .small-box {
    flex-shrink: 0;
    width: 20vw;	/*幅。これを変更すれば自動で大きな方のボックスも調整されます。画面幅100%＝100vwです。*/
}

/*左右を入れ替える場合*/
.c2.reverse {
	flex-direction: row-reverse;
}


/*ボックスの内側につける影
---------------------------------------------------------------------------*/
.box-shadow-inset {
	position: relative;
}
.box-shadow-inset::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	/*以下の行が実際の指定箇所。2つある1vwの数値を変更すればぼかし具合が変わります。var()の部分は、css冒頭で指定しているprimary-colorを読み込む指定*/
	box-shadow: 0px 0px 1vw 1vw var(--primary-color) inset;
}


/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
/* 初期状態でテキストを非表示にする */
.fade-in-text {
    visibility: hidden;
}

/* アニメーションを適用するクラス。
animationの行の「0.1s」が文字の出現のなめらかさで、大きいほどなめらかに出てきます。現状0.1ですが、0.5など大きくするとなめらかに出てきます。
１文字ずつの出現する際の時差は、js/main.jsの「テキストのフェードイン効果」の中にある「0.1」で調整できます。*/
.char {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.1s linear both;
}


/*アニメーションボタン。（枠線をぐるっとなぞるアニメーション）
---------------------------------------------------------------------------*/
@keyframes w {0% {width: 0px;} 100% {width: 100%;}}
@keyframes h {0% {height: 0px;} 100% {height: 100%;}}

/*ボタンの一番の外側のボックス*/
.animation-btn {
	position: relative;		/*枠線をアニメーションさせる為に必要な指定*/
	display: inline-block;
	box-shadow: 0px 0px 0px 1px rgba(255,255,255,0.5) inset;	/*デフォルトで見えている枠線の設定。255,255,255は白の事で0.5は色が50%出た状態。*/
    float: right;
    clear: both;
}

.animation-btn:hover {
    background: rgb(139, 150, 42);
    opacity: 0.8;
}


/*上のanimation-btnの内側にあるボックス*/
.animation-btn-inner {
	display: block;text-decoration: none;
	padding: 0.5em 3em;		/*ボタン内の余白。上下、左右へ。emは文字の単位。1emが1文字分という事です。*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	text-indent: 0.1em;		/*letter-spacingを設定するとその分全体のテキスト位置がずれるので、戻す設定。同じ数字にしておけばOKです。*/
}

/*ボタン内でiタグを使う場合の設定*/
.animation-btn-inner i {
	display: inline-block;
	transition: 0.3s;		/*アニメーションにかける時間。0.3秒。*/
	padding-left: 1em;		/*テキストと、iタグの間の余白*/
}
.animation-btn-inner:hover i {
	transform: translateX(5px);	/*マウスオン時にiタグを5pxだけ右に移動する*/
}

/*枠線共通*/
.animation-btn::before,
.animation-btn::after,
.animation-btn-inner::before,
.animation-btn-inner::after {
	content: "";
	position: absolute;
	background-color: #fff;		/*background(背景)スタイルですが、ここでは枠線の色に使われます。*/
	animation-duration: 0.2s;	/*アニメーションにかける時間。１辺あたり0.2秒。*/
	animation-fill-mode: forwards;	/*アニメーション完了時に最後のフレームを維持。この１行を外してみると別の動作になって面白い動きになります。*/
	animation-timing-function: linear;	/*アニメーションの速度のタイプ。同じ速度にする。*/
}

/*ラインアニメーション１（左上→右上）*/
.animation-btn:hover::before {
	left: 0px;	/*開始地点の指示*/
	top: 0px;	/*開始地点の指示*/
	height: 1px;		/*線の幅の代わりになります*/
	animation-name: w;	/*上の「@keyframes」で使うアニメーション名の指定。*/
}

/*ラインアニメーション２（右上→右下）*/
.animation-btn:hover::after {
	right: 0px;	/*開始地点の指示*/
	top: 0px;	/*開始地点の指示*/
	width: 1px;			/*線の幅の代わりになります*/
	animation-name: h;	/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.2s;	/*アニメーションを0.2秒遅れてスタートさせる。*/
}

/*ラインアニメーション３（右下→左下）*/
.animation-btn-inner:hover::before {
	right: 0px;		/*開始地点の指示*/
	bottom: 0px;	/*開始地点の指示*/
	height: 1px;		/*線の幅の代わりになります*/
	animation-name: w;	/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.4s;	/*アニメーションを0.4秒遅れてスタートさせる。*/
}

/*ラインアニメーション４（左下→左上）*/
.animation-btn-inner:hover::after {
	left: 0px;		/*開始地点の指示*/
	bottom: 0px;	/*開始地点の指示*/
	width: 1px;			/*線の幅の代わりになります*/
	animation-name: h;	/*上の「@keyframes」で使うアニメーション名の指定。*/
	animation-delay: 0.6s;	/*アニメーションを0.6秒遅れてスタートさせる。*/
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 20px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: rgba(0,0,0,0.2);	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	border-radius: 50%;	/*円形にする*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.color1, .color1 a {color: #daad11 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb5rem {margin-bottom: 5rem !important;}
.look {width: 100%; display: inline-block; padding: 20px 20px ;margin: 1px;background: rgba(0,0,0,0.9);border: 1px solid #ccc; border-radius: 3px;word-break: break-all;}
.small {font-size: 0.7em;}
.large {font-size: 1.5em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

	}/*追加指定ここまで*/


.thumbnail-slide {
    background: rgba(0,0,0,0.8);
    opacity: 0.8;
}

@media screen and (max-width:480px) {
    .thumbnail-slide {
        display: inline-block;
        width: 100%;
    }

}

.service {
    width: 100%;
   display: inline-block;
   padding: 20px 20px;
   padding-bottom: 30px;
   background: rgba(0,0,0,0.9);
   border: 1px solid #ccc; 
   border-radius: 3px;
   word-break: break-all;
}

.service p {
    text-align: left;
}


.service h3 {
    display: flex;
     justify-content: center;
     padding: 10px;
}


.service strong  {
     display: flex;
     justify-content: center;
     padding: 5px;
 }

.id {
   display: inline-block;
   padding: 0px 100px;
   margin: 0 auto;
   text-align: center;
 }


.service ol {
    text-align: left;
   
}

.service li {
    padding-left: 5px;
}

@media screen and (max-width:1024px){
   .Service {
      font-size: 12px;
   }

   .id {
       padding: 0;
   }
}

footer .icons {
  width: 300px;
}

footer .icons li {
    margin-left: 5%;
}

.botan {
    width: 210px;
    margin: 0 auto;
    padding: 20px;
}

.botan p {
    width: 100%;
}

#formWrap {
	width:700px;
	margin:0 auto;
	color:#ccc;
	line-height:120%;
	font-size:90%;
}
table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}

table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:10px;
}
table.formTable th{
    width: 300px;
    color: #343434;
    font-weight: bold;
  
	background: linear-gradient(90deg, #b39855 0%, #fff9e6 50%, #b39855 100%);
}

table.formTable td,input[type="redio"] ,[type="checkbox"]{
    accent-color: rgb(139, 150, 42);
}

table td  a {
    text-decoration: none;
}

p.error_messe{
	margin:5px 0;
	color:red;
}
/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:768px) {
    table.formTable td,table.formTable th{
        white-space: nowrap;
        
    }
       
    }


@media screen and (max-width:572px) {
#formWrap {
	width:95%;
	margin:0 auto;
}
table.formTable th, table.formTable td {
	width:auto;
	display:block;
}
table.formTable th {
	margin-top:5px;
	border-bottom:0;
}
form input[type="text"], form textarea {
	width:100%;
	padding:5px;
	font-size:110%;
	display:block;
}
form input[type="submit"], form input[type="reset"], form input[type="button"] {
	display:block;
	width:100%;
	height:40px;
}
}

.midashi {
    margin-top: 10px;
}

.midashi-p {
    margin-top: 10px;
}

.midashi-c {
    margin-top: 10px;
}

.sp_br {
    display: none;
}
@media screen and (max-width:768px) {
  .sp_br {
    display: block;
  }
}

@media screen and (max-width:480px) {
.midashi {
    margin-top: 5%;
}

    .midashi-p {
        margin-top: 5%;
    }

    .midashi-c {
        margin-top: 15%;
    }

    table.formTable td,table.formTable th{
        padding:5px;
    }
}


/*会社概要*/

#room_01 {
    background: linear-gradient(rgba(0, 0, 0, 0.4),rgba(0, 0, 0,0.4)),url('../images/room_01.jpg');
    background-size: cover;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    flex-direction; column;
    justify-content: center;
    align-items: center;
    color: #000;
    border-radius: 15px;
    border: 3px outset #ccc;
    background-position: bottom;
    margin-top: 5%;
    margin-bottom: 5%;
}

#room_02 {
    background: url('../images/room_02.jpg');
    background-size: cover;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    border-radius: 20px;
    border: 3px outset #fff;
}



@media screen and (max-width: 480px) {
    #room_01 {
        background-position: bottom right -280px ;
    }

    #room_02{
        background-position: center;
        height: 46vh;
    }
    
}

/*introductionのフローデザイン*/


.flow_design02 ul {
    padding: 0;
    width: 100%;
}

.flow_design02 li {
    list-style-type: none;
}

.flow_design02 dd {
    margin-left: 0;
}

.flow02 > li {
    padding: 40px 10px;
   
}

.flow02 > li:not(:last-child) {
    border-bottom: 3px solid  rgb(139, 150, 42,0.8);
    position: relative;
}

.flow02 > li:not(:last-child)::before,
.flow02 > li:not(:last-child)::after {
    content: "";
    border: solid transparent;
    position: absolute;
    top: 100%;
    left: 15%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.flow02 > li:not(:last-child)::before {
    border-width: 22px;
    border-top-color:  rgb(139, 150, 42,0.8);
}

.flow02 > li:not(:last-child)::after {
    border-width: 18px;
    border-top-color: #000;
}

.flow02 > li dl {
    margin: 0;
}

.flow02 > li dl dt {
    font-size: 1.3m;
    font-weight: 600;
    border-bottom: 2px dotted #878787;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    display: flex;
}

.flow02 > li dl dt .icon02 {
    font-size: 0.6em;
    color: #eee;
    background:  rgb(139, 150, 42,0.8);
    padding: 5px 10px;
    display: inline-block;
    margin-right: 0.5em;
}

.gallery-hd {
    margin-top: 2%;
}

.gallery-hd img{
    width: 360px;
}

@media screen and (max-width: 1024px) {
    .gallery-hd {
        width: 100%;
     
    }

 
}

@media screen and (max-width: 480px) {

    .gallery-hd {
        margin-top: 15%;
        text-align: center;
    }

    .gallery-hd img{
        width :100%;
    }

}

.personal ol:hover {
    overflow-y: auto;
}

.personal ol::-webkit-scrollbar {
    width: 16px;
}

.personal ol::-webkit-scrollbar-track {
    background-color: rgb(139, 150, 42,0.8);
    border-radius: 100px;
}

.personal ol::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 100px;
}

.personal ol {
    height: 300px;
    border: 2px solid #ccc;
    padding-left: 30px;
    padding-right: 30px;
    overflow: hidden;    
}

.personal ul li{
    list-style: none;
}

.check {
    padding: 20px;
} 

.check p  {
    padding-bottom: 20px;
}



.list-grid-trimming3 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);	/*ここの「4」の数字が横に並べる数です。3列がいいなら(3, 1fr)です。*/
	gap: 0rem;	/*マージン的な数値。サムネイル間を１文字分あけます。*/
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 10%;
    margin-bottom: 3%;
    border: 2px solid #ccc;
    border-radius: 10px;
}

/*ボックスを正方形にトリミングする為の指定なので変更しない。*/
.list-grid-trimming3 .list3 {
    position: relative;
	overflow: hidden;
	height: 0;
	padding-top: 70%;
    gap: 60px;
    letter-spacing: 0.5em;
}
.list-grid-trimming3 .list3 a {
	display: block;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

.list-grid-trimming3 .list3 img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
    filter: brightness(70%);
    opacity: 0.5;
}

/*マウスオン時の画像*/
.list-grid-trimming3 .list3 img:hover {
	transform: scale(1.1);	/*1.1倍に拡大*/
	filter: contrast(1.3);	/*コントラストを1.3倍*/
}

.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ccc;
    font-size: 32px;
    font-weight: bold;
    padding: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-style: italic;
}

@media screen and (max-width: 1024px) {
    .list-grid-trimming3 {
        margin-top: 15%;
    }

  
}

@media screen and (max-width: 480px) {

    .list-grid-trimming {
        display: grid;
        grid-template-columns: repeat(2, 1fr);	/*ここの「4」の数字が横に並べる数です。3列がいいなら(3, 1fr)です。*/
        gap: 1rem;	/*マージン的な数値。サムネイル間を１文字分あけます。*/
        margin-top: 10%;
    }

    .list-grid-trimming3 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);	/*ここの「4」の数字が横に並べる数です。3列がいいなら(3, 1fr)です。*/
        gap: 1rem;	/*マージン的な数値。サムネイル間を１文字分あけます。*/
        margin-top: 30%;
    }

   
}

.gaiyou {
    text-align: center;
    letter-spacing: 10px;
}

.company {
    display: flex;
    border-collapse: collapse;
}
.company th,
.company td{
     font-weight: normal;
     border-top: 1px solid #fff;
     border-right: 1px solid #fff;
     border-left: 1px solid #fff;
     border-bottom: 1px solid #fff;
}

.company th {
    width: 300px;
    color: #343434;
    font-weight: bold;
	background: linear-gradient(90deg, #b39855 0%, #fff9e6 50%, #b39855 100%);
}

.company  td {
 
    padding: 10px;
}


@media screen and (max-width: 1024px) {
    
}

@media screen and (max-width: 768px) {
    .company  th,
 .company  td {
	display:block;
    width: 100%;
 }

 .syousai{
    text-align: center;
 }

   } 
   

@media screen and (max-width: 480px) {
 .company  th,
 .company  td {
    padding: 5px;
}
}




/*スクロールアニメーション*/

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


.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.photo_text {
    margin-bottom: 2%;
}

.roomtext {
    padding: 5%;
}

.letter1 {
    padding-top: 2%; 
    padding-bottom: 2%;
}

/*左からのスライド*/

.box-left {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-150px); /* 左方向にオフセット */
    transition: all 1s;
}

.box-left.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* 元の位置に戻す */
}

/*右からのスライド*/

.box-right {
    opacity: 0;
    visibility: hidden;
    transform: translateX(150px); /* 右方向にオフセット */
    transition: all 1s;
}

.box-right.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* 元の位置に戻す */
}



















