@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500&display=swap');

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media all and (min-width: 576px) {
    html {
        /* sm */
        font-size: 16px;
    }
}

body, input, button, textarea, select {
    font-family: 'Noto Sans JP', sans-serif;
	color: #444;
}

.serif-text {
    font-family: 'Noto Serif JP', serif;
}

a,
a:link,
a:visited {
    color: #444;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

span.aks {
    display: inline-block;
}

.move {
    transition: all 1s;
    transform: translateY(100px);
    opacity: 0;
}

.move.active {
    transition: all 1s;
    transform: translateY(0);
    opacity: 1;
}
/*-------------------------------
        header / footer
-------------------------------*/
/** header **/
.header-info {
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    z-index: 1010;
}

.navbar-brand  {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo img {
    width: 50px;
    height: auto;
    object-fit: contain;
}

.logo-jp { width: 16rem; }
.logo-en { width: 12rem; }

.header-meta {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.brand-description {
    font-size: 0.85rem;
    font-weight: normal;
    padding-right: 1rem;
}

.contact-info {
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.contact-info span {
    font-size: 1.13rem;
}

.toggler-box {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

.toggler-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: -1.1rem;
    width: 3px;
    background-color: #2d4d6f;
}

/* footer */
.page-top-btn,
.page-top-btn:link,
.page-top-btn:visited {
  position: fixed;
  right: 20px;
  bottom: 75px;
  z-index: 1050;
  width: 60px;
  height: 60px;
	border: 1px solid #fff;
  border-radius: 50%;
  background-color: rgba(45, 77, 111, 0.85);
  color: #fff !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s, opacity 0.3s, transform 0.3s;
}

.page-top-btn:hover {
  background-color: rgba(45, 77, 111, 0.6);
  color: #fff !important;
  opacity: 1;
  transform: translateY(-3px);
}

.page-top-btn .bi,
.page-top-btn span {
  color: #fff !important;
}

.page-top-btn span {
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  margin-top: 2px;
}

.site-footer {
    background-color: #2d4d6f;
    color: #fff;
	padding: 2rem 0 90px;
}

.footer-logo img {
    filter: brightness(0) invert(1);
}

#navbarSupportedContent {
    width: 100%;
    background-color: #2d4d6f;
	display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

#navbarSupportedContent.show {
    max-height: 100vh;
}

button.navbar-toggler {
    width: 100%;
    background-color: #fff;
    text-align: end;
}

button.navbar-toggler:focus,
button.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

/* menu */
.menu-item {
    list-style: none;
    position: relative;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar-nav > .menu-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.menu-item a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: #fff;
    text-decoration: none;
}

.header-menu-toggle,
.footer-menu-toggle {
    background: none;
    border: none;
    color: #fff;
    padding: 1.2rem 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-menu-toggle::after,
.footer-menu-toggle::after {
    content: "+";
    font-size: 1.5rem;
    line-height: 1;
}

.menu-item-has-children.active > .header-menu-toggle::after,
.menu-item-has-children.active > .footer-menu-toggle::after {
    content: "−";
}

.sub-menu {
    display: none;
    width: 100%;
    background-color: #2d4d6f;
    padding: 0 0 1rem 2rem;
    margin: 0;
    list-style: none;
}

.sub-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.sub-menu .menu-item,
.sub-menu .menu-item:last-child {
    border-bottom: none;
}

.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.sub-menu li {
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    margin-left: 1rem;
}

.menu-item-has-children > a {
    flex: 1;
}

.menu-item-has-children.active > .sub-menu {
    display: block;
}

/* header footer responsive */
@media all and (min-width: 768px) {
    .header-info {
        justify-content: space-between;
        flex-direction: row;
    }
    
    .brand-name {
        display: flex;
        align-items: baseline;
        gap: 1rem;
    }
    
    .contact-info {
        position: relative;
        padding-left: 1.5rem;
        justify-content: center;
    }

    .contact-info::before {
        content: "";
        position: absolute;
        left: 0;
        top: -60px;
        bottom: 0;
        width: 3px;
        background-color: #2d4d6f;
    }
    
    .toggler-box::before {
        display: none;
    }
	
	.menu-item {
        border-bottom: none !important;
    }
	
    .navbar-nav > .menu-item:first-child {
        border-top: none !important;
    }
	
    .sub-menu .menu-item {
        border-bottom: none !important;
    }
	
	.sub-menu li {
		border-left: none;
		margin-left: 0;
	}

    /* PC: Header Menu */
	#navbarSupportedContent {
        max-height: none !important;
        overflow: visible !important;
    }
	
    #header .navbar-nav {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    #header .menu-item {
        position: relative;
    }

    #header .menu-item-has-children {
        display: block;
    }

    #header .header-menu-toggle {
        display: none;
    }

    #header .menu-item:hover > a {
        background-color: #a4a4b5;
		opacity: 1;
    }

    #header .sub-menu {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: #a4a4b5;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
		padding: 0.5rem 0;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
		z-index: 1020;
	}

    #header .menu-item:hover .sub-menu {
        opacity: 1;
        visibility: visible;
    }

    #header .sub-menu a {
    padding: 0.6rem 0.5rem;
		text-align: center;
    white-space: nowrap;
    font-size: 0.9rem;
}

    #header .sub-menu a:hover {
        opacity: 0.6;
    }

    /* PC: Footer Menu */
    #footer .menu-item-has-children {
        display: block;
    }

    #footer .footer-menu-toggle {
        display: none;
    }
	
	#footer-menu {
		display: flex;
		justify-content: center;
	}

    #footer .sub-menu {
        display: block;
        padding: 0;
        background: none;
    }

    #footer .sub-menu a {
        padding: 0.25rem 2rem;
        font-size: 0.85rem;
        opacity: 0.8;
    }

    #footer .sub-menu a:hover {
        opacity: 1;
    }
}

