@charset "UTF-8";


/*
Theme Name: horikawa_2026
Version: 2602
*/


html {
	width: 100%;
	height: 100%;
	font-size: 20px;
    min-width: 320px;
}

body {
    background-color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color:#003f73;
    letter-spacing: 0.1em;
}

a:link, a:visited {
    text-decoration: none;
}
h3 {
    font-size: 2.25rem;
    font-weight: bold;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 1.5rem;
}
h3::before {
    content: '';
    display: block;
    width: 9999px;
    height: 5px;
    background-color: #008b4f;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-100%,-50%);
}

.frontpage h3 {
    font-size: 3rem;
    padding-left: 0;
}
.frontpage h3 span {
    display: block;
    font-size: 1rem;
    margin-top: 0.5rem;
}
.frontpage h3::before {
    content: none;
}



.hd-container {
    width: 90%;
    position: relative;
}
.hd-container-s {
    width: 85%;
    position: relative;
}
.hd-container-xs {
    width: 75%;
    position: relative;
}
main {
    padding-top: 70px;
    overflow: hidden;
	width:100%;
	min-width:320px;
}
main .hd-container {
    max-width: 1600px;
}
main .hd-container-s {
    max-width: 1520px;
}
.g-nav {
    background-color: rgba(0, 63, 115, 0.957);
    border-bottom-left-radius: 100px;
    padding: 70px 70px 70px 70px;
    position: fixed;
    left: calc(100% - 25rem - 140px);
    top: 0px;
    z-index: 8999;
    transform: translateY(-50%);
    transition: 0.5s ease;
    opacity: 0;
    pointer-events: none;
}
body.drawer-opened .g-nav {
    transform: none;
    opacity: 1;
    pointer-events: all;
}
.g-nav nav {
    width: 25rem;
}
.g-nav a:link, .g-nav a:visited {
    color: #fff;
}

.g-nav-f a:link, .g-nav-f a:visited {
    font-size: 1.35rem;
    font-weight: bold;
}
.g-nav-f li {
    border-bottom: 1px dotted #fff;
    padding: 1rem 0;
}
.g-nav-s {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.4rem;
    row-gap: 0.25rem;
    
}
.g-nav-s a:link, .g-nav-s a:visited {
    font-size: 0.8rem;
}
.g-nav-s li {
    border-bottom: none;
    padding: 0;
}
.g-nav a:hover {
    opacity: 0.6;
}
.g-nav-back {
    background-color: rgba(0,0,0,0.25);
    z-index: 5000;
    position: fixed;
    width: 100%;
    height: 100vh;
    opacity: 0;
    transition: 0.5s ease;
    pointer-events: none;
}
body.drawer-opened .g-nav-back {
    opacity: 1;
    pointer-events: all;
}

.btn-a a:link, .btn-a a:visited {
    background-color: #003f73;
    color: #fff;
    font-weight: bold;
    display: inline-block;
    padding: 0.25rem 3.5rem;
    white-space: nowrap;
}
.btn-a a:hover {
    opacity: 0.6;
}
dl {
	margin:0;
	padding:0;
}

/*header---------------------------------------------------------*/


header {
    background-color: #fff;
    position: fixed;
    width: 100%;
    height: 90px;
    top: 0px;
    left: 0px;
    z-index: 4999;
}
header h1 {
	margin:0;
	height:25px;
}
.header-logo {
    width: 260px;
}
header h1 a:link, header h1 a:visited {

}
#hamburger {
    width: 52px;
    height: 25px;
    background-image: url(image/open.png);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: 0.3s ease;
    position: fixed;
    top: 35px;
    right: calc(5vw + 12px);
    z-index: 10000;
}
body.drawer-opened #hamburger {
    background-image: url(image/close.png);
}
#hamburger:hover {
    opacity: 0.7;
}




/*toppage---------------------------------------------------------*/

