

/* fv */

#top-fv{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  position: relative;
}

.fv-content-wrap{
  display: block;
  margin: auto;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%,0);
}

.fv-content{
  width: 100%;
  display: block;
  position: relative;
  padding: 70px 180px 30px 70px;
}

.fv-car{
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 250px;
  background: url("../img/car.png") no-repeat;
  aspect-ratio: 1/1;
  background-size: cover;
  z-index: 2;
}

.fv-content-text{
  z-index: 1;
  position: relative;  
}

.fv-content-text span{
  color: rgba(0,0,0,0);
  display: block;
  background: url("../img/top-slide/top-anime.png") center no-repeat;
  background-size: cover;
  aspect-ratio:115/50;
  width: 860px;
  text-indent: -99999px;
}

.fv-shachou{
  position: absolute;
  bottom: 0;
  right: 0;
  display: block;
  z-index: 2;
}


.fv-shachou span{
  width: 240px;
  display: block;
  background: url("../img/shachou/shachou-01.png") no-repeat;
  aspect-ratio: 345/455;
  background-size: cover;
  transform: rotate(20deg);
  animation: shachou-anime 1.5s infinite;
}

@keyframes shachou-anime{
	
	0%{
		background: url("../img/shachou/shachou-01.png") no-repeat center;
		background-size: cover;
    transform: rotate(20deg);
	}
	
	50%{
		background: url("../img/shachou/shachou-02.png") no-repeat center;
		background-size: cover;
    transform: rotate(18deg);
	}
	
	100%{
		background: url("../img/shachou/shachou-01.png") no-repeat center;
		background-size: cover;
    transform: rotate(20deg);
	}
}


@media(max-width: 1560px){
  
  .fv-content {
    width: 100%;
    display: block;
    position: relative;
    padding: 50px 100px 40px 20px;
  }
    
  .fv-content-text span {
    width: 760px;
  }
  
  .fv-car {
    width: 180px;
  }
  
  .fv-shachou span {
    width: 180px;
  }
}




/* fv features */


.fv-features {
  width: 100%;
  padding: 0 10px;
  position: absolute;
  bottom: 0;
}

.fv-features ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: auto;
  padding: 0;
  list-style: none;
  max-width: 1230px;
  position: relative;
}

.fv-features ul::after {
  position: absolute;
  content: '';
  display: block;
  background: #001d88;
  width: 100vw;
  left:50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 120px;
  z-index: 1;
}

.fv-features li {
  z-index: 2;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 140px;
  padding: 12px 18px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px #1f243f;
  bottom: 40px;
}

.fv-features .icon {
  flex: 0 0 82px;
}

.fv-features .icon img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  display: block;
}

.fv-features .content {
  flex: 1;
}

.fv-features dl,
.fv-features dt,
.fv-features dd {
  margin: 0;
  text-align: center;
}

.fv-features dt {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.15;
  color: #2448a8;
  white-space: nowrap;
}

.fv-features dd {
  margin-top: 6px;
  font-weight: 700;
  line-height: 1.45;
}

.fv-features dd span {
  display: block;
  font-size: 13px;
  color: #111;
}

.fv-features dd p {
  margin: 0;
  font-size: 1.1rem;
  color: #e60012;
  letter-spacing: -0.01rem;
}

/* 個別カラー */
.fv-features li:nth-child(2) dt {
  color: #f06400;
}

.fv-features li:nth-child(3) dt {
  color: #27a927;
}

.fv-features li:nth-child(4) dt {
  color: #f6a800;
}

/* タブレット */
@media screen and (max-width: 1560px) {
  
  
  .fv-features ul {
    max-width: 1140px;
    gap:10px;
  }
  
  .fv-features li {
    min-height: 120px;
    padding: 10px;
  }
  
  .fv-features ul::after {
    height: 100px;
  }
  
  
  .fv-features dt {
    font-size: 2rem;
  }
  
}


@media screen and (max-width: 1200px) {
  
  .slider-wrap{
    height: 480px;
  }
  
  .fv-features {
     position: relative;
}
  
  .fv-features ul {
    width: 820px;
  }

  .fv-features li {
    flex-direction: column;
    bottom: 40px;
  }
  
}




