@charset "utf-8";

/*
Theme Name: 株式会社ササキ
Theme URI:
Description:  
Author: Reber
Author URI: 
Version: 1.0
*/
/* top */

.home #fv {
  padding: 0;
}

.home #fv .slide-img {
  z-index: 10;
  opacity: 0;
  width: 100%;
  height: 800px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-animation: anime 10s 0s infinite;
  animation: anime 12s 0s infinite;
}

.home #fv .slide-img:nth-of-type(2) {
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}

@keyframes anime {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: scale(1.2);
    z-index: 9;
  }
  100% {
    opacity: 0
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    -webkit-transform: scale(1.2);
    z-index: 9;
  }
  100% {
    opacity: 0
  }
}

.home #fv .slide-imgbox {
  height: 800px;
  overflow: hidden;
  position: relative;
}

.home #fv .slide-text {
  font-family: var(--font-family-en-mincho);
  font-size: clamp(3.125rem, 2.216rem + 4.55vw, 5.625rem);
  font-weight: 500;
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 5%;
  z-index: 11;
  text-shadow: 3px 3px 8px black;
  line-height: 1.4;
}

@media only screen and (max-width:767px) {
  .home #fv .slide-imgbox {
    height: 85vh;
  }
}

.home #concept .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  font-weight: 400;
  line-height: 2.5;
  font-size: clamp(0.875rem, 0.761rem + 0.57vw, 1.188rem);
}
.home #concept .flex img{
  width: 50%;
}

@media only screen and (max-width:767px) {
  .home #concept .flex {
    flex-direction: column;
    gap: 20px;
  }
  .home #concept .flex img{
    width: 90%;
  }
}

.home #business .container{
  width: 100%;
  max-width: 100%;
}

.home #business .business-list{
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-bottom: 60px;
}

.home #business .business-list .business-item{
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  position: relative;
}
.home #business .business-list .list-img{
  background: var(--main-color);
  width: 50%;
  position: relative;
  z-index: 5;
}
.home #business .business-list img{
  opacity: 0;
  transform: translateX(-100%);
  transition: 1.0s all;
}

.home #business .business-list img.is-animated{
  opacity: 1;
  transform: translateX(0);
}

.home #business .business-list .text-area{
  width: 50%;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.home #business .business-list .text-area .list-title{
  font-size: clamp(1.25rem, 0.977rem + 1.36vw, 2rem);   /* PC:32px */
  padding-left: 40px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  position: relative;
}

.home #business .business-list .text-area .list-title::after{
  content: '';
  width: 100%;
  height: 3px;
  background-color: var(--main-color);
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translateX(-100%);
  z-index: 3;
  transition: all 1s;
}

.home #business .business-list .text-area .list-title.is-animated::after{
  transform: translateX(0);
}

.home #business .business-list .text-area .list-text{
  font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem); /* PC:18px */
  padding-left: 40px;
  line-height: 2.5;
}

.home #business .business-list .business-list-no{
  position: absolute;
  font-family: var(--font-family-en-gothic);
  font-weight: 700;
  top: 0;
  right: 20px;
  color: #f2f2f2;
  font-size: clamp(12rem, 9.091rem + 14.55vw, 20rem);
  line-height: 1;
}

@media only screen and (max-width:767px) {
  .home #business .business-list .business-item{
    flex-direction: column-reverse;
    gap: 20px;
  }
  .home #business .business-list .list-img{
    width: 100%;
  }
  .home #business .business-list .text-area{
    width: 100%;
  }
  .home #business .business-list .text-area .list-title{
    padding-left: 0;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  .home #business .business-list .text-area .list-text{
    padding-left: 0;;
  }
  .home #business .business-list .business-list-no{
    right: 0;
    top: auto;
    bottom: 0;
  }
}

.home #company {
  background-image: url('img/index/company_bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
}

