/*--------- topページ ---------*/

/* mv */
.mv_box{
  position: relative;
}
.mv_pc{
  display: block;
}
.mv_sp999, .mv_sp{
  display: none;
}
@media screen and (max-width:999px) {
    .mv_pc{
      display: none;
    }
    .mv_sp999{
      display: block;
    }
}
@media screen and (max-width:768px) {
    .mv_sp999{
      display: none;
    }
    .mv_sp{
      display: block;
    }
}

/* business */
#business {
  width: 100%;
    padding: 300px 0 100px;
    margin-top: -200px;
    background-image: url(../images/business_bk.png);
    background-size: cover;
    background-repeat: no-repeat;
}
#business .sec_ttl{
  margin-bottom: 160px;
}
.business_box {
  width: 100%;
  margin: 50px auto 0;
  display: flex;
  background-color: #fff;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}
.business_box01{
  padding-right: 400px;
  margin-left: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  margin-bottom: 160px;
}
.business_box02{
padding-left: 400px;
  margin-right: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  margin-bottom: 200px;
}
.business_box img {
    width: 440px;
    height: 360px;
    object-fit: contain;
     position: absolute;
        top: calc(50% - 180px);
}
.business_box01 img{
        right: calc(50% - 50vw);
}
.business_box02 img{
       left: calc(50% - 50vw);
}
.business_box_ttl{
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-align: left;
   position: absolute;
      top: -2.5em;
}
.business_box01 .business_box_ttl{
 left: calc(50vw - 50%);
}
.business_box02 .business_box_ttl{
 /*left: calc(50% - 50vw);*/
 /*left: calc(50vw - 50%);*/
 left: unset;
}
.business_box_ttl span{
  font-size: 0.56em;
  color: #33598f;
  border-bottom: 2px solid #33598f;
  margin-bottom: 8px;
}
.business_text p {
    display: flex;
    font-weight: normal;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.business_text span {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.15em;
    padding: 0.5em 0;
}
.business_text .button_wrapping {
    width: 100%;
    text-align: center;
    margin: 50px 0 20px;
}
.business_text .button_wrapping a {
    width: 340px;
    height: 70px;
    line-height: 70px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    background: linear-gradient(45deg, #57CFE4, #4B6CBE, #57CFE4) 0 50% / 300% 100%;
    color: #fff;
    display: inline-block;
    transition: all .5s ease;
}
.business_text .button_wrapping a:hover {
    background-position: 100% 50%;
	color: #fff;
}
@media screen and (min-width:1441px) {
  .business_box01,
  .business_box02{
    margin-right: calc(50% - 50vw);
    padding-right: 0;
  }
  .business_box01 img {
    right: calc(40vw - 50vw);
  }
  .business_box02 img {
    left: calc(40vw - 50vw);
  }
}
@media screen and (max-width: 999px) {
  .business_box {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .business_box img {
    width: 360px;
    height: 300px;
    top: calc(50% - 150px);
  }
  .business_box01,
  .business_box02 {
    margin-left: 0;
  }
  .business_box01 {
    padding-right: 360px;
  }
  .business_box02 {
    padding-left: 360px;
  }
}

@media screen and (max-width: 768px) {
  #business {
    padding: 300px 0 40px;
    overflow: hidden;
  }
  #business .sec_ttl {
    margin-bottom: 120px;
    text-align: center;
  }
  .business_box img {
    position: unset;
  }
  .business_box01,
  .business_box02 {
    width: 100%;
    padding: 40px 20px 20px;
  }
  .business_box01 {
    margin-bottom: 100px;
    margin-left: 0;
  }
  .business_box02 {
    margin-bottom: 40px;
    margin-right: 0;
  }
  .business_box01 img,
  .business_box02 img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-top: 2em;
    right: 0;
    left: 0;
  }
  .business_box02 .business_box_ttl {
    left: calc(50vw - 50%);
  }
  .business_text {
    overflow: hidden;
  }
  .business_text span {
    font-size: 18px;
  }
  .business_text .button_wrapping {
    margin: 20px 0;
  }
  .business_text .button_wrapping a {
    max-width: 360px;
    width: 100%;
  }
}

/* advertising e-commerce共通 */
.jigyo {
  padding: 120px 0 140px;
}
.jigyo_ttl {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 0.2em;
}
.jigyo_ttl span{
  font-size: 2em;
  letter-spacing: 0.2em;
}
.jigyo_img_box{
  margin: 80px auto;
}
.jigyo_txt_box p{
  text-align: center;
  letter-spacing: 0.2em;
}
.jigyo_txt_box .bold{
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 30px;
}
.jigyo_txt_box p > span {
  margin-right: 20px;
  display: inline-block;
  padding: 0.5em;
  margin: 1em;
  border: 1px solid;
}
.jigyo_txt_box p > span:last-child {
  margin-right: 0;
}
.jigyo_txt_box .bold {
  font-size: 18px;
}
@media screen and (max-width:768px) {
  .jigyo {
    padding: 80px 0 80px;
  }
    .jigyo_ttl{
      font-size: 24px;
    }
    .jigyo_ttl span{
      font-size: 1.3em;
    }
    .jigyo_txt_box p {
      font-size: 14px;
    }
    .jigyo_txt_box p > span {
      padding: 0.25em;
      margin: 0.5em;
    }
}
/* advertising */
#advertising{
  background-image: url(../images/advertising_bk.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}
#advertising {
color: #fff;
}

/* e-commerce */
#e-commerce{
  background-image: url(../images/e-commerce_bk.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}
#e-commerce .jigyo_ttl span{
  color: #33598f;
}