@media screen and (max-width: 1024px) {
  
  
  #top-fv {
    height: calc(100vh - 100px);
    margin-top:100px;
  }
  
  .slider-wrap {
    height: 100%;
  }
  
  .fv-content-wrap {
    top: calc(50vh - 320px);
    transform: translate(-50%, 0);
  }
  
  .fv-car {
    width: 18vw;
  }
  
  .fv-content-text span {
    width: 75vw;
  }
  
  .fv-shachou {
    bottom: 0;
  }
  
  .fv-shachou span {
    width: 17vw;
  }
  
  .fv-features {
    position: absolute;
    bottom: 0;
  }
  
  .fv-features .icon img {
    width:90px;
    aspect-ratio: 1 / 1;
  }
  
  .fv-features {
    padding: 0;
  }
  
  .fv-features ul {
    width: 100%;
    padding: 20px;
  }
  
  .fv-features li {
    bottom: 0;
  }
  
  .fv-features dt {
    font-size: 1.5rem;
  }
  
  .fv-features dd p {
    font-size: 0.9rem;
  }
  
  .fv-features dd span {
    font-size: 0.7rem;
  }
  
    
}


@media(min-width: 801px){
  
  #sp-top-fv{
    display: none;
  }
}

@media(max-width: 800px){
  
  #top-fv {
    height: calc(58vw + 40px);
    margin-top: 70px;
    overflow: hidden;
  }

  
  #top-fv .fv-content-wrap,
  #top-fv .pc-features{
    display: none;
  }
  
  .sp-fv{
    display: block;
    width: calc(100vw - 10px);
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 0 5vw 8vw;
    transform: translate(-50%, -50%);
  }
  
  
  .sp-fv span{
    display: block;
    background: url("../img/top-slide/top-anime-sp.png") no-repeat;
    background-size: cover;
    width: 100%;
    aspect-ratio:80/45;
  }
  
  
  
  .fv-features ul {
    background: #001d88;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  
  .fv-features ul::after {
    display: none;
  }
  
  .fv-features li {
    max-width: 100%;
    width: 100%;
    flex-direction: row;
  }
  
  
  .sp-features{
    position: relative;
  }  
  
  #sp-top-fv{
    position: relative;
  }
  
  .grey-curve{
    position: absolute;
    top: -20px;
    width: 100%;
    display: block;
  }
  
  .grey-curve span{
    display: block;
    background: url("../img/grey-curve.png") center no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 20px;
  }
  
  #sp-top-fv .fv-features ul {
    background: #f2f2f2;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    align-items: center;
    padding: 40px 20px;
  }
  
  .curve-down{
    position: absolute;
    bottom: -18px;
    transform: scaleY(-1);
  }
  
  .fv-features ul {
    
  }
}
  
  
  

/* スマホ */
@media screen and (max-width: 600px) {
  
  .sp-fv {
    padding: 0 0 8vw;
  }
  
    
  .fv-features li {
    min-height: auto;
    padding: 10px;
  }

  .fv-features dt {
    font-size: 26px;
  }
  
  .fv-features li {
    width: 100%;
    flex-direction: column;
  }
  
  #sp-top-fv .fv-features ul {
    padding: 20px 20px;
  }
  
  
}

/* fv features ///*/


/* fv ///*/


/*　社長挨拶　*/

.owner-message {
    background: #001d88;
    padding: 40px 20px 80px;
    overflow: hidden;
}

