@charset "utf-8";

/*
Theme Name: seishin_hp
  */
* {
  margin: 0px;
  padding: 0px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  background-color: #FFFFFF;
  scroll-behavior: smooth;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  color: #333333;
}

body {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  color: #333333;
  display: flex;
  flex-flow: column;
}

a {
  text-decoration: none;
  color: #fff;
}


/*------------ フォント関係 ------------*/
.font_12 {
  font-size: 12px;
}

.font_18 {
  font-size: 18px;
}

.font_24 {
  font-size: 24px;
}

.font_36 {
  font-size: 36px;
}

.font_bo_300 {
  font-weight: 300;
}

.font_bo_600 {
  font-weight: 600;
}

.font_co_base {
  color: #2D5A27;
}

.font_co_white {
  color: #fff;
}

.font_co_blue {
  color: #2D5A27;
}

.font_co_green {
  color: #2D5A27;
}

.font_co_lightgreen {
  color: #6DAE4F;
}

.font_cursive {
  font-family: 'Tangerine', cursive;
  letter-spacing: 1px;
  font-size: 38px;
}

.font_diagonal {
  transform: rotate(-5deg);
  -moz-transform: rotate(-5deg);
  -webkit-transform: rotate(-5deg);
}

.link_text {
  color: #fff;
  transition: color 0.4s ease-out;
}

.link_text.link_text_color_scroll {
  color: #707070;
  transition: color 0.4s ease-out;
}

@media screen and (max-width: 880px) {
  .font_12 {
    font-size: 12px;
  }

  .font_18 {
    font-size: 18px;
  }

  .font_24 {
    font-size: 24px;
  }

  .font_36 {
    font-size: 36px;
  }
}

@media screen and (max-width: 400px) {
  .font_12 {
    font-size: 12px;
  }

  .font_18 {
    font-size: 18px;
  }

  .font_24 {
    font-size: 24px;
  }

  .font_36 {
    font-size: 36px;
  }
}



/*------------ 背景色 ------------*/
.back_co_base {
  background-color: #F8FAF7;
}

.back_co_white {
  background-color: #FFFFFF;
}

.back_co_blue {
  background-color: #2D5A27;
}

.back_co_darkblue {
  background-color: #1A3516;
}

.back_co_lightblue {
  background-color: #E8F0E5;
}

.back_co_green {
  background-color: #2D5A27;
}

.back_co_lightgreen {
  background-color: #6DAE4F;
}

.back_co_red {
  background-color: #D32F2F;
}

.back_co_white_a {
  background-color: rgba(255, 255, 255, 0.9);
}

.back_co_blue_a {
  background-color: rgba(31, 96, 199, 0.9);
}

.menu_back {
  background-color: none;
  transition: background-color 0.2s ease-out;
}

.menu_back.menu_back_color_scroll {
  background-color: #FFFFFF;
  transition: background-color 0.2s ease-out;
}

/*------------ 余白 ------------*/
.margin_t_60 {
  margin-top: 60px;
}

.margin_t_40 {
  margin-top: 40px;
}

.margin_t_30 {
  margin-top: 30px;
}

.margin_t_20 {
  margin-top: 20px;
}

.margin_t_10 {
  margin-top: 10px;
}

/*------------ 画像 ------------*/
.menu_logo_icon {
  height: 56px;
  width: 56px;
  margin-left: 10px;
  background-image: url(./images/icon/icon.png);
  background-size: contain;
  background-repeat: no-repeat;
}

/*------------ メニュー ------------*/
.menu {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  padding: 0 3%;
  z-index: 993;
  background-color: rgba(252, 252, 252, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.menu_logo {
  display: flex;
  align-items: center;
}

.menu_logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.menu_logo img {
  height: 45px;
  width: auto;
  vertical-align: middle;
}

.menu_company_name {
  margin-left: 15px;
  font-size: 26px;
  letter-spacing: 0.1em;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  color: #333333;
}

.menu_items {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.menu_link {
  display: flex;
  gap: 20px;
}

.menu_link a {
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: opacity 0.3s;
  color: #333333;
}

.contact_link {
  padding: 8px 24px;
  border: 1px solid #333333;
  border-radius: 4px;
  color: #333333;
}

.menu_back.menu_back_color_scroll .contact_link {
  border-color: #2D5A27;
  color: #2D5A27;
}

/* ハンバーガー */
.menu-btn {
  position: fixed;
  top: 6px;
  right: 6px;
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  z-index: 994;
  background-color: #2D5A27;
}

/* PC Menu Dropdown */
.menu_dropdown {
  position: relative;
  display: inline-block;
  height: 100%;
}

.menu_dropdown_content {
  display: flex;
  /* Horizontal layout */
  gap: 10px;
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  /* Start slightly above */
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 990;
  /* Lower than menu items if needed, but menu has 993 backdrop. If we want it "behind" the text but on top of page content. */
  /* Actually, if menu is 993, this is 993 + child.
   To appear "behind" the text, we need the text to be higher z-index in the same stacking context.
   But opacity transition simulates the effect well enough.
*/
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  font-weight: 600;
  /* Hidden State */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.menu_dropdown.is-active .menu_dropdown_content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Add cursor pointer to the trigger since it has no href */
.menu_dropdown>a {
  cursor: pointer;
}

.menu_dropdown_content a {
  color: #333;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  white-space: nowrap;
  border-radius: 2px;
}

.menu_dropdown_content a:hover {
  background-color: #f1f1f1;
  color: #2D5A27;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
  transition: all 0.3s;
}

.menu-btn span:before {
  bottom: 8px;
  transition: all 0.3s;
}

.menu-btn span:after {
  top: 8px;
  transition: all 0.3s;
}

.menu-btn.is-active span {
  background-color: rgba(255, 255, 255, 0);
  /*メニューオープン時は真ん中の線を透明にする*/
  transition: all 0.3s;
}

.menu-btn.is-active span::before {
  bottom: 0;
  transform: rotate(45deg);
  transition: all 0.3s;
}

.menu-btn.is-active span::after {
  top: 0;
  transform: rotate(-45deg);
  transition: all 0.3s;
}

#menu-btn-check {
  display: none;
}

.sp_menu_items {
  width: 100%;
  height: 100vh;
  /* Cover full screen */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 992;
  transition: transform 0.5s ease;
  transform: translateY(-120%);
  /* Start off-screen */
  opacity: 0.95;
  background-color: #2D5A27;
}

.sp_menu_link {
  width: 100%;
  margin-top: 90px;
  line-height: 40px;
  display: flex;
  flex-flow: column;
  align-items: center;
}

.sp_menu_items.is-active {
  transform: translateY(0);
  /* Slide down */
}

.pc_menu {
  display: block;
}

.sp_menu {
  display: none;
}

@media screen and (max-width: 880px) {
  .pc_menu {
    display: none;
  }

  .sp_menu {
    display: block;
  }

  .menu_link {
    display: none;
  }
}

@media screen and (max-width: 755px) {

  /* ハンバーガー */
  .pc_menu {
    display: none;
  }

  .sp_menu {
    display: block;
  }
}

@media screen and (max-width: 350px) {
  .menu_logo a {
    margin-left: 4px;
    font-size: 20px;
  }
}

.linc_button_flo_rig {
  top: 10px;
  right: 20px;
}

.linc_button {
  position: absolute;
  width: 63px;
  height: 63px;
}

.linc_button_front {
  width: 55px;
  height: 55px;
  border-radius: 20px;
  border: solid 4px #fff;
  margin-top: -61px;
}

.linc_button_front_back {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  opacity: 0.5;
}

.linc_button_back {
  width: 55px;
  height: 55px;
  border-radius: 20px;
  margin-left: 6px;
  margin-top: 6px;
}

.linc_arrow {
  position: relative;
  display: block;
  width: 30px;
  height: 6px;
  background-color: #fff;
  margin-top: -26px;
  margin-left: 6px;
}

.linc_arrow::before {
  content: "";
  position: absolute;
  top: 3px;
  right: -4px;
  display: block;
  width: 16px;
  height: 7px;
  background-color: #fff;
  transform: rotate(-45deg);
}

.linc_arrow::after {
  content: "";
  position: absolute;
  bottom: 3px;
  right: -4px;
  display: block;
  width: 16px;
  height: 7px;
  background-color: #fff;
  transform: rotate(45deg);
}


.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Hero Section */
.home_hero_contents {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
}

.home_hero_img_wrap {
  width: 100%;
  height: 100%;
}

.home_hero_img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.home_hero_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 100%);
}

.home_hero_copy {
  position: absolute;
  bottom: 15%;
  left: 10%;
  z-index: 10;
}

.hero_main_copy {
  font-size: 55px;
  font-weight: 700;
  color: #333333;
  letter-spacing: 0.1em;
}

.hero_main_copy .char_small {
  font-size: 48px;
}

/* Info Section */
.info_title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 60px;
  color: #6DB329;
  margin-bottom: 40px;
  position: relative;
  z-index: 5;
  letter-spacing: 0.05em;
  margin-left: 15%;
  text-shadow: 4px 0px 0 #000000;
}