.home #company .company-list {
  display: flex;
  column-gap: 40px;
  text-align: left;
  margin: 80px auto 60px; 
}

.home #company .company-list .list-item {
  width: calc((100% - 80px) / 3);
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.home #company .company-list .list-item a{
  display: block;
  width: 100%;
  height: 100%;
  padding: 20px 20px;
}

.home #company .company-list .list-item .list-title {
  color: #fff;
  font-size: clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem);
  font-weight: 700;
  display: flex; 
  justify-content: space-between;
  align-items: center;
}
.home #company .company-list .list-item .list-title i{
  font-size: clamp(2.188rem, 1.847rem + 1.7vw, 3.125rem);   /* pc:50px */
}

@media only screen and (max-width:767px) {
  .home #company .company-list {
    flex-direction: column;
  }
  .home #company .company-list .list-item {
    width: 100%;
  }
}

.home #news .post-list {
  width: 80%;
  margin: 0 auto 60px;
}

.home #news .post-list li {
  width: 100%;
  display: flex;
  border-bottom: 1px dashed #292929;
  padding: 30px 0;
}

.home #news .post-list li .post-date {
  width: 20%;
  text-align: center;
}

.home #news .post-list li .post-title {
  width: 80%;
  text-align: left;
  padding: 0 40px;
}

@media only screen and (max-width:767px) {
  .home #news .post-list {
    width: 100%;
  }
  .home #news .post-list li {
    flex-direction: column;
    padding: 15px 10px;
  }
  .home #news .post-list li .post-date {
    width: 100%;
    text-align: left;
  }
  .home #news .post-list li .post-title {
    width: 100%;
    padding: 0;
  }
}

.home #recruit{
  background: url('img/index/recruit_bg.png') no-repeat;
  background-position: top left;
}
.home #recruit .container{
  position :relative;
}

.home #recruit .box {
  width: 70%;
  border: 2px solid var(--main-color);
  background: rgba(0,0,0, 0.6);
  padding: 80px 80px 150px 80px;
  margin-bottom: 120px;
  color: #fff;
  line-height: 2.2;
}
.home #recruit .recruit-text{
  width: 75%;
}
.home #recruit .recruit-img{
  position: absolute;
  right: 0;
  bottom: 120px;
  width: 45%;
}
@media only screen and (max-width:767px) {
  .home #recruit .box {
    width: 100%;
    padding: 20px
  }
  .home #recruit .recruit-text{
    width: 100%;
  }
  .home #recruit .recruit-img{
    bottom: 60px;
  }
}
/* company */
#p-company .p-title {
  background: url("img/company/title_bg.jpg") no-repeat center;
}

#p-company #gaiyo-content .content.top {
  padding: 35px 0 0;
}

#p-company #gaiyo-content.main-content .content {
  background: #fff;
  width: calc(100% - 20px);
}

#p-company .main-content {
  display: none;
  text-align: center;
}

#p-company .tab-area {
  margin: 55px 0;
  text-align: center;
  border-bottom: 2px solid var(--bg-highlight);
}

#p-company .tab-area .tab-box {
  background: #fff;
  min-width: 280px;
  display: inline-block;
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--bg-highlight);
  margin-bottom: -1px;
}

#p-company .tab-area .tab-box label {
  cursor: pointer;
  padding: 10px 60px;
  display: block;
  font-size: clamp(0.875rem, 0.739rem + 0.68vw, 1.25rem);
  font-weight: 700;
}

#p-company input[name="tab-item"] {
  display: none;
}

#p-company #gaiyo:checked~#gaiyo-content,
#p-company #message:checked~#message-content,
#p-company #rinen:checked~#rinen-content,
#p-company #history:checked~#history-content,
#p-company #history:checked~#construction-content {
  display: block;
}

#p-company #gaiyo:checked~.container .gaiyo,
#p-company #message:checked~.container .message,
#p-company #rinen:checked~.container .rinen,
#p-company #history:checked~.container .history {
  background: var(--bg-highlight);
}

