@charset "UTF-8";

/********************************
下層ページ
*********************************/

/* page header*/
.page_header {
  max-width: 100vw;
  height: 200px;
  position: relative;
  display: flex;
  background-image: url(../img/mv.png);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.page_header_ttl {
  margin: 100px auto;
  color: #F4F7F7;
  text-shadow: 2px 3px 10px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.page_header .ja {
  font-size: 2rem;
}

.page_header .en {
  font-size: 0.8rem;
}

.subpage {
  margin-bottom: 50px;
}

/* section title */
.wrapper {
  width: 65%;
  margin: 40px auto;
  padding-top: 40px;
}

.sec_ttl {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 30px;
  color: #8EC121;
}


/********************************
代表挨拶
*********************************/
.greeting_bg {
  background-image: url(../img/greeting_bg.png);
  background-size:cover;
  background-position: bottom;
}

.greeting_flexbox {
  display: flex;
  position: relative;
  height: 650px;
}

.greeting_left {
  width: 50%;
  position: absolute;
  top: 18%;
  left: 0;
  position: relative;
}

.greeting_right {
  width: 65%;
  position: absolute;
  top: 0;
  right: 0;
}

.greeting p {
  margin-bottom: 1rem;
  line-height: 1.8;
  text-shadow: 1px 2px 3px #fff;
}

.ceoname {
  text-align: right;
}

@media screen and (max-width: 900px) {
  .wrapper {
    width: 90%;
  }

  .greeting_flexbox {
    display: flex;
    flex-direction: column;
    height: auto !important;
    position: static !important;
  }

  .greeting_left,
  .greeting_right {
    width: 100% !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
  }

  .greeting_left img {
    width: 70%;
    margin: 0 auto 20px;
    display: block;
  }

  .greeting_right p {
    text-shadow: none;
  }
}

/********************************
会社概要
*********************************/

/* 会社概要 */
.pfl {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  line-height: 2;
}

.pfl dt {
  width: 30%;
  padding: 15px 20px;
  padding-right: 0;
  font-weight: bold;
  border-bottom: 1px solid #BFC7D8;
}

.pfl dd {
  width: 70%;
  padding: 15px 20px;
  border-bottom: 1px solid #BFC7D8;
}

@media screen and (max-width: 600px) {
  .pfl dt,
  .pfl dd {
    width: 100%;
    padding: 12px 10px;
  }
}

/* 沿革 */
  :root {
    --navy: #5e7c17;       /* テーマカラーの濃色（見出し・本体） */
    --navy-light: #8EC121; /* テーマカラー */
    --gold: #b89a5e;
    --text-main: #2b2b2b;
    --text-sub: #555;
    --bg-page: #f5f4f1;
    --line-color: #c9c2b3;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
    background: var(--bg-page);
    color: var(--text-main);
  }

  .page {
    display: flex;
    min-height: 100vh;
    position: relative;
  }

  .side {
    width: 28%;
    min-width: 260px;
    position: relative;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .side::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
      linear-gradient(to top, rgba(30,40,15,.55), rgba(245,244,241,.92) 55%),
      linear-gradient(160deg, #dce9c2 0%, #bcd98a 35%, #9ec860 55%, #7aa838 75%, #5e7c17 100%);
  }

  .side-content {
    position: relative;
    z-index: 1;
  }

  .side-title {
    font-size: 52px;
    letter-spacing: .25em;
    color: var(--navy);
    margin: 10px 0 18px;
    font-weight: 600;
  }

  .side-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
  }
  .side-divider::before,
  .side-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gold);
  }
  .side-divider span {
    color: var(--gold);
    font-size: 10px;
  }

  .side-eyebrow {
    text-align: center;
    color: var(--gold);
    letter-spacing: .35em;
    font-size: 13px;
    margin-bottom: 40px;
  }

  .side-desc {
    font-size: 14px;
    line-height: 2.1;
    color: #333;
  }

  .enkaku-timeline {
    flex: 1;
    padding: 60px 50px 70px;
  }

  .timeline {
    position: relative;
  }

  .timeline::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 60px;
    width: 0;
    border-left: 1px dotted var(--gold);
    z-index: 0;
  }

  .row {
    display: grid;
    grid-template-columns: 120px 1fr 230px;
    align-items: center;
    column-gap: 28px;
    position: relative;
    z-index: 1;
    padding: 26px 0;
  }

  .badge {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--navy-light), var(--navy) 70%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 6px 16px rgba(94,124,23,.35);
  }

  .badge .sub {
    font-size: 12px;
    font-weight: 400;
    margin-top: 2px;
    letter-spacing: .1em;
  }

  .row.is-gold .badge {
    background: radial-gradient(circle at 35% 30%, #d8c08a, var(--gold) 70%);
    box-shadow: 0 6px 16px rgba(184,154,94,.4);
  }

  .row-text h3 {
    font-size: 22px;
    color: var(--navy);
    margin: 0 0 10px;
    letter-spacing: .04em;
  }

  .row-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: var(--text-sub);
  }

  .row-photo {
    width: 230px;
    height: 130px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.12);
  }

  .row-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .footer-note {
    text-align: center;
    margin-top: 50px;
    color: var(--navy);
    font-size: 15px;
    letter-spacing: .1em;
    position: relative;
  }
  .footer-note::before,
  .footer-note::after {
    content: "—";
    color: var(--gold);
    margin: 0 18px;
  }

  @media (max-width: 900px) {
    .page { flex-direction: column; }
    .side { width: 100%; padding: 40px 24px; }
    .enkaku-timeline { padding: 40px 20px; }
    .row {
      grid-template-columns: 80px 1fr;
      grid-template-areas:
        "badge text"
        "photo photo";
      row-gap: 14px;
    }
    .badge { width: 80px; height: 80px; font-size: 18px; grid-area: badge; }
    .badge .sub { font-size: 9px; }
    .row-text { grid-area: text; }
    .row-photo { grid-area: photo; width: 100%; height: 140px; }
    .timeline::before { left: 40px; }
  }