.section_title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 60px;
  color: #6DB329;
  margin-bottom: 60px;
  position: relative;
  z-index: 5;
  letter-spacing: 0.05em;
  text-shadow: 4px 0px 0 #000000;
  text-align: left;
  /* Or left? Info title has margin-left 15% */
  margin-left: 15%;
}

.section_title_right {
  font-family: 'Zen Old Mincho', serif;
  font-size: 60px;
  color: #6DB329;
  margin-bottom: 40px;
  position: relative;
  z-index: 5;
  letter-spacing: 0.05em;
  text-shadow: -4px 0px 0 #000000;
  /* Negative shadow for right alignment usually? */
  text-align: right;
  margin-right: 15%;
}

.info_title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 60px;
  color: #6DB329;
  margin-bottom: 40px;
  position: relative;
  z-index: 5;
  letter-spacing: 0.05em;
  margin-left: 15%;
  text-shadow: 4px 0px 0 #000000;
}

.info_outer_border {
  border: 3px solid #154A2A;
  border-right: none;
  padding: 6px;
  background-color: #fff;
  margin-left: auto;
  width: 85%;
}

.info_inner_border {
  border: 1px solid #154A2A;
  border-right: none;
  padding: 0px 0px 0px 25px;
}

.info_item {
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

.info_item:last-child {
  border-bottom: none;
}

.info_item_title {
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
  /* Multi-line truncation */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.info_item_date {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.info_item_excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  /* Multi-line truncation */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

/* Message Section */
.home_message_section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  margin-top: 120px;
}

.message_bg_layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* Removed display: flex to allow overlap */
}

.message_bg_left {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  /* Increased width for overlap */
  height: 60%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 5px solid #2D5A27;
  z-index: 1;
  /* Left image on top or bottom? Assuming left on bottom based on typical "pile" or maybe top? let's try 1 */
}

.message_bg_left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1D2F25;
  opacity: 0.4;
  z-index: 1;
  /* Overlay on top of BG image */
}

.message_bg_right {
  position: absolute;
  top: 40%;
  right: 0;
  /* Align to right */
  width: 70%;
  /* Increased width for overlap */
  height: 60%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 5px solid #2D5A27;
  z-index: 2;
  /* Right image on top */
}

.message_bg_right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1D2F25;
  opacity: 0.4;
  z-index: 1;
  /* Overlay on top of BG image */
}

.message_container {
  position: relative;
  width: 75%;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.message_title {
  position: absolute;
  top: -90px;
  right: -12%;
  z-index: 2;
  font-family: 'Zen Old Mincho', serif;
  font-size: 60px;
  color: #6DB329;
  letter-spacing: 0.05em;
  text-shadow: -4px 0px 0 #000000;
}

.message_card {
  position: relative;
  background-color: #fff;
  padding: 60px 80px;
  box-shadow: -10px 10px 0 #2D5A27;
}

.message_main_img {
  width: 80%;
  display: block;
  margin: 0 auto;
}

.line_height_2 {
  line-height: 2;
}

.font_14 {
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .message_bg_layer {
    flex-direction: column;
  }

  .message_bg_left,
  .message_bg_right {
    width: 100%;
    height: 50%;
  }

  .message_container {
    width: 95%;
    padding: 20px;
  }

  .message_card {
    padding: 40px 20px;
  }

  .message_title {
    font-size: 60px;
    top: -30px;
    right: 0;
  }

  .message_green_deco {
    top: 15px;
    left: -15px;
  }

  /* End of media query */
}

/* Vision Section */
.home_vision_section {
  position: relative;
  /* Ensure positioning context if needed */
}

.vision_inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.vision_title {
  position: relative;
  /* Or absolute if user implies exact same positioning? 
     message_title is absolute top -90px right -12%.
     Let's try to mimic that relative to vision_inner.
  */
  font-family: 'Zen Old Mincho', serif;
  font-size: 40px;
  color: #6DB329;
  letter-spacing: 0.05em;
  text-shadow: 3px 0px 0 #000000;
  text-align: center;
  /* Use text-align for flow or absolute for overlap? */
  margin: 40px;
  margin-bottom: 60px;
  /* Spacer */
  /* If the user wants EXACT specification, it implies the visual style. 
     Positioning might depend on the section layout. 
     Vision section seems to be a title + image. 
     Let's use the styles and see. 
     If "same specification" implies absolute positioning outside the box, I should be careful.
     For now, I will apply the typography and color/shadow.
     And I will make it right aligned as per message_title's execution.
  */
}

.vision_media_border {
  margin: 20px;
  border: 5px solid #2D5A27;
}

.vision_media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  /* Remove potential inline-block spacing */
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .vision_title {
    margin: 0px;
    margin-bottom: 60px;
  }
}