.owner-message__inner {
    max-width: 1230px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

/* 左側 */
.owner-profile {
    width: 260px;
    flex-shrink: 0;
    text-align: center;
    color: #fff;
}

.owner-profile img {
    width: 220px;
    display: block;
    margin: 0 auto 20px;
}

.owner-profile .sub {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.owner-profile p {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.2;
}

.owner-profile h3 small {
    font-size: 1.25rem;
    margin-right: 10px;
}

/* 右側カード */
.owner-content {
  flex: 1;
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 45px 35px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}


/* 本文 */
.owner-content p {
  color: #222;
}

.owner-content p span{
  color:#f06400;
  font-weight: 600;
}

/* ボタン */
.owner-btns {
  display: flex;
  gap: 30px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
}


/* ペイント道具 */
.paint-tool {
    position: absolute;

    right: -45px;
    bottom: -30px;

    width: 180px;
}

/* レスポンシブ */


@media(max-width: 1560px){
  .owner-profile .sub {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 3px;
  }
  
  .paint-tool {
    position: absolute;
    right: -10px;
  }
}


@media (max-width: 1200px) {
  
  .owner-message__inner {
    max-width: 100%;
    gap: 0;
  }
  
  
  .owner-content {
    gap: 20px;
    padding: 20px 20px 30px;
  }
  
  .owner-profile img {
    width: 180px;
  }
  
  
  
}



@media (max-width: 1024px) {

  .owner-message__inner {
      flex-direction: column;
      gap: 30px;
  }

  .owner-profile {
      width: 100%;
  }

  .owner-btns {
      gap: 10px;
  }

  .paint-tool {
      width: 120px;
      right: -20px;
      bottom: -20px;
  }

  .owner-btns {
    gap: 20px;
    justify-content: center;
  }
  
  
}




@media(max-width: 600px){
  
  .owner-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
}







/*　社長挨拶　///*/



/*　私たちができること　*/

.service-section {
  position: relative;
  padding: 70px 30px;
  background: #fff;
  overflow: hidden;
}

.service-inner {
  position: relative;
  margin: 0 auto;
}

/* タイトル */
.section-title {
  text-align: center;
  margin: 0 0 35px;
  font-size: 0;
}

.section-title span {
  position: relative;
  display: inline-block;
  color: #001d88;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.3;
  z-index: 1;
}

.section-title span::before {
  content: "";
  position: absolute;
  left: -48px;
  top: -28px;
  width: 48px;
  height: 48px;
  background: url("../img/icon/paint-tool.png") no-repeat center / contain;
  transform: rotate(-45deg);
}

.section-title span::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -12px;
  bottom: 2px;
  height: 14px;
  background: #f7c400;
  border-radius: 20px;
  z-index: -1;
}

/* 一覧 */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 20px;
}

.service-card {
  position: relative;
  display: block;
  padding: 18px 20px 24px;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
  transition: 0.3s;
}

.service-card:hover {
  position: relative;
  top: -5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.service-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.service-head img {
  width: 64px;
  aspect-ratio:1/1;
  object-fit: contain;
  flex-shrink: 0;
}

.service-head h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.service-card.blue h3 {
  color: #0068b7;
}

.service-card.orange h3 {
  color: #f06400;
}

.service-card.green h3 {
  color: #34a52b;
}

.service-img {
  width: 100%;
  height: 142px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  margin-bottom: 14px;
}

.service-card p {
  margin: 0;
  text-align: center;
  font-weight: 700;
}

.service-card p:last-child {
  letter-spacing: -0.03rem;
}


/* カードとボタンを前面へ */
.service-list,
.section-title {
  position: relative;
  z-index: 1;
}

/* タブレット */
@media screen and (max-width: 1250px) {
  
  .service-section {
    padding: 60px 20px;
  }
  
  .service-head {
    gap: 5px;
    margin-bottom: 10px;
  }
  
  .service-head img {
    width: 40px;
  }
  
  .service-head h3 {
    font-size: 1.5rem;
  }

}
  
@media screen and (max-width: 1024px) {
  .service-list {
    grid-template-columns: repeat(2, 1fr);
    gap:10px;
  }

  .service-paint {
    width: 280px;
    right: -80px;
  }
  
  .service-head h3 {
    font-size: 1.25rem;
  }
  
  .service-head img {
    width: 30px;
  }
  
  .service-card {
    padding: 18px 15px 24px;
  }
  
}

/* スマホ */
@media screen and (max-width: 600px) {
  .service-section {
    padding: 50px 15px 70px;
  }

  .section-title span {
    font-size: 28px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-head h3 {
    font-size: 24px;
  }

  .service-img {
    height: 170px;
  }

  .service-paint {
    width: 220px;
    right: -90px;
    bottom: -50px;
  }
  

  .service-card p:last-child {
    letter-spacing: 0rem;
  }
}


/*　私たちができること　///*/



/* 施工事例　*/

#works{
  background: #001d88;
  color: #fff;
}

#works h2{
  color: #fff;
}

