/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 13 2026 | 03:34:06 */
.libre,.ystdb-heading__subtext:before,.ystdtb-faq-item__label-text{
  font-family: "Libre Baskerville", serif;
}
/***************************
***header
************************/
header#masthead {
    border-bottom: none !important;
}
.global-nav__menu>.menu-item.contact_link {
    position: relative;
    margin-left: 40px;
    line-height: 1.3;
    text-align: center;
	    background: #00243F;
    width: 100px;
}
.global-nav__menu>.menu-item.contact_link a{
	color:#fff;
	font-size: 10px !important;
}
.global-nav__menu>.menu-item.contact_link a img{
	width:30px;
}

@media (min-width: 769px) {
    .header-type--row1 .global-nav {
        align-items: center;
        margin-left: auto;
        position: absolute;
        right: 0;
		height: 100px;
    }
}
@media screen and (max-width: 768px) {
.global-nav__menu>.menu-item.contact_link {
margin-left:0px;

}
	.widget-mobile-nav > * {
    margin-top: 0;
}
	.wp-block-group.has-background {
    padding-top: 18px;
    padding-bottom: 18px;
}
	.global-nav.has-background{
	padding-left: 0;
        padding-right: 0;
        padding-top: 70px;
	}
    .global-nav__container {
        padding: 0em;
    
}
header#masthead	.container{
		margin:0;
	height:70px;
	display: flex;
        align-items: center;
	}
	.global-nav__menu>.menu-item {
        margin-top: .5em;
        margin-left: 0;
        text-align: left;
        padding: 16px 0;
        border-bottom: 1px solid;
        font-weight: bold;
    }
	.global-nav__menu>.menu-item.img_link {
		 border-bottom:none;
	}

	.global-nav__menu>.menu-item.contact_link{
		width:100%;
	}
	.global-nav__menu>.img_link>a div{
        display: flex;
        position: relative;
        flex-direction: row;
        justify-content: center;
        height: 100%;
        padding: 1em 0;
        font-weight: var(--global-nav-bold);
        align-items: center;
        padding: 0;
        gap: 8px;
}
	.global-nav__menu>.menu-item.contact_link a{

	font-size: 16px !important;
}
	.global-nav__menu>.menu-item.contact_link a p{
		margin-top:0 !important;
	}
	.header_menu_contact summary{
		padding: 18px;
		    position: relative;
	}
	.header_menu_contact summary:after{
	             content: "";
        display: inline-block;
        width: 24px;
        height: 24px;
        background-image: url(http://nagawa-okamura.com/wp-content/uploads/2025/11/icon_arrow_header.png);
        background-position: center;
        background-size: contain;
        position: absolute;
        left: 90%;
        top: 35%;
	}
	.header_menu_contact img{
	            width: 16px !important;
        margin-right: 8px;
	}
	::marker {
		display:none;
	}
	summary:first-of-type {
    list-style-type: none;
}
}
@media screen and (max-width: 599px) {
	.global-nav.has-background{
	padding-left: 0;
        padding-right: 0;
        padding-top: 60px;
	}
    header#masthead .container {
        height: 60px;
        background-color: #f7f5f2;
    }
}
/*******************************
****TOP MV
**********************************/
video {
  position: fixed;     
  top: 0;
  left: 50%;
  height: 1000px;      
  width: auto;        
  transform: translateX(-50%); 
  object-fit: cover;    
  z-index: -1; 

}
/* 黒フィルターを上に重ねる */
.video-slider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 2;
}
.h2_ttl .ystdb-heading__text{
	margin-top: 13px !important;
}
/*******************************
****TOP news
**********************************/
.news-box ul li{
	background: #fff;
    padding: 22px 40px !important;
    border-bottom: none !important;
    margin-bottom: 16px !important;
}
.news-box ul li .ys-posts__text{
	    display: flex;
    flex-flow: column;
    gap: 14px;
}
.news-box ul li .ys-posts__text .ys-posts__meta .ys-posts__cat{
	    background: none;
    color: #00243F;
    font-size: 14px;
}
.news-box ul li .ys-posts__text .ys-posts__meta .ys-posts__date{
	    color: #222 !important;
}
.news-box ul li .ys-posts__title{
	    width: 92%;
}
.news-box ul li .ys-posts__title:after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url(http://nagawa-okamura.com/wp-content/uploads/2025/11/icon_arrow-right03.png);
    background-position: center;
    background-size: contain;
    position: absolute;
    left: 95%;
    top: 35%;
}
/*******************************
****footer
**********************************/
.footer_section{
	    padding: 0 !important;
}
.f_ul_area_in .wp-block-group__inner-container{
	    display: flex;
    gap: 0px 40px;
    justify-content: flex-start;
    align-items: baseline;
    flex-wrap: wrap;
}
.footer-main {
    padding-top: 0em !important;
    padding-bottom: 1em;
    overflow: hidden;
    background-color: #f7f5f2 !important;
    color: var(--footer-text);
}
.gap-custom{
	gap:60px;
}
@media (max-width: 599px) {
  .footer_img {
        width: 32px !important;
}
	.f_ul_area{
		    width: 60%;
    margin: 0 auto;
		        flex-direction: row !important;
	}
	.footer_menu01{
		    width: 46%;
	}
	.footer_menu02{
		    width: 54%;
	}
	.f_ul_area_in p{
		      margin-top: 16px !important;
	}
}
/*******************************
****下層MV
**********************************/
.mv_eiji{
    font-family: 'Libre Baskerville';
    position: absolute;
    top: -8vw;
    left: 0;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    z-index: -1;
	    white-space: nowrap;
	    font-size: 140px !important;
    letter-spacing: 5px !important;

}
@media (max-width: 1000px) {
	.mv_eiji{
		font-size: 9vw !important;
        letter-spacing: 2px ! IMPORTANT;
		  position: absolute;
    top: -6vw;
}

}