/* Business Section */
.home_business_section {
  position: relative;
  z-index: 1;
}

.home_business_section::before {
  content: "";
  position: absolute;
  top: 55%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 40%;
  background-color: #2D5A27;
  z-index: -1;
}

.business_cards {
  display: flex;
  justify-content: space-evenly;
  gap: 40px;
  flex-wrap: wrap;
  /* Important for wrapping */
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.business_card {
  height: 350px;
  width: 350px;
  min-width: 350px;
  /* Ensure it doesn't shrink below 350px */
  background: #fff;
  border: 5px solid #2D5A27;
  box-shadow: 10px 10px 0 #2D5A27;
  padding: 40px;
  text-align: center;
  margin: 10px;
}

@media screen and (max-width: 700px) {
  .business_cards {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .home_business_section::before {
    top: 70%;
  }
}

.business_card_inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.business_icon_wrap {
  flex-grow: 1;
  display: flex;
  align-items: center;
  /* Center icon vertically if needed, or flex-start */
  justify-content: center;
}

.business_icon_wrap img {
  width: 100%;
  max-height: 200px;
  /* Optional constraint */
  object-fit: contain;
}

.business_name {
  width: 100%;
  margin-top: auto;
  /* Push to bottom if not using justify-content: space-between */
  padding-top: 20px;
}

.gallery_row {
  /* display: flex; Handled by Flickity */
  /* gap: 10px; Handled by Flickity margin maybe? Or plain margin on img */
  /* overflow-x: auto; Handled by Flickity */
  width: 100%;
}

.gallery_row img {
  width: 350px;
  height: 400px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 10px 10px 0 #2D5A27;
  margin-right: 20px;
  margin-bottom: 20px;
  /* Space for shadow */
}

.gallery_row img:nth-child(odd) {
  margin-top: 20px;
}

/* Company Section */
.company_links {
  max-width: 800px;
  margin: 0 auto;
}

.company_link_item {
  display: flex;
  padding: 30px 10px;
  align-items: center;
  justify-content: flex-start;
  /* Align start */
  gap: 30px;
  /* Spacing between label and content */
  color: #333;
  transition: 0.3s;
}

.company_link_item:hover {
  background-color: #f9f9f9;
  /* Slight hover effect */
  color: #2D5A27;
}

.link_label {
  font-size: 44px;
  font-weight: 700;
  /* font-family can be Zen Old Mincho if needed, assumed inherited or standard */
}

/* Right side content wrapper */
.link_arrow_contents {
  display: flex;
  align-items: center;
  flex-grow: 1;
  /* Fill remaining space */
}

/* Vertical text wrapper */
.link_arrow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
  /* Fill remaining space in contents */
  /* Or flex-end? Text usually left aligned in its box */
}

.link_arrow_name {
  font-size: 16px;
  line-height: 1.2;
  color: #2D5A27;
  margin-top: -15px;
}

.link_arrow_line {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #2D5A27;
  margin-top: -4px;
  transition: 0.3s;
}

.company_link_item:hover .link_arrow_line {
  background-color: #2D5A27;
}

.link_arrow_icon img {
  width: 40px;
  /* Adjust size as needed */
  height: auto;
  display: block;
  margin-left: -4px;
}

/* Recruit Section */

.home_recruit_section {
  position: relative;
  /* Remove bottom padding */
  background-color: #6DB329;
  overflow: hidden;
}

.recruit_bg_img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/index/recruit.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.recruit_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #436D54;
  /* Base green */
  opacity: 0.5;
  z-index: 1;
}

.recruit_content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.recruit_box_top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* Align button to bottom of text area */
  padding: 100px 60px;
}

.recruit_info {}

.recruit_info_text_shadow {
  text-shadow: -2px 0 0 #2D5A27;
}

.recruit_title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 60px;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
  text-shadow: -3px 0 0 #2D5A27;
}

.recruit_text {
  font-size: 14px;
  line-height: 1.6;
}

.recruit_button {
  display: inline-block;
  background-color: #2D5A27;
  width: 244px;
  color: #fff;
  padding: 20px 50px;
  font-size: 18px;
  text-decoration: none;
  /* Optional border defined by user image? Looks like solid button */
  border: none;
  transition: 0.3s;
  box-shadow: -2px 0 0 #fff;
}

.recruit_button:hover {
  background-color: #fff;
  color: #2D5A27;
}

.gallery_row_recruit {
  display: flex;
  width: 100%;
  gap: 10px;
  /* Add spacing */
}

.gallery_row_recruit img {
  flex: 1;
  /* Distribute space evenly */
  width: 100%;
  min-width: 0;
  /* Allow shrinking */
  /* Ensure it takes flex width */
  height: auto;
  /* Maintain aspect ratio */
  /* object-fit: cover; Removed to avoid cropping/fixed height behavior */
}



/* Contact Section */
.home_contact_section {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  border: 5px solid #436D54;
}

.contact_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(29, 47, 37, 0.4);
  /* Slightly more green overlay */
  z-index: 1;
}

.contact_inner {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: #fff;
  margin: 0 auto;
  /* Ensure centering */
}

.contact_logo_wrap {
  flex: 0 0 auto;
}

.clover_logo {
  width: 300px;
  /* Adjust as needed */
  height: auto;
  /* Style choice */
}