/** main **/
.site-main {
    position: relative;
    padding-top: 124px;
}

.section {
    margin: 5rem 0;
}

.section-title {
    position: relative;
    text-align: center;
    color: #2d4d6f;
    letter-spacing: 0.3rem;
    margin-bottom: 4rem;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1rem;
    width: 3rem;
    height: 0.1rem;
    background: #2d4d6f;
    transform: translateX(-50%);
}

@media all and (min-width: 576px) {
	.site-main {
		padding-top: 142px;
	}
}

@media all and (min-width: 768px) {
	.site-main {
		padding-top: 194px;
	}
}

@media all and (min-width: 1007px) {
	.site-main {
        padding-top: 174px;
    }
}

/*-------------------------------
        top page
-------------------------------*/
/** main-visual **/
#top-pic-slider {
    width: 100%;
    margin: 0;
    padding: 0;
}

.top-pic-slide {
    width: 100%;
    height: 60vh;
	position: relative !important;
}

.top-pic-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.slick-dots {
	position: relative;
	bottom: -10px;
}

.slick-dots li button:before {
	font-size: 0.8rem;
}

.slide-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
    width: 90%;
    max-width: 900px;
    box-sizing: border-box;
    pointer-events: none;
}

.slide-title h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        0 2px 15px rgba(0, 0, 0, 0.9),
        2px 2px 4px rgba(0, 0, 0, 0.9);
}

@media all and (max-width: 575px) {
    .slide-title h2 {
        font-size: 1.4rem;
    }
}

/** top **/
.top-message {
    margin: 2rem auto;
	padding: 0 2rem;
    text-align: start;
	max-width: 1250px;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.top-message p {
    margin: 0;
}

/** news **/
.news-list {
    max-width: 800px;
    margin: 0 auto;
	padding: 0 2rem 2rem;
}

.news-item a {
	width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
	padding: 0.4rem 0;
    border-bottom: 1px solid #ccc;
    text-decoration: none;
}

.news-content {
	min-width: 0;
    display: flex;
    align-items: center;
    flex: 1;
}

.news-date {
	margin-left: 0.5rem;
    width: 7rem;
    flex-shrink: 0;
}

.news-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 1.5rem;
	color: #2d4d6f;
}

.news-item i {
	margin-right: 0.5rem;
    flex-shrink: 0;
}

@media all and (max-width: 575px) {
    /* xs */
	.news-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-date {
        margin: 0;
    }
	
	.news-title {
        width: 100%;
        padding-right: 0;
    }
}

/** calendar **/
.calendar_single_wrap {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 2rem 2rem;
}

.fc-event {
	pointer-events: none !important;
	cursor: default !important;
}

.fc-toolbar h2 {
    font-size: 1.3rem !important;
}

.eo-fullcalendar .fc-toolbar .fc-center,
.eo-fullcalendar .fc-toolbar .fc-clear,
.eo-fullcalendar .fc-clear {
    display: none !important;
}

.eo-fullcalendar .fc-toolbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
	margin-bottom: 1rem !important;
}

.fc-button {
	background: transparent !important;
    background-color: transparent !important;
	box-shadow: none !important;
	transition: background-color 0.2s, border-color 0.2s !important;
}