/*******************************
****下層 FAQ
**********************************/
/* 既存の矢印SVGを隠す */
.ystdtb-faq-item__arrow .ys-icon svg {
  display: none !important;
}

/* JSで付与するFont Awesomeアイコンの基本スタイル */
.ystdtb-faq-item__arrow .ys-icon i {
font-size: 28px;
    line-height: 1;
    display: inline-block;
    transition: transform .25s ease;

}

/* 開いている時に少しだけ縮むなどの軽い演出（任意） */
.ystdtb-faq-item.is-open .ys-icon i,
.ystdtb-faq-item[aria-expanded="true"] .ys-icon i {
  transform: scale(0.95);
}
@media (max-width: 599px) {
	.ystdtb-faq-item__arrow .ys-icon i {
font-size: 20px;
    line-height: 1;
    display: inline-block;
    transition: transform .25s ease;

}
}
@media (min-width: 600px) {
    .ystdtb-timeline-item {
        padding-left: 1.5em;
    }
}
/*******************************
****下層 news
**********************************/
.archive .archive__header{
	display:none;
}
.archive__item.is-simple{
	background: #fff;
    padding: 22px 40px !important;
    border-bottom: none !important;
    margin-bottom: 0px !important;
    flex-flow: inherit;
    flex-wrap: wrap;
}
.archive__item.is-simple .archive__category{
	    background: none;
    color: #00243F;
    font-size: 14px;
}
.archive__item.is-simple .archive__title:after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url(http://nagawa-okamura.com/wp-content/uploads/2025/11/icon_arrow-right03.png);
    background-position: center;
    background-size: contain;
    position: absolute;
    left: 95%;
    top: 35%;
}
.pagination__item{
width: 32px;
    color: #00243F !important;
    text-align: center;
    height: 32px;
    font-size: 14px;
    justify-content: center;
    display: flex !important;
    align-items: center;
}
.pagination__item.is-current{
	    background: #EAEAE9;
}
.pagination__item.is-current:after{
	background:none;
}
@media (max-width: 900px) {
	.archive__item.is-simple .archive__title{
		    width: 90%;
	}
	.archive__item.is-simple .archive__title:after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 32px;
    background-image: url(http://nagawa-okamura.com/wp-content/uploads/2025/11/icon_arrow-right03.png);
    background-position: center;
    background-size: contain;
    position: absolute;
    left: 90%;
    top: 35%;
}
}
/*******************************
****問い合わせフォーム
**********************************/
.privacy-box {
  max-height: 250px;
  overflow-y: auto;
  padding: 64px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  line-height: 1.6;
}

.privacy-box ol {
  padding-left: 1.2em; /* 番号のインデント */
}

.privacy-box li {
  margin-bottom: 1em;
  padding-left: 0.2em;
}
.privacy-box li p{
margin-top: 0;
    margin-bottom: 0;
}
@media (max-width: 900px) {
	.privacy-box {
  max-height: 250px;
  overflow-y: auto;
  padding: 32px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  line-height: 1.6;
}
}

.f-14 a {
    font-size: 15px !important;
}
.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper:before {
    padding-top: 300px;
}
.whitespace {
    white-space: nowrap;
}
.privacy-box ol li {
    list-style: none;
}
.privacy-box ol li:first-child {
    font-weight: bold;
    font-size: 1.1em;
}
/* 重要なお知らせが0件の時、赤枠（Boxブロック）を非表示にする */
.ystdtb-box:has(.ystdtb-posts:empty) {
  display: none !important;
}


.h3customsoudan {
    margin-top: 40px !important;
    font-size: 32px;
}

ul.sub-menu li a{
display:block;
	padding:12px 24px !important;
}
@media screen and (max-width:1160px) { 
.global-nav__menu>.menu-item {
    margin-left: 16px !important;
    font-size: 13.5px !important;
}
}
@media (min-width: 769px) and (max-width: 1010px) {
	.global-nav__menu>.menu-item {
		white-space:nowrap;
	}
	header>.container {
    padding: 0 !important;
}
    .header-type--row1 .global-nav{
     position: initial;
   }
   .site-branding {
    flex-shrink: 1;
    min-width: 0;
  }
  .site-title img {
    width: 100% !important;
    max-width: 280px;
  }
.global-nav__menu>.menu-item {
    margin-left: 14px !important;
	}
.global-nav__menu>.menu-item.contact_link {
    width: 73px !important;
}
}


.w100 {
    width: 100% !important;
    max-width: 100% !important;
}

.bg-white-button a.ystdb-custom-button__link {
    background: white !important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffb900 !important;
}

.wpcf7-response-output {
    border: 4px solid #00a0d2 !important;
    margin-top: 8px !important;
    font-weight: bold;
    font-size: 1.05em !important;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: rgb(70, 180, 80) !important;
}