@charset "utf-8";
/*
Theme Name: テーマ名
Theme URI: テーマのホームサイトのURL
Description: テーマの説明
Author: 作者の名前
Author URI: 作者のサイトのURL
Version: 1.1
*/

.pc-none {
	display:none !important;
}

/*sliderのキャッチコピー*/
#n2-ss-2item1 {
  text-shadow: 3px 1px 5px #252525 !important;
}

div#n2-ss-2 .n2-font-3de0f092e304ca8c83addffafcf755e7-hover {
  margin-bottom: 10rem;
}

div#n2-ss-2 .n2-font-6ea3ebdca37a74e10f2ca57bff750396-hover {
  margin-bottom: 10rem;
}

div#n2-ss-2 .slider_text02 {
  background-color: #003e7a;
  /*max-width:580px;*/
  margin-left: 75%;
}

div#n2-ss-2 .n2-font-8c58a6d81fb8a9f41106c6d4cb49e64f-paragraph {
  background-color: #003e7a;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 3rem;
  max-width: 580px;
  /*margin-left: auto;
	margin-top: 10rem;*/
}

/*sliderのキャッチコピー　ここまで*/

.news .news-title.from_the_left.active{
	transition:0;
}


main#privacy__policy {
  margin: 0;
  padding: 10px 20px 0;
}

main#privacy__policy h1,
main#privacy__policy h2 {
  font-size: 17px;
  font-weight: bold;
  margin: 0 0 10px;
  padding: 0 0 5px;
  border-bottom: 1px solid #CCC;
}

main#privacy__policy p {
  font-size: 13px;
  line-height: 1.5em;
  margin: 0 0 20px;
  padding: 0;
}

.recruit_photobox {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.photobox_item {
  width: 25%;
  margin: 0;
  padding: 5px;
}

.photobox_item img {
  width: 100%;
  margin: 0;
}

.display_none {
  display: none;
}

.single_section img {
  width: 100%;
  margin-bottom: 30px;
}

.p-single-content-pager {
  font-size: 11pt !important;
  background: #f5f5f5;
}

.p-single-content-pager a {
  text-decoration: underline;
}

.thumbnail_wrap,
small {
  display: none;
}

.achievements_card .wp-block-columns {
  margin: 0 0 15px;
  padding: 20px;
  border: 1px solid #CCC;
}

.achievements_card .wp-block-columns h6 {
  color: #003e7a;
  font-family: "Kozuka Gothic Pr6N", sans-serif;
  font-weight: bold;
  font-size: 19px;
  line-height: 1.5em;
  letter-spacing: 0;
  margin: 0 0 15px;
  padding: 20px 0 5px;
  border-bottom: 1px solid #CCC;
}

.wp-block-columns img {
  width: 100%;
}

.wp-block-image figcaption {
  font-size: 10pt;
  text-align: center;
  padding-top: 7px;
}

/*
.subpage_mormal {
	padding: 75px 0;
}*/

.subpage_mormal {
  padding: 0 0;
}

.subpage_mormal h2 {
  margin: 0 0 50px;
  padding: 0;
}

#subpage .philosophy {
  margin: 0;
  padding: 0;
}

#subpage .philosophy p {
  font-size: 10.5pt;
  line-height: 1.8em;
  margin: 0;
  padding: 0;
}

#subpage .sdgs {
  margin: 0;
  padding: 0 0 35px;
}

#subpage .sdgs h5 {
  color: #003e7a;
  font-size: 14pt;
  line-height: 1.4em;
  margin: 0;
  padding: 10px 15px;
  background: #FFF;
  border-left: 4px solid #003e7a;
  border-bottom: 1px solid #CCC;
}

#subpage .sdgs p {
  font-size: 10.5pt;
  line-height: 1.7em;
  margin: 0;
  padding: 0;
}

#subpage h6.business_title {
  background-color: #003e7a;
  color: #FFF;
  border: none;
  display: block;
  margin: 0 0 10px;
  padding: 15px 0;
  text-align: center;
  font-size: 22px;
  font-family: "Kozuka Gothic Pr6N", sans-serif;
  letter-spacing: 0px;
}

#subpage h5 {
  color: #FFF;
  margin: 0 0 15px;
  padding: 10px 15px;
  background: #003e7a;
}

#subpage h5.gray {
  color: #FFF;
  margin: 0 0 15px;
  padding: 10px 15px;
  background: #595959;
}

section.subpage_mormal {
  margin-bottom: 100px;
}

section.subpage_mormal p {
  font-size: 17px;
  line-height: 2.3em;
  margin-bottom: 30px;
}

section.subpage_mormal h2 {
  border-right: none !important;
}

section.subpage_mormal h4 {
  color: #003e7a;
  font-size: 20px;
  margin: 0 0 15px;
  padding: 18px 25px;
  background: #eef2f6;
  border-left: 3px solid #003e7a;
  border-bottom: 1px solid #CCC;
}


/* テーブル */
.online table {
  border: 1px solid #e1dfdf;
}

.online table td {
  font-size: 15px;
  padding: 15px 30px !important;
  border: 1px solid #e1dfdf;
}

/*事業案内*/
.info_box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.info_box .card {
  padding: 10px;
  width: 50%;
}

.info_box .card img {
  width: 100%;
}

#subpage .info_box h2 {
  background-color: #003e7a;
  color: #FFF;
  border: none;
  display: block;
  margin: 0 0 10px;
  padding: 15px 0;
  text-align: center;
  font-size: 22px;
  font-family: "Kozuka Gothic Pr6N", sans-serif;
  letter-spacing: 0px;
}

#subpage .info_box img {
  margin-bottom: 15px;
}

#subpage .info_box p {
  font-size: 15px;
  line-height: 1.7em;
  margin: 0 0 20px;
  padding: 0;
}

#subpage .info_box p a {
  color: #003E7A;
  font-size: 12px;
  padding: 10px 15px 12px 20px;
  border: 1px solid #003E7A;
  border-radius: 20px;
}

.info_box li a {
  display: block;
  background-color: #eef2f6;
  padding: 20px;
  border-bottom: 1px dotted #003E7A;
  font-size: 15px;
}

.info_box li a:hover {
  background-color: #E5EBF1;
}

/*事業案内　ここまで*/


body {
  font-family: "Kozuka Gothic Pr6N", sans-serif;
  color: #231815;
  box-sizing: border-box;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

hr {
  border: 0.5px solid #d8d8d8;
}

/* p {
  font-size: 19px;
  line-height: 1.8;
  letter-spacing: -1px;
} */

/* p {
  margin: 0;
} */

#subpage p {
  font-size: 17px;
  line-height: 1.75em;
}

.br-no2 {
  display: none;
}

/* header */

#header_wrap {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 2000;
  position: fixed;
}

header {
  width: 100%;
  max-width: 1188px;
  height: 123.7945px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* top: 0;
  left: 0;
  position: absolute; */
  margin: 0 auto;
  z-index: 100;
}

#header_sp {
  display: none;
}

.header-list_sp {
  display: none;
}

ul.header-list_sp.active_menu {
  display: none;
  position: fixed;
  top: 60px;
  display: block;
  background-color: #003e7a;
  width: 100vw;
  padding: 30px 24px 160px 24px;
  height: 100vh;
  overflow-y: scroll;
  color: #fff;
}

ul.header-list_sp.active_menu>li>a {
  padding: 35px auto;
}

p#close.none {
  display: none;
}

p#close.active {
  display: block;
}

p#sp_menu.active {
  display: block;
}

p#sp_menu.none {
  display: none;
}

.header-list_sp.active_menu li {
  transition: 0.5s;
  /* padding-left: 6px; */
  margin-left: 6px;
}

.header-list_sp.active_menu>li>a {
  font-size: 18px;
  font-weight: bold;
}

.header-list_sp.active_menu ul {
  display: block;
  /* padding-left: 6px; */
  margin-left: 6px;
  font-size: 14px;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.7); */
}

.header-list_sp.active_menu ul>li>a {
  font-size: 16px;
  font-weight: unset;
}

.header-list_sp.active_menu ul>li>a::before {
  content: "・";
}

.header-list_sp.active_menu ul>li>ul {
  /* padding-left: 12px; */
  /* font-size: 14px; */
  margin-left: 12px;
}

.header-list_sp.active_menu ul>li>ul li>a::before {
  content: "- ";
}

#sp_menu.active ul.header-list_sp.active_menu>li ul.sub-menu {
  display: block;
}

#sp_menu.active ul.header-list_sp.active_menu>li ul.sub-menu>li ul {
  display: block;
}

ul.header-list_sp.active_menu li>a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

/* ul.header-list_sp.active_menu > li > a:before {
  content: "□";
  font-size: 15px;
  margin-right: 9px;
  margin-top: -6px;
} */

ul.header-list_sp.active_menu a {
  display: block;
  width: 100%;
}

ul.header-list_sp.active_menu>li>a {
  padding: 18px 0;
}