#p-company .content-title {
  font-family: var(--font-family-en-mincho);
  font-size: clamp(1.125rem, 0.398rem + 3.64vw, 3.125rem);
  font-weight: 500;
  letter-spacing: 1rem;
  margin: 0;
  padding: 60px 0;
  background: var(--sub-color);
}

#p-company #gaiyo-content {
  margin-bottom: 60px;
}

#p-company #gaiyo-content .content {
  padding-bottom: 100px;
  font-size: 1.8rem;
}

#p-company .gaiyo-table {
  width: 80%;
  text-align: left;
  margin: 60px auto;
}

#p-company .gaiyo-table>tbody>tr>th {
  color: #968151;
  width: 30%;
}

#p-company .gaiyo-table>tbody>tr>th,
#p-company .gaiyo-table>tbody>tr>td {
  border-top: 1px solid #c6c6c6;
  border-bottom: 1px solid #c6c6c6;
  padding: 10px 60px;
  vertical-align: top;
}

#p-company .gaiyo-table ul {
  padding-left: 20px;
}

#p-company .gaiyo-table .address-table th {
  vertical-align: top;
  font-weight: normal;
  width: 30%;
}

#p-company #gaiyo-content .location-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 80px;
  gap: 60px;
  border-bottom: 1px solid var(--font-color);
}

#p-company #gaiyo-content .location-box:last-of-type {
  border: none;
}

#p-company #gaiyo-content .location-box img {
  width: 30%;
}

#p-company #gaiyo-content .location-box .location-textbox {
  width: 70%;
  text-align: left;
}

#p-company #gaiyo-content .location-box .location-name {
  font-size: clamp(1.125rem, 0.966rem + 0.8vw, 1.563rem);
  font-weight: 700;
  margin-bottom: 20px;
}

#p-company #gaiyo-content .location-box .location-map {
  display: flex;
  justify-content: flex-end;
  color: var(--main-color);
  margin-top: 30px;
  font-weight: 700;
  line-height: 1.2;
}

#p-company #gaiyo-content .location-box .location-map i {
  margin-left: 10px;
}

#p-company #gaiyo-content .column3-list {
  text-align: left;
  display: grid;
  column-gap: 10px;
  row-gap: 1em;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 60px 40px;
}

#p-company #gaiyo-content .column3-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#p-company #gaiyo-content .text-right {
  text-align: right;
}


#p-company #message-content .content {
  display: flex;
  align-items: flex-end;
  text-align: left;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 60px;
  padding: 40px 120px 150px;
  font-size: 2.0rem;
}

#p-company #message-content .content .text-area img {
  margin-bottom: 20px;
}

#p-company #message-content .content .text-area .president-name {
  margin-right: 0;
  margin-left: auto;
  margin-top: 20px;
  display: block;
}

#p-company #rinen-content .rinen-box {
  padding: 40px 0 120px;
}

#p-company #rinen-content .rinen-box:nth-of-type(odd) {
  background: var(--sub-color);
}

#p-company #rinen-content .rinen-box .content-title {
  background: none;
  padding: 30px 0 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

#p-company #rinen-content .rinen-box .rinen {
  font-size: clamp(1.375rem, 0.966rem + 2.05vw, 2.5rem);
  margin-bottom: 30px;
}

#p-company #rinen-content .rinen-box .hoshin-list {
  padding: 0;
  margin: 0 auto;
  width: 55%;
}

#p-company #rinen-content .rinen-box .hoshin-list li {
  list-style: none;
  background: url("img/recruit/jinzai_no01.png") no-repeat left top;
  text-align: left;
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
  padding-left: 60px;
  margin-bottom: 30px;
}

#p-company #rinen-content .rinen-box .shishin {
  font-size: clamp(1.375rem, 0.966rem + 2.05vw, 2.5rem);
  color: var(--main-color);
  font-weight: 700;
  letter-spacing: 1rem;
  margin-bottom: 30px;
}