.top-fv {
    width: 100%;
    height: 50vw;
    position: relative;
    margin-bottom: 5rem;
}
.top-fv-copy {
    position: absolute;
    text-align: right;
    top: 50%;
    right: 5%;
	transform:translatey(-50%);
    z-index: 5;
}
.top-fv-copy h2 {
    color: #fff;
    font-weight: bold;
    font-size: clamp(1.5rem, 3.5vw, 3.2rem);
}
.top-fv-ls {
	letter-spacing: -0.2em;
}
.slider {
    width: 100%;
    height: 100%;
}
.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slick-slider, .slick-list, .slick-track, .slick-slide {
    height: 100%;
}

.action-plan {
    list-style-type: none;
    margin: 0 0 3rem 0;
    padding: 0;
}
.action-plan li {
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
}
.top-action-logo {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 20%;
}
.top-action-head {
    padding-top: 4rem;
	margin-bottom:3rem;
}
.gray-container {
    background-color: #e9ece5;
    padding: 4rem 0;
}
.white-container {
    background-color: #fff;
    padding: 4rem 0;
}
.top-business-container {
    position: relative;
    padding-top: 35vw;
}
.top-business-row {
    column-gap: 4rem;
}
.top-business-bg {
    position: absolute;
    width: 100vw;
    height: 44vw;
    max-width: inherit;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);

}
.top-business-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top-business-item {
    position: relative;
    z-index: 5;
    width: 35vw;
    height: 100%;
}
.top-business-item-inner {
    background-image: url(image/top-business-item-bg.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    margin-top: -1px;
    padding: 3rem 2rem 4.5rem 2.75rem;
    height: 100%;
}
.top-business-item-inner h4 {
    text-align: center;
    padding: 0 1rem 0.5rem 1rem;
    border-bottom: 1px solid #003f73;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 1rem;
    position: relative;
}



.top-business-item-inner .btn-a {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.information-container {
    padding: 1.5rem;
    border: 3px solid #003f73;
}
.information-container h3 {
    text-align: center;
    font-size: 2rem;
	margin-bottom:1.5rem;
}
.information-container ul {
    list-style-type: none;
    margin: 0 auto 0 auto;
    padding: 0;
    width: 80%;
	text-align:center;
}
.information-container ul li {
    margin-bottom: 0.5rem;
}
.date {
    margin-right: 1rem;
}
.information-container a:link, .information-container a:visited {
    color: #003f73;
}
.information-container a:hover {
    opacity: 0.6;
}


/*footer---------------------------------------------------------*/

footer {
    background-color: #003f73;
    padding: 2.5rem 0;
    color: #fff;
}
footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-left: 0;
}
footer h3::before {
    content: none;
}
.footer-logo {
    width: 200px;
}
footer a:link, footer a:visited {
    color: #fff;
}
footer a:hover {
    opacity: 0.6;
}
.footer-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.footer-nav-f li {
    border-bottom: 1px dotted #fff;
    padding: 1rem 1rem;
    display: flex;
    align-items: flex-start;
    column-gap: 2rem;
}
.footer-nav-f li a::before {
    content:'□';
    font-size: 0.8rem;
    padding-bottom: 0.1rem;
    margin-right: 0.5rem;

}
.footer-nav-s {
    display: flex;
    flex-wrap: wrap;
    width: 25rem;
    font-size: 0.8rem;
    column-gap: 1rem;
    padding-top: 2px;
}
.footer-nav-s li {
    border-bottom: none;
    padding: 0;
}
.footer-nav-s li a::before {
    content:none;

}
.copyright {
    font-size: 0.8rem;
    text-align: center;
    margin: 2.5rem 0 0 0;
}


/*page---------------------------------------------------------*/


.civil-page h3 {
    padding-left: 0;
}
.civil-page h3::before {
    content: none;
   
}
.page-eyecatch {
    width: 100%;
    height: 27.2vw;
    position: relative;
}
.page-eyecatch-single {
    width: 100%;
    height: 15vw;
    position: relative;
}
.page-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #fff;
}
.page-title h2 {
	white-space:nowrap;
}
.page-eyecatch-bg {
    width: 100%;
    height: 100%;
    background-color: #003f73;
}
.page-eyecatch-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.works-slide {
    
    position: relative;
    margin: 0 1rem;
}
.works-info {
    background-color: #fff;
    width: 35%;
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    text-align: start;
}
.works-info-gray {
    background-color: #e9ece5;
}
.works-info:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.works-info .aspfix {
    padding: 2.5vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.works-info h4 {
    font-size: clamp(0.75rem, 1.75vw, 3rem);
    font-weight: bold;
}
.works-info p {
    font-size: clamp(0.75rem, 1vw, 1.5rem);
    margin: 0.5rem 0 0 0;
}
.works-slide img {
    width: 80%;
}
.works-slider {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 2rem;
}
.works-slider .slick-slider, .works-slider .slick-list, .works-slider .slick-track, .works-slider .slick-slide {
    height: 100%;
    width: 100%;
}

.slide-dots {
	margin: 0;
    padding: 0;
    text-align: center;
    position: absolute;
    bottom: 2vw;
    left: 50%;
    transform: translateX(-50%);
	white-space:nowrap;
}
.slide-dots li {
	display: inline-block;
	margin: 0 8px;
	width: 10px;
 	height: 10px;
}
.slide-dots li button {
	position: relative;
	text-indent: -9999px;
}

.slide-dots li button::before {
	background-color: #bebebf;
	content: "";
	cursor: pointer;
	width: 10px;
	height: 10px;
	border-radius: 100%;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
	margin: auto;
	position: absolute;
	top: 40px;
}
.slide-dots li.slick-active button::before {
	background-color: #003f73;
}
.slide-dots button {
	background: none;
	border: none;
	outline: none;
	padding: 0 7px;
}
.slide-arrow {
	width:1.75rem!important;
	position:absolute;
	top:50%;
	transform:translateY(-50%);
	cursor:pointer;
}
.prev-arrow {
	left:-2.5rem!important;
}
.next-arrow {
	right:-2.5rem!important;
}

table {
    width: 100%;
    border: 1px solid #003f73;
}
table tr {
    border-bottom: 1px solid #003f73;
}
table tr:last-child {
    border-bottom: none;
}
table th, table td {
    padding: 0.5rem 1rem;
}
table td {
    border-left: 1px solid #003f73;
    font-weight: normal;
}
table th {
    background-color: #e9ece5;
    /* ブラウザ幅が広がっても、文字数分の最小幅に固定する */
    width: 1px;
    white-space: nowrap;
    /* 左側の「年」の頭を揃える */
    text-align: left;
}

th span:last-child {
    display: inline-block;
    width: 2.3em;        /* 月の表示エリアの幅を固定 */
    text-align: right; /* 右寄せにして右端を揃える */
}
.table-works th {
    letter-spacing: 0;
}

.p-works-list {
    display: grid;
    /* 1列目(日付)は中身に合わせ、2列目(内容)は残り全部 */
    grid-template-columns: auto 1fr;
    width: 100%;
    border-top: 1px solid #003f73; 
    border-left: 1px solid #003f73; 
}

.p-works-list__date {
    grid-column: 1;
    background-color: #e9ece5; /* 日付部分の背景色（薄い青/グレー） */
    color: #003f73;           /* 文字色 */
    font-weight: bold;
    padding: 0.5rem 0.75rem;
    border-right: 1px solid #003f73; /* 縦の区切り線 */
    border-bottom: 1px solid #003f73;/* 下の区切り線 */
    display: flex;
    gap: 0;                /* 年と月の間のスペース */
    align-items: center;
    white-space: nowrap;       /* 改行防止 */
    letter-spacing: 0;
}
.p-works-list__date span:last-child {
    display: inline-block;
    width: 2.5em;        /* 月の表示エリアの幅を固定 */
    text-align: right; /* 右寄せにして右端を揃える */
}
.p-works-list__content {
    grid-column: 2;
    margin: 0;
    padding: 0.5rem 0.75rem;
    background-color: #fff;    /* 内容部分は白背景 */
    color: #003f73;
    border-right: 1px solid #003f73;;  /* 右枠線 */
    border-bottom: 1px solid #003f73;; /* 下の区切り線 */
    display: flex;
    align-items: center;       /* 上下中央揃え */
    font-weight: narmal;
}
.concept-container {
    background-color: #e9ece5;
    text-align: center;
    padding: 2.5rem;
}
.concept-container h4 {
    font-weight: bold;
    line-height: 175%;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}
.concept-container p {
    line-height: 165%;
}
.company-profile-table th {
    text-align: center;
    vertical-align: top;
}

.history-container {
    background-color: #e9ece5;
    text-align: start;
    padding: 2rem;
    font-weight: normal;
}
.company-map {
    width: 100%;
    height: 33vw;
}
.award-list {
    padding-left: 0;
}
.award-list dt {
    padding: 0.25rem 0.25rem 0.25rem 0.25rem;
    border-bottom: 1px solid #003f73;
    font-size: 1.35rem;
}
.award-list dd {
    font-weight: normal;
    padding: 0.25rem;
    margin-bottom: 2rem;
}
.safety-list {
    padding: 2rem;
	margin-top:3rem;
	margin-bottom:3rem;
    border: 1px solid #003f73;
}
.safety-list ul {
    padding: 0;
    margin: 0;
    list-style-type:none;
}
.safety-list li {
    text-indent: -2.25em;
    padding-left: 2.25em;
    line-height: 200%;
    font-weight: normal;
}
.safety-slider img {
    padding: 0 0.25rem;
}
.safety-slogan {
    padding: 2rem;
    border: 1px solid #003f73;
    text-align: center;
}
.safety-slogan h4 {
    font-size: 1rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: bold;
    padding: 0 1.25rem;
}
.safety-slogan h4::before {
    content: '';
    display: block;
    width: 6rem;
    height: 1px;
    background-color: #003f73;
    position: absolute;
    top: 50%;
    right: 100%;
}
.safety-slogan h4::after {
    content: '';
    display: block;
    width: 6rem;
    height: 1px;
    background-color: #003f73;
    position: absolute;
    top: 50%;
    left: 100%;
}
.safety-slogan h5 {
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 175%;
}



.recruit-table th {
    text-align: center;
    vertical-align: top;
}
.btn-recruit {
    text-align: center;
    margin-bottom: 3rem;
}
.btn-recruit a:link, .btn-recruit a:visited{
    background-color: #008b4f;
    padding: 1.25rem 3.5rem;
    border-radius: 100vh;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    display: inline-block;
    border: 1px solid #008b4f;
}
.btn-recruit a:hover{
    background-color: #fff;
    color: #008b4f;
}

.recruit-caption {
    font-size: 0.7rem;
    letter-spacing: 0;
}
.recruit-interview-item {
    position: relative;   

}
.recruit-interview-item img {
    display: block;
}
.recruit-interview-card {
    position: relative;
    width: 80%;
	margin-left:auto;
	margin-right:auto;
	margin-top:-1.25rem;
	background-color: #fff;
	padding:1.5rem 1.5rem 5rem 2.25rem;
}

.recruit-interview-card h3 {
	font-size: 1.5rem;
	margin-bottom:0.5rem;
	min-height:4rem;
    padding: 0;
}
.recruit-interview-card h3::before {
    content: none;
}
.recruit-interview-card h3 span {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.recruit-interview-card p {
    margin-bottom: 0;
    height: 6em;
}
.recruit-interview-btn {
    text-align: center;
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.recruit-interview-btn a:link, .recruit-interview-btn a:visited {
    padding: 0.25rem 2.5rem 0.25rem 3rem;
    border: 1px solid #003f73;
    color: #003f73;
    border-radius: 1rem;
    font-weight: bold;
    display: inline-block;
}
.recruit-interview-btn a:hover {
    background-color: #003f73;
    color: #fff;
}



.interview-title {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.interview-title h3 {
    color: #003f73;
    padding-left: 0.5rem;
    padding-right: 0;
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #008b4f;
    font-size: 2rem;
}
.interview-title h3 span {
    font-size: 1rem;
    display: block;
	font-weight:normal;
}
.interview-title h3::before 
{
    content: none;
}
.interview-title p {
    font-weight: normal;
    padding-left: 0.5rem;
    font-size: 1rem;
}
.interview-ques {
    font-weight: bold;
    margin-bottom: 3rem;
}
.interview-ques dt{
    padding:0 2rem;
	font-size: 1.3rem;
}
.interview-ques dd {
	padding: 2rem;
	border-bottom: 2px solid #008b4f;
	margin-bottom:2rem;
	
}


.interview-ques dd p {
    margin: 0;
    font-size:1rem;
	font-weight:normal;
}

.action-movie {
	cursor:pointer;
}



/*single----------------------------------------------------------*/

.single-content {
	margin-top:6rem;
	
}
.single-content .date, .single-content-container {
	padding:0 1.5rem;
}
.single-content h3 {
	font-size :1.5rem;
	padding-left:0;
	margin-top:0.5rem;
	margin-bottom:2.5rem;
	padding:0 1.5rem 2rem 1.5rem;
	border-bottom:1px solid #008b4f;
}
.single-content h3::before {
	content:none;
}
.single-content-container {
	margin-bottom:6rem;
}


/*Contact---------------------------------------------------------*/

.contact-caption {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 225%;
	word-break: auto-phrase;
}
.contact-title {
    position: relative;
}
.contact-title-caption {
    font-weight: bold;
    color: #008b4f;
    text-align: end;
    display: inline-block;
    position: absolute;
    right: 12px;
    bottom: 0px;
	word-break: auto-phrase;
}



.contactform {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.contactform h4 {
    font-weight: bold;
    font-size: 1.25rem;
}
.contactform h4 span {
    color: #008b4f;
    margin-left: 0.5rem;
}
.form-caption {
    font-size: 0.7rem;
	font-weight:bold;
	margin-bottom:3rem;
}

.error .wpcf7-not-valid-tip {
  display: none;
}
.error .error-message {
  color: #E60000;
  display: none;
	font-size:0.8rem;
}
.error:has(.wpcf7-not-valid-tip) .error-message {
  display: block;
}

.wpcf7-response-output {
	color: #E60000;
    border: 1px solid #E60000!important;
    font-size: 0.8rem;
    text-align: center;

}


.contactform input[type=text], .apls-form input[type=email],input[type=tel],input[type=number], input[type=email], .contactform textarea {
    background-color: #fff;
    border: 2px solid #D9DADD;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    margin: 0;
    width: 100%;
    outline: none;

}
.contactform .tel-form input[type=number] {
	width:5rem;
}
.contactform input[type=date] {
    background-color: #fff;
    border: 2px solid #D9DADD;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    margin: 0;
   outline: none;
}

.contactform textarea {
    height: 10rem;
	width:100%;
}
.wpcf7-radio {
	display:flex;
	flex-direction:column;
	column-gap:1rem;
	row-gap:0.5rem;
}
input[type="radio"] {
    position: relative;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border: 2px solid #D9DADD;
    border-radius: 50%;
    vertical-align: -5px;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
  }
input[type="radio"]:hover,.wpcf7-list-item-label {
   cursor:pointer;
  }

input[type="radio"]:checked:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #003f73;
    content: '';
  }

input[type="checkbox"] {
  border-radius: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="checkbox"] {
 	position: relative;
    width: 18px;
    height: 18px;
    border: none;
    vertical-align: -3px;
    background-color: #d3d3d3;
    border-radius: 4px;
    margin-right: 0.25rem;
}

input[type="checkbox"]:checked{
  background-color:#FF6900;
}

input[type="checkbox"]:checked:before {
	position: absolute;
    top: 1px;
    left: 5px;
    transform: rotate(45deg);
    width: 7px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
}
.contactform input[type=submit] {
    background-color:#008b4f;
    padding: 0.35rem 3rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    border:none;
    border-radius: 100vh;
    min-width: 280px;
}
.contactform input[type=button] {
    background-color:#D9DADD;
    padding: 0.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    border:none;
    border-radius: 100vh;
    min-width: 280px;
    margin-bottom: 1rem;
}

.contactform .wpcf7-spinner {
	display:none;
}
.wpcf7 label {
    width: 100%;
}

/*numberボタン処理*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


::-webkit-input-placeholder { /* WebKit browsers */
color: #d3d3d3 !important;
opacity: 1;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #d3d3d3 !important;
opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #d3d3d3 !important;
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
color: #d3d3d3 !important;
opacity: 1;
}