ul.header-list_sp.active_menu li ul>li>a {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

#header_pc {
  display: block;
  display: flex;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-left>a,
.footer-logo>a {
  align-items: center;
  display: flex;
}

.header-logo {
  width: 25.6353px;
  height: 79.8745px;
  margin-right: 8.8547px;
  margin-left: 0px;
}

.nav_sp.recruit_btn,
.nav_sp.menu_btn {
  display: none;
}

.header-right {
  display: block;
}

.sub-menu {
  /* display: none;
   */
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

h2 {
  font-weight: bold;
  letter-spacing: 0.05em;
}

.news-title h2,
.fellow-title h2,
.recruit h2 {
  font-size: 52px;
  font-family: "Arimo", "Times New Roman", Times, serif;
  font-weight: bold;
}

/* 会社名 */
.companyname p {
  color: #003e7a;
  line-height: 4.36px;
}

.line1 {
  font-size: 11.78px;
  margin-bottom: 15px;
}

.line2 {
  font-size: 16.1px;
  margin-bottom: 15px;
}

.line3 {
  font-size: 9.4px;
}

/* headerリンク */
.header-list {
  display: flex;
}

.header-list>li a {
  font-size: 14px;
}

.header-right {
  align-items: center;
  display: flex;
}

.header-list>li {
  font-size: 14pt;
  margin-right: 36px;
  position: relative;
}

.header-list>li>ul {
  position: absolute;
  width: 210px;
  background-color: rgba(255, 255, 255, 0.9);
  left: -60px;
  /* display: none; */
  /* visibility: hidden; */
}

.header-list>li>ul.active {
  display: block;
}

.header-list>li>ul>li {
  position: relative;
}

.header-list>li>ul li {
  font-size: 9pt !important;
  padding: 9px 10px;
  box-sizing: border-box;
}

.header-list>li>ul li a {
  display: block;
}

.header-list>li>ul>li>ul {
  position: absolute;
  width: 210px;
  background-color: rgba(255, 255, 255, 0.9);
  left: 210px;
  top: 0;
  /* display: none; */
  /* visibility: hidden; */
}

.header-list>li>ul.active {
  animation: g-menu_fadeIn 0.3s ease-in 0s forwards;
}

.header-list>li>ul>li>ul {
  position: absolute;
  width: 210px;
  background-color: rgba(255, 255, 255, 0.9);
  left: 210px;
  top: 0;
  /* display: none; */
}

.header-list>li>ul>li>ul.active {
  animation: g-menu_fadeIn 0.3s ease-in 0s forwards;
}

@keyframes g-menu_fadeIn {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}


/* 採用情報はこちら */
.info-content {
  background-color: #003e7a;
  width: 124px;
  height: 123.75px;
  /* padding-top: 30.4803px; */
  padding-top: 40px;
  margin-left: 15px;
}

.info-content img {
  width: 9.7483px;
  height: 7.2761px;
  margin-left: 45%;
}

.information {
  text-align: center;
  font-size: 17pt;
}

.information a {
  color: #fff;
  display: block;
  font-size: 17px;
}

/* main */
.main {
  display: flex;
  justify-content: center;
}

main {
  display: block;
  /* margin-top: 120px; */
  padding-top: 123.79px;
}

.mainphoto {
  height: calc(100vh + 123.79px);
  /* position: relative; */
  /* max-width: 1558px; */
  width: 100%;
  object-fit: cover;
  margin-top: -123.79px;
  object-position: top;
}

.texts {
  position: absolute;
  width: 100%;
  /* height: 500px; */
  top: 40%;
  max-width: 1188px;
  /* padding: 0 24px; */
}

.up_to_text {
  opacity: 0;
}

.from_the_left {
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.5s;
}

.from_the_left.active {
  opacity: 1;
  transition: 0.5s;
  transform: translateX(0);
}

.from_the_right {
  opacity: 0;
  transform: translateX(10px);
  transition: 0.5s;
  overflow-x: hidden;
}

.from_the_under {
  opacity: 0;
  transform: translateY(10px);
  transition: 0.5s;
}

.from_the_under.active {
  opacity: 1;
  transition: 0.5s;
  transform: translateY(0);
}

.from_the_right.active {
  opacity: 1;
  transition: 0.5s;
  transform: translateX(0);
}

.main-text {
  font-size: 56px;
  font-weight: bold;
  color: #FFF;
  text-shadow: 2px 2px 4px #000;
}

.main-sabtext1,
.main-sabtext2,
.main-sabtext3 {
  font-size: 24px;
  margin-left: 705px;
  margin-left: calc(100% - 43%);
  color: #FFF;
  text-shadow: 2px 2px 4px #000;
}

.main-sabtext1 {
  margin-top: 205px;
  /* width: 535px; */
  margin-bottom: 15px;
  padding: 5px 15px;
  display: inline-block;
}

.main-sabtext2 {
  /* width: 493.6609px; */
  margin-bottom: 15px;
  padding: 5px 15px;
  display: inline-block;
}

.main-sabtext3 {
  width: 431.281px;
  display: flex;
}

.main-sabtext3 p {
  margin-left: 11px;
}

/*news*/
.news {
  width: 100%;
  top: 86%;
  /* height: 218.1818px;
 background-color: #ebf0f5; */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px auto;
}

.news-content {
  /*
  display: flex;
  align-items: center;
  justify-content: center;*/
  /* margin-top: 25px; */
  display: flex;
  align-items: center;
  border: 1px solid #b91c1c;
  border-radius: 5px;
  margin-right: 20px;
  margin-left: 20px;
  width: 100%;
  padding: 30px 0;
}


.news-title {
  /* align-items: center;
  justify-content: center;
  font-family: "Arimo", serif;
  font-weight: bold;
  margin-left: 100px;*/
  /* color: #595757; */
  align-items: center;
  justify-content: center;
  font-family: "Arimo", serif;
  font-weight: bold;
  margin-left: 50px;
  width: 15%;
}


.news-title h2 {
  font-size: 22px;
  font-family: "Arimo", "Times New Roman", Times, serif;
  font-weight: bold;
  background-color: #8B0015;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  /*padding: 0.5rem 5rem !important;*/
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.news-title p {
  font-size: 35pt;
  line-height: 35px;
  text-align: center;
}

.news-titletext {
  font-size: 80pt;
}

.news-titlesabtext {
  font-size: 10pt;
  font-family: "Kozuka Gothic Pr6N", sans-serif;
  font-weight: normal;
}

.news-items {
  /* width: 561.3636px;
  margin-left: 153.6828px; */
  margin-left: 70px;
  width: 80%;
}

.news-items a {
  padding-bottom: 3px;
  border-bottom: 1px dotted #CCC;
}

.news-item1,
.news-item2,
.news-item3 {
  /* border-bottom: #888888 0.6818px solid; */
  /* margin-bottom: 24.5px; */
  padding: 3px 0;
  margin: 12px 0;
  font-size: 18px;
  line-height: 1.5em;
}

.philosophy {
  /* margin: 62.0626px 0; */
}

.wrap_bg_b {
  background-color: #003e7a;
  color: #fff;
}

.rebirth {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1188px;
  width: 100%;
  margin: 0 auto;
  color: #fff;
}

.philosophy-titles,
.about-left,
.work-titles {
  /* width: 590.7872px; */
  /* height: 393.8581px; */
  /* color: #595757; */
  max-width: 570px;
  padding-right: 10px;
}

.philosophy-title1,
.work-title1 {
  font-size: 52px;
  /* margin-top: 29.6553px; */
  font-family: "Arimo", "Times New Roman", Times, serif;
  font-weight: bold;
}

/* .philosophy-title2 {
  font-size: 19px;
  font-family: serif;
  font-weight: bold;
  margin-top: 15px;
} */

.rebirth-text,
.work-text {
  /* color: #231815; */
  font-size: 17px;
  line-height: 2;
  margin-top: 27.6294px;
}

.rebirth img {
  /* width: 590.7872px; */
  /* height: 393.8581px; */
  width: 49.3%;
  /* margin-left: 17.1982px; */
  max-width: 580px;
}

.philosophy-photo {
  margin-top: 18.8822px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1188px;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-photo img .work-photo img {
  width: 23.92%;
  /* height: 195.7416px; */
}

.img8 {
  margin-right: 17px;
}

.img4 {
  margin-right: 17px;
}

.img5 {
  margin-right: 17px;
}

.re-production,
.work {
  display: flex;

  align-items: center;
  justify-content: center;
  max-width: 1188px;
  margin: 70px auto;
  width: 100%;
}

.production-title1,
.about-left .about-title {
  font-size: 52px;
  margin-top: 25.2412px;
  margin-bottom: 30px;
  /* margin-left: 30.8512px; */
  font-family: "Arimo", "Times New Roman", Times, serif;
  font-weight: bold;
}

.production-title2 {
  font-size: 20px;
  /* margin-left: 30.8512px; */
  font-family: serif;
  font-weight: bold;
  margin-top: 22px;
}

.production-text {
  color: #231815;
  font-size: 17px;
  line-height: 1.8;
  margin-top: 38.2412px;
  /* margin-left: 30.8512px; */
}

.production-photo,
.about-right {
  /* width: 590.7872px; */
  /* height: 393.8581px; */
  width: 49.3%;
  margin-right: 53.1982px;
  max-width: 560px;
}

.work-photo {
  /* width: 590.7872px; */
  /* height: 393.8581px; */
  /* width: 49.3%; */
  margin-right: 53.1982px;
  max-width: 560px;
	width:100%;
}

.about-right {
  /*text-align:right;	
	margin-right:0 !important;
	display:contents;*/
  width: 100%;
}

.about {
  /* height: 435.7556px; */
  background-color: #003e7a;
  /* margin-top: 100px; */
  /* margin-bottom: 100px; */
  color: #fff;
}

.about-content {
  display: flex;
  /*justify-content: center;*/
  align-items: center;
  justify-content: space-evenly;
}

.about-title {
  font-size: 35pt;
  line-height: 17.201px;
  /* margin-top: 98.8026px; */
  font-family: "Arimo", "Times New Roman", Times, serif;
  font-weight: bold;
  /* color: #595757; */
}

.about-title p {
  line-height: 35px;
}

.about-titletext {
  font-size: 80pt;
  margin-right: 10px;
}

.about-titlesabtext {
  font-size: 16px;
  margin-left: 60px;
  font-family: "Kozuka Gothic Pr6N", sans-serif;
  font-weight: normal;
}

.about-photo {
  width: 353.0235px;
  /* height: 353.0235px; */
  margin-top: 41.0888px;
  margin-left: 112.2722px;
}

.aboutus_photo {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin: 0 auto;
  padding-bottom: 30px;
  padding-top: 30px;
  /*width:90%; */
  place-content: center;
}


.icon-text {
  /* display: flex; */
  /* align-items: center; */
  margin-top: 40.9677px;
  margin-bottom: 27px;
}

.icon-text>a {
  display: inline-block;
  display: flex;
}

.icon-text p {
  font-size: 15px;
  font-family: sans-serif;
  color: #FFF;
  border: 1px solid #FFF;
  text-align: center;
  cursor: pointer;
  padding: 7px 50px;
  transition: 0.5s;
}

.icon-text img {
  width: 34.0183px;
  height: 34.0183px;
  margin-left: 13.8412px;
}

.about-text {
  margin-top: 25.5776px;
  line-height: 2;
  font-size: 17px;
}

/* .work {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 76.9931px;
  border-bottom: #231815 0.5px solid;
  overflow-x: hidden;
} */

.work-content {
  color: #595757;
  width: 364.6658px;
  height: 364.6658px;
}

.work-2phots {
  display: flex;
}

.work-photo1 img,
.work-photo2 img {
  width: 364.6658px;
  height: 364.6658px;
}

.work-photo1 {
  margin-right: 9.1951px;
  position: relative;
}

.work-photo2 {
  position: relative;
}

.work-icontext1 {
  position: absolute;
  top: 329.359px;
  left: 149.5547px;
}

.work-icontext2 {
  position: absolute;
  top: 329.359px;
  left: 109.5547px;
}

.work-icontext1,
.work-icontext2 {
  display: flex;
  align-items: center;
}

.work-icontext1 p,
.work-icontext2 p {
  font-family: sans-serif;
  color: #231815;
  font-size: 20px;
  font-weight: bold;
  /* -webkit-text-stroke-width: 0.5px;
  /* 線の幅 */
  /* -webkit-text-stroke-color: #fff; */
  /* 線の色  */
  text-shadow: 1px 1px 1px #fff, -1px 1px 1px #fff, -1px -1px 1px #fff,
    1px -1px 1px #fff;
}

.work-icontext1 img,
.work-icontext2 img {
  width: 28.2295px;
  height: 28.2295px;
  margin-left: 13.8134px;
}

.work-title {
  font-family: "Arimo", "Times New Roman", Times, serif;
  font-weight: bold;
}

.work-title p {
  font-size: 35pt;
  line-height: 35.201px;
  margin-top: 66.8071px;
  margin-left: 114.0172px;
}

.work-titletext {
  font-size: 80pt;
  margin-right: -10px;
}

.work-titlesabtext {
  font-size: 16px;
  margin-left: 45px;
  font-family: "Kozuka Gothic Pr6N", sans-serif;
  font-weight: normal;
}

.work-text1 {
  color: #231815;
  margin-top: 31.481px;
  margin-left: 116.6295px;
}

.work-text2 {
  color: #231815;
  margin-top: 12.2729px;
  margin-left: 106.6295px;
}

.work-text3 {
  color: #231815;
  margin-top: 12.2729px;
  margin-left: 106.6295px;
  margin-bottom: 38.7538px;
}

p.works_link {
  max-width: 177px;
  font-size: 15px;
  font-family: sans-serif;
  color: #000;
  border: 1px solid #666;
  text-align: center;
  cursor: pointer;
  padding: 7px 50px;
  transition: 0.5s;
}

.business {
  width: 233.7154px;
  /* height: 42.9487px; */
  border: 1.8px solid #888888;
  border-radius: 15.3px 15.3px 15.3px 0px;
  margin-left: 124.042px;
  text-align: center;
  justify-content: center;
  cursor: pointer;
  ruby-position: 0.3s;
  padding: 9px 0;
  transition: 0.5s;
}

.business:hover {
  background-color: #eeeeee;
  transition: 0.5s;
}

.business:active {
  transform: translateY(2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.business p {
  /* margin-top: 12px; */
  color: #231815;
}

.fellow {
  margin-top: 60px;
}

.fellow-title {
  text-align: center;
  font-family: "Arimo", "Times New Roman", Times, serif;
  font-weight: bold;
}

.fellow p {
  text-align: center;
  font-size: 18px;
  margin-top: 50px;
  line-height: 2;
}

.fellow-title p {
  color: #595757;
  font-size: 35pt;
  line-height: 35.201px;
  margin-top: 119.188px;
}

.fellow-titletext {
  font-size: 80pt;
  font-family: serif;
  margin-right: -10px;
}

.fellow-titlesabtext {
  font-size: 16px;
  font-family: "Kozuka Gothic Pr6N", sans-serif;
  font-weight: normal;
}

.fellow-text1 {
  margin-top: 84.8999px;
  margin-bottom: 109.8938px;
}

.fellow-text1 p {
  font-size: 69px;
  text-align: center;
}

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

.fellow-text2 p {
  color: #231815;
  font-size: 20px;
  line-height: 36.36px;
}

.botton {
  width: 233.7154px;
  /* height: 42.9487px; */
  border: 1.8px solid #888888;
  border-radius: 15.3px 15.3px 15.3px 0px;
  text-align: center;
  margin-left: 190.8852px;
  cursor: pointer;
  ruby-position: 0.3s;
  /* padding: 9px 0; */
  transition: 0.5s;
}

.botton:hover {
  background-color: #eeeeee;
  transition: 0.5s;
}

.botton:active {
  transform: translateY(2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.botton p {
  /* font-size: 21.81px; */
  /* margin-top: 3px; */
  font-size: 16px;
}

.fellow-photos {
  display: flex;
  align-items: center;
  /* margin-left: 23px; */
  margin-top: 71.9658px;
  overflow-x: hidden;
}

.fellow-photos img {
  width: 100%;
  max-width: 383px;
  height: 100%;
}

.recruit-photos img {
  width: 100%;
  max-width: 450px !important;
  height: 100%;
}

.fellow-photo1,
.fellow-photo2,
.fellow-photo3,
.fellow-photo4 {
  margin-right: 8px;
}

/*==================================================
スライダーのためのcss
===================================*/
.slider img {
  width: 100%;
  /*スライダー内の画像を横幅100%に*/
  height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
  margin: 0 5px;
  /*スライド左右の余白調整*/
}

.story {
  display: flex;
  /* margin: 0 182px; */
  max-width: 1573px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
  overflow-x: hidden;
  padding-bottom: 100px;
}

.story-title {
  margin-left: 187px;
  font-family: "Arimo", "Times New Roman", Times, serif;
  font-weight: bold;
}

.story-title p {
  color: #595757;
  font-size: 35pt;
  line-height: 35px;
  margin-top: 120.5355px;
}

.story-titletext {
  font-size: 80pt;
  margin-right: 5px;
}

.story-titlesabtext {
  font-size: 16px;
  margin-left: 36px;
  font-family: "Kozuka Gothic Pr6N", sans-serif;
  font-weight: normal;
}

.story-photos {
  display: flex;
  width: 780.6545px;
  height: 417.8764px;
  position: relative;
}

.story-photos img {
  width: 229.0533px;
  height: 229.0533px;
}

.story-photo1 {
  margin-top: 200.068px;
  position: absolute;
}

.story-photo2 {
  margin-top: 68.5635px;
  z-index: 1;
  position: absolute;
  left: 21%;
}

.story-photo3 {
  margin-top: 175.3172px;
  position: absolute;
  left: 45.5%;
}

.story-photo4 {
  margin-top: 213.3866px;
  z-index: 1;
  position: absolute;
  left: 73%;
}

.story-text {
  z-index: 2;
  position: absolute;
  left: 10%;
  top: 20%;
}

.story-text1 {
  background-color: #fff;
  margin-bottom: 15px;
  font-size: 22px;
}

.story-text2 {
  background-color: #fff;
  font-size: 22px;
}

.story-content2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.story-content2 img {
  width: 367.4696px;
  height: 367.4696px;
  margin-top: 150px;
}

.story-botton {
  width: 233.7154px;
  /* height: 42.9487px; */
  border: 1px solid #AAA;
  /* border-radius: 15.3px 15.3px 15.3px 0px; */
  text-align: center;
  margin-top: 87px;
  cursor: pointer;
  /* ruby-position: 0.3s; */
  padding: 9px 0;
  transition: 0.5s;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 87px;
}

.story-botton .a {
  display: block;
  padding: 15px;
  font-size: 19px;
}

.story-botton:hover {
  background-color: #eeeeee;
  transition: 0.5s;
}

.story-botton:active {
  transform: translateY(2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.story-botton p {
  /* font-size: 21.81px; */
  /* margin-top: 7px; */
  font-size: 16px;
}

.recruit {
  max-width: 950px;
  margin: 0 auto;
}

#subpage .recruit {
  padding-bottom: 100px;
}

#subpage .project {
  padding-bottom: 0px;
  max-width: 1000px;
  margin: 0 auto;
}

.recruit_img_wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 18px;
  row-gap: 18px;
}

.recruit_btn_flex {
  display: flex;
  justify-content: center;
  column-gap: 45px;
}

.recruit_img_wrap>p>img {
  max-width: 222px;
  min-width: 150px;
}

.project>.recruit_img_wrap>a {
  display: contents !important;
}

.recruit h2 {
  text-align: center;
  margin-top: 80px;
}

.recruit_description {
  text-align: center;
  font-size: 18px;
  margin-top: 50px;
  line-height: 2;
  margin-bottom: 81px;
}

.recruit-botton {
  width: 233.7154px;
  /* height: 42.9487px; */
  border: 1px solid #AAA;
  /* border-radius: 15.3px 15.3px 15.3px 0px; */
  text-align: center;
  margin-top: 87px;
  cursor: pointer;
  /* ruby-position: 0.3s; */
  padding: 9px 0;
  transition: 0.5s;
  margin-bottom: 87px;
}

.recruit-botton .a {
  display: block;
  padding: 15px;
  font-size: 19px;
}

.recruit-botton:hover {
  background-color: #eeeeee;
  transition: 0.5s;
}

/*新採用ページ*/

#subpage .training h3 {
  font-size: 33px;
  text-align: center;
  font-weight: 400;
  margin-bottom: 50px;
  line-height: 1.75em;
}

#subpage h4.training {
  color: #003e7a;
  font-size: 20px;
  margin: 0 0 15px;
  padding: 18px 25px;
  background: #fff;
  border-left: 3px solid #003e7a;
  border-bottom: 1px solid #CCC;
}

#subpage .welfare h4 {
  color: #003e7a;
  font-size: 20px;
  margin: 0 0 15px;
  padding: 18px 25px;
  background: #eef2f6;
  border-left: 3px solid #003e7a;
  border-bottom: 1px solid #CCC;
}

#subpage .training p {
  margin-bottom: 1rem !important;
}

.lifeplan h5 {
  background-color: #29b35b !important;
  border-radius: 5px;
}

.careerplan h5 {
  border-radius: 5px;
}

.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}

/*新採用ページここまで*/

footer {
  background-color: #003e7a;
  display: flex;
}

.footer-content {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1188px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  /* margin-right: 271.6929px; */
  margin-left: 0px;
  width: 340px;
  /* margin-right: calc(599px - 415px); */
  width: 48%;
}

.footer-logo img {
  width: 25.6353px;
  height: 79.8745px;
  margin-right: 8.8547px;
}

.footer-companyname p {
  color: #fff;
  line-height: 4.36px;
}

.footer-center {
  margin-bottom: 50px;
  margin-right: 32px;
}

.footer-list>ul>li:last-child {
  margin-right: 0;
}

.offices {
  color: #fff;
  display: flex;
  margin-top: 55px;
}

.office-name {
  font-size: 16px;
  margin-bottom: 11.8369px;
}

.office {
  font-size: 16px;
  margin-right: 14.8154px;
}

.office.tokyo {
  margin-left: 15px;
  margin-right: 0;
}

.office1 {
  margin-bottom: 7.2852px;
  font-size: 11px;
}

.footer-list {
  display: flex;
  color: #fff;
  margin-top: 46.6914px;
}

.footer-list div {
  font-size: 22px;
}

.footer-list ul {
  font-size: 14px;
  display: flex;
  letter-spacing: 0.84px;
}

.footer-list li {
  margin-right: 30px;
}

.footer-right {
  width: 124px;
  height: 123.75px;
  background-color: #aabfd3;
  /* margin-top: 148.789px; */
  margin-top: 134px;
  text-align: center;
  justify-content: center;
  padding-top: 40px;
  display: block;
}

.footer-right img {
  width: 9.7483px;
  height: 7.2761px;
  align-items: center;
  display: inline-block;
}

.footer-info {
  text-align: center;
  color: #003e7a;
}




@media screen and (min-width: 1024px) {
  img.slick-slide {
    max-width: 600px;
    width: 100%;
  }
}

/*----------------------------------------------------------------*/
@media screen and (max-width: 1024px) {

  /* 959px以下に適用されるCSS（タブレット用） */
  div#n2-ss-2 .slider_text02 {
    background-color: #003e7a;
    /*max-width:580px;*/
    margin-left: 60%;
  }

  div#n2-ss-2 .n2-font-8c58a6d81fb8a9f41106c6d4cb49e64f-paragraph {
    font-size: 1rem !important;
    padding-left: 2rem;
    max-width: 540px;
  }

  .news-title {
    margin-left: 30px;
    width: 20%;
  }

  header {
    max-width: 959px;
  }

  .header-list li {
    font-size: 10pt;
    margin-right: 20px;
  }

  .mainphoto {
    position: relative;
    width: 100%;
    height: 100%;
    height: 60vh;
  }

  /*
  .main-text {
    font-size: 30pt;
    background-color: #fff;
     width: 520px;
    margin-left: 30px;
  }
*/

  .texts {
    position: absolute;
    max-width: 959px;
    height: 500px;
    top: 22%;
  }

  .main-sabtext1 {
    margin-top: 10%;
  }

  .main-sabtext1,
  .main-sabtext2,
  .main-sabtext3 {
    font-size: 2.3vw;
    margin-left: 40vw;
    /* width: 55vw; */
  }

  /* 
  .philosophy-titles {
    width: 471px;
    padding-left: 30px;
  } */

  .philosophy-titles,
  /*   .about-left,*/
  .work-titles {
    width: 100%;
    padding-left: 30px;
  }

  .philosophy-title1 {
    font-size: 40px;
  }

  .philosophy-title2 {
    font-size: 15px;
    margin-top: 0;
  }

  .rebirth-text {
    margin-top: 30px;
    font-size: 15px;
  }

  .rebirth img {
    width: 50%;
  }

  .production-photo {
    width: 50%;
  }

  .philosophy-titles {
    width: 471px;
    padding-left: 30px;
    width: 50%;
  }

  .production-title1,
  .about-title {
    font-size: 40px;
    margin-left: 0;
    margin-top: 30px;
  }

  .production-title2 {
    font-size: 15px;
    margin-left: 0;
    margin-top: 0;
  }

  .production-text {
    margin-top: 30px;
    margin-left: 0;
    font-size: 15px;
  }

  .about {
    padding: 0 50px;
  }

  .philosophy-photo img {
    width: 23.9%;
  }

  .work-photo1 img,
  .work-photo2 img {
    width: 313.6658px;
    height: 313.6658px;
  }

  .work-icontext1 img,
  .work-icontext2 img {
    width: 28.2295px;
    height: 28.2295px;
    margin-left: 13.8134px;
  }

  .work-icontext1 {
    top: 280.359px;
    left: 100.5547px;
  }

  .work-icontext2 {
    top: 280.359px;
    left: 60.5547px;
  }

  .work-content {
    width: 313.6658px;
    height: 313.6658px;
    text-align: center;
  }

  .work-titlesabtext {
    margin-left: 10px;
  }

  .work-title p {
    margin-left: 0;
    margin-top: 33.8071px;
  }

  .work-text1 {
    margin-left: 0;
    margin-top: 24.481px;
  }

  .work-text2 {
    margin-left: 0;
  }

  .work-text3 {
    margin-left: 0;
    margin-bottom: 24.7538px;
  }

  .business {
    margin-left: 40px;
  }

  .fellow-text1 p {
    font-size: 60px;
  }

  .fellow-text2 p {
    font-size: 15px;
  }

  .fellow-photos {
    margin-left: 0;
  }

  .story {
    margin: 0;
  }

  .story-title p {
    margin-top: 100.5355px;
  }

  .story-photos {
    width: 580.6545px;
  }

  .story-photos img {
    width: 229.0533px;
    height: 229.0533px;
  }

  .story-text {
    font-size: 15px;
    left: 10%;
  }

  .story-content2 {
    margin-left: 50px;
  }

  .story-content2 img {
    width: 317.4696px;
    height: 317.4696px;
  }

  .recruit-content {
    margin-top: 0;
    padding: 0 50px;
  }

  .recruit-content2 {
    margin-left: 0;
    margin-left: 100px;
  }

  .recruit-title p {
    padding: 0 50px;
  }


  .footer-logo {
    margin-left: 0;
    margin-right: 0;
    margin-right: 0;
    width: 38%;
  }

  .footer-list ul {
    font-size: 15px;
  }

  .footer-list li {
    margin-right: 25px;
  }

  .office {
    font-size: 12px;
  }

  .line1 {
    font-size: 9.78pt;
  }

  .line2 {
    font-size: 14.1pt;
  }

  .line3 {
    font-size: 7.4px;
  }

  .news {
    width: 100vw;
  }

  .news-items {
    width: 100%;
    margin: 0 0 0 50px;
  }
}

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

  .info_box {
    flex-direction: column;
    align-items: center;
  }

  .info_box .card {
    width: 100%;
  }


  header {
    height: 90px;
  }

  #header_pc {
    display: none;
  }

  .header-list.active_menu {
    display: block;
  }

  #header_sp {
    display: flex;
  }

  .header-right_sp {
    display: flex;
  }

  .nav_sp.recruit_btn,
  .nav_sp.menu_btn {
    display: block;
  }

  ul.header-list_sp.active_menu {
    top: 90px;
  }

  .nav_sp.recruit_btn p {
    background-color: #003e7a;
    color: #fff;
    padding: 0 6px;
    width: 100px;
    height: 90px;
    line-height: 90px;
    font-size: 16px;
    text-align: center;
  }

  .nav_sp.menu_btn p {
    background-color: #ebf0f5;
    padding: 0 6px;
    width: 100px;
    height: 90px;
    line-height: 90px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
  }

  .work-photo1>img,
  .work-photo2>img {
    width: 100%;
    height: auto;
  }

  .work-icontext2,
  .work-icontext1 {
    bottom: 10px;
  }

  .header-list_sp.active_menu ul {
    opacity: 1;
    visibility: visible;
  }

  .slick-track {
    overflow-x: hidden;
  }
}