#p-company #rinen-content .rinen-box p {
  margin-bottom: 60px;
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
}

#p-company #rinen-content .rinen-box .anzen-text {
  line-height: 3;
  font-size: clamp(1rem, 0.864rem + 0.68vw, 1.375rem);
}

#p-company #history-content .container {
  background: #fff;
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
}

#p-company #history-content table {
  width: 100%;
}

#p-company #history-content table tr:nth-of-type(even) {
  background: #dfdfdf;
}

#p-company #history-content table tr:last-child {
  background: #fff;
}

#p-company #history-content table tr th {
  background: var(--main-color);
  color: #fff;
  text-align: center;
  padding: 20px 40px;
  width: 20%;
}

#p-company #history-content table tr td {
  padding: 20px 40px;
  text-align: left;
}

#p-company #history-content table tr td.blank {
  padding: 40px;
  width: 40px;
}

#p-company #history-content table tr:last-child th {
  background: linear-gradient(to top right, transparent 50%, var(--main-color) 50%) no-repeat top left / 50% 70%, linear-gradient(to top left, transparent 50%, var(--main-color) 50%) no-repeat top right/50% 70%;
}


@media only screen and (max-width:599px) {
  #p-company .tab-area {
    font-size: 0;
    margin: 20px 0;
  }

  #p-company .tab-area .tab-box {
    min-width: inherit;
  }

  #p-company .tab-area .tab-box label {
    padding: 5px 10px;
  }

  #p-company #gaiyo-content .content-title {
    padding: 20px 0;
  }

  #p-company #gaiyo-content .content {
    padding-bottom: 40px;
  }

  #p-company .gaiyo-table {
    margin: 20px auto;
  }

  #p-company .gaiyo-table>tbody>tr>th,
  #p-company .gaiyo-table>tbody>tr>td {
    width: 100%;
    display: block;
    padding: 5px 20px 0;
  }

  #p-company .gaiyo-table>tbody>tr>th {
    border: none;
  }

  #p-company .gaiyo-table>tbody>tr>td {
    border-top: none;
    padding-bottom: 10px;
  }

  #p-company #gaiyo-content .location-box {
    display: block;
    padding: 20px 0;
  }

  #p-company #gaiyo-content .location-box img {
    width: 100%;
    margin-bottom: 20px;
  }

  #p-company #gaiyo-content .location-box .location-textbox {
    width: 100%;
  }

  #p-company #gaiyo-content .location-box .location-name {
    margin-bottom: 10px;
  }

  #p-company #gaiyo-content .column3-list {
    display: block;
    margin: 20px;
  }

  #p-company #message-content .container {
    display: block;
    padding: 0 10px 40px;
  }

  #p-company #message-content .container .text-area {
    margin-bottom: 20px;
  }

  #p-company #message-content .container img {
    display: block;
    margin: 0 auto 20px;
  }

  #p-company #message-content .container .text-area .president-name {
    max-width: 250px;
  }

  #p-company #rinen-content .rinen-box {
    padding: 40px 0;
  }

  #p-company #rinen-content .rinen-box .content-title {
    padding: 20px 10px;
    gap: 10px;
  }

  #p-company #rinen-content .rinen-box .content-title img {
    width: 15%;
  }

  #p-company #rinen-content .rinen-box .hoshin-list {
    width: 100%
  }

  #p-company #history-content .content {
    font-size: 1.4rem;
  }

  #p-company #history-content table tr td.blank {
    display: none;
  }

  #p-company #history-content table tr th {
    padding: 10px;
    width: 33%;
  }

  #p-company #history-content table tr td {
    padding: 10px;
  }

}

/* business */
#p-business .p-title {
  background: url("img/business/title_bg.jpg") no-repeat center / cover;
}

#p-business .container {
  overflow: visible;
}