.contact_info_wrap {
  /* flex: 1; */
}

.contact_title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 60px;
  margin-bottom: 20px;
  text-shadow: -4px 0 0 #000;
}

.contact_text {
  font-size: 16px;
  line-height: 2;
  font-weight: 500;
  text-shadow: -2px 0 0 #000;
}

.contact_tel_area {
  font-family: 'Zen Old Mincho', serif;
}

.contact_tel_label {
  font-weight: bold;
  text-shadow: -2px 0 0 #000;
}

.contact_tel_number {
  color: #fff;
  text-decoration: none;
  text-shadow: -2px 0 0 #000;
}

.contact_hours {
  font-size: 14px;
  text-shadow: -2px 0 0 #000;
}

@media screen and (max-width: 880px) {
  .contact_inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
}


.loading_effect {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 800;
  /* opacity: 0.9; */
}





.first_loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.is_active {
  opacity: 1;
  visibility: visible;
}

.spinner {
  position: fixed;
  width: 120px;
  height: 120px;
  ;
  top: 55%;
  left: 50%;
  transform: translate(-45%, -50%);
}

.spinner>div {
  width: 24px;
  height: 24px;
  background-color: #fff;
  margin-left: 2px;
  margin-right: 2px;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 2.4s infinite ease-in-out both;
  animation: sk-bouncedelay 2.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}

.spinner .loading_icon {
  background-color: #1F60C7;
  -webkit-animation-delay: -0.2s;
  animation-delay: -0.2s;
}

@-webkit-keyframes sk-bouncedelay {

  0%,
  80%,
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
  }

  40% {
    opacity: 1;
    -webkit-transform: scale(1.0);
  }
}

@keyframes sk-bouncedelay {

  0%,
  80%,
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  40% {
    opacity: 1;
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

@media screen and (max-width: 880px) {
  .recruit_box_top {
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 5%;
  }

  .recruit_info {
    width: 100%;
    /* Ensure full width */
    max-width: 100%;
    margin-bottom: 40px;
  }

  .recruit_btn_wrap {
    width: auto;
    align-self: flex-end;
    /* Align right */
  }
}

/* Support Section */
.home_support_section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.support_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/index/child.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.support_deco_img {
  position: absolute;
  z-index: 1;
  /* Same layer as bg, behind content */
  /* max-width: 30%; */
  /* Responsive sizing */
  height: auto;
  pointer-events: none;
  /* Prevent interference */
  filter: blur(3px);
  /* Add blur effect */
}

.deco_1 {
  top: 0;
  right: 0;
  width: 60%;
  max-width: 400px;
}

.deco_2 {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 70%;
  max-width: 500px;
}

.deco_3 {
  bottom: 0;
  right: 0;
  width: 65%;
  max-width: 500px;
}

.support_content {
  position: relative;
  z-index: 2;
  padding: 0 5%;
}

.support_card {
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 80px 60px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.support_title {
  font-family: 'Zen Old Mincho', serif;
  margin-bottom: 20px;
  color: #333;
  text-shadow: 2px 0 0 #fff;
  /* Green text for title */
}

.support_text {
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  line-height: 2;
  color: #333;
  font-weight: 600;
  text-shadow: 2px 0 0 #fff;
}

.support_card {
  padding: 40px 20px;
}

/* Footer Section */
.footer_top {
  background-color: #fff;
  padding: 30px 40px;
  color: #333;
}

.footer_container {
  display: flex;
  justify-content: space-between;
  /* align-items: flex-start; Removed to allow stretch */
  flex-wrap: wrap;
  gap: 40px;
}

.footer_left {
  flex: 1;
  min-width: 300px;
}

.footer_logo_wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer_logo {
  width: 250px;
  height: auto;
}

.footer_tagline {
  font-size: 13px;
  font-weight: bold;
  color: #333;
}

.footer_address_info {
  font-family: 'Zen Old Mincho', serif;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 600;
  color: #333;
  margin-left: 20px;
}

.footer_right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  margin-left: 20px;
  /* Align top and bottom */
}

.footer_nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer_nav_link {
  text-decoration: none;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 600;
  color: #333;
  font-size: 15px;
  transition: 0.3s;
}

.footer_nav_link:hover {
  opacity: 0.7;
}

.footer_icons {
  display: flex;
  gap: 20px;
}

.footer_icon_link img {
  width: 50px;
  height: auto;
  transition: 0.3s;
}

.footer_icon_link:hover img {
  opacity: 0.8;
}

.footer_bottom {
  background-color: #436D54;
  padding: 5px 0;
  text-align: center;
}

.copyright {
  color: #fff;
  font-family: 'Zen Old Mincho', serif;
  font-size: 14px;
}

@media screen and (max-width: 880px) {
  .footer_container {
    flex-direction: column;
  }

  .footer_right {
    align-items: flex-start;
    width: 100%;
  }

  .footer_nav {
    gap: 20px;
  }

  .footer_icons {
    margin-top: 30px;
  }
}

/* Responsive Font Sizes */
@media screen and (max-width: 880px) {
  .hero_main_copy {
    font-size: 45px;
  }

  .hero_main_copy .char_small {
    font-size: 41px;
  }

  .info_title,
  .section_title,
  .section_title_right,
  .message_title,
  .recruit_title,
  .contact_title {
    font-size: 50px;
  }

  .vision_title {
    font-size: 36px;
  }

  .support_title {
    font-size: 36px;
  }

  .link_label {
    font-size: 36px;
  }

  .business_name {
    font-size: 26px;
    /* Adjust if needed */
  }
}

/* Small Smartphone Adjustment */
@media screen and (max-width: 440px) {
  .hero_main_copy {
    font-size: 38px;
  }

  .hero_main_copy .char_small {
    font-size: 33px;
  }

  .info_title,
  .section_title,
  .section_title_right,
  .message_title,
  .recruit_title,
  .contact_title {
    font-size: 42px;
  }

  .vision_title,
  .support_title,
  .link_label {
    font-size: 32px;
  }

  .business_name {
    font-size: 22px;
  }

  /* Text Body Reduction */
  .contact_text,
  .recruit_text,
  .support_text,
  .info_item_excerpt,
  .footer_address_info {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Increase clamp on mobile */
  .info_item_title {
    -webkit-line-clamp: 2;
  }

  .info_item_excerpt {
    -webkit-line-clamp: 1;
  }

  /* Menu Adjustment */
  .menu_logo img {
    height: 40px;
    /* Reduced from 60px */
  }

  .menu_company_name {
    font-size: 18px;
    /* Reduced from 26px */
    margin-left: 10px;
  }
}

/* Hero Section */
.sub_hero_contents {
  position: relative;
  height: 40vh;
  min-height: 300px;
  overflow: hidden;
}

.sub_hero_img_wrap {
  width: 100%;
  height: 100%;
}

.sub_hero_img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.sub_hero_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 100%);
}


/* Information Page Styles */
.information_section {
  padding: 0 0 60px;
  background-color: #fff;
}

.page_title_area {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 40px;
}

.page_title .en {
  font-family: 'Zen Old Mincho', serif;
  color: #58A638;
  font-size: 60px;
  margin-right: 10px;
  text-shadow: 3px 0px 0 #000000;
}

.page_title .page_title_ja {
  font-family: 'Zen Old Mincho', serif;
  color: #58A638;
  font-size: 32px;
  font-weight: bold;
  text-shadow: 2.5px 0px 0 #000000;
}

.news_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: flex-start;
}