/* @media screen and (max-width: 750px) {

.texts {
  position: static;
  height: auto;
  margin-top: 20px;
  margin-bottom: 20px;
}
} */


section {
  width: 1188px;
  margin: 0 auto;
}

#section_title {
  width: 100%;
  background-color: #003e7a;
  font-weight: 100;
}

#subpage h1 {
  font-size: 34px;
  color: #fff;
  max-width: 1188px;
  margin: 0 auto;
  padding: 60px 0;
  width: 100%;
}

#section_title>h1>span {
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
  font-size: 20px;
  color: #c8c9c9;
  margin-left: 28px;
}

#subpage h2 {
  font-size: 34px;
  font-weight: bold;
  margin-right: 30px;
  border-right: 1px solid #c8c9c9;
  display: inline-block;
  padding-right: 30px;
  margin-top: 98px;
  margin-bottom: 105px;
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
  letter-spacing: -2px;
}

#subpage h2+span {
  font-size: 20px;
  color: #c8c9c9;
  font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
}

#subpage h3 {
  font-size: 33px;
  text-align: center;
  font-weight: 400;
  margin-bottom: 91px;
  line-height: 1.75em;
}

#ceo_message>img {
  float: right;
  margin-left: 62px;
}

#ceo_message>p {
  margin: 0 0 35px;
}