#p-business .main-content {
  padding: 120px 0;
}

#p-business .business-title {
  font-size: clamp(1.125rem, 0.852rem + 1.36vw, 1.875rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

#p-business .business-text {
  margin: 0 auto 100px;
  text-align: center;
  font-size:clamp(0.875rem, 0.83rem + 0.23vw, 1rem);
  max-width: 900px;
}

#p-business ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#p-business ul li .business-item-title {
  font-size: clamp(1.125rem, 0.625rem + 2.5vw, 2.5rem);
  letter-spacing: 0.3rem;
  font-weight: 700;
  padding-bottom: 20px;
  margin-bottom: 40px;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

#p-business ul li .business-item-title::after{
  content: '';
  width: 100%;
  height: 3px;
  background-color: var(--main-color);
  transform: translateX(-100%);
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all 0.8s;
}

#p-business ul li .business-item-title.is-animated::after{
  transform: translateX(0);
}

#p-business ul li .business-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 80px;
  padding: 80px 0 0;
}

#p-business ul li .bg {
  position: absolute;
  top: 0;
  right: 300px;
  z-index: -1;
  background-color: var(--main-color);
  width: 100%;
  border-radius: 10px;
  height: 400px;
}

#p-business ul li:nth-of-type(odd) .business-item {
  flex-direction: row-reverse;
}

#p-business ul li:nth-of-type(odd) .bg {
  right: -300px;
}

#p-business ul li .text-area {
  width: calc(50% - 20px);
  color: #fff;
}

#p-business ul li img {
  width: calc(50% - 20px);
}

#p-business ul li .text-area .business-item-text {
  font-size: clamp(1rem, 0.841rem + 0.8vw, 1.438rem);
}

@media only screen and (max-width:599px) {
  #p-business .main-content {
    padding: 40px 0;
  }

  #p-business .business-title {
    font-size: 2.0rem;
    margin-bottom: 20px;
  }

  #p-business .business-text {
    margin-bottom: 40px;
    text-align: center;
  }

  #p-business ul li .business-item-title {
    font-size: 2.4rem;
    letter-spacing: 0;
    padding: 10px 0;
    margin-bottom: 20px;
  }

  #p-business ul li {
    margin-bottom: 40px;
  }

  #p-business ul li .bg {
    display: none;
  }

  #p-business ul li .business-item {
    display: block;
    margin-bottom: 0;
    padding: 0;
  }

  #p-business ul li .text-area {
    width: 100%;
    padding: 10px 0;
    color: inherit;
  }

  #p-business ul li img {
    width: 100%;
  }

  #p-business ul li .text-area .business-item-title {
    font-size: 2.4rem;
    margin-bottom: 15px;
  }

  #p-business ul li .text-area .business-item-text {
    font-size: 1.6rem;
  }
}

/* information */
#p-information .p-title,
#p-post .p-title {
  background: url("img/news/title_bg.jpg") no-repeat center;
}

#p-information .post-categories {
  border: var(--main-color) 2px solid;
  padding: 2px 8px;
  margin-left: 20px;
  font-size: 12px;
}

#p-information .post-list {
  padding: 120px 80px 60px;
}

#p-information .post-list .post-item {
  display: flex;
  gap: 40px;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 40px;
}

#p-information .post-list .post-item .post-date {
  margin-bottom: 10px;
}

#p-information .post-list .post-item .post-img img {
  display: block;
  margin: 0;
  width: 300px;
  object-fit: cover;
  height: auto;
}

#p-information .post-list .post-item .post-text {
  text-align: left;
  width: 75%;
}

#p-information .post-list .post-item .post-text .post-title {
  font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 10px;
}

#p-information .post-list .post-item .post-text .post-excerpt {
  margin-bottom: 10px;
}

#p-information .post-list .btn-more {
  background: var(--main-color);
  color: #fff;
  font-weight: 600;
  display: inline-block;
  padding: 8px 10px;
  border-radius: 5px;
  line-height: 1;
}