.works{
  display: flex;
  flex-direction: row;
  gap:20px;
}

.works .main-area-title {
  margin-bottom: 30px;
}

.works-text{
  display: block;
  width: 33vw;
  min-width: 350px;
}

@media(max-width: 1560px){
  
  .works {
    max-width: 820px;
    justify-content: center;
  }
  
  
  .works-text {
    min-width: 350px;
    padding-right: 30px;
  }
  
  .slick-list{
    width: 100%;
  }
  
  .service-head h3 {
    font-size: min(1.65rem, 2vw);
  }
}

@media(max-width: 1250px){
  
  .works {
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }
  
  .works-text {
    padding-right: 0;
    width: 100%;
    max-width: 600px;
  }
  
  .works-text .left-box p span{
    display: block;
    text-align: center;
  }
  
}


@media(max-width: 1024px){
  .service-head h3 {
    font-size: max(1.2rem, 3vw);
  }
}

@media (max-width: 600px) {
    .service-head h3 {
        font-size: 1.3rem;
    }
}

/* 施工事例　///*/


/* こんなお悩みはありませんか　*/

#trouble{
  margin-top: 80px;
  background: #eaeaea;
  border-radius: 300px 0 300px 0;
  padding: 80px 30px;
}

.trouble h2 span{
  position: relative;
  color: #000;
}

.trouble h2 span::after{
  position: absolute;
  content: '';
  display: block;
  left: 0;
  top:50%;
  transform: translateY(-50%);
  width: 120%;
  aspect-ratio: 1/1;
  background: url("../img/yellow.png") center no-repeat;
  background-size: cover;
  z-index: -1;
}

.trouble-list{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
}

.blue-box{
  background: #001d88;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.blue-box::before{
  position: absolute;
  background: url(../img/yellow.png) no-repeat center;
  background-size: cover;
  content: '';
  display: block;
  width: 100px;
  aspect-ratio: 1/1;
  left: 0;
  top: 0;
}

.yellow-painting{
  width: 360px;
  height: 85%;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 20px;
}


.yellow-painting span{
  background: url(../img/yellow.png) no-repeat center;
  background-size: cover;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  transform: scale(-1, 1) rotate(-95deg);
  position: relative;
  left: 50px;
}


.blue-box-inside{
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: fit-content;
  justify-content: center;
  align-items: flex-start;
  color: #fff;
  margin: auto;
  padding: 10px 30px;
  z-index: 2;
  position: relative;
}

.blue-box li{
  position: relative;
}

.blue-box li p{
  font-weight: 600;
  margin-left: 25px;
  font-size: 1.3rem;
}