#ceo_message>p#signature {
  text-align: right;
  margin-top: 47px;
}

.pc_mt_130 {
  margin-top: 130px;
}

table {
  font-size: 19px;
  line-height: 1.8;
  border-collapse: collapse;
}

table,
td,
th {
  border-bottom: 1px solid #e1dfdf;
}

.sub_section_image {
  max-width: 612px;
  width: 100%;
}

table>tbody>tr>td {
  width: 890px;
  padding: 25px 0;
}

table>tbody>tr>td:first-of-type {
  width: 294px;
  background-color: #eef2f6;
  vertical-align: middle;
  text-align: center;
}

table>tbody>tr>td:nth-of-type(2) {
  padding-left: 70px;
}

table.recruit_table {
  font-size: 17px;
}

.entry_btn {
  width: 296px;
  margin: 0 auto;
  text-align: center;
}

.entry_btn>a {
  display: block;
  margin-top: 149px;
  border: 1px solid #c8c9c9;
  border-radius: 25px 25px 25px 0;
  padding: 27px 45px;
  margin-bottom: 179px;
}

.bg_gray {
  background-color: #eef2f6;
  padding-bottom: 47px;
}

.sub_section,
.sub_section_dairy {
  background-color: #fff;
  display: flex;
  box-sizing: border-box;
  height: 274px;
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.sub_section {
  background-color: #fff;
}

.sub_section_dairy {
  background-color: #003e7a;
}

.sub_section_dairy>div>img {
  width: 100%;
  height: 101%;
  object-fit: cover;
  margin-top: -1.5px;
}

#subpage .sub_section_dairy p.description {
  line-height: 1.5;
}