#p-information .pagination {
  text-align: center;
  margin-bottom: 120px;
}

#p-information .pagination .page-numbers {
  background: var(--main-color);
  padding: 10px 15px;
  color: #fff;
  min-width: 45px;
}

#p-information.post .main-content {
  text-align: left;
  padding: 60px 300px;
}
#p-information.post .main-content .ttl{
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
  margin: 40px 0;
}
@media only screen and (max-width:599px) {
  #p-information .post-list {
    padding: 40px 0;
  }

  #p-information .post-list .post-item {
    display: block;
    margin-bottom: 20px;
  }

  #p-information .post-list .post-item .post-img img {
    width: 100%;
  }

  #p-information .post-list .post-item .post-text {
    width: 100%;
  }

  #p-information .post-list .post-item .post-text .post-title {
    font-size: 1.6rem;
    ;
  }

  #p-information .post-list .post-item .post-text {
    font-size: 1.2rem;
    padding: 10px;
  }

  #p-information.post .main-content {
    padding: 40px 20px;
  }
}

/* job information */
#p-recruit .p-title,
#p-post .p-title {
  background: url("img/recruit/title_bg.jpg") no-repeat center;
}

#p-recruit .content-title {
  font-family: var(--font-family-en-mincho);
  font-size: clamp(1.125rem, 0.398rem + 3.64vw, 3.125rem);
  font-weight: 500;
  letter-spacing: 1rem;
  margin: 0;
  text-align: center;
  padding: 60px 0;
  background: var(--sub-color)
}

#p-recruit .sec-message {
  padding: 40px 0 60px;
}

#p-recruit .sec-message .container {
  display: flex;
  column-gap: 40px;
  justify-content: space-between;
  align-items: center;
  line-height: 2.5;
}

#p-recruit .sec-message .container img {
  max-width: 300px;
}

#p-recruit .sec-yoko .tab-area {
  margin: 55px 0;
  text-align: center;
  border-bottom: 2px solid var(--bg-highlight);
}

#p-recruit .sec-yoko .tab-area .tab-box {
  background: #fff;
  min-width: 280px;
  display: inline-block;
  border-radius: 20px 20px 0 0;
  border: 1px solid var(--bg-highlight);
  margin-bottom: -1px;
}

#p-recruit .sec-yoko .tab-area .tab-box label {
  cursor: pointer;
  padding: 10px 60px;
  display: block;
  font-size: clamp(0.875rem, 0.739rem + 0.68vw, 1.25rem);
  font-weight: 700;
}

#p-recruit .sec-yoko input[name="tab-item"] {
  display: none;
}

#p-recruit .sec-yoko .tab-content {
  display: none;
}

#p-recruit #yoko01:checked~.container #yoko01-content,
#p-recruit #yoko02:checked~.container #yoko02-content,
#p-recruit #yoko03:checked~.container #yoko03-content {
  display: block;
}

#p-recruit #yoko01:checked~.container .yoko01,
#p-recruit #yoko02:checked~.container .yoko02,
#p-recruit #yoko03:checked~.container .yoko03 {
  background: #dfdfdf;
}

#p-recruit .sec-yoko .yoko-table {
  width: 100%;
  margin-bottom: 80px;
}

#p-recruit .sec-yoko .yoko-table th {
  width: 25%;
  vertical-align: top;
  padding: 20px 60px;
  font-weight: 600;
  color: #968151;
  border-bottom: 1px solid #968151;
}

#p-recruit .sec-yoko .yoko-table td {
  padding: 20px 60px;
  border-bottom: 1px solid #968151;
}

#p-recruit .sec-flow .content-title {
  background: inherit;
  padding: 30px 0;
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

#p-recruit .sec-flow .content-title::before,
#p-recruit .sec-flow .content-title::after {
  content: "";
  border-top: 7px dotted var(--main-color);
  width: 30%;
}