.blue-box li::before{
  position: absolute;
  content: '';
  display: block;
  background: url(../img/icon/check.png) center no-repeat;
  background-size: cover;
  width: 20px;
  aspect-ratio: 1 / 1;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.trouble-atag{
  border-bottom: 1px solid #fff;
}


.trouble-atag:hover{
  opacity: 0.75;
}

.solve h2{
  margin-top: 50px;
  text-align: center;
  color: #000;
}

.solve h2::after{
  display: none;
}

.company-name{
  font-size:3.5rem;
  display: inline-block;
  color: #001d88;
  text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, 0px 2px 0 #fff, 0 -2px 0 #fff, 0px 0 0 #fff, 2px 0 0 #fff;
}


.kodawari-box{
  display: flex;
  justify-content: center;
  align-items: center;
}

.kodawari{
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  width: 100%;
  padding: 30px 60px;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
}


.solve .main-area-title ,
.kodawari .main-area-title {
    margin-bottom: 20px;
}


.shachou-kodawari{
  width:250px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.shachou-kodawari img{
  width: 115%;
  position: relative;
  right: 10px;
}


.kodawari-list ul{
  position: relative;
  z-index: 1;
}

.kodawari-list li{
  position: relative;
}

.kodawari-list li p{
  font-weight: 800;
  font-size: 1.75rem;
}


.kodawari-list li i{
  color: #c20707;
  margin-right: 5px;
}

.maps-miyazaki{
  position: absolute;
  right:0;
  bottom: 0;
  display: block;
  height: 100%;
  aspect-ratio: 10/8;
  background: url("../img/miyazaki.png");
  background-size: cover;
}

.solve-atag p{
  display: inline-block;
  font-size: 1.5rem;
  border-bottom: 1px solid #000;
  margin-top: 10px;
  font-weight: 600;
}

.solve-atag p i{
  margin-left: 10px;
}

.solve-atag:hover{
  opacity: 0.75;
}

@media(max-width:1560px){
  
  #trouble {
    border-radius: 80px 0 80px 0;
    margin-top: 60px;
    padding: 80px 20px 60px;
  }
  
}


@media(max-width:1250px){
  .trouble-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .blue-box::before {
    width: max(80px, 16vw);
  }
  
  .yellow-painting {
    width: max(200px, 40vw);
  }
  
  .yellow-painting span {
    left: 12vw;
    bottom: -10%;
  }
  
  .blue-box li p {
    font-size: 1.15rem;
  }
  
  .company-name {
    font-size: 2.75rem;
  }
  
  .kodawari-list li p {
    font-size: 1.35rem;
  }
  
  .solve-atag p {
    font-size: 1.2rem;
  }
  
  .shachou-kodawari {
    width: 200px;
  }
  
}

@media(max-width: 1024px){
  
  .kodawari {
    padding: 30px;
  }
  
  .blue-box li p {
    font-size: 1rem;
  }
  
  .blue-box li::before {
    width: 18px;
  }
  
  .blue-box li p {
    margin-left: 23px;
  }
  
  .kodawari-list li p {
    font-size: 1.1rem;
  }
  
  .solve .main-area-title, .kodawari .main-area-title {
    margin-bottom: 10px;
  }
  
  .solve-atag p {
    font-size: 1rem;
  }
  
  .company-name {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
  
}

@media(max-width: 800px){

  .blue-box-inside {
    margin: auto 0;
    padding: 10px 0;
  }
  
  .blue-box {
    padding-left: 100px;
    padding-right: 20px;
  }
  
  .blue-box::before {
    width: 100px;
    top: -10px;
    left: -20px;
  }

  
  .kodawari-box {
    flex-direction: column-reverse;
    gap: 10px;
    margin-top: 20px;
  }
  
  .kodawari {
    padding-bottom: 150px;
    box-shadow: 3px 3px 10px #aaa;
    aspect-ratio: 600 / 725;
  }
  
  .maps-miyazaki {
    z-index: 1;
    height: inherit;
    width: 100%;
    aspect-ratio: 600 / 725;
    background: url(../img/miyazaki-sp.png) no-repeat;
    background-size: cover;
    bottom: 5px;
  }
  
  .kodawari-list{
    z-index: 2;
    position: relative;
  }
  
}


@media(max-width: 600px){
  
  .shachou-kodawari img {
    right: 0;
  }
  
  .yellow-painting {
    height: 150px;
  }
  
  .blue-box li::before {
    width: 18px;
    transform: inherit;
    top: 5px;
  }
  
  
  .blue-box {
    padding-left: 35px;
  }
  
  .blue-box::before {
    width: 80px;
  }
  
  .company-name {
    font-size: 1.75rem;
    letter-spacing: 1px;
  }
  
  #trouble .main-area-title span{
    letter-spacing: -0.05rem;
  }
  
  
  .blue-box::before {
    display: none;
  }
  
  .blue-box-inside {
    padding: 0;
  }

}


/* こんなお悩みはありませんか　///*/


/* youtube */

.youtube-area{
  position: relative;
  max-width:1200px;
  margin: 50px auto 0;
}

.youtube-area iframe{
  border-radius: 10px;
  width: 100%;
  display: block;
  aspect-ratio: 560/315;
}
/* youtube ///*/