.sub_section_inner_r,
.sub_section_dairy .sub_section_inner_r {
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 576px;
}

.sub_section_inner_r {
  padding: 25px 46px 62px 0;
}

.sub_section_dairy .sub_section_inner_r {
  padding: 21px 46px 62px 0;
}

p.sub_section_coment {
  font-size: 13px !important;
  line-height: 1.5em;
  margin: 0;
  padding: 0;
}

.sub_section_inner_l,
.sub_section_dairy .sub_section_inner_l {
  position: relative;
  width: 576px;
}

.sub_section_inner_l {
  padding: 25px 0 62px 46px;
}

.sub_section_dairy .sub_section_inner_l {
  padding: 21px 0 62px 46px;
}

#subpage div.sub_section_inner_r>p.sub_section_title_r {
  font-size: 29px;
  text-align: left;
  margin: 0 0 15px;
  border-bottom: 1px solid #CCC;
}

.sub_section_dairy .sub_section_title_r {
  color: #fff;
}

#subpage .sub_section_title_l {
  font-size: 29px;
  text-align: left;
  margin: 0 0 15px;
  border-bottom: 1px solid #CCC;
}

.sub_section_dairy .sub_section_title_l {
  color: #fff;
}

.sub_section_inner_r>.arrow_btn_wrap {
  font-size: 24px;
  text-align: right;
  position: absolute;
  bottom: 24px;
  right: 46px;
}

.sub_section_dairy .sub_section_inner_r>.arrow_btn_wrap,
.sub_section_dairy .sub_section_inner_l>.arrow_btn_wrap {
  color: #fff;
}

.sub_section_inner_l>.arrow_btn_wrap {
  font-size: 24px;
  text-align: right;
  position: absolute;
  bottom: 24px;
  right: 3px;
}

.sub_section_title_l.space {
  letter-spacing: -3px;
}

.arrow_btn_wrap>a>img.arrow_position_r {
  vertical-align: middle;
  margin-top: -5px;
  margin-left: 20px;
}

.arrow_btn_wrap>a>img.arrow_position_l {
  vertical-align: middle;
  margin-top: -5px;
  margin-left: 20px;
}

.sub_section>.image_r,
.sub_section_dairy>.image_r {
  text-align: right;
}

.sub_section_inner_r>p.description {
  font-size: 21px;
  color: #fff;
  text-align: right;
  margin-bottom: 10px;
}

.sub_section_inner_l>p.description {
  font-size: 21px;
  color: #fff;
  margin-bottom: 10px;
}

#subpage h3.interview {
  font-size: 25px;
  margin-top: 10px;
  margin-bottom: 15px;
  text-align: left;
  line-height: 1rem;
  font-weight: bold;
  color: #003e7a;
}

#subpage .bluebox {
  background-color: #003e7a;
  padding-top: .3rem;
  padding-bottom: .3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  display: inline-block;
}

/* form */
#form_section input {
  border: 0.5px solid #4d4d4d;
  border-radius: 0px;
}

form {
  max-width: 1188px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

label {
  display: inline-block;
  max-width: 380px;
  width: 100%;
  margin-top: 35px;
  font-size: 18px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
  max-width: 700px;
  width: 70%;
  padding: 5px;
  border-radius: 3px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

input[type="radio"]+label,
input[type="checkbox"]+label {
  margin-right: 15px;
  width: auto;
}

textarea {
  max-width: 700px;
  width: 100%;
  height: 100px;
  padding: 5px;
  border-radius: 3px;
  border: 1px solid #ccc;
  margin-bottom: 30px;
  box-sizing: border-box;
  vertical-align: top;
}

label.question,
label.qualification {
  margin-top: 20px;
}

.wrap_privacy_policy {
  border: 1px solid #CCC;
}

.wrap_privacy_policy+p {
  margin-top: 0;
}

span.wpcf7-list-item-label {
  padding-left: 6px;
  width: 120px;
}

.consent {
  text-align: center;
  margin-top: 45px;
  /* margin-left: -65px; */
}

.consent>label {
  width: auto;
}

#zipcode input[type="text"] {
  width: 90px;
}

#zipcode span:last-of-type input[type="text"] {
  width: 90px;
}

#tel input[type="tel"] {
  width: 130px;
}

input.wpcf7-form-control.wpcf7-number.wpcf7-validates-as-number {
  width: 90px;
}

#occupation,
#location {
  display: flex;
  margin-bottom: 35px;
  align-items: baseline;
}

#occupation span,
#location span {
  margin-left: 0;
  margin-right: 6px;
}

#occupation p,
#location p {
  width: calc(100% - 380px);
}

#sex span {
  font-size: 19px;
  margin-left: 0;
  margin-right: 6px;
}

.thumbnail_wrap {
  height: 250px;
}

#subpage .thumbnail_wrap img {
  object-fit: cover;
  height: 250px;
  width: 100%;
}

/* シングルページ */
.single_section,
#page404 {
  margin: 60px auto;
  max-width: 1188px;
  width: 100%;
}

.post__pagination {
  overflow: hidden;
  margin-bottom: 30px;
}

.post__pagination__left,
.post__pagination__right {
  width: clamp(8rem, 27vw, 12rem);
}

.post__pagination__left {
  float: left;
}

.post__pagination__right {
  float: right;
}

.post__pagination__left>a,
.post__pagination__right>a {
  display: block;
  position: relative;
}

.post__pagination__left__img,
.post__pagination__right__img {
  display: block;
  background: #000;
}

.post__pagination__left__img>img,
.post__pagination__right__img>img {
  width: 100%;
  height: 100px;
  opacity: 0.3;
  object-fit: cover;
}

.post__pagination__left__text,
.post__pagination__right__text {
  position: absolute;
  top: 35px;
  font-size: 16px;
  z-index: 100;
  color: #fff;
}

.post__pagination__left__text {
  left: 50px;
}

.post__pagination__right__text {
  right: 50px;
}

/* 404ページ */
.page404_section {
  padding: 100px 0;
}

/* 
img.attachment-post-thumbnail {
  width: 100%;
  height: auto;
} */

#single_content {
  padding: 60px auto;
}

.p-single-content-pager {
  display: flex;
  justify-content: space-around;
  margin-top: 60px;
  font-size: 18px;
  padding: 35px 0;
  border-top: 0.5px solid #eee;
  border-bottom: 0.5px solid #eee;
}

#subpage .single_section h2 {
  display: block;
  border: none;
}

#subpage .single_section h3 {
  text-align: left;
}

#subpage.index .single_section h2 {
  margin: 12px 0 24px 0;
}

#subpage.index .single_section h3 {
  margin: 15px 0;
}

.single_post {
  padding: 21px 12px;
  border-bottom: 0.5px solid #eeeeee;
}

.single_post_link {
  transition: 0.5s;
}

.single_post_link:hover {
  opacity: 0.7;
  transition: 0.5s;
}

.prev.page-numbers,
.next.page-numbers,
.page-numbers.dots {
  border: none;
}

a.page-numbers,
span.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #0f5474;
  background-color: #fff;
  border: 1px solid #0f5474;
  width: 50px;
  height: 50px;
  border-radius: 50%;

  /*追加*/
  margin: 0 8px;
}

.prev.page-numbers,
.next.page-numbers,
.page-numbers.dots {
  border: none;

  /*追加*/
  margin: 0;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

div#submit_btn {
  text-align: center;
}

/* div#submit_btn > input {
  margin-top: 69px;
  border: 1px solid #c8c9c9;
  border-radius: 25px 25px 25px 0;
  padding: 27px 45px;
  margin-bottom: 79px;
  width: 296px;
} */

div#submit_btn {
  width: 100%;
  max-width: 260px;
  text-align: center;
  margin: 60px auto 0 auto;
}

div#submit_btn>input {
  display: block;
  border: 0.5px solid #000;
  padding: 9px 0;
  width: 100%;
}

.btn_wrap {
  width: 100%;
  max-width: 300px;
  text-align: center;
  margin: 60px auto 0 auto;
}

.btn_wrap a {
  display: block;
  border: 0.5px solid #000;
  padding: 6px 17px;
}

/* ローディング */

.loading {
  position: fixed;
  z-index: 1000;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  background: #fdfdfd;
}

.loading.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms;
}

.loading .circle {
  display: block;
  position: relative;
  top: calc(50% - 20px);
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border: 8px solid #e0e0e0;
  border-top: 7px solid #003e7a;
  border-radius: 50px;
  animation: loading 700ms linear 0ms infinite normal both;
  overflow-x: hidden;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 1188px) {
  /* 最大幅600pxの場合に適用されるスタイル */

  section {
    width: 100%;
    padding: 0 15px;
  }

  #section_title>#title {
    width: 100%;
  }
}

@media (max-width: 1030px) {

  .sub_section_title_r,
  .sub_section_title_l {
    font-size: 3vw;
  }

  .sub_section_inner_r>.arrow_btn_wrap,
  .sub_section_inner_l>.arrow_btn_wrap {
    font-size: 2vw;
    bottom: 10px;
  }

  .sub_section_inner_r>.arrow_btn_wrap {
    right: 10px;
  }

  .sub_section_inner_l>p.description,
  .sub_section_inner_r>p.description {
    font-size: 15px;
  }

  .sub_section_inner_r {
    padding: 24px 12px 0 0;
  }

  .sub_section_inner_l {
    padding: 24px 0 0 12px;
  }

  .sub_section_dairy .sub_section_inner_r {
    padding: 12px 12px 0 0;
  }

  .sub_section_dairy .sub_section_inner_l {
    padding: 12px 0 0 12px;
  }

  .sub_section img {
    /* width: 100%; */
  }

  input[type="text"],
  input[type="email"],
  select {
    max-width: 700px;
    width: calc(100% - 500px);
  }

  input[type="radio"]+label,
  input[type="checkbox"]+label {
    margin-right: 15px;
    width: auto;
  }

  textarea {
    max-width: 500px;
    width: calc(100% - 500px);
  }

  label {
    width: 250px;
  }
}