#p-recruit .sec-flow ul {
  padding: 0 60px;
}

#p-recruit .sec-flow ul li {
  list-style: none;
  padding: 0 0 2em;
  position: relative;
}

#p-recruit .sec-flow ul li::before {
  content: "";
  display: block;
  width: 6px;
  height: 100%;
  position: absolute;
  top: 40px;
  left: 38px;
  background: var(--main-color);
  z-index: -1;
}

#p-recruit .sec-flow ul li:last-child::before {
  height: 5px;
}

#p-recruit .sec-flow ul li>dl {
  display: flex;
}

#p-recruit .sec-flow ul li>dl>dt {
  width: 88px;
  text-align: center;
}

#p-recruit .sec-flow ul li>dl>dd {
  margin-left: 30px;
  padding: 10px;
  width: 100%;
  background: #fff;
  border: var(--main-color) solid 3px;
  border-radius: 10px;
  position: relative;
}

#p-recruit .sec-flow ul li>dl>dd::before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 20px;
  right: 100%;
  border-right: 18px solid var(--main-color);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 18px solid transparent;
}

#p-recruit .sec-flow ul li>dl>dd::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  top: 24px;
  right: 100%;
  border-right: 13px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 13px solid transparent;
}

#p-recruit .sec-flow ul li>dl .flow-clearbox {
  margin-left: auto;
  padding: 10px;
  width: 100%;
}

#p-recruit .sec-flow ul li>dl .flow-clearbox .flow-title {
  border: none;
}

#p-recruit .sec-flow ul li>dl .flow-title {
  margin: 0 20px;
  padding: 5px 20px;
  font-size: clamp(1rem, 0.682rem + 1.59vw, 1.875rem);
  font-weight: 700;
  border-bottom: 3px solid var(--main-color);
}

#p-recruit .sec-flow ul li>dl .flow-text {
  padding: 10px 20px;
  margin: 0 20px;
  font-size: clamp(0.875rem, 0.648rem + 1.14vw, 1.5rem);
}

#p-recruit .sec-yoko .photo-area {
  display: grid;
  column-gap: 60px;
  row-gap: 1em;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 60px 0;
}

#p-recruit .sec-jinzai .container {
  padding: 100px 120px;
}

#p-recruit .sec-jinzai .jinzai-title {
  color: var(--main-color);
  font-size: clamp(1.125rem, 0.807rem + 1.59vw, 2rem);
  font-weight: 700;
  margin: 0 0 40px;
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
}

#p-recruit .sec-jinzai .jinzai-title span {
  flex: 1;
}

#p-recruit .sec-jinzai .jinzai-text {
  padding: 0 60px;
  margin-bottom: 80px;
}

#p-recruit .sec-faq .container {
  margin: 90px auto;
}

#p-recruit .sec-faq dl {
  margin: 0 0 50px;
}

#p-recruit .sec-faq dl dt {
  background: var(--main-color);
  color: #fff;
  font-size: clamp(1rem, 0.727rem + 1.36vw, 1.75rem);
  font-weight: 700;
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: center;
  padding: 40px 80px;
}

#p-recruit .sec-faq dl dd {
  background: var(--sub-color);
  font-size: clamp(0.875rem, 0.693rem + 0.91vw, 1.375rem);
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 25px 75px;
  margin: 0;
}