/* 私たちの強み */
#strength {
    background-image: url(../images/strength_bk.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 120px 0 140px;
}
#strength .sec_ttl{
  margin-bottom: 60px;
}
.strength_list{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3.4%;
}
.strength_list_item img{
  width: 140px;
  margin-inline:auto;
  margin-bottom: 20px;
}
.strength_list_item p{
  font-weight: 500;
  letter-spacing: 0.2em;
}
@media screen and (max-width:768px) {
  #strength {
    padding: 80px 0 200px;
  }
  #strength .sec_ttl {
    text-align: center;
  }
  .strength_list {
    grid-template-columns: repeat(1, 1fr);
  }
  .strength_list_item p {
    font-size: 14px;
    text-align: center;
  }
}


/*company_logo*/
.company_logo{
  margin: 130px auto;
  width: 360px;
}

/*会社概要*/
#company {
    padding: 160px 0;
    scroll-margin-top: 120px;
}
#company .inner{
  max-width: 680px;
      margin-inline:auto;
}
#company .sec_ttl{
  text-align: center;
  margin-bottom: 3em;
}
.company_table{
  width: 100%;
  border-collapse: collapse;
}
.company_table th, .company_table td{
  border-top: 1px solid #c8c8c8;
  border-bottom: 1px solid #c8c8c8;
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: left;
  letter-spacing: 0.2em;
}
.company_table th{
  font-weight: bold;
  padding-left: 50px;
  padding-right: 50px;
}
.company_table td{
  font-weight: 500;
  padding-right: 50px;
}

@media screen and (max-width:768px) {
  #company {
      padding: 80px 0;
  }
  .company_table{
    font-size: 14px;
  }
  .company_table th {
    padding-left: 5px;
    padding-right: 10px;
    width: 30%;
  }
  .company_table td {
    padding-right: 0;
  }
}

/* 下層ページ共通 */
.page_mv {
  background-image: url('../images/privacy_mv_bg.jpg'); /* 下層ページ用の背景画像 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 400px; /* PCでの高さ */
  position: relative;
}

.page_mv .page_ttl_wrap {
  width: 100%;
  position: absolute;
  top: 250px;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page_mv .page_ttl_wrap .page_subttl {
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  font-size: 4em;
  letter-spacing: 0.2em;
  color: #33598f;
}

.page_mv .page_ttl_wrap .page_ttl {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #33598f;
}
@media screen and (max-width: 768px) {
  #mv.page_mv {
    height: 300px;
  }
  .page_mv .page_ttl_wrap {
    top: 180px;
  }
  .page_mv .page_ttl_wrap .page_subttl {
    font-size: 2rem;
  }
}

/* プライバシーポリシー */
#privacy {
  padding: 80px 0;
}

#privacy .inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.privacy_box {
  margin-bottom: 40px;
}

.privacy_box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 2px solid #33598f;
  color: #33598f;
  padding-bottom: 4px;
  text-align: left;
}

.privacy_box p {
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a1a;
}

@media screen and (max-width: 768px) {
  .page_ttl_wrap .page_subttl {
    font-size: 1rem;
  }

  .page_ttl_wrap .page_ttl {
    font-size: 2rem;
  }

  #privacy {
    padding: 40px 0;
  }

  .privacy_box {
    margin-bottom: 30px;
  }

  .privacy_box h3 {
    font-size: 1rem;
  }
}

#contact.page-mv {
  background-image: url('../images/contact_mv_bg.jpg');
}

#contact-form {
  padding: 80px 0;
}

.form-container {
  max-width: 700px !important;
  width: 80% !important;
  background-color: #F5F5F5;
  border-radius: 10px;
  padding: 40px;
}

.form-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
}

.form-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-direction: column;
    display: block;
}

.form-item dt {
    width: 200px;
    font-weight: bold;
    color: #333;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.required-tag {
    background-color: #33598f;
    color: #fff;
    font-size: 0.8em;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
}

.form-item dd {
    flex-grow: 1;
}

.form-item input[type="text"],
.form-item input[type="tel"],
.form-item input[type="email"],
.form-item select,
.form-item textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-item textarea {
    resize: vertical;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
}

.privacy-consent {
    text-align: center;
    margin-top: 40px;
}

.privacy-consent p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
}

.checkbox-container {
    margin-top: 15px;
}

.checkbox-container label {
    font-size: 0.9em;
    color: #555;
    cursor: pointer;
}

.submit-button {
    text-align: center;
    margin-top: 30px;
}

.submit-button button {
    background-color: #33598f;
    color: #fff;
    padding: 15px 50px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button button:hover {
    background-color: #2b4a7a;
}

@media (max-width: 768px) {
    #contact-form {
      padding: 60px 0;
    }
    .form-container {
      width: 90% !important;
      padding: 2em 1.5em 3em;
    }
    .form-item {
        display: block;
    }
    .form-item dt,
    .form-item dd {
        width: 100%;
    }
    .form-item dd {
        margin-top: 5px;
    }
}

.complete-box {
  margin: 80px 0;
}

.complete-ttl {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #33598f;
}

.complete-text {
  text-align: center;
  margin: 2em;
}
.home-btn {
  margin: 0 auto;
  width: 200px;
  background-color: #33598f;
  color: #fff;
  padding: 15px 40px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.home-btn a {
  color: #fff;
}
@media (max-width: 768px) {
  .complete-text {
    font-size: 14px;
  }
}

/*--------- 全ページ共通アニメーション ---------*/
.slide-bottom {
     opacity: 0;
     transform: translateY(20px);
     transition: all 1.3s 0s ease-out;
 }

.slide-left {
    	opacity: 0;
    	transform: translate(-20px, 0);
    	transition: all 1s ease-out;
 }

.slide-right {
    	opacity: 0;
    	transform: translate(20px, 0);
    	transition: all 1s ease-out;
 }