@media (max-width: 834px) {

  /*sliderキャッチコピー*/
  div#n2-ss-2 .n2-font-3de0f092e304ca8c83addffafcf755e7-hover {
    font-size: 2rem !important;
    margin-top: 4rem !important;
    margin-bottom: 10rem !important;
    line-height: 1.3 !important;
  }

  div#n2-ss-2 .n2-font-6ea3ebdca37a74e10f2ca57bff750396-hover {
    font-size: 2rem !important;
    margin-top: 4rem !important;
    margin-bottom: 10rem !important;
    line-height: 1.3 !important;
  }

  div#n2-ss-2 .slider_text02 {
    margin: 0 auto !important
  }

  div#n2-ss-2 .n2-font-8c58a6d81fb8a9f41106c6d4cb49e64f-paragraph {
    font-size: 1rem !important;
    margin-top: 0 !important;
    padding: 1rem !important;
    max-width: 100%;
  }

  /*sliderキャッチコピー　ここまで*/

  .news-content {
    flex-direction: column;
    align-items: center;
    width: 95%;
    margin: 0 auto;
    padding: 20px 0;
  }

  .news-title {
    width: 93%;
    margin-left: 0;
    margin-bottom: 1rem;
  }

  .news-items {
    width: 92%;
    margin: 0;
  }



  main {
    padding-top: 90px;
  }

  #header_pc {
    display: none;
  }

  #header_sp {
    display: flex;
  }

  .header-right_sp {
    display: flex;
  }

  .sub_section img:not(.arrow_position_r, .arrow_position_l) {
    width: 100%;
  }

  .sub_section_dairy img:not(.arrow_position_r, .arrow_position_l) {

    width: 100%;
    height: 101%;
    object-fit: cover;
    margin-left: -1px;
    margin-top: -0.5px;
  }

  .sub_section,
  .sub_section_dairy {
    height: 100%;
  }

  form div {
    width: 100%;
  }

  /* 
  .sub_section, .sub_section_dairy {
    flex-wrap: wrap;
    position: unset;
  }

  .sub_section_inner_r, .sub_section_dairy .sub_section_inner_r {
    position: unset;
  }

  .sub_section:nth-child(even), .sub_section_dairy:nth-child(even) {
    flex-wrap: wrap-reverse;
  } */
}

@media (max-width: 951px) {
  label {
    width: 100%;
    margin-bottom: 9px;
    margin-top: 27px;
  }

  input[type="text"],
  input[type="email"],
  select {
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
  }

  input[type="radio"]+label,
  input[type="checkbox"]+label {
    margin-top: 8px;
  }

  textarea {
    max-width: 800px;
    width: 100%;
  }

  label.question {
    margin-top: 27px;
  }
}

/*
@media (max-width: 600px) {
*/

@media (max-width: 781px) {
  main {
    /* padding-top: 60px; */
  }

  .recruit_img_wrap img {
    width: 30%;
  }

  #subpage h1 {
    font-size: 30px;
    padding: 43px 0;
  }

  #ceo_message {
    margin: 12px auto;
  }

  #ceo_message>img {
    float: none;
    width: 100%;
    margin: 12px auto;
  }


  #subpage h2 {
    font-size: 8vw;
    margin-bottom: 45px;
    font-family: "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", serif;
    text-align: left;
    display: inline-block;
    max-width: none;
    width: auto;
  }

  /*
  #subpage h3 {
    font-size: 6vw;
    margin-bottom: 35px;
  }
*/

  .pc_mt_130 {
    margin-top: 60px;
  }

  table>tbody>tr>td:nth-of-type(2) {
    padding-left: 18px;
  }

  /* .sub_section_title_r, .sub_section_title_l {
  font-size: 2vw;
} */

  #subpage .sub_section_inner_l>p.description,
  #subpage .sub_section_inner_r>p.description {
    font-size: 2vw;
    margin-bottom: 5px;
  }

  .arrow_btn_wrap>a>img.arrow_position_r,
  .arrow_btn_wrap>a>img.arrow_position_l {
    width: 10px;
    height: 10px;
    vertical-align: unset;
    margin-left: 6px;
  }

  .arrow_btn_wrap>a>img.arrow_position_r {
    margin-top: 0;
  }

  .sub_section_inner_r {
    padding: 12px 12px 0 0;
  }

  .sub_section_inner_l {
    padding: 12px 0 0 12px;
  }

  .sub_section_dairy .sub_section_inner_r {
    padding: 6px 12px 0 0;
  }

  .sub_section_dairy .sub_section_inner_l {
    padding: 6px 0 0 12px;
  }

  .sub_section_inner_l>.arrow_btn_wrap {
    right: 10px;
  }

  .sub_section_inner_r>p.description {
    margin-bottom: 0;
  }

  #subpage h2#entry_title {
    font-size: 6vw;
  }

  #subpage div.sub_section_inner_r>p.sub_section_title_r,
  #subpage div.sub_section_inner_l>p.sub_section_title_l {
    line-height: 1.5;
    font-size: 13px;
  }

  #subpage .sub_section_inner_r>.arrow_btn_wrap,
  #subpage .sub_section_inner_l>.arrow_btn_wrap {
    font-size: 11px;
  }

  #occupation {
    margin-top: 12px;
  }

  #occupation,
  #location {
    display: block;
  }

  #occupation p,
  #location p {
    width: 100%;
  }

  .consent {
    margin-left: 0;
  }
}


@media (max-width: 480px) {

  main {
    padding-top: 60px;
  }
}