@media only screen and (max-width:599px) {
  #p-recruit .content-title {
    padding: 20px 0;
  }

  #p-recruit .sec-message .container {
    display: block;
    padding: 0 10px;
    line-height: 1.9;
  }

  #p-recruit .sec-message .container img {
    margin: 0 auto;
    display: block;
  }

  #p-recruit .sec-yoko .tab-area {
    margin: 20px 0;
  }

  #p-recruit .sec-yoko .tab-area .tab-box {
    min-width: inherit;
  }

  #p-recruit .sec-yoko .tab-area .tab-box label {
    padding: 5px 10px;
  }

  #p-recruit .sec-yoko .yoko-table th {
    border: none;
    display: block;
    width: 100%;
    padding: 5px 20px 0;
  }

  #p-recruit .sec-yoko .yoko-table td {
    padding: 5px 20px 10px;
    width: 100%;
    display: block;
  }

  #p-recruit .sec-flow .content-title::before,
  #p-recruit .sec-flow .content-title::after {
    width: 15%;
  }

  #p-recruit .sec-flow ul {
    padding: 0;
  }

  #p-recruit .sec-flow ul li::before {
    width: 3px;
    left: 34px;
  }

  #p-recruit .sec-flow ul li>dl>dd {
    margin-left: 20px;
  }

  #p-recruit .sec-flow ul li>dl .flow-title {
    line-height: 1.2;
    margin: 0 5px;
    padding: 0 10px 5px;
  }

  #p-recruit .sec-flow ul li>dl .flow-text {
    margin: 0 5px;
    padding: 0 10px;
  }

  #p-recruit .sec-flow ul li>dl>dt>img {
    width: 50px;
    height: auto;
    margin-top: 17px;
  }

  #p-recruit .sec-flow ul li:last-child::before {
    height: 10px;
  }

  #p-recruit .sec-yoko .photo-area {
    display: block;
  }

  #p-recruit .sec-yoko .photo-area img {
    margin-bottom: 20px;
  }

  #p-recruit .sec-jinzai .container {
    padding: 20px 10px;
  }

  #p-recruit .sec-jinzai .jinzai-title {
    line-height: 1.2;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  #p-recruit .sec-jinzai .jinzai-text {
    padding: 0 30px 0 60px;
    margin-bottom: 30px;
  }
  #p-recruit .sec-faq .container {
    margin: 40px auto;
  }
  #p-recruit .sec-faq dl{
    margin: 0 0 20px;
  }
  #p-recruit .sec-faq dl dt {
    align-items: flex-start;
    line-height: 1;
    padding: 20px;
    gap: 10px;
  }

  #p-recruit .sec-faq dl dt img {
    width: 20px;
  }

  #p-recruit .sec-faq dl dd {
    padding: 20px;
    gap: 10px;
  }

  #p-recruit .sec-faq dl dd img {
    width: 30px;
  }
}


/* contact */
#p-contact .p-title {
  background: url("img/contact/title_bg.jpg") no-repeat center;
}

#p-contact .main-content {
  padding: 60px 200px;
  text-align: center;
}

#p-contact .message {
  margin-bottom: 60px;
}

#p-contact table {
  width: 100%;
  margin: 0 auto 60px;
}

#p-contact table tr th {
  width: 30%;
  padding: 15px 40px;
  text-align: left;
}

#p-contact table tr th .required {
  color: #fff;
  background: #cc0000;
  padding: 2px 8px;
  font-size: 12px;
  margin-left: 10px;
  vertical-align: middle;
  border-radius: 5px;
  letter-spacing: 0.1em;
}

#p-contact table tr td {
  width: 60%;
  padding: 13px 20px;
  text-align: left;
}

#p-contact input[type="text"],
#p-contact input[type="email"],
#p-contact input[type="tel"],
#p-contact textarea {
  padding: 8px 10px;
  width: 100%;
  border: 1px solid #bebebe;
}

#p-contact .submit-btn {
  padding: 13px 60px;
  border: 2px solid #333333;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  display: block;
  margin: auto;
}

#p-contact .submit-btn:hover {
  opacity: 0.7;
}

@media only screen and (max-width:599px) {
  #p-contact .main-content {
    padding: 30px 20px;
  }

  #p-contact table tr th {
    display: block;
    width: 100%;
    padding: 0;
  }

  #p-contact table tr td {
    display: block;
    width: 100%;
    padding: 0 0 20px;
  }
}