.fc-today-button {
    margin-right: 1rem !important;
    padding: 0.5rem 1.2rem !important;
	height: auto !important;
    line-height: 1.5 !important;
	border: 1px solid #dadce0 !important;
	border-radius: 20px !important;
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.fc-prev-button,
.fc-next-button {
	border: none !important;
}

.fc-today-button:hover {
    background-color: #f1f3f4 !important;
    cursor: pointer;
}

.fc-icon-left-single-arrow:after,
.fc-icon-right-single-arrow:after {
	color: #666;
}

.eo-fullcalendar .fc-widget-header {
    background-color: #f8f9fa;
    padding: 0.4rem 0;
}

.eo-fullcalendar .fc-sun { color: #e63946; }
.eo-fullcalendar .fc-sat { color: #457b9d; }

.fc-day-number,
.fc-day-grid-event {
	text-align: center !important;
}

.fc-event {
	color: #8898aa !important;	
	background-color: #f0f4f8 !important;
	border: none !important;
}

.eo-fullcalendar-reset.fc-unthemed .fc-today {
	background-color: #e6ecf2 !important;
}

/*-------------------------------
        news page
-------------------------------*/
/** single-news **/
.news-box {
	width: 90%;
	max-width: 1000px;
	margin: 3rem auto;
}

.news-box h2 {
	color: #2d4d6f;
	margin-bottom: 2.5rem;
}

.news-box p {
	margin-bottom: 0.5rem;
}

.news-navigation {
	display: flex;
	justify-content: space-between;
}

/*-------------------------------
        product page
-------------------------------*/
/** sidebar **/
.p-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0;
    background: #fff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

.sidebar-search-area,
.sidebar-categories {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 1rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    max-height: 70vh;
    overflow-y: auto;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 0.5rem;
}

.sidebar-search {
    display: flex;
    border: 1px solid #555;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
}

input.sidebar-search-input {
    border: none;
    outline: none;
    box-shadow: none;
    flex: 1;
    width: 0;
    padding: 0.4rem 0.5rem;
    background-color: #fff;
}

.sidebar-search-btn {
    border: none;
    border-left: 1px solid #555;
    margin: 0.3rem 0;
    padding: 0.1rem 0.5rem;
    background-color: #fff;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sidebar-btn {
    display: flex;
    flex-direction: row;
    margin: 0;
    border-top: 1px solid #ddd;
}

.sidebar-btn a,
.sidebar-btn button,
.sidebar-toggle-trigger {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0;
    font-size: 0.75rem;
    color: #555;
    background: #fff;
    border: none;
    border-right: 1px solid #eee;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
}

.sidebar-btn :last-child {
    border-right: none;
}

.sidebar-btn i,
.sidebar-toggle-trigger i {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
    color: #2d4d6f;
}

.sidebar-toggle-trigger.is-active {
    background-color: #f5f5f5;
    font-weight: bold;
}

.sidebar-product-images-wrap {
    margin-bottom: 0.8rem;
}

.sidebar-product-images-wrap a {
    display: block;
    color: #fff;
    background-color: #a4a4b5;
    text-align: center;
    padding: 0.5rem 0;
    text-decoration: none;
    border-top: 4px solid;
    border-image: linear-gradient(to right,
        #036eb8 20%,     /* 1色目 */
        #8fc31f 20% 40%, /* 2色目 */
        #f8b62d 40% 60%, /* 3色目 */
        #e3aece 60% 80%, /* 4色目 */
        #ffec3f 80%      /* 5色目 */
    ) 1;
}

.sidebar-list {
    margin: 0;
    list-style: none;
}

.sidebar-list-item {
    margin: 0.8rem 0;
}

.sidebar-list-item a {
    display: block;
    border-left: 2rem solid transparent;
    margin-left: -2rem;
    color: #fff;
    background-color: #2d4d6f;
    text-align: center;
    padding: 0.5rem 0;
}

.item-road a { border-left-color: #036eb8; }
.item-sewer a { border-left-color: #8fc31f; }
.item-waterway a { border-left-color: #f8b62d; }
.item-new a { border-left-color: #e3aece; }
.item-others a { border-left-color: #ffec3f; }


/** sidebar responsive **/
@media all and (min-width: 768px) {
    /* md */
    body {
        padding-bottom: 0;
    }

    .p-sidebar {
        position: sticky;
		top: 210px;
        width: 100%;
        max-width: 12rem;
        margin: 5rem 0 0 2rem !important;
        box-shadow: none;
        background: transparent;
    }

    .p-sidebar .sidebar-search-area,
    .p-sidebar .sidebar-categories {
        display: block; 
        position: static;
        width: auto;
        background: transparent;
        border-top: none;
        padding: 0;
        box-shadow: none;
        max-height: none;
        overflow-y: visible;
    }

    .p-sidebar .sidebar-btn {
        display: flex;
        flex-direction: column;
        margin: 1.5rem 0;
        border-top: none;
    }

    .p-sidebar .sidebar-btn a {
        flex: none;
        display: block;
        margin: 0.4rem 0;
        padding: 0.5rem 0;
        text-align: center;
        font-weight: normal;
        font-size: 16px;
        color: #fff;
        background-color: #a4a4b5;
        border: none;
		border-top: 4px solid;
    	border-image: linear-gradient(to right,
			#036eb8 20%,     /* 1色目 */
			#8fc31f 20% 40%, /* 2色目 */
			#f8b62d 40% 60%, /* 3色目 */
			#e3aece 60% 80%, /* 4色目 */
			#ffec3f 80%      /* 5色目 */
		) 1;
    }
}

/** search.php **/
.p-search-result-list {
    margin-top: 1.5rem;
}

.search-text-item {
    border-bottom: 1px solid #ccc;
}

.search-text-item a {
    display: block;
    padding: 1rem 0.5rem;
    transition: background-color 0.2s, padding-left 0.2s;
}

.search-text-item a:hover {
    background-color: #f2f2f2;
    padding-left: 1rem;
    color: #2d4d6f;
}

.p-search-result-list .no-results {
    padding: 2rem;
}

/** product **/
.p-container {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
	align-items: center;
    gap: 2rem;
    background-color: #ebebeb;
}

.p-content {
    flex: 1;
	width: 90%;
}

.p-content-title {
    color: #2d4d6f;
    margin: 1.2rem 0;
    font-size: 1.7rem;
	text-align: center;
}

.category-section {
    scroll-margin-top: 145px;
	position: relative;
}

.p-content-nav {
    display: none;
}

.p-content-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.category-title {
	position: sticky !important;
	top: 140px;
    z-index: 10;
}

.p-content .category-title {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    font-weight: normal;
    color: #fff;
    background-color: #2d4d6f;
    padding: 1rem 1rem 1rem 3rem;
    box-sizing: border-box;
    position: relative;
}

.p-content .category-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2rem;
}

.item-road::before {
    background-color: #036eb8;
}

.item-sewer::before {
    background-color: #8fc31f;
}

.item-waterway::before {
    background-color: #f8b62d;
}

.item-new::before {
    background-color: #e3aece;
}

.item-others::before {
    background-color: #ffec3f;
}

.en-title {
    margin-top: 0.2rem;
    font-size: 0.75rem;
}

.category-section li {
	padding: 0.2rem 0;
	font-size: 0.92rem;
}

/*****
.category-title.product-img-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
	padding: 1.5rem 2rem;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    color: #fff;
    font-size: 1.5rem;
    z-index: 1;
}

.category-title.product-img-title::before {
    display: none !important;
}

.category-title.product-img-title::after {
    content: "";
    position: absolute;
   	right: 0;
    bottom: 0;
	width: 80%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
	z-index: -1;
	-webkit-mask-image: linear-gradient(to right, 
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 20%,
        rgba(0, 0, 0, 1) 100%
    );
    mask-image: linear-gradient(to right, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0) 20%, 
        rgba(0, 0, 0, 1) 100%
    );
}

-- 道路用製品 --
.product-img-title.item-road {
    background-color: #036eb8 !important;
}
.product-img-title.item-road::after {
    background-image: url('../img/title-road.png'); 
}

-- 下水道製品 --
.product-img-title.item-sewer {
    background-color: #8fc31f !important;
}
.product-img-title.item-sewer::after {
    background-image: url('../img/title-sewer.png');
}

-- 水路製品 --
.product-img-title.item-waterway {
    background-color: #f8b62d !important;
}
.product-img-title.item-waterway::after {
    background-image: url('../img/title-waterway.png');
}

-- 新製品 --
.product-img-title.item-new {
    background-color: #e3aece !important;
}
.product-img-title.item-new::after {
    background-image: url('../img/title-new.png');
}

-- その他製品 --
.product-img-title.item-others {
    background-color: #ffec3f !important;
    color: #555 !important; 
}
.product-img-title.item-others::after {
    background-image: url('../img/title-others.png');
}
*****/

.p-content ul {
    margin: 1.2rem 2rem 1.7rem;
    padding: 0;
    list-style: none;
}

.p-content-grid div:nth-child(odd) {
    background-color: #dbe0e9;
}

.p-content-grid div:nth-child(even) {
    background-color: #c8d0dd;
}

/* product img category */
.category-grid,
.category-product-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.category-description {
    font-size: 0.9rem;
    color: #555;
    background-color: #fff;
    padding: 0.5rem;
    min-height: 6.5rem;
}

.product-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-thumbnail {
    width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-thumbnail img {
	max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-info {
    flex-grow: 1;
    width: 100%;
    margin: 0.8rem auto;
    padding: 0 0.8rem;
    color: #555;
}

.product-name {
    font-size: 1.1rem;
}

.product-description {
    font-size: 0.9rem;
}

.product-item {
	background-color: #fff;
}


/** product(single.php) **/
.product-img-container {
	width: 100%;
}

.product-main-slider {
    position: relative;
}

.product-main-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    padding: 0;
}

.product-main-slider .slick-prev {
    left: 10px;
}

.product-main-slider .slick-next {
    right: 10px;
}

.product-main-slider .slick-arrow::before {
    content: '';
    display: block;
    width: 0.6rem;
    height: 0.6rem;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
}

.product-main-slider .slick-prev::before {
    transform: translate(-35%, -50%) rotate(-45deg);
}

.product-main-slider .slick-next::before {
    transform: translate(-65%, -50%) rotate(135deg);
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.product-thumb-slider {
    display: flex;
    flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.thumb-slide-item {
	width: calc((100% - 2rem) / 5);
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.thumb-slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-slide-item:hover {
    opacity: 0.8;
}

.thumb-slide-item.is-active {
    opacity: 1;
    outline: 2px solid #2d4d6f;
}

.product-text-container {
	width: 100%;
    color: #555;
}

.product-collection-img img {
	width: 100%;
	max-width: 1308px;
}

.product-btn-container {
	margin: 1.5rem 0 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

a.product-btn {
	display: inline-block;
    color: #fff;
    padding: 0.6rem 0.8rem;
}

.btn-contact {
    background-color: #6a3906;
}

.btn-favorite {
    background-color: #9b90bd;
}

.btn-catalog {
    background-color: #2d4d6f;
	color: #fff;
    padding: 0.6rem;
}

.product-factory {
	margin: 1.5rem 0 2rem;
}

.product-factory-container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.factory-block {
	padding: 0.4rem 0.8rem;
	background-color: #e9dbc3;
	width: 100%;
	box-sizing: border-box;
}

.product-detail {
	margin-top: 2rem;
}

.detail-block {
	margin-bottom: 1.5rem;
}

.detail-videos {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.detail-videos iframe[src*="youtube.com"],
.detail-videos iframe[src*="youtu.be"] {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border: none;
}

.detail-img {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.detail-img img {
    max-width: 100%;
    height: auto;
}

.detail-img-item {
	width: 100%;
}

.detail-img-item img {
	width: 100%;
	height: auto;
	display: block;
}

.detail-img-caption {
	font-size: 0.85rem;
	color: #555;
	margin-top: 0.5rem;
	margin-bottom: 0;
	text-align: center;
	line-height: 1.4;
	word-break: break-all;
}

/* mordal */
/* メイン画像のボタン化（枠線と背景をクリア） */
.product-img-btn {
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	cursor: pointer;
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
    justify-content: center;
    align-items: center;
}

.product-img-btn:focus {
	outline: none;
}

/* 画像拡大モーダル */
.img-modal {
	border: none;
	padding: 0;
	background: transparent;
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 8px;
	overflow: visible;
}

.img-modal::backdrop {
	background: rgba(0, 0, 0, 0.85);
}

.img-modal-content {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.img-modal-content img {
	max-width: 90vw;
	max-height: 85vh;
	object-fit: contain;
	display: block;
	border-radius: 4px;
}

.img-modal-caption {
	color: #fff;
	font-size: 0.9rem;
	margin-top: 1rem;
	margin-bottom: 0;
	text-align: center;
	max-width: 90vw;
	word-break: break-wrap;
}

.img-modal-close {
	position: absolute;
	top: -65px;
    right: -35px;
	background: none;
	border: none;
	color: #fff;
	font-size: 36px;
	cursor: pointer;
	line-height: 1;
}

.video-modal {
  	border: none;
  	padding: 0;
  	background: transparent;
  	max-width: 90vw;
  	width: 1000px;
  	border-radius: 8px;
  	overflow: visible;
}

.video-modal::backdrop {
  	background: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
  	position: relative;
  	width: 100%;
  	background: #000;
  	border-radius: 8px;
}

.video-modal-content video {
  	width: 100%;
  	height: 100%;
  	display: block;
  	border-radius: 8px;
}

.video-modal-close {
  	position: absolute;
  	top: -60px;
  	right: -30px;
  	background: none;
  	border: none;
  	color: #fff;
  	font-size: 32px;
  	cursor: pointer;
  	line-height: 1;
}

/** product responsive **/
@media all and (min-width: 576px) {
	.category-title {
		top: 158px;
	}
}

@media all and (max-width: 767px) {
    .p-content-nav {
        display: block;
        margin: 2rem 0;
    }

    .p-content-nav ul {
        margin: 0 !important;
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .p-content-nav li {
        flex: 0 0 calc(50% - 0.4rem);
        min-width: 120px;
    }

    .p-content-nav a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0.6rem 0.5rem;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        background-color: #2d4d6f;
        transition: opacity 0.2s, transform 0.1s;
        border-top: 6px solid transparent; 
        box-sizing: border-box;
    }

    .p-content-nav a:hover {
        opacity: 0.85;
    }

    .p-content-nav a:active {
        transform: translateY(1px);
    }
	
    .p-content-nav .nav-en-title {
        font-size: 0.8rem;
        opacity: 0.8;
        margin-top: 0.1rem;
        transform: scale(0.9);
    }
	
    .p-content-nav .nav-road a     { border-top-color: #036eb8; }
    .p-content-nav .nav-sewer a    { border-top-color: #8fc31f; }
    .p-content-nav .nav-waterway a { border-top-color: #f8b62d; }
    .p-content-nav .nav-new a      { border-top-color: #e3aece; }
    .p-content-nav .nav-others a   { border-top-color: #ffec3f; }
}

@media all and (min-width: 768px) {
    /* md */
	.category-title {
		top: 210px;	
	}
	
    .p-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .p-content {
        margin: 0 2.5rem;
        flex: 1;
    }
	
	.p-content-wrapper {
        max-width: 1308px;
		padding: 0 2rem;
        margin: 0 auto;
		flex: 1;
	}

    .p-content-title {
        text-align: start;
    }

    .product-img-container {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .product-text-container {
        width: 100%;
        max-width: 600px;
        margin: 1.5rem auto 0;
    }

    .thumb-slide-item {
        width: 93.5px;
    }
	
	.product-collection-container.is-col-2 {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 2rem 1.5rem !important;
    }
	
    .product-collection-container.is-col-2 .product-collection-item {
        width: calc((100% - 1.5rem) / 2);
        margin-bottom: 0 !important;
    }

    .product-factory-container {
        flex-direction: row;
		flex-wrap: wrap;
        max-width: 700px;
    }
	
	.product-factory-container .factory-block {
		width: calc((100% - 1.5rem) / 2);
	}

    .detail-videos {
        flex-direction: row;
		max-width: 1308px;
    }
	
	.detail-img {
        flex-direction: row;
		align-items: flex-start;
		max-width: 1308px;
    }

    .detail-img-item {
        width: calc((100% - 1.5rem) / 2);
		box-sizing: border-box;
    }

    .category-grid,
    .category-product-items {
        gap: 1rem;
    }

    .p-content-grid,
    .category-grid,
    .category-product-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media all and (min-width: 992px) {
    /* lg */	
	.d-flex.flex-column.flex-md-row {
        align-items: flex-start;
    }

    .product-img-container {
        flex: 0 0 45%;
        max-width: 450px;
        margin: 0;
    }
	
	.thumb-slide-item {
        width: 83px;
    }

    .product-text-container {
        flex: 1; 
        max-width: none;
        margin: 0;
    }
}

@media all and (min-width: 1007px) {
	.category-title {
		top: 190px;	
	}
}

@media all and (min-width: 1400px) {
    /* xxl */
    .p-content-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .category-grid,
    .category-product-items {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }
	
	.product-img-container {
        flex: 0 0 35%;
    }

    .product-text-container {
        flex: 0 0 60%;
    }
	
	.product-factory-container {
		max-width: 1308px
	}

	.product-factory-container .factory-block {
		width: calc((100% - (1.5rem * 3)) / 4);
	}
}

/*-------------------------------
        page
-------------------------------*/
.entry-header {
	display: none;
}

.post,
.page {
	margin: 0;	
}

/*-------------------------------
        company page
-------------------------------*/
#company {
	margin: 0 auto;
	width: 90%;
	max-width: 1200px;
}

#company h3 {
	font-size: 1.3rem;
	color: #2d4d6f;
	margin-bottom: 0.5rem;
}

/**
.policy-container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.policy-img {
	margin:  0 auto;
}

.policy-img img {
	width: 100%;
	max-width: 200px;
	height: auto;
}
**/

.policy-content {
	margin: 0 auto;	
}

.ceo-message p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.8;
	letter-spacing: 0.04em;
}

.ceo {
	padding-top: 1.5rem;
}

.factory-policy {
	margin: 2.5rem 0;
}

.target-box {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 1px solid #666;
}

.target {
	width: 100%;
	font-size: 1.1rem;
    text-align: center;
	color: #666;
	border-bottom: 1px solid #666;
	padding: 0.6rem;
	white-space: nowrap;
}

.target-items {
	display: flex;
	flex-direction: column;
	text-align: center;
	padding: 0.8rem 0;
	line-height: 1.8;
}

#company_overview {
	margin-top: 4rem;
}

.overview-summary table,
.overview-history table {
  border-collapse: separate;
  border-spacing: 1rem; 
}

.overview-summary th,
.overview-history th {
	font-weight: normal;
	width: 5.5rem;
	vertical-align: top;
}

.overview-history th {
	color: #2d4d6f;
}


@media all and (min-width: 768px) {
    /* md */
	/**
    .policy-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }
	
	.policy-img {
		width: 30%;
		text-align: end;
	}
	**/
	
	.policy-content {
		width: 90%;
	}
	
	.target-box {
		width: fit-content;
		flex-direction: row;
		gap: 1rem
	}
	
	.target {
		width: fit-content;
		color: #fff;
		background-color: #666;
		padding: 1.2rem;
	}
	
	.target-items {
		flex-direction: row;
		flex-wrap: wrap;
		margin-right: 1rem;
		padding: 0;
	}
	
	.target-items span:not(:last-child)::after {
		content: "／";
		color: #555;
		margin: 0 0.8rem;
	}

	.overview-container {
		display: flex;
		gap: 3rem;
		align-items: flex-start;
	}
	
	.overview-summary,
	.overview-history {
		border-left: 2px solid #2d4d6f;
		padding-left: 1.5rem;
	}
}

/*-------------------------------
        office page
-------------------------------*/
#office {
	margin: 0 auto;
	width: 90%;
	max-width: 1200px;
}

#office p {
	margin: 0;
}

.ho-address  h3 {
 	font-size: 1.3rem;
 	color: #2d4d6f;
}

.hp-address p {
  	font-size: 0.9rem;
  	line-height: 1.6;
  	color: #4a5568;
}

.ho-container {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.ho-img img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.hp-details {
	margin-top: 2rem;	
}

.hp-details h4 {
	margin-top: 1.5rem;
  	font-size: 1.1rem;
  	color: #2d4d6f;
}

.hp-details p {
  	font-size: 0.9rem;
  	line-height: 1.6;
  	color: #4a5568;
  	margin: 0 0 8px;
}

.ho-map {
  	position: relative;
  	width: 100%;
	max-height: none;
    aspect-ratio: auto;
  	overflow: visible;
  	background: transparent;
    display: flex;
    flex-direction: column;
}

.ho-map iframe {
  	position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 0;
}

.office-grid {
  	display: grid;
  	grid-template-columns: 1fr;
  	gap: 3rem;
}

.office-item {
  	display: flex;
  	flex-direction: column;
  	height: 100%;
  	box-sizing: border-box;
	margin: 1.5rem 0;
}

.office-item iframe {
  	width: 100%;
  	aspect-ratio: 1 / 1;	
  	height: auto;
  	border: 0;
	margin-top: 0.8rem;
}

.btn-pdf {
	display: block;
    color: rgb(26, 115, 232) !important;
    text-decoration: underline !important;
	font-size: 0.85rem;
	margin: 0.8rem 0 1.2rem;
}

.office-item h4 {
  	font-size: 1rem;
  	color: #2d4d6f;
}

.office-item p {
	font-size: 0.9rem;
	margin-bottom: 0.5rem !important;
}

@media (min-width: 768px) {
	.ho-container {
		max-width: 1200px;
		margin: 0 auto;
		justify-content: center;
    	flex-direction: row;
		gap: 3rem;
  }
	
	.ho-info {
		width: 60%;
	}
	
	.ho-map {
		width: 40%;
	}
	
	.office-grid {
		max-width: 1200px;
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}
}

.pc-br {
    display: none;
}

@media (min-width: 1200px) {
	.office-grid {
		grid-template-columns: repeat(4, 1fr);
	}
	
	.pc-br {
        display: inline;
    }
}

/*-------------------------------
        recruit page
-------------------------------*/
#recruit {
	margin: 5rem auto;
	width: 90%;
	max-width: 1200px;
}

.recruit-title {
	font-size: 1.3rem;
	color: #2d4d6f;
	border-left: 0.5rem solid #2d4d6f;
	padding-left: 0.8rem;
}

.recruit-table {
	width: 100%;
	border-collapse: collapse;
}

.recruit-table th,
.recruit-table td {
	display: block;
	width: 100%;
}

.recruit-table th {
    vertical-align: top;
	padding: 1rem 0.8rem 0.4rem;
	font-weight: normal;
	color: #2d4d6f;
}

.recruit-table td {
	vertical-align: top;
	padding: 0.4rem 1.4rem 1rem;
	border-bottom: 1px solid #eee;
}

@media screen and (min-width: 768px) {
	.recruit-table th,
	.recruit-table td {
		display: table-cell;
		width: auto;
	}
	
	.recruit-table th {
		width: 10rem;
		padding: 1.5rem 1rem;
		border-bottom: 1px solid #ccc;
	}
	
	.recruit-table td {
		padding: 1.5rem 1.6rem;
	}
}

/*-------------------------------
        contact form page
-------------------------------*/
.contact-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
	box-sizing: border-box;
}

.contact-text {
    margin-bottom: 3rem;
}

.contact-lead {
	text-align: center;
    margin: 4rem 0 2rem;
}

.contact-table {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
}

.contact-table h3 {
	font-size: 1.2rem;
    color: #2d4d6f;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2d4d6f;
}

.contact-dl p {
    margin: 0;
    padding: 0;
}

.contact-dl dt {
    font-weight: bold;
    color: #2d4d6f;
    margin-bottom: 0.3rem;
}

.contact-dl dd {
	margin: 0 0 1.5rem;
}

.contact-dl dd:last-child {
    margin-bottom: 0;
}

.contact-table small {
	font-size: 0.8rem;
}

.contact-note {
    font-size: 0.85rem;
    display: block;
	text-align: center;
}

.contact-form {
    width: 100%;
	margin-top: 2.5rem;
}

.form-group {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
	margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2d4d6f;
    display: flex;
    align-items: center;
}

.form-group .required {
    background: #b83232;
    color: #fff;
    font-size: 0.75rem;
    font-weight: normal;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    margin-left: 0.8rem;
    display: inline-block;
}

.form-group small {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.8em;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 77, 111, 0.1);
}

.form-control::placeholder {
    color: #bbb;
}

.form-submit {
    text-align: center;
    margin: 3rem 0;
}

input.wpcf7-submit.btn-submit {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    background-color: #2d4d6f;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

input.wpcf7-submit.btn-submit:hover {
    background-color: #1a324b;
    opacity: 1;
}

input.wpcf7-submit.btn-submit:active {
    transform: translateY(2px);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.wpcf7-not-valid-tip {
    color: #b83232;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    font-weight: 500;
}

.wpcf7-response-output {
	width: 90%;
	max-width: 800px;
    margin: 2rem auto 0 !important;
    padding: 1rem !important;
    border-radius: 4px !important;
    border: 2px solid #2d4d6f !important;
    background-color: #f4f6f9;
    text-align: center;
}

/** contact form responsive **/
@media all and (min-width: 768px) {
    .contact-dl {
        display: grid;
        grid-template-columns: 120px 1fr;
        row-gap: 1.2rem;
        align-items: baseline;
    }

    .contact-dl dt {
        margin-bottom: 0;
        padding-right: 1rem;
    }

    .contact-dl dd {
        margin: 0;
    }

    .contact-note {
        margin: 1rem;
        text-align: start;
    }

    .form-group {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
    }

    .form-group label {
        flex: 0 0 220px;
        padding-top: 0.8rem;
        box-sizing: border-box;
    }

    .wpcf7-form-control-wrap {
        flex: 1;
    }
}

/** responsive **/
@media all and (max-width: 575px) {
    /* xs */
}

@media all and (min-width: 576px) {
    /* sm */
}

@media all and (min-width: 768px) {
    /* md */
}

@media all and (min-width: 992px) {
    /* lg */
}

@media all and (min-width: 1200px) {
    /* xl */
}

@media all and (min-width: 1400px) {
    /* xxl */
}
