.philosophy-img{
    flex: 1;
    margin-left: calc(50% - 50vw);
    width: 50%;
    max-width: 1005px;
}
.philosophy_txt{
    margin-top: 60px;
    max-width: 815px;
    width: 50%;
    margin-left: -2%;
}
.philosophy_txt .inclination_box h3{
    font-size: clamp(28px, 2.8vw, 50px);
}
.philosophy_detail{
    margin-left: 13.4%;
}
.philosophy_detail ol{
    margin-left: 2.5em;
    margin-bottom: 40px;
}
.philosophy_detail ol li{
    list-style: decimal;
    list-style-type: decimal;
    font-size: clamp(20px, 1.5vw, 28px);
    font-style: italic;
}
.philosophy_detail ol li::marker{
    font-family: 'roboto';
    font-size: 36px;
    color: var(--site-primary);
}
.philosophy_detail ol li em{
    font-style: italic;
}

@media only screen and (max-width: 1024px) {
    .philosophy-img{
        max-width: 57%;
    }
    .philosophy_txt{
        max-width: 58%;
        margin-left: -8%;
    }
    .philosophy_detail{
        margin-left: 15.4%;
    }
    .philosophy_txt .inclination_box h3{
        font-size: 25px;
    }
    .philosophy_detail ol{
        margin-left: 40px;
    }
    .philosophy_detail ol li{
        font-size: 20px;
    }
  }
@media only screen and (max-width: 960px) {
    .philosophy_txt{
        margin-top:20px;
    }
    .philosophy_txt .inclination_box{
        margin-left: -10%;
    }
    .philosophy_detail ol{
        margin-bottom: 20px;
    }

  }
@media only screen and (max-width: 568px) {
    .philosophy-img{
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        display: contents;
    }
    .philosophy_txt{
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-top: -30px;
    }
    .philosophy_txt .inclination_box{
        line-height: 2.2;
        margin-left: 0;
    }
    .philosophy_detail{
        margin-left: 0;
    }
    .philosophy_detail ol{
        margin-left: 29px;
        letter-spacing:0;
    }
    .philosophy_detail ol li{
        line-height: 1.3;
        margin-bottom: 10px;
    }
    .philosophy_detail ol li::marker{
        font-size: 25px;
    }

    
  }

/*-----役員紹介-----*/
.executives h3 .txt_primarycolor{
    margin-left: .5em;
}
.executives_contents{
    margin-top: 80px;
    width: 100%;
}
.executives_contents li{
    max-width: 480px;
    width: 31.2%;
    position: relative;
}
.executives_contents li::before{
    width: auto;
    height: 40px;
    background: var(--site-primary);
    content: '代表取締役社長';
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0 22px 0 15px;
    line-height: .8;
}
.executives_contents li:nth-child(2)::before{
    content: '代表取締役';
}
.executives_contents li:nth-child(3)::before{
    content: '取締役';
}

.executives_contents h4{
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin: 40px 0 30px;
    position: relative;
}
.executives_contents h4 span{
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 100%;
    font-style: italic;
    opacity: .1;
    font-size:42px ;
}
.executives_contents p{
    font-size: 18px;
}

@media only screen and (max-width: 1024px) {
    .executives_contents li{
        max-width: 31.2%;
        position: relative; 
    }
    .executives_contents{
        margin-top: 40px;
    }

}
@media only screen and (max-width: 960px) {
    .executives_contents li::before{
        font-size: 12px;
        width:auto;
        height: 25px;
    }
    .executives_contents h4{
        font-size: 22px;
        margin: 20px 0 15px;
    }
    .executives_contents h4{
        font-size: 24px;
    }
    .executives_contents h4 span{
        font-size: 24px;
    }
    .executives_contents p{
        font-size: 16px;
    }

}
@media only screen and (max-width: 568px) {
    .executives h3 .txt_primarycolor{
        margin-left: 0;
    }
    .executives .ttl_page_section{
        margin-left: -4px;
    }
    .executives .ttl_page_section span{
        margin-left: 2px;
    }
    .executives .inclination_box .sp_deg:first-child{
        margin-left: -15px;
    }
    .executives .inclination_box .txt_primarycolor .sp_deg:first-child{
        margin-left: -6px;
    }

    .executives .inclination_box .sp_deg{
        margin-left: 3px;
    }
    .executives_contents li{
        max-width: 100%;
        width: 100%;
        margin-bottom: 30px;
    }
    .executives_contents li:last-child{
        margin-bottom: 0;
    }
    .executives_contents li::before{
        font-size: 16px;
        width:auto;
        height: 35px;
    }
    .executives_contents h4 span{
        font-size: 30px;
    }
}