/*----------------------------------------------------------------*/
@media screen and (max-width: 480px) {

  /* 480px以下に適用されるCSS（スマホ用） */
  /*sliderキャッチコピー*/
  div#n2-ss-2 .n2-font-3de0f092e304ca8c83addffafcf755e7-hover,
  div#n2-ss-2 .n2-font-6ea3ebdca37a74e10f2ca57bff750396-hover {
    font-size: 1.2rem !important;
    margin-top: 4rem !important;
    margin-bottom: 12rem !important;
    line-height: 1.3 !important;
  }

  div#n2-ss-2 .slider_text02 {
    margin: 0 auto !important
  }

  div#n2-ss-2 .n2-font-8c58a6d81fb8a9f41106c6d4cb49e64f-paragraph {
    font-size: .8rem !important;
    margin-top: 0 !important;
    padding: 1rem !important;
  }

  /*sliderキャッチコピー　ここまで*/

  .news-item1,
  .news-item2,
  .news-item3 {
    font-size: 12px;
    margin: 0 0 10px;
    padding: 0;
  }

  .news-title h2 {
    font-size: 18px !important;
    text-align: center;
    margin: 0 auto;
  }
	
	.about-content {
		padding-top:0 !important;
	}
	

  .fellow-title h2,
  .recruit h2,
  .production-title1,
  .philosophy-title1,
  .about-title h2,
  h2.work-title1,
  .fellow-title h2 {
    font-size: 30px !important;
    text-align: center;
    margin: 40px 0 10px !important;
  }

  .about-title {
    font-size: 30px !important;
    text-align: center;
    margin: 0;
    padding: 0;
  }

  .rebirth-text,
  .production-text,
  .about-text,
  .work-text,
  .fellow p,
  .recruit_description {
    font-size: 13px;
    margin: 10px 0 30px;
    padding: 0 30px;
	  line-height:20px;
  }

  .icon-text,
  p.works_link {
    font-size: 14px !important;
    text-align: center;
    margin: 30px auto;
  }

  .about-right,
  .about-right img {
    width: 100%;
    margin-right: 0;
  }

  .aboutus_photo {
    gap: 5px;
    padding-top: 0;
    padding-bottom: 10px;
	  grid-template-columns: 1fr 1fr;
  }

  .fellow {
    margin: 0;
  }

  .story-botton {
    margin: 0 auto 40px;
  }

  #subpage .subpage_mormal {
    margin-bottom: 0;
    padding: 0px 20px;
  }

  #subpage .subpage_mormal p {
    font-size: 14px;
  }

  .online table td,
  .recruit_table td {
    font-size: 12px;
    line-height: 1.6em;
    vertical-align: middle;
    padding: 10px 10px !important;
  }

  #subpage .has-text-align-center {
    font-size: 14px;
    line-height: 1.75em;
    text-align: left;
  }

  #subpage .achievements_card {
    padding: 0;
  }

  #subpage .subpage_mormal h2 {
	  margin-bottom:20px;
	  font-size:1.4rem;
	  margin-right: 0;
	  padding-right:0;
	  margin-top:0px;
  }
	#subpage h2 {
	  font-size:1.4rem;
		margin: 20px 0 0 0;
        font-size: 1.4rem;
  }

  #subpage h3 {
    font-size: 1rem;
    line-height: 1.5em;
    text-align: left;
    margin-bottom: 20px;
	  margin-top: 20px;
	  font-weight:bold;
  }
	#subpage h3.interview {
		font-size: 1rem;
	}

  #subpage .training h3 {
     font-size: 1rem;
    line-height: 1.5em;
    text-align: left;
    margin-bottom: 20px;
	  margin-top: 20px;
	  font-weight:bold;
  }

  #subpage h3 br {
    display: none;
  }
	#subpage .welfare h4 {
		font-size:1rem;
		padding: 15px 15px;
	}
	#subpage .sdgs h5 {
		font-size:1rem;
	}
	
	#subpage p {
		font-size:1rem;
		margin-bottom: 15px;
	}
	#subpage p.arrow_btn_wrap{
		margin-bottom:0 ;
	}
	#subpage p.arrow_btn_wrap>img{
		width: 28px !important;
		height: 28px !important;
	}
	
	#subpage p>span {
		font-size:.8rem !important;
		line-height:0.8rem !important;
	}
	
	#ceo_message>p#signature {
    margin-top: 20px;
}

  .texts {
    position: absolute;
    max-width: 959px;
    height: 500px;
    top: 12%;
  }

  p.sub_section_coment {
    display: none;
  }

  #subpage div.sub_section_inner_r>p.sub_section_title_r {
    margin-bottom: 15px;
  }

  .wrap_privacy_policy+p {
    margin-top: 30px;
  }

  body {
    overflow-x: hidden;
    box-sizing: border-box;
  }

  header {
    max-width: 480px;
    height: 60px;
  }

  h2 {
    font-size: 40px;
    /* overflow-x: hidden; */
    display: inline-block;
    text-align: center;
    width: 100%;
    /* max-width: 300px; */
    margin: 0 auto;
  }

  #subpage #section_title>h1 {
    /* #subpage #section_title>h1 */
    font-size: 1.3rem;
    color: #fff;
    max-width: 1188px;
    margin: 0 auto;
    padding: 20px 0;
    width: 100%;
  }

  .header-logo {
    width: 15.6353px;
    height: 39.8745px;
    margin-right: 4.8547px;
    margin-left: 20px;
  }

  .line1,
  .line2,
  .line3 {
    font-size: 5px;
  }

  .companyname p {
    line-height: 0px;
  }

  .line1,
  .line2 {
    margin-bottom: 10px;
  }

  .header-right>nav,
  .header-right>.info-content {
    display: none;
  }

  ul.header-list_sp.active_menu {
    top: 60px;
  }

  .nav_sp {
    text-align: center;
    height: 60px;
    line-height: 60px;
    font-size: 12px;
  }

  .nav_sp.recruit_btn p {
    background-color: #003e7a;
    color: #fff;
    padding: 0 6px;

    height: 60px;
    line-height: 60px;
    font-size: 12px;
    min-width: 60px;
    max-width: 80px;
    width: 100%;
  }

  .nav_sp.menu_btn p {
    background-color: #ebf0f5;
    padding: 0 6px;
    height: 60px;
    line-height: 60px;
    font-size: 12px;
    min-width: 60px;
    max-width: 80px;
    width: 100%;
  }

  .sub-menu {
    opacity: 1;
  }

  .information {
    width: 60px;
  }

  .main {
    display: block;
  }

  .mainphoto {
    width: 100%;
    margin-top: -60px;
    height: 40vh;
    object-fit: cover;
    object-position: center;
  }
	.subpage_mormal {
		overflow-x: hidden;
	}
	.full_width {
		margin-right: calc(50% - 50vw);
		margin-left: calc(50% - 50vw);
	}
	
	
	
  /*
  .texts {
    position: static;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
  }
*/

  .main-text {
    font-size: 24px;
    margin-left: 0;
    text-align: center;
    width: 100%;
  }

  .main-sabtext1,
  .main-sabtext2,
  .main-sabtext3 {
    width: 100%;
    margin-left: 0;
    font-size: 14px;
    text-align: center;
  }

  .main-sabtext1,
  .main-sabtext2 {
    margin-bottom: 5px;
  }

  .main-sabtext1 {
    margin-top: 20px;
  }

  .main-sabtext3 {
    display: block;
  }

  .news {
    height: auto;
    padding: 10px 0;
    display: block;
    width: 100%;
    margin: 30px auto;
  }

  /*
  .news-content {
    display: block;
    margin-top: 15px;
  }*/

  .news-title {
    margin-left: 0;
    text-align: center;
  }

  .news-title p {
    font-size: 35px;
    line-height: 20px;
  }

  .news-titletext {
    font-size: 50px;
  }

  .news-titlesabtext {
    font-size: 10px;
  }
    .news-content {
        padding: 10px 0;
    }
	
  .news-items {
    font-size: 10px;
    width: 92%;
    margin: 10px auto 10px auto;
  }

  /*
  .news-item1,
  .news-item2,
  .news-item3 {
    margin-bottom: 10px;
    padding-bottom: 3px;
  }
*/

  .philosophy {
    margin: 10px 0 0 0;
  }

  .rebirth {
    flex-direction: column;
  }

  .rebirth img {
    width: 100%;
    clip-path: inset(30px 0 0 0);
    margin-top: -40px;
    margin-left: 0;
    object-fit: contain;
  }

  .philosophy-titles {
    width: 100%;
    padding-left: 0;
    text-align: center;
    height: auto;
  }

  .br-no {
    display: none;
  }

  /* 
  .philosophy-title1 {
    margin-top: 60px;
    margin-bottom: 20px;
  }

  .philosophy-titles {
    margin-bottom: 20px;
  }
*/

  .philosophy-photo {
    flex-wrap: wrap;
    margin-top: 0;
  }

  .philosophy-photo img {
    /* width: 225px; */
    /* height: 136px; */
    width: 50%;
  }

  .img4 {
    margin-right: 0;
  }

  .philosophy-photo .img8,
  .img5 {
    margin-right: 0px;
  }

  .img5,
  .img6 {
    margin-top: 10px;
  }

  .re-production {
    flex-direction: column-reverse;
    margin-top: 0;
    margin-bottom: 0;
  }

  /*
  .production-title1 {
    margin-top: 60px;
  }
  .production-text {
    margin-top: 10px;
    font-size: 14px;
  }
*/

  .production-photo {
    margin-right: 0;
    width: 100%;
    /* clip-path: inset(30px 0 120px 0); */
    /* margin-top: -130px; */
    /* margin-bottom: -20px; */
    object-fit: contain;
  }
	
	.pc-none {
		display:grid !important;
	}
	.sp-none {
		display:none;
	}

  .about {
    margin: 0;
    padding: 0;
    height: auto;
    position: relative;
  }

  .about h2 {
    font-size: 40px;
  }

  .about-content {
    display: block;
    position: relative;
    overflow-x: hidden;
    text-align: center;
  }

  .about-titletext {
    font-size: 38pt;
    margin-right: 0;
  }

  /*
  .about-title {
    font-size: 35px;
    margin-top: 0px;
    padding-top: 60px;
    line-height: 1px;
    text-align: center;
  }
*/

  .about-title p {
    line-height: 25px;
    padding-left: 30px;
  }

  .about-titlesabtext {
    margin-left: 25px;
  }

  .about-photo {
    /* width: 253.0235px; */
    /* height: 253.0235px; */
    width: 50%;
    margin-top: 0px;
    margin-left: 0;
    z-index: 1;
    position: absolute;
    top: 90px;
    right: -10px;
  }

  /*
  .icon-text {
    margin-top: 50px;
    padding-left: 30px;
  }
*/

  /*
  .about-text {
    padding-left: 30px;
    padding-right: 30px;
    font-size: 14px;
    padding-bottom: 30px;
  }
*/
	.about-text {
		line-height:20px;
	}

  .icon-text>a {
    justify-content: center;
  }

  .work {
    flex-direction: column-reverse;
    align-items: normal;
    position: relative;
    height: auto;
    padding-bottom: 0;
    margin-top: 20px;
    text-align: center;
  }

  /*
  .work h2 {
    font-size: 40px;
  }
*/

  .work-content {
    height: auto;
    width: 100%;
  }

  .work-title {
    text-align: center;
  }

  /*
  h2.work-title1 {
    margin-top: 45px;
  }
*/

  .work-titletext {
    font-size: 40pt;
    margin-right: -5px;
  }

  .work-title p {
    margin: 60px auto 0;
    /* width: 480px; */
    line-height: 25px;
  }
	.work-photo-heigth {
		width: 100vw;     /* 画面幅いっぱい */
		height: 80vh;    /* 画面高さいっぱい */
	}
	.work-photo-heigth img {
		object-fit: cover;/* 要素いっぱいに画像を表示（はみ出た部分は削除） */
		width: 100%;      /* 親要素の幅いっぱい */
		height: 100%      /* 親要素の高さいっぱい */
	}

  .work-photo {
	  width: 100%;
	  margin: 0;
	/*  height: 600px;
	  object-fit: cover;*/
  }

  .work-icontext1 {
    top: 155px;
    left: unset;
    right: 5px;
  }

  .work-icontext2 {
    top: 155px;
    left: unset;
    right: 5px;
  }

  .work-icontext1 img,
  .work-icontext2 img {
    width: 28px;
    height: 28px;
    margin-left: 5px;
  }

  .work-icontext1 p {
    width: 120px;
    font-size: 15px;
  }

  .work-icontext2 p {
    width: 150px;
    font-size: 15px;
  }

  .work {
    margin: 0;
  }

  /*
  .work-text {
    margin-bottom: 30px;
  }
*/

  .business {
    position: absolute;
    z-index: 1;
    top: 440px;
    left: 0;
    right: 0;
    width: 200px;
    margin: auto;
  }

  .business p {
    font-size: 14px;
  }

  /*
  .fellow p {
    font-size: 14px;
  }
*/

  .fellow-titletext {
    font-size: 50px;
  }

  .fellow-titletext {
    margin-right: -4px;
  }

  .fellow-title p {
    line-height: 25px;
    margin-top: 80px;
  }

  .fellow-photos img {
    max-width: 180px;
  }

  .fellow-text1 {
    margin: 20px 0;
  }

  .fellow-text1 p {
    font-size: 30px;
    font-weight: bold;
  }

  .fellow-text2 p {
    font-size: 14px;
    letter-spacing: -1px;
    line-height: 20px;
    margin: 0 19px;
  }

  .fellow-text2 {
    display: block;
  }

  .botton {
    /* margin-left: 250px; */
    width: 200px;
    margin-left: calc(100% - 220px);
  }

  .botton p {
    margin-top: 9.5px;
  }

  .fellow-photos {
    margin-left: 0;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .story {
    padding-bottom: 0;
  }

  .story-content1 {
    position: relative;
    overflow-x: hidden;
  }

  .story {
    display: block;
    position: relative;
    overflow-x: hidden;
  }

  .story-title {
    margin-left: 0;
  }

  .story-titletext {
    font-size: 50pt;
  }

  .story-titlesabtext {
    margin-left: 0;
  }

  .story-title p {
    line-height: 25px;
    text-align: center;
    margin-top: 40px;
  }

  .story-photos {
    height: 320.8764px;
  }

  .story-photos img {
    width: 150px;
    height: 150px;
    /* min-width: 150px;
    max-width: 300px;
    width: 25%;
    height: auto; */
  }

  .story-photo1 {
    left: -80px;
    margin-top: 100.068px;
  }

  .story-photo2 {
    margin-top: 20.5635px;
    left: 20px;
  }

  .story-photo3 {
    margin-top: 75.3172px;
    left: 120px;
  }

  .story-photo4 {
    margin-top: 113.3866px;
    left: 240px;
  }

  .story-content2 {
    overflow: hidden;
  }

  .story-content2 img {
    width: 200px;
    height: 200px;
    position: absolute;
    margin-top: 0;
    top: 80px;
    /* left: 0px; */
    right: -20%;
    min-width: 200px;
    width: 50%;
    max-width: 400px;
    height: auto;
  }

  .story-botton {
    margin-top: 0;
    /* position: absolute; */
    /* top: 270px; */
    /* left: 15px; */
    /* z-index: 2; */
    background-color: #fff;
    width: 200px;
    /* padding: 9px; */
  }

  .story-botton p {
    font-size: 14px;
    /* margin-top: 12px; */
  }

  .story-text {
    font-size: 14px;
    left: 18vw;
    top: 8%;
  }

  .br-no2 {
    display: block;
  }

  .story-text1,
  .story-text2 {
    padding-top: 5px;
    padding-bottom: 5px;
    padding: 5px 5px;
  }

  .story-text1 {
    margin-bottom: 0;
    font-feature-settings: "palt" 1;
    text-align: left;
    padding-bottom: 0px;
    font-size: 14px;
    padding-top: 9px;
  }

  .story-text2 {
    font-feature-settings: "palt" 1;
    /* text-align: right; */
    line-height: 20px;
    font-size: 14px;
    line-height: 2;
  }

  .recruit {
    padding-top: 0;
    text-align: center;
    /* background-color: #ebf0f5; */
    /* background-size: cover; */
  }

  .project {
    padding-top: 0;
    text-align: center;
  }

  .recruit-titletext {
    font-size: 50pt;
  }

  .recruit-titlesabtext {
    margin-left: 0;
  }

  .recruit-title p {
    line-height: 25px;
  }

  .recruit-title {
    margin-left: 0;
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
  }

  .recruit-content {
    flex-direction: column;
  }

  .recruit-content2 {
    order: -1;
    margin: 30px 0;
  }

  .recruit-content1 {
    display: flex;
    flex-direction: column;
    margin-left: 0;
  }

  .recruit-button {
    order: -1;
    margin-top: 0;
    margin-bottom: 30px;
    justify-content: center;
  }

  .recruit-button1 {
    width: 40%;
    font-size: 14px;
    padding-top: 12px;
  }

  .recruit-button2 {
    width: 40%;
    font-size: 14px;
    padding-top: 12px;
  }

  .recruit-text {
    text-align: center;
    /* margin-top: 60px; */
  }

  .recruit-text1 {
    font-size: 30px;
    margin: 0 auto 10px auto;
  }

  .recruit-text2 {
    font-size: 30px;
    width: auto;
  }

  /*
  .recruit_description {
    font-size: 18px;
  }
*/
  .recruit_img_wrap img {
    width: 30%;
  }

  .recruit_img_wrap>p>img {
    max-width: 167px;
    width: 100%;
  }

  /*
	.project > .recruit_img_wrap > a {
		display: contents!important;
	}*/

  .philosophy-titles,
  .about-left,
  .work-titles {
    padding-left: 0px;
  }

  .about-left {
    width: 100%;
  }

  .recruit_img_wrap {
    column-gap: 9px;
    row-gap: 15px;
    box-sizing: border-box;
  }

  .recruit_btn_flex {
    display: block;
    margin: 45px auto;
  }

  .recruit-botton {
    width: 60%;
    margin: 0 auto;
  }

  .recruit h2 {
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin: 50px auto 30px auto;
  }

  .footer-logo {
    margin-right: 0;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
  }

  .footer-logo img {
    width: 18.6353px;
    height: 48.8745px;
  }

  .line1 {
    font-size: 8px;
    margin-bottom: 12px;
  }

  .line2 {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .line3 {
    font-size: 6px;
  }

  .footer-right {
    display: none;
  }

  .footer-content {
    display: block;
    padding: 12px;
    box-sizing: border-box;
  }

  .footer-center {
    margin-bottom: 0px;
    margin-right: 0px;
  }

  .offices {
    margin-left: 20px;
    margin-top: 0;
  }

  .office {
    flex: 1;
  }

  .office1 {
    font-size: 10px;
  }

  .footer-list {
    display: none;
  }

  .icon-text p,
  .works_link {
    font-size: 14px;
    margin: 0;
  }
	
	section#staff_voice {
		padding-top: 20px;
	}
	.bg_gray{
		padding-bottom: 20px;
	}
	#subpage .recruit {
		padding-bottom: 30px;
	}
	section.subpage_mormal h4 {
		font-size: 1rem;
        padding: 15px 15px;
	}
	
	:where(.wp-block-columns.is-layout-flex) {
		gap: 0.8em;
	}
	#section_title>h1>span {
		font-size: 14px;
	}
	.is-layout-flex>.philosophy_image{
		margin:0 auto;
	}
	.philosophy_image {
		max-width:50%;
	}
	.philosophy_number {
		flex-basis:30% !important;
	}
	
	
}