.news_item {
  width: 320px;
  /* Remove border from main element, use pseudo-elements */
  border: none;
  padding: 10px;
  /* Space for content inside the 'front card' */
  box-sizing: border-box;
  text-decoration: none;
  display: block;
  /* background: transparent; */
  transition: opacity 0.3s;
  position: relative;
  z-index: 1;
  /* Create stacking context */
  margin-bottom: 20px;
  /* Ensure space for offset */
  margin-right: 20px;
  /* Ensure space for offset if needed, though we shift back-left */
}

/* Back Card (Offset Top-Left) */
.news_item::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 10px;
  width: 100%;
  height: 100%;
  border: 5px solid #154A2A;
  background: #fff;
  z-index: -2;
  box-sizing: border-box;
}

/* Front Card (Aligned with Content) */
.news_item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 5px solid #154A2A;
  border-top-width: 10px;
  border-bottom-width: 10px;
  background: #fff;
  z-index: -1;
  box-sizing: border-box;
}

.news_item:hover {
  opacity: 0.8;
}

.news_image_box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}

.news_image_wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news_image_wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.news_content_overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  /* Cover bottom half */
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px 10px 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.news_date {
  color: #008000;
  /* Standard Green or #154A2A */
  color: #154A2A;
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 5px;
  font-family: 'Zen Old Mincho', serif;
}

.news_title {
  color: #000;
  font-weight: bold;
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Zen Old Mincho', serif;
  /* Changed to match likely Mincho in image */
}


/* Responsive */
@media screen and (max-width: 1100px) {
  .news_list {
    max-width: 740px;
  }
}

@media screen and (max-width: 740px) {
  .news_list {
    justify-content: center;
  }
}

@media screen and (max-width: 600px) {
  .page_title .en {
    font-size: 40px;
  }

  .page_title .page_title_ja {
    font-size: 24px;
  }
}

.company_section {
  max-width: 1100px;
  margin: 0 auto 100px;
  /* Shared bottom margin */
  padding: 0 20px;
  box-sizing: border-box;
}

.company_philosophy_section {
  max-width: 1100px;
  margin: 0 auto 0;
  /* No bottom margin to connect with greeting */
  padding: 0 20px;
  box-sizing: border-box;
}

.company_greeting_section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background-color: #D4DFD8;
  padding-top: 80px;
  padding-bottom: 0;
  margin-bottom: 100px;
  box-sizing: border-box;
}