/********************************
経営基本方針
*********************************/
.policy {
  max-width: 1000px;
  margin: 40px auto;
  padding-top: 40px;
}

.policy_contents {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.policy_item {
  width: calc(33.333% - 20px);
  height: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #ddd;
}

.policy_ttl {
  font-size: 2.3rem;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.policy_ttl::before{
  content: "";
  width: 300px;
  height: 20px;
  background-color: #F4F7F7;
  position: absolute;
  top: 50px;
  left: 0px;
  z-index: -1;
}

.policy_item li {
  font-size: 1.2rem;
}

.policy_item_left,
.policy_item_right {
  width: 100%;
  padding-left: 0;
  margin: 0;
    position: relative;
}

.policy_item_left {
  background-color: #ccd6e0;
}

.policy_item_right {
  background-color: #dde6ef;
}

.policy_item_left ol ,
.policy_item_right ol {
  padding: 0 20px 20px 20px;
}

.policy_item_img1 {
  background-image: url(../img/policy_img1.png);
  background-position: right top;
}

.policy_item_img2 {
  background-image: url(../img/policy_img2.png);
}

.policy_item_img3 {
  background-image: url(../img/policy_img3.png);
  background-position: right top;
}

.policy_item_img1,
.policy_item_img2,
.policy_item_img3 {
  width: 250px;
  height: 250px;
  margin-top: 20px;
  background-size: cover;
}


@media screen and (max-width: 900px) {
  .policy {
    width: 90%;
  }

  .policy_contents {
    justify-content: center;
  }

  .policy_contents .fadein-down {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 2.5s ease, transform 2.5s ease;
  }

  .policy_item {
    width: calc(50% - 20px);
    height: auto !important;
    flex-direction: column;
    text-align: center;
  }

  .policy_item_img1,
  .policy_item_img2,
  .policy_item_img3 {
    order: 1;
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
  }

  .policy_item_left,
  .policy_item_right {
    order: 2;
    width: 100%;
    height: 60%;
    padding: 0 10px;
    text-align: center;
  }

  .policy_ttl {
    font-size: 1.8rem;
  }

  .policy_ttl::before {
    width: 180px;
    height: 18px;
    top: 48px;
    left: calc(50% - 90px);
  }

  .policy_item li {
    font-size: 1rem;
  }

  .policy_item_img1,
  .policy_item_img2,
  .policy_item_img3 {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 600px) {
  .policy .sec_ttl {
    font-size: 1.2rem;
  }

  .policy_ttl {
    font-size: 1.8rem;
  }

  .policy_ttl::before {
    width: 150px;
    height: 18px;
    top: 45px;
    left: calc(50% - 75px);
  }

  .policy_item {
    width: 100%;
  }

  .policy_item_img1,
  .policy_item_img2,
  .policy_item_img3 {
    width: 170px;
    height: 170px;
  }
}


/********************************
事業案内
*********************************/
.service {
  width: 90%;
  margin: 20px auto;
  padding: 50px 0;
}

.service h2 {
  font-size: 2rem;
  text-align: left;
  color: #005371;
}

.service .sec_ttl {
  position: relative;
  z-index: 1;
}

.service .sec_ttl::before{
  content: "";
  width: 500px;
  height: 260px;
  background-color: #f4f4f7;
  position: absolute;
  top: 55%;
  left: -20%;
  z-index: -1;
}

.service .sec_ttl::after {
  content: "";
  display: block;
  height: 1px;
  width: 90%;
  background: #333333;
  position: absolute;
  bottom: -5px;
  left: -20px;
}



.service_first {
  margin-top: 80px;
}

.service .ctn {
  display: flex;
  width: 90%;
  margin: 0 auto;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.reverse {
  display: flex;
  flex-direction: row-reverse;
  width: 80%;
  margin: 0 auto;
}

.ctn_txt {
  margin: 10px;
  width: 50%;
}

.ctn p {
  padding: 10px;
}

.ctn img {
  width: 40%;
}



@media screen and (max-width: 900px) {

  .service {
  text-align: center;
}

  .service h2 {
    font-size: 1.6rem;
  }

    .service .sec_ttl::before {
    width: 120%;
    height: 120px;
    top: 60%;
    left: -15%;
  }

  .service .sec_ttl::after {
    width: 100%;
    left: 0;
  }

  .service, .service_rvs {
    padding: 30px 20px;
    margin: 20px auto;
  }

  .service .fadein-right,
  .service .fadein-left {
    margin: 0;
    border-radius: 20px;
  }

  .service .ctn {
    flex-direction: column !important;
    width: 100%;
    margin-top: 20px;
    align-items: center;
  }

  .ctn_txt {
    width: 100%;
    margin: 20px 0 10px;
    text-align: left;
    line-height: 1.8;
  }

  .ctn_txt p {
    padding: 5px 0;
  }

  .ctn img {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
  }
}


/********************************
採用情報
*********************************/
.recruit_info {
  width: 65%;
  margin: 20px auto;
  font-size: 1.3rem;
  text-align: center;
}

.recruit_pickup {
  width: 100%;
  margin-top: 20px;
}

.recruit_pickup li img {
  width: 100%;
  height: 20vw;
  padding: 0 10px;
  object-fit: cover;
  
}

.recruit_pickup .slick-list {
  padding: 0 50px !important;
}

.recruit_pickup .slick-slide {
  padding: 0 10px;
  box-sizing: border-box;
}

.recruit_pickup .slick-slide img {
  width: 100%;
  height: 20vw;
  object-fit: cover;
  display: block;
}

.contact_btn {
  width: 55%;
  margin: 0 auto;
  padding-bottom: 20px;
}

.contact_btn img {
  display: block;
  width: 100%;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact_btn a:hover img {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

@media screen and (max-width: 1024px) {
  .recruit_pickup li img {
    height: 35vw;
  }
}

@media screen and (max-width: 900px) {
  .recruit_info {
    width: 100%;
    margin: 16px 0; 
    padding: 0 12px; 
    box-sizing: border-box;
    text-align: center;
    font-size: 1.1rem;
  }

  .recruit_info img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .recruit_pickup li img {
    height: 50vw;
  }

  .recruit_pickup .slick-list {
    padding: 0 50px !important;
  }

  .recruit_pickup .slick-slide img {
    height: 50vw;
  }
}

@media screen and (max-width: 480px) {
  .recruit_info {
    padding: 0 10px;
    font-size: 1.0rem;
    margin: 12px 0;
  }
  .contact_btn {
  width: 85%;
  }
}



/********************************
お問い合わせページ
*********************************/
.contact_main {
  background-color: #CCECCC;
}

.contact_header {
  max-width: 100vw;
  height: 200px;
  position: relative;
  display: flex;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.contact_header_ttl {
  margin: 100px auto;
  color: #F4F7F7;
  text-shadow: 2px 3px 10px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  text-align: center;
}

.contact_header .ja {
  font-size: 2rem;
}

.contact_header .en {
  font-size: 0.8rem;
}

/*ContactForm7カスタマイズ*/
.page-contact .contact {
  margin-top: 0 !important;
}

table.CF7_table {
	width:70%;
	margin:0 auto;
}

table.CF7_table th {
  padding: 10px;
  width: 30%;
  vertical-align: middle;
}

table.CF7_table td {
  padding: 10px;
  width: 70%;
} 

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table {
	display:table;
}

/* チェックボックス */
.CF7_table input[type="radio"] {
  appearance: radio; 
  -webkit-appearance: radio;
  width: auto;
  display: inline-block;
  margin-right: 0.5em;
  vertical-align: middle;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
  background-color: #eaedf5;
  width: 100%;
  border-radius: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 30px;
}

.CF7_table textarea {
  height: 200px;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background: #f79034;
	color: #E2F2C2;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width: 100%;
    margin: 0 auto;
	}
  .CF7_table tr,
  .CF7_table th,
  .CF7_table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
		table.CF7_table th {
    width: 75%;
    padding: 14px 12px;
    border-radius: 10px;
    margin: 0 auto 8px auto;
  }
  table.CF7_table td {
    margin: 0 auto 20px auto;
    width: 80%;
  }

  /* ラジオボタンの整列 */
  .CF7_table td .form-radio {
    display: block;
    margin-bottom: 8px;
  }
  
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit,
.wpcf7 .wpcf7-previous {
  background: linear-gradient(to bottom, #f1e767 0%, #feb645 100%);
  padding: 10px 30px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}

.wpcf7 input.wpcf7-submit:hover {
  background: -webkit-gradient(linear, left bottom, left top, from(#f1e767), to(#feb645));
  background: -webkit-linear-gradient(bottom, #f1e767 0%, #feb645 100%);
  background: linear-gradient(to top, #f1e767 0%, #feb645 100%);
}

.wpcf7 .wpcf7-previous:hover {
  background: linear-gradient(to top, #f1e767 0%, #feb645 100%);
}

.CF7_btn_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0 40px;
}

.CF7_btn_wrap .wpcf7-multistep {
  display: inline-block;
  width: auto;
}

.wpcf7 form {
  text-align: center;
}

.CF7_btn {
  display: inline-block;
  margin: 20px 10px 40px;
  vertical-align: middle;
}

.CF7_btn input {
  padding: 10px 30px;
  border-radius: 20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

.wpcf7 form .wpcf7-response-output {
  margin-bottom: 0;
}