/* 新着情報ページ専用CSS */
/* 新着情報ページ全体 */
.news-page-content {
    padding: 40px 0 60px;
    /* background-color: #f8f9fa; */
}

.news-page-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 新着情報グリッド - 4列レイアウト */
.news-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

/* 新着情報アイテム */
.news-page-item {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #ddd;
    transition: none;
    display: flex;
    flex-direction: column;
}

.news-page-item:hover {
    transform: none;
    box-shadow: none;
}

/* サムネイル */
.news-page-thumbnail {
    width: 100%;
    height: 160px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-page-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.news-page-item:hover .news-page-thumbnail img {
    transform: none;
}

/* No Image画像のスタイル */
.news-page-no-image {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    font-weight: bold;
}

/* コンテンツエリア */
.news-page-content-inner {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* タイトル - IDセレクターで詳細度を最大化 */
#subpage #news-page-section .news-page-title {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    font-weight: bold !important;
    /* flex: 1; */
    color: #333 !important;
    /* border: none !important; */
    /* padding: 0 !important; */
    margin-top: 0 !important;
    margin-right: 0 !important;
    display: block !important;
    font-family: "Kozuka Gothic Pr6N", sans-serif !important;
    letter-spacing: normal !important;
        padding-bottom: 3px;
    border-bottom: 1px solid #dedddd;
}

#subpage #news-page-section .news-page-title a {
    color: #333 !important;
    text-decoration: none;
    display: block;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#subpage #news-page-section .news-page-title a:hover {
    color: #003e7a !important;
}

/* メタ情報 */
.news-page-meta {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* タイプラベル */
.news-page-type {
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    padding: 4px 8px;
    border-radius: 0;
    text-align: center;
    align-self: flex-start;
    min-width: 60px;
    display: inline-block;
}

/* 投稿（新着情報）のスタイル */
.news-page-type.post {
    background: #003e7a;
}

/* 固定ページ（実績）のスタイル */
.news-page-type.page {
    background: #dc2626;
    /* padding-left: 15px;
    padding-right: 15px; */
}

/* 日付 */
.news-page-date {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

/* 抜粋 */
.news-page-excerpt {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: auto;
}

/* ページネーション */
.news-page-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

/* WordPressのpaginate_linksで生成されるリンク */
.news-page-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 0;
    color: #333;
    font-weight: normal;
    font-size: 14px;
    background: #fff;
    margin: 0;
    border-right: 0;
}

.news-page-pagination .page-numbers:last-child {
    border-right: 1px solid #ddd;
}

.news-page-pagination .page-numbers:hover {
    background-color: #f0f0f0;
    color: #333;
}

.news-page-pagination .page-numbers.current {
    background-color: #003e7a;
    color: #fff;
    border-color: #003e7a;
    z-index: 1;
    position: relative;
}

.news-page-pagination .page-numbers.prev,
.news-page-pagination .page-numbers.next {
    font-weight: normal;
    width: 40px;
    padding: 0;
}

.news-page-pagination .page-numbers.dots {
    border: 1px solid #ddd;
    border-right: 0;
    color: #999;
    background: #fff;
    cursor: default;
}

.news-page-pagination .page-numbers.dots:hover {
    background: #fff;
    color: #999;
}

/* 既存のページネーションをリセット */
.news-page-pagination a,
.news-page-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 0;
    color: #333;
    font-weight: normal;
    font-size: 14px;
    background: #fff;
    margin: 0;
    border-right: 0;
}

.news-page-pagination a:last-child,
.news-page-pagination span:last-child {
    border-right: 1px solid #ddd;
}

.news-page-pagination a:hover {
    background-color: #f0f0f0;
    color: #333;
}

.news-page-pagination .current {
    background-color: #003e7a;
    color: #fff;
    border-color: #003e7a;
    z-index: 1;
    position: relative;
}

.news-page-pagination .prev,
.news-page-pagination .next {
    font-weight: normal;
    width: 40px;
    padding: 0;
}

.news-page-pagination .dots {
    border: 1px solid #ddd;
    border-right: 0;
    color: #999;
    background: #fff;
    cursor: default;
}

.news-page-pagination .dots:hover {
    background: #fff;
    color: #999;
}

/* 記事がない場合 */
.news-page-no-posts {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    padding: 60px 0;
    background: #fff;
    border-radius: 0;
    margin-top: 40px;
    border: 1px solid #ddd;
}

/* トップページ用の新着情報セクション（4件表示） */
.top-news-section,
.related-news-section {
    margin: 60px 0;
}

.top-news-section .section-title,
.related-news-section .section-title {
    font-size: 1.8rem;
    color: #003e7a;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.top-news-list,
.related-news-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* もっと見るボタン */
.news-page-more {
    text-align: center;
    margin-top: 30px;
}

.news-page-btn-more {
    display: inline-block;
    padding: 12px 30px;
    background: #003e7a;
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid #003e7a;
}

.news-page-btn-more:hover {
    background: #002a5a;
    transform: none;
    box-shadow: none;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .news-page-grid,
    .top-news-list,
    .related-news-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .news-page-grid,
    .top-news-list,
    .related-news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .news-page-content-inner {
        padding: 14px;
    }
    
    .news-page-title {
        font-size: 13px;
    }
    
    .news-page-thumbnail {
        height: 140px;
    }
    
    .news-page-pagination a,
    .news-page-pagination span {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    .news-page-pagination .prev,
    .news-page-pagination .next {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .news-page-content .container {
        padding: 0 15px;
    }
    
    .news-page-grid,
    .top-news-list,
    .related-news-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-page-thumbnail {
        height: 200px;
    }
    
    .news-page-content-inner {
        padding: 16px;
    }
    
    .news-page-title {
        font-size: 14px;
    }
    
    .news-page-title a {
        -webkit-line-clamp: 3;
    }
    
    .news-page-type {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .news-page-date {
        font-size: 12px;
    }
    
    .news-page-pagination a,
    .news-page-pagination span {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}