/*-----会社概要------*/
.overview table{
    max-width: 725px;
    width: 48%;
}
.overview table tr{
    border-bottom: 1px solid #d9d9d9;
    display: block;
    width: 100%;
    padding: 25px 0 30px;
}
.overview table tr:first-child{
    padding-top: 0;
}

.overview table th{
    font-size: 22px;
    font-weight: bold;
    display: block;
    width: 100%;
}
.overview table td{
    display: block;
    padding-top: 15px;
    font-size: 18px;
    line-height: 1.85;
}
.overview table td a.form{
    color: var(--site-primary);
    text-decoration: underline;
}

.overview table td sub{
    text-indent: -1em;
    padding-left: 1em;
    display: block;
}

.links li{
    display:block;
    position: relative;
}
.links a::after{
    content: '';
    background: url(../img/company/icon-link-primary.svg) no-repeat center top;
    width:15px;
    height: 15px;
    display: inline-block;
    margin-left: 10px;
}
.image_list {
  gap: 0 15px;
  margin-top: 20px;
}

@media only screen and (max-width: 1024px) {
.overview table{
    max-width: 46%;
    }
}
@media only screen and (max-width: 960px) {

}
@media only screen and (max-width: 568px) {
    .overview table{
        max-width: 100%;
        width: 100%;
        }
    .overview table th{
        font-size: 21px;
    }
    .overview table td{
        padding-top: 0;
        font-size: 16px;
    }
    .overview table tr{
        padding: 15px 0 20px;
    }
    .overview table:nth-child(2){
        margin-top:15px ;
    }
    .image_list {
      gap: 0 11px;
      margin: 12px 0 5px;
    }
}

