/*
Theme Name:
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

body, html {
    font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN,sans-serif;
}

/* 見出しタグ */
h2.wp-block-heading {
	background-color:#9F403A;
	color: #fff;
	padding-left: 0.5em;
}

/* コピーライトの二行目を消す */
.site-footer-copyright p:nth-child(2) {
    display: none;
}

/* ディテール
---------------------------------------------------------------------------------------------------*/
.appeal {
	min-height: 470px;
}
/* ロゴ右側のブロック */

.logo-after {
	font-size: 1.2em!important;
	line-height:1!important;
	display: block;
	width:300px;
	float: right;
	font-weight: bolder;
}
.logo-after p {
	margin: 0;
}

@media (max-width: 991px) {
.logo-after {
width: 100%;
margin-top: 10px;
margin-bottom: 10px;
text-align: center;
}
}
.site-header-sub {
margin-bottom: 0;
}
/*ロゴ画像を大きくする*/
	.site-header-logo img{
		max-height: 100px;
	}	
.co-profle tr td:nth-of-type(1) {
	white-space: nowrap;
}
/*CTR 位置調整 */
.bottom_cta {
	margin-top:-80px!important;
}


.poster{
	font-size: 0.85em;
	margin: 50px 0;
	padding: 1em 1em 0;
	border: solid 1px #999;
}
.poster h6 {
	padding: 0;
}
.poster .wp-block-media-text__content {
	padding: 0 2% 0 5%;
}
.poster div.sow-accordion-panel-header {
	padding: 0.5em 0 0!important;
}
.poster p{
	margin-bottom: 0.5em;
}
.poster .sow-accordion-panel-border {
	padding: 0!important;
}
.poster .sow-accordion-title {
	width:auto!important;
}
.sow-accordion-panel-header {
	flex-direction:row-reverse!important;
}

.bottom_cta {
	margin-top: 50px;
	padding: 1em;
	border: solid 1px #888;
}
.home .bottom_cta {
	display: none;
}
.line-btn {
	text-align: center;
	margin-bottom: 0!important;
}

/* 2回目以降訪問者向けポップアップ */
        .modal {
            display: block;
            position: fixed;
            z-index: 1;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.4);
        }
        .modal-content {
			max-width: 800px;
            background-color: #fefefe;
            margin: 15% auto;
            padding: 20px;
            border: 1px solid #888;
        }
        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }
        .close:hover, .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

.fadeIn2s {
    animation-name: fadeIn2s;
    animation-delay: 2s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    transform: translateY(50px);
    opacity: 0;
	text-align: center;
}
@keyframes fadeIn2s {
    0% {
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

a {
color: #0000cc;
}


/*基本レイアウト
---------------------------------------------------------------------------------------------------*/


@media (min-width: 1200px){
.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1080px!important;
}
}

/*media Queries スマートフォンとタブレットサイズ（959px以下）で適応したいCSS - スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {
	.site-header-sub {
		display:none;
	}
	
.co-profle{
	font-size: 1em!important;	
}
	/*-- ここまで --*/
}
	
/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {


	/*-- ここまで --*/
}	
	
/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {

.sp_only {
	display: none!important;
}

/*-- フローティングバナー設置 --*/
.floating-banner {
  display: block;
  position: fixed;
  z-index: 9999;
  bottom: 60px;
  margin-bottom: 0;
  right: 0;
  width: 150px!important;
}
	
.floating-banner2 {
  display: block;
  position: fixed;
  z-index: 9999;
  bottom: 60px;
  margin-bottom: 0;
  right: 0;
  width: 75px!important;
}

	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {

/*ヘッダーの背景*/
	.site-header-container {
	
		background-image:url("https://daini-syokuhin.com/site/wp-content/uploads/2023/12/sub_title.png");
		background-position: 200px;
		background-repeat: no-repeat;
	}

}
	/*-- ここまで --*/


/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

/*-- フローティングバナーSP非表示 --*/
.floating-banner,
.floating-banner2 {
	display: none!important;
	}

	
	/*-- ここまで --*/
}