.company_section_inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Calligraphy Section */
.calligraphy_img_wrap {
  text-align: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Business Page Styles */
.business_page_section {
  padding: 0 0 60px;
  background-color: #fff;
}

.business_block {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 60px;
  padding: 0 20px;
}

.business_block_header {
  position: relative;
  margin-bottom: 30px;
  /* Removed flex and background to allow overlap */
}

.business_section_title_wrap {
  position: absolute;
  /* Overhang effect */
  background-color: #154A2A;
  color: #fff;
  padding: 10px 10px;
  z-index: 2;
  /* Optional depth */
}

.business_section_title {
  font-size: 32px;
  font-family: 'Zen Old Mincho', serif;
  margin: 0;
  line-height: 1.2;
  color: #fff;
}

.business_section_subtitle {
  font-size: 20px;
  font-weight: normal;
  display: block;
  margin-top: 5px;
  font-family: "Yu Mincho", "YuMincho", serif;
  color: #fff;
}

.business_header_img {
  width: 100%;
  height: 150px;
  /* Let image define height */
  overflow: visible;
  /* Allow shadow */
  box-shadow: 10px 10px 0 #154A2A;
  border: 1px solid #154A2A;
}

.business_header_img img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.business_content_text {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 16px;
}

.business_lead {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 30px;
  padding: 0 20px;
  text-align: left;
}

.work_content_box {
  margin-bottom: 40px;
}

.work_content_title {
  font-size: 20px;
  border: 2px solid #154A2A;
  border-right: 5px solid #154A2A;
  border-bottom: 5px solid #154A2A;
  padding: 0 5px;
  margin-bottom: 15px;
  font-weight: bold;
  display: inline-block;
  /* Ensure width matches text length */
}

.work_content_list {
  list-style: disc;
  padding-left: 30px;
}

.work_content_list li {
  margin-bottom: 8px;
}

.work_content_text {
  padding: 0 20px;
}

.site_voice_box {
  border: 2px solid #154A2A;
  padding: 30px;
  border-radius: 8px;
  background-color: #F9FBF9;
  /* Very light green hint */
  position: relative;
}

.site_voice_title {
  font-size: 22px;
  color: #154A2A;
  font-family: 'Zen Old Mincho', serif;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.site_voice_subtitle {
  font-size: 14px;
  float: right;
  font-weight: normal;
  line-height: 30px;
  /* Align with title */
  color: #333;
}

.site_voice_text {
  font-size: 15px;
  text-align: justify;
}

/* Responsive Business Page */
@media screen and (max-width: 768px) {
  .business_section_title {
    font-size: 24px;
  }
}

/* Company Page Styles */
.company_section {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 80px;
  padding: 0 20px;
}

.company_philosophy_wrap {
  text-align: center;
}

.philosophy_title {
  color: #154A2A;
  margin-bottom: 15px;
}

.company_message_text {
  font-size: 18px;
  line-height: 2;
  font-family: 'Zen Old Mincho', serif;
}

.section_header_green {
  border-bottom: 2px solid #154A2A;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.section_title_green {
  font-size: 24px;
  color: #154A2A;
  display: inline-block;
  font-family: 'Zen Old Mincho', serif;
  font-weight: bold;
}

/* Company Profile Table */
.company_profile_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.company_profile_table th,
.company_profile_table td {
  padding: 20px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.company_profile_table th {
  width: 30%;
  background-color: #f9f9f9;
  font-weight: bold;
  color: #154A2A;
  vertical-align: top;
}

.clover_wishes_img_wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  max-width: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(212, 223, 216, 0) 0%, #D4DFD8 100%);
  padding-bottom: 60px;
  /* Space before next section */
  margin-bottom: -1px;
  /* Ensure pixel-perfect connection */
  text-align: center;
}

.clover_wishes_img_wrap img {
  width: 100%;
  max-width: 900px;
  padding: 0 80px;
  margin: 0 auto;
}

/* History List */
.history_list {
  border-top: 1px solid #ddd;
}

.history_item {
  display: flex;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  margin: 0;
}

.history_item dt {
  width: 150px;
  font-weight: bold;
  color: #154A2A;
  flex-shrink: 0;
}

.history_item dd {
  margin: 0;
  flex-grow: 1;
}

/* Group Company */
.group_company_wrap {
  border: 1px solid #ddd;
  padding: 40px;
  border-radius: 8px;
  background-color: #F9FBF9;
}

.group_name {
  color: #154A2A;
  margin-bottom: 15px;
}

/* Responsive Company Page */
@media screen and (max-width: 600px) {

  .company_profile_table th,
  .company_profile_table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .company_profile_table th {
    background-color: #154A2A;
    color: #fff;
    padding: 10px;
  }

  .history_item {
    flex-direction: column;
  }

  .history_item dt {
    width: 100%;
    margin-bottom: 5px;
  }

  .clover_wishes_img_wrap img {
    padding: 0 40px;
  }
}

/* Recruit Page Styles */
.recruit_message_section {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.recruit_catchphrase {
  line-height: 1.6;
}

.recruit_entry_section {
  width: 100%;
  height: 400px;
  background-image: url('images/recruit/recruit_back.png');
  /* Placeholder background */
  background-size: cover;
  background-position: center;
  position: relative;
}

.entry_bg_overlay {
  background-color: rgba(21, 74, 42, 0.85);
  /* Green overlay */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.entry_content {
  text-align: left;
  color: #fff;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 100px;
}

.entry_text_group {
  flex: 1;
}

.entry_title {
  font-size: 50px;
  line-height: 1;
  text-shadow: 2px 0px 0px #000;
  margin-bottom: 5px;
}

.entry_subtitle {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.entry_desc {
  font-size: 14px;
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .entry_content {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }
}

.entry_btn {
  background-color: #fff;
  color: #333;
  padding: 15px 20px;
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  position: relative;
  border: 2px solid #154A2A;
  outline: 3px solid #fff;
}

.entry_btn:hover {
  background-color: #f0f0f0;
  opacity: 0.9;
}

.entry_btn .arrow {
  margin-left: 100px;
}

.recruit_gallery_section {
  margin-bottom: 40px;
}

.recruit_gallery_grid {
  display: flex;
  width: 100%;
}

.recruit_gallery_item {
  flex: 1;
  /* Equal width */
  min-width: 0;
  /* Allow shrinking */
  aspect-ratio: 1 / 1;
  /* Always square */
  overflow: hidden;
}

.recruit_gallery_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.recruit_gallery_item:hover img {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .recruit_gallery_item:nth-child(n+5) {
    display: none;
  }
}

/* Contact Page Styles */
.contact_lead {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.contact_form {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px;
  border-radius: 2px;
}

.contact_form_section {
  background-color: #D3DFD7;
  padding: 60px 20px;
  /* Added side padding for mobile safety */
}

.contact_content_box {
  background-color: #fff;
  padding: 60px;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 1px;
}

.form_submit_wrap {
  text-align: center;
}

@media screen and (max-width: 768px) {
  .contact_content_box {
    padding: 30px 20px;
  }
}

.form_group {
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.form_label {
  width: 100%;
  /* Default Mobile: Full width */
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.form_input_wrap {
  width: 100%;
}

@media screen and (min-width: 769px) {
  .form_group {
    flex-wrap: nowrap;
    gap: 40px;
  }

  .form_label {
    width: 180px;
    margin-bottom: 0;
    padding-top: 6px;
    /* Vertically center with input text */
    flex-shrink: 0;
  }

  .form_input_wrap {
    flex: 1;
    width: auto;
  }
}


.badge_required {
  background-color: #154A2A;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
}

.form_input_wrap {
  width: 100%;
}

.form_input,
.form_textarea {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  font-family: inherit;
}

.form_textarea {
  height: 200px;
  resize: vertical;
}

.form_input:focus,
.form_textarea:focus {
  border-color: #154A2A;
  outline: none;
}

.submit_btn {
  background-color: #154A2A;
  color: #fff;
  border: none;
  padding: 15px 80px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s;
  display: inline-block;
  border-radius: 2px;
}

.submit_btn:hover {
  opacity: 0.8;
}

/* Responsive Contact/Recruit */
@media screen and (max-width: 600px) {
  .entry_title {
    font-size: 48px;
  }

  .contact_form {
    padding: 20px;
  }

  .submit_btn {
    width: 100%;
    padding: 15px 0;
  }
}

/* Detailed Company Page Styles (Refined) */
/* Calligraphy Section */
.calligraphy_img_wrap {
  text-align: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.calligraphy_text {
  font-family: 'Zen Old Mincho', serif;
  /* Brush style font if available, fallback serif */
  font-weight: 900;
  font-size: 48px;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.calligraphy_sub {
  font-family: 'Zen Old Mincho', serif;
  font-size: 24px;
  line-height: 1.5;
  writing-mode: vertical-rl;
  /* Vertical writing for signature feel */
  display: inline-block;
  text-align: left;
  height: 150px;
}

/* Philosophy Blocks */
.philosophy_block {
  margin-bottom: 40px;
}

.philosophy_block_title {
  background-color: #154A2A;
  color: #fff;
  display: table;
  /* Acts like inline-block but allows margin: auto centering */
  margin: 0 auto 60px;
  /* Center horizontally */
  padding: 10px 30px;
  font-size: 20px;
  position: relative;
  font-family: 'Zen Old Mincho', serif;
}

.philosophy_list {
  text-align: left;
  list-style: none;
  /* Custom marks if needed */
  padding: 0 10px;
  max-width: 710px;
  margin: 0 auto;
}

.philosophy_list li {
  margin-bottom: 15px;
  line-height: 1.8;
  padding-left: 1em;
  text-indent: -1em;
}

/* Ideal Employee List */
.ideal_employee_list {
  max-width: 710px;
  margin: 0 auto;
}

.ideal_item {
  margin-bottom: 25px;
}

.ideal_head {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
}

.ideal_desc {
  font-size: 15px;
  padding-left: 20px;
  line-height: 1.6;
}

/* Clover Wishes Box */
.clover_wishes_box {
  background-color: #EEF6E8;
  /* Light green background */
  border: 1px solid #CDE2C3;
  padding: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  border-radius: 10px;
}

.clover_icon_wrap {
  width: 100px;
  flex-shrink: 0;
}

.clover_icon_wrap img {
  width: 100%;
  height: auto;
}

.clover_wishes_content {
  text-align: left;
}

.clover_wishes_title {
  color: #4CAF50;
  /* Light Green text */
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: bold;
}

.clover_wishes_list {
  list-style: none;
  padding: 0;
  font-size: 15px;
  line-height: 1.8;
}

.clover_wishes_list li {
  margin-bottom: 5px;
}

/* Greeting Section */
.shaze_mark_wrap {
  text-align: left;
  border-left: 5px solid #154A2A;
  /* Green vertical line */
  padding-left: 15px;
  margin-bottom: 30px;
}

.shaze_text,
.shaze_sub,
.shaze_text_small {
  display: inline-block;
  vertical-align: bottom;
  /* Align text bottom */
}

.shaze_text {
  font-size: 32px;
  color: #154A2A;
  font-family: 'Zen Old Mincho', serif;
}

.greeting_content_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  max-width: 980px;
  gap: 40px;
  flex-direction: row-reverse;
  padding-left: 20px;
  padding-right: 20px;
  /* Swap visual order: Image(Right) Text(Left) */
}

.greeting_lead {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.greeting_name {
  text-align: right;
}

.greeting_text {
  font-size: 15px;
  margin-bottom: 20px;
}

.greeting_text_area {
  flex: 1;
}

.greeting_image_area {
  width: 300px;
  /* Fixed width for profile image */
  flex-shrink: 0;
}

/* Full Width Breakout Image - General Usage */
.full_width_breakout_img {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
}

.full_width_breakout_img img,
.greeting_full_img img,
.company_bottom_img img {
  width: 100%;
  height: auto;
  display: block;
}

.greeting_full_img,
.company_bottom_img {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
  margin-top: 60px;
}

.greeting_image_area img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Section Header Green Box (for Profile, Links) */
.section_header_green_box {
  border-left: 5px solid #154A2A;
  /* Match Shaze Mark style */
  padding-left: 15px;
  margin-bottom: 30px;
}

.section_title_green_box {
  font-size: 28px;
  color: #154A2A;
  font-family: 'Zen Old Mincho', serif;
}

/* Company Profile Table Green */
.company_profile_table_green {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  border: 4px solid #154A2A;
  /* Thick outer border */
}

.company_profile_table_green th,
.company_profile_table_green td {
  height: 80px;
  padding: 15px 20px;
  border-bottom: 3px solid #154A2A;
  text-align: center;
  /* Green separator */
}

.company_profile_table_green th {
  background-color: #154A2A;
  color: #fff;
  width: 30%;
  text-align: center;
  font-weight: normal;
}

.company_profile_table_green td {
  background-color: #fff;
  color: #333;
}

.company_map_wrap {
  max-width: 800px;
  margin: 0 auto;
  border-left: 4px solid #154A2A;
  border-right: 4px solid #154A2A;
  border-bottom: 4px solid #154A2A;
}

/* Related Links Grid */
.related_links_grid {
  display: flex;
  /* List layout as per image (stacked) */
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.related_link_item {
  min-height: 60px;
  height: auto;
  display: flex;
  flex-direction: column;
  /* Force vertical stacking for multi-line */
  justify-content: center;
  align-items: center;
  border: 1px solid #154A2A;
  outline: 2px solid #154A2A;
  outline-offset: -5px;
  text-align: center;
  color: #154A2A;
  text-decoration: none;
  font-size: 18px;
  font-family: 'Zen Old Mincho', serif;
  background: #fff;
  transition: all 0.3s;
  font-weight: 600;
  /* Add padding for multi-line text */
  box-sizing: border-box;
}

.related_link_item:hover {
  background-color: #f0f0f0;
}

.link_sub {
  display: block;
  font-size: 12px;
  color: #333;
  margin-top: 5px;
  font-weight: 100;
  font-family: "Onest", sans-serif;
}

/* Clover Family Section */
.clover_family_section {
  text-align: left;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background-image: url('images/index/child.png');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  position: relative;
}

/* Add overlay to ensure text readability */
.clover_family_section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.2);
  /* Strong white overlay */
  z-index: 0;
}

.clover_family_content {
  position: relative;
  z-index: 1;
  /* Content above overlay */
  display: flex;
  flex-direction: row;
  /* Side by side on desktop */
  padding: 20px;
  align-items: center;
  /* Center vertically */
  justify-content: space-between;
}

/* Ensure title is also above overlay */
.clover_section_title_box {
  position: relative;
  z-index: 1;
}

.clover_family_header_wrap {
  border-left: 5px solid #154A2A;
  padding-left: 15px;
  border-bottom: 1px solid #154A2A;
  /* Underline extending right */
  display: inline-block;
  padding-right: 50px;
  margin-bottom: 30px;
}

.clover_family_title {
  font-size: 28px;
  color: #154A2A;
  font-family: 'Zen Old Mincho', serif;
}

.clover_text_side {
  /* flex: 1; */
  /* Share width */
}

.clover_img_side {
  /* flex: 1; */
  width: 280px;
  /* Share width */
}

.clover_img_side img {
  width: 100%;
  height: auto;
}

/* Clover Points Style */
.clover_points {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center each child item horizontally */
  margin-top: 30px;
}

.clover_points p {
  text-align: left;
  max-width: 800px;
  /* Optional constraint to prevent super wide */
  width: fit-content;
}

.clover_point_title {
  color: #154A2A;
  font-weight: bold;
  font-size: 18px;
  display: inline-block;
  margin-bottom: 5px;
  font-weight: 600;
}

/* Responsive for New Sections */
@media screen and (max-width: 768px) {
  .clover_wishes_box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .clover_wishes_content {
    text-align: left;
  }

  .greeting_content_wrap {
    flex-direction: column;
    /* Image on top on mobile? Or bottom? Standard is stacked. */
  }

  .greeting_image_area {
    margin-bottom: 20px;
  }

  .company_profile_table_green {
    margin: 0 auto;
    width: 90%;
  }

  .company_map_wrap {
    margin: 0 auto;
    width: 90%;
  }

  .company_profile_table_green th,
  .company_profile_table_green td {
    display: block;
    width: 100%;
    height: auto;
    padding: 20px 10px;
    box-sizing: border-box;
  }

  .clover_family_content {
    flex-direction: column;
    align-items: flex-start;
    /* Reset alignment */
  }

  .clover_text_side {
    width: 100%;
    flex: auto;
    /* Reset flex basis */
  }

  .clover_img_side {
    margin: 0 auto;
  }

  .clover_img_side {
    margin-top: 20px;
  }
}

/* Clover Section Title Style */
.clover_section_title_box {
  position: relative;
  display: inline-block;
  padding: 10px 40px 10px 20px;
  margin-bottom: 60px;
  /* Space for clover overlap */
  z-index: 1;
  /* Ensure on top */
}

.clover_bg_mark {
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
  /* Slight rotation for natural look */
  width: 120px;
  height: 120px;
  background-image: url('images/index/clover.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
  /* Very pale like the image */
  z-index: -1;
  pointer-events: none;
}

.clover_title_text {
  position: relative;
  z-index: 2;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 900;
  /* Boldest weight */
  font-size: 42px;
  /* Large */
  color: #154A2A;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-shadow: 1px 1px 0 #fff;
  /* text shadow for legibility if needed */
}

/* Responsive Scaling for Clover Title */
@media screen and (max-width: 1024px) {
  .clover_title_text {
    font-size: 32px;
  }

  .clover_bg_mark {
    width: 90px;
    height: 90px;
    left: -25px;
  }
}

@media screen and (max-width: 890px) {

  /* New breakpoint for intermediate screens */
  .clover_title_text {
    font-size: 28px;
  }

  .clover_bg_mark {
    width: 80px;
    height: 80px;
    left: -20px;
  }
}

@media screen and (max-width: 768px) {
  .clover_section_title_box {
    margin-left: 30px;
    /* Reduce left margin on mobile */
    padding-left: 10px;
  }

  .clover_title_text {
    font-size: 24px;
  }

  .clover_bg_mark {
    width: 70px;
    height: 70px;
    left: -20px;
  }
}

@media screen and (max-width: 480px) {
  .clover_section_title_box {
    margin-left: 20px;
    margin-bottom: 40px;
  }

  .clover_title_text {
    font-size: 20px;
  }

  .clover_bg_mark {
    width: 60px;
    height: 60px;
    left: -15px;
  }
}

/* L-shape border using pseudo-elements on the box */
.clover_section_title_box::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 100%;
  /* Line extends full width leftwards */
  height: 60px;
  /* Line goes up */
  border-bottom: 5px solid #154A2A;
  border-right: 10px solid #154A2A;
  z-index: 1;
  pointer-events: none;
}

.business_main_visual {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.business_main_visual img {
  width: 90%;
  max-width: 600px;
  height: auto;
  border: 3px solid #154A2A;
  box-shadow: 10px 5px 0px #154A2A;
  /* Optional rounded corners */
}

/* ---------------------------------------------------------------------------------
   Mobile Font Optimization: Reduce font size by approx 1px for screens < 768px
--------------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }

  /* Utility Classes */
  .font_12 {
    font-size: 11px;
  }

  .font_18 {
    font-size: 17px;
  }

  .font_24 {
    font-size: 23px;
  }

  .font_36 {
    font-size: 35px;
  }

  /* Business Pages */
  .business_content_text {
    font-size: 15px;
  }

  .business_lead {
    font-size: 17px;
  }

  .work_content_title {
    font-size: 19px;
  }

  .work_content_text {
    font-size: 15px;
  }

  /* Recruit Page */
  .recruit_text {
    font-size: 13px;
  }

  .entry_desc {
    font-size: 13px;
  }

  .entry_subtitle {
    font-size: 19px;
  }

  /* Contact Page */
  .contact_lead {
    font-size: 15px;
  }
}

@media screen and (max-width: 440px) {

  /* Stack page title elements on very small screens */
  .page_title .page_title_ja {
    display: block;
    margin-top: 5px;
  }
}

/* ---------------------------------------------------------------------------------
   Scroll Fade-Up Animation
--------------------------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* ---------------------------------------------------------------------------------
   Button Click Animation (Scale Down)
--------------------------------------------------------------------------------- */
.news_btn:active,
.company_btn:active,
.recruit_btn:active,
.recruit_button:active,
.submit_btn:active,
.entry_btn:active,
.business_card:active,
.news_item:active,
.company_link_item:active {
  transform: scale(0.96);
  transition: transform 0.1s;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Single Post */
.single_post_section {
  background-color: #D3DFD7;
  padding: 60px 20px;
}

.single_post_content_box {
  background-color: #fff;
  padding: 60px;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 1px;
}

@media screen and (max-width: 768px) {
  .single_post_content_box {
    padding: 30px 20px;
  }
}

.back_link_wrap {
  text-align: left;
  max-width: 1100px;
  margin: 80px auto 20px;
  padding: 0 20px;
}

.back_link_text {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  font-family: 'Zen Old Mincho', serif;
  transition: opacity 0.3s;
}

.back_link_text:hover {
  opacity: 0.7;
}

.post_header {
  border-bottom: 2px solid #2D5A27;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.post_title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

.post_meta {
  text-align: right;
  font-size: 14px;
  color: #666;
}

.post_thumbnail img {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 0 auto;
}

.post_content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.post_content p {
  margin-bottom: 20px;
}

.post_content h2 {
  font-size: 24px;
  border-left: 5px solid #2D5A27;
  padding-left: 15px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.post_content h3 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

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