/*---------メディア掲載実績------------*/
.media .large_list {
  gap: 0 2.3%;
}
.media .large_list li {
  width: 31.8%;
  border: 10px solid var(--site-primary);
  /*padding: 2.6% 2.6% 1.8%;*/
  padding: 0% 0% 1.8%;
}
.media .large_list video {
  max-width: 100%;
  aspect-ratio: 1 / 0.577;
  vertical-align: top;
}
.media .large_list .ttl {
  font-size: 25px;
  font-style: italic;
  font-weight: bold;
  line-height: 1.5;
  margin: 23px -5% 0;
}
.media .large_list .ttl a {
  color: var(--site-primary);
}
.media .large_list .ttl a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.media .card_list {
  gap: 45px 0;
  margin-top: 45px;
}
.media .card_list li {
  width: 22.7%;
  display: flex;
  flex-direction: column;
}
.media .card_list .ttl {
  font-size: 25px;
  font-weight: bold;
  font-style: italic;
  line-height: 1.5;
  color: #fff;
  background: var(--site-primary);
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0 25px;
}
.media .card_list .ttl a {
  color: #fff;
}
.media .card_list .ttl a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
@media only screen and (max-width: 1024px) {
  .media .large_list .ttl {
    font-size: 20px;
    margin: 8px -10% 0;
  }
  .media .card_list {
    gap: 32px 0;
  }
  .media .card_list .ttl {
    font-size: 20px;
    padding: 15px 0 20px;
  }
}
@media only screen and (max-width: 960px) {
  .media .card_list .ttl {
    font-size: 16px;
  }
}
@media only screen and (max-width: 568px) {
  .media .large_list {
    flex-direction: column;
    gap: 15px 0;
  }
  .media .large_list li {
    width: 100%;
    border-width: 5px;
    padding: 25px 35px 20px;
  }
  .media .large_list .ttl {
    font-size: 21px;
    margin: 14px -10% 0;
  }
  .media .card_list {
    gap: 15px 0;
    margin-top: 30px;
  }
  .media .card_list li {
    width: 47.8%;
  }
  .media .card_list .ttl {
    font-size: 12px;
    padding: 6px 0 7px;
  }
  .media .card_list .ttl a:hover {
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
  }
}
/*---------ボランティア・寄付活動------------*/
.volunteer .content_box {
  border: 10px solid var(--site-primary);
  padding: 50px 50px;
  margin-top: 10px;
}
.volunteer .content_box .txt {
  width: 62%;
}
.volunteer .content_box .txt .ttl {
  font-size: clamp(20px, 2.0vw, 30px);
  font-weight: bold;
  font-style: italic;
  margin: -10px 0 25px;
}
.volunteer .content_box .photo {
  width: 35.2%;
}
.volunteer .content_box .bnr {
  margin-top: 32px;
  gap: 0 20px;
}
.volunteer .content_box .bnr .wvj {
  width: 26.7%;
}
.volunteer .content_box .bnr .chisou {
  width: 28.6%;
}
.volunteer .sub_content_box {
  background: #f5f5f5;
  padding: 35px 40px 40px;
  margin-top: 40px;
}
.volunteer .sub_content_box .ttl {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 16px;
  padding-left: 22px;
  position: relative;
}
.volunteer .sub_content_box .ttl::before {
  content: "";
  background: var(--site-primary);
  width: 10px;
  height: 10px;
  position: absolute;
  left: 0;
  top: 15px;
}
.volunteer .sub_content_box ul {
  margin-top: 25px;
  gap: 0 20px;
}
.volunteer_list {
  gap: 40px 4%;
  margin-top: 60px;
}
.volunteer_list li {
  background: #fff;
  width: 48%;
  display: flex;
  flex-direction: column;
}
.volunteer_list li .images {
  justify-content: center;
  padding: 5.4% 0;
  gap: 0 4%;
}
.volunteer_list li:first-child .images {
  padding: 4% 0;
}
.volunteer_list li:nth-child(2) .images {
  padding: 6.8% 0;
}
.volunteer_list li .images img {
  width: 31.1%;
}
.volunteer_list li .txt {
  font-size: clamp(20px, 1.8vw, 25px);
  font-style: italic;
  line-height: 1.5;
  padding: 24px 0 24px;
  background: var(--site-primary);
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.volunteer_list li:nth-child(even) .txt {
  background: #333;
}
@media only screen and (max-width: 1024px) {
  .volunteer .content_box .txt .ttl {
    margin: -8px 0 10px;
  }
  .volunteer .content_box .bnr {
    margin-top: 20px;
  }
  .volunteer .sub_content_box {
    padding: 25px 35px 35px;
  }
}
@media only screen and (max-width: 960px) {
  .volunteer .content_box {
    padding: 25px 30px;
  }
  .volunteer .sub_content_box .ttl {
    font-size: 18px;
  }
  .volunteer .sub_content_box .ttl::before {
    top: 11px;
  }
  .volunteer .sub_content_box {
    padding: 20px 25px 28px;
  }
  .volunteer_list {
    margin-top: 40px;
    gap: 30px 4%;
  }
  .volunteer_list li .images img {
    width: 40%;
  }
  .volunteer_list li .txt {
    font-size: 16px;
    padding: 15px 15px 15px;
  }
}
@media only screen and (max-width: 568px) {
  .volunteer .content_box {
    border-width: 5px;
    padding: 25px 20px;
    margin-top: 5px;
  }
  .volunteer .content_box > .row {
    flex-direction: column-reverse;
    align-items: center;
  }
  .volunteer .content_box .txt {
    width: 100%;
  }
  .volunteer .content_box .txt .ttl {
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    margin: 12px 0 12px;
  }
  .volunteer .content_box .photo {
    width: 88%;
  }
  .volunteer .content_box .bnr {
    flex-direction: column;
    align-items: center;
    gap: 15px 0;
  }
  .volunteer .content_box .bnr li {
    width: 73% !important;
  }
  .volunteer .sub_content_box {
    padding: 15px 20px 20px;
    margin-top: 30px;
  }
  .volunteer .sub_content_box .ttl {
    font-size: 19px;
    line-height: 1.5;
    margin-bottom: 8px;
  }
  .volunteer .sub_content_box ul {
    flex-direction: column;
    align-items: center;
    gap: 15px 0;
    margin-top: 20px;
  }
  .volunteer .sub_content_box ul li {
    width: 88%;
  }
  .volunteer_list {
    margin-top: 30px;
    gap: 20px 0;
  }
  .volunteer_list li {
    width: 100%;
  }
  .volunteer_list li .images {
    gap: 0 4.5%;
    padding: 20px 0 !important;
  }
  .volunteer_list li .images img {
    width: 41.8%;
  }
  .volunteer_list li .txt {
    font-size: 18px;
    padding: 15px 0 17px;
  }
}

/*---------沿革------------*/
.history_content{
    background: #1b1b1b;
    padding:40px 100px 60px;
    position: relative;
}
.history_content::after{
    position: absolute;
    bottom: 80px;
    right: 100px;
    background: url(../img/company/bg_logo.svg)no-repeat center top;
    width: 515px;
    height: 672px;
    opacity: .03;
    content: '';
}

.history_line{
    position: relative;
  }
  .time_line {
      width: 1px;
      height: 95%;
      position: absolute;
      top: 0;
      left: 14%;
    z-index: 10;
    transform: translateX(-50%);
    padding-top: 15px;
  }
  .time_line span {
      display: block;
      width: 100%;
      height: 98%;
      margin-top: 32px;
      background: #515151;
  }
  .time_ball{
    position: absolute;
    background: #fff;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 3px solid var(--site-primary);
    box-sizing: border-box;
    top: 50%;
    transform: translate(-50%,-50%);
    left: 14%;
    z-index: 12;
  }
  .history_line dl{
    padding: 22px 0;
  }
  .history_line dl:first-child{
    padding: 0 0 30px;
  }
  .history_line dl dt{
    width: 100%;
    position: absolute;
    font-style:italic;
  }
  .history_line dl:last-child dt em{
    margin-left: 1em;
  }
  .history_line dl dt em{
    font-size: 30px;
    color: var(--site-primary);
    font-style:italic;
  }
  .history_line dl dd{
    width: 60%;
    margin-left: 21.5%;
    padding-top: 10px;
    
  }
  .history_line dl dd:first-child{
    padding-top: 0;
  }

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

  }
@media only screen and (max-width: 960px) {
    .history_content{
        padding:10px 20px 20px;
    }
    .history_content::after{
        width: 315px;
        height: 412px;
        bottom: 40px;
    }
    .time_line{
        left: 20%;
    }
    .time_ball{
        left: 20%;
    }
    .history_line dl dd{
        margin-left: 26.5%;
        padding-top: 12px;
        width: 70%;
    }
  }
@media only screen and (max-width: 568px) {
    .history_content::after{
        width: 257px;
        height: 336px;
        bottom: 25px;
        right: 20px;
    }
    .time_ball{
        left: 8px;
    }
    .time_line{
        left: 8px;
    }
    .time_line span{
        margin-top: 22px;
    }
    .history_line dl dt em{
        margin-left: 25px;
        font-size: 25px;
    }
    .history_line dl:last-child dt em {
        margin-left:25px;
    }
    .history_line dl dd{
        margin-left: 25px;
        padding-top: 42px;
        width: 100%;
    }
    .history_line dl{
        padding: 10px 0;
      }

  }
  

