/*
Theme Name: funnyfunc
Theme URI: https://example.com
Author: Your Name
Description: funnyfuncのHP
Version: 1.0
*/
body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
/* 共通レイアウト幅 */
.header__inner,
.section__inner,
.fv__inner,
.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
a {
  color: inherit;
  text-decoration: none;
}

/*header*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #03045E;
  z-index: 1000;
}
.header__inner {
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  color: #fff;
  font-size: clamp(14px, 3vw, 35px);
  font-weight: 300;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  font-family: "Noto Emoji", sans-serif;
}
.gnav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.0vw, 38px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.gnav__link {
  font-style: normal;
  font-size: clamp(12px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
  font-family: "Noto Emoji", sans-serif;
}
.gnav__link:hover {
  opacity: 0.8;
}
.btn--contact {
  margin-left: 16px;
  display: flex;
  align-items: center;
}
.btn--contact .gnav__link {
  width: clamp(130px, 12vw, 154px);
  height: clamp(40px, 4vw, 50px);
  background-color: #ffd60A;
  color: #03045E;
  border-radius: 25px;
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn--contact .gnav__link:hover,
.btn--primary:hover {
  opacity: 0.5;
}
/*FV*/
.fv {
  width: 100%;
  aspect-ratio: 1920 / 980;
  background-image: url("image/Rectangle2.webp");
  background-size: cover;
  background-position: center;
  position: relative;
}
.fv__inner {
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}
.fv__image1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 36.46vw;
  height: auto;
}
.fv__image2 {
  position: absolute;
  top: 199px;
  right: 46px;
  width: 31.25vw;
  height: auto;
}
.fv__title {
  position: absolute;
  left: 11%;
  bottom: 16.4%;
  transform: translateY(0);
  color: #fff;
  font-size: clamp(36px, 5vw, 96px);
  font-weight: 700;
  line-height: 1.1;
  font-family: "Noto Serif JP", serif;
}
/*会社紹介*/
.section--intro {
  background-color: #03045E;
  color: #fff;
  padding-top: 125px;
  padding-bottom: 130px;
  width: 100%;
}
.section__inner {
  /*max-width: 180px;*/
  margin: 0 auto;
  margin-bottom: 91px;
}
.section__title {
  color: #fff;
  font-size: clamp(20px, 4vw, 45px);
  font-weight: 400;
  text-align: center;
}
.section__en {
  font-size: clamp(10px, 2vw, 20px);
  font-weight: 700;
  color: #ffd60A;
  text-align: center;
  margin-top: 2px;
}
.intro {
  max-width: 1339px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: clamp(40px, 16vw, 292px);
  align-items: center;
}
.intro__description {
  font-size: clamp(18px, 1.5vw, 27px);
  font-weight: 400;
  line-height: 1.48;
  margin-bottom: 40px;
  white-space: nowrap;
}
.btn--primary {
  display: inline-flex;
  align-items: center;
  width: 229px;
  padding-left: 71px;
  height: 60px;
  background-color: #FFD60A;
  color: #03045E;
  border-radius: 45px;
  font-size: 19px;
  font-weight: 500; 
  gap:39px;
  position: relative;
}
.intro__text {
  margin-bottom: 80px;
}
.btn--service {
  font-size: clamp(16px, 1.5vw, 20px);
  width: clamp(210px, 20vw, 229px);
  height: clamp(40px, 4vw, 60px);
  gap: clamp(10px, 3vw, 39px);
}
.btn--primary::before,
.btn--service::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid #03045E;
  border-radius: inherit;
  pointer-events: none;
}
.arrow {
  position: relative;
  width: 62px;
  height: 2px;
  background: #03045E;
}
.arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 20px;
  height: 10px;
  border-top: 2px solid #03045E;
  transform: rotate(25deg);
}
.intro__action {
  display: flex;
  justify-content: center;
}
.intro__image {
  width: 400px;
}
.intro__image img {
  width: 100%;
  height: auto;
}
/*SERVICE*/
.section--service {
  background-image: url("image/Rectangle8.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 125px 0 115px;
}
.section__title-service,
.section__title-news {
  font-size: clamp(20px, 4vw, 45px);
  font-weight: 400;
  color: #03045E;
}
.service {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}
.service__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap:100px;
}
.service__item {
  background: #fff;
  border-radius: 50px;
  width: clamp(200px, 101%, 600px);
  aspect-ratio: 1.091;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.service__box{
  width: 85%;
  max-width: 300px;
  margin: auto; 
}
.service__image img {
  display: block;
  margin: 0 auto;
  width: clamp(50%, 12vw, 100%);
}
.service__image--dx img {
  width: clamp(10%, 12vw, 37.4%);
}
.service__title {
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 700;
  color: #03045E;
  margin-top: 25px;
  margin-bottom: 9px;
  text-align: center;
}
.service__text {
  font-size: clamp(10px, 1.5vw, 20px);
  line-height: 2.0;
  color: #03045E;
}
.service__action {
  margin-top: 7px;
  text-align: center;
}
/*WORKS*/
.section--works {
  background: #03045E;
  padding: 125px 0 170px; 
}
.works {
  max-width: 72.9%;
  margin: 0 auto;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}
.section--works {
  position: relative;
}
.works-wrap {
  position: relative;
}
.works.swiper {
  overflow: hidden;
}
.works__prev,
.works__next {
  position: absolute;
  top: 30% !important;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.works__prev::before,
.works__next::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}
.works__prev::before {
  border-width: 25px 30px 25px 0;
  border-color: transparent #FFD60A transparent transparent;
}
.works__next::before {
  border-width: 25px 0 25px 30px;
  border-color: transparent transparent transparent #FFD60A;
}
.works__prev {
  left: clamp(60px, 11vw,200px) !important;
}
.works__next {
  right: clamp(60px, 11vw,200px) !important;
}
.works__prev:hover,
.works__next:hover {
  transform: translateY(-50%) scale(1.1);
  opacity: 0.8;
}
.works__action {
  margin-top: 70px;
  text-align: center;
}
.works__text {
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 23px);
  line-height: 1.4;
  color: #fff;
  margin-top: 19px;
}
.works__item {
  width: 20.8vw;
}
.works__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
/*コラム*/
.section--column {
  background: #03045E;
  padding: 0 0 170px; 
}
.column__list {
  display: flex;
  justify-content: center;
  gap: 9.9%;
}
.column__action {
  margin-top: 70px;
  text-align: center;
}
.column__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}
.column {
  margin: 0 20px;
}
.column__date {
  font-weight: 700;
  font-size: clamp(10px, 2vw, 18px);
  line-height: 1.4;
  color: #FFD60A;
}
.column__category {
  width: 140px;
  height: 30px;
  background-color: #FFD60A;
  border-radius: 15px;
  font-weight: 700;
  font-size: clamp(7px, 1.8vw, 17px);
  line-height: 1.4;
  color: #03045E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.column__text {
  font-weight: 700;
  font-size: clamp(12px, 3vw, 23px);
  line-height: 1.4;
  color: #fff;
}
.section__inner--column {
  margin-bottom: 63px;
}
/*news*/
.section--news {
  background: #03045E;
}
.news-box {
  width: clamp(320px, 73vw, 1400px);
  padding:  110px 250px 78px;
  padding: clamp(40px, 8vw, 110px)   
          0
          clamp(30px, 5vw, 78px);
  margin: 0 auto;
  background: #fff;
  border-radius: 80px;
}
.news__item {
  text-align: center;
  color: #03045E;
  font-weight: 400;
  border-bottom: 1px solid #03045E;
}
.news__text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 26px;
  color: #03045E;
  text-decoration: none;
  font-size: clamp(10px, 1.1vw, 20px);
  gap: 5%;
}
.news__text::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 20px;
  border-color: transparent transparent transparent #03045E;
}
.news__text:hover {
  opacity: 0.7;
}
.news__text:hover::after {
  transform: translateX(4px);
  transition: transform 0.2s ease;
}
.news__item:first-child {
  border-top: 1px solid #03045E;
}
.news__action {
  margin-top: 70px;
  text-align: center;
}
.news__list {
  max-width: 900px;
  margin: 0 auto;
}
/*会社情報*/
.section--company {
  background: #03045E;
  padding: 170px 0 320px; 
}
.company {
  margin: 0 20px;
}
.company__table {
  color: #03045E;
  max-width: 100%;
  margin: 0 auto;
}
.company__table {
  width: clamp(300px, 90%, 1000px);
  border-collapse: collapse;
  margin: 0 auto;
  table-layout: fixed;
}
.company__row {
  border-bottom: 1px solid #03045E;
}
.company__row:first-child {
  border-top: 1px solid #03045E;
}
.company__heading,
.company__data {
  padding: 29.703px 0 23.703px;
  text-align: left;
  vertical-align: top;
}
.company__heading {
  width: 31.5%;
  font-weight: 700;
  font-size: clamp(12px, 1.8vw, 19px);
  line-height: 1.4;
  color: #03045E;
  background: #FFD60A;
  border-right: 1px solid #03045E;
  padding-left: clamp(12px, 1.8vw, 41px);
}
.company__data {
  font-weight: 400;
  font-size: clamp(12px, 1.8vw, 19px);
  line-height: 1.4;
  color: #03045E;
  background: #fff;
  padding-left: clamp(12px, 1.8vw, 41px);
}
/*footer*/
.footer {
  background: #FFD60A;
  padding: clamp(30px, 5vw, 55px)
          clamp(10px, 2vw, 100px)
          clamp(15px, 3vw, 23px);
}
.footer__company {
  font-weight: 300;
  font-size: clamp(18px, 3vw, 25px);
  color: #03045E;
}
.footer__nav {
  display: flex;
  font-weight: 400;
  font-size: clamp(12px, 2vw, 19px);
  color: #03045E;
}
.footer__box {
  display: flex;
  justify-content: space-between;
}
.footer__list {
  display: flex;
  gap: clamp(8px, 3vw, 41px);
}
.footer__policy {
  display: inline-block;
  font-weight: 400;
  font-size: clamp(10px, 2vw, 16px); 
  color: #03045E;
}
.footer__meta {
  text-align: right;
}
.footer__copyright {
  text-align: center;
  font-size: clamp(10px, 2vw, 16px);
  font-weight: 300;
  color: #03045E;
  margin-top: 106px;
}
.footer__inner {
  max-width: 1700px;
}
.hamburger {
  display: none;
}
@media screen and (max-width: 1440px) {
  .news__list {
    max-width: 80%;
    margin: 0 auto;
  }
  .news-box {
    width: 78%;
  }
  .works__next::before {
    border-width: 20px 0 20px 20px;
  }
  .works__prev::before {
    border-width: 20px 20px 20px 0;
  }
}
/* タブレット */
@media screen and (max-width: 1024px) { 
  .intro {
    max-width: 100%;
    margin: 0 20px;
    gap: 80px;
  }
/*works*/
  .works__image {
    display: flex !important;
    justify-content: center !important;
  }
  .works__text {
    text-align: center;
  }
  .service__list {
  gap: clamp(20px, 1vw, 100px);
  }
  .works__prev {
    left:160px !important;
  }
  .works__next {
    right:160px !important;
  }
  .works {
    max-width: 400px;
  }
  .works__next::before {
  border-width: 20px 0 20px 20px;
  }
  .works__prev::before {
  border-width: 20px 20px 20px 0;
  }
  .section--column,
  .section--news,
  .section--company,
  .section--works {
    padding: 100px 0 100px;
  }
}
/* スマホ */
@media screen and (max-width: 768px) {
  .header {
    height: 70px;
  }
  .section__inner {
    margin-bottom: 45px;
  }
  .section--news,
  .section--column {
    padding-top: 0;
  }
  .section--news {
    padding-bottom: 0;
  }
  .header__inner {
    padding: 0 20px 0 10px;
  }
  .header__logo {
    font-size: clamp(24px, 5vw, 32px);
  }
  .gnav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #03045E;
    padding-top: 100px;
    text-align: center;
    z-index: 1000;
    overflow-y: auto;
    transition: opacity 0.3s ease;
    opacity: 0;
  }
  .gnav.is-active {
    display: block;
    opacity: 1;
  }
  .gnav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 2rem;
    justify-content: center;
    align-items: center;
  }
  .gnav__link {
    text-decoration: none;
    color: #fff;
    transition: color 0.2s;
    font-size: 18px;
  }
  .gnav__link:hover {
    color: #0077cc;
  }
  .btn--contact {
    margin: 50px;
  }
  .btn--contact .gnav__link {
    width: 200px;
    height: 50px;
    font-size: 18px;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: fixed;
    top: 17px;
    right: 10px;
    z-index: 10001;
    width: 48px;
    height: 48px;
  }
  .hamburger__line {
    display: block;
    width: 36px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  .hamburger.is-active .hamburger__line:nth-child(1) {
    transform: translateY(8px) rotate(36deg);
  }
  .hamburger.is-active .hamburger__line:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-active .hamburger__line:nth-child(3) {
    transform: translateY(-14px) rotate(-38deg);
  }
  .hamburger.is-active .hamburger__line {
    background: #fff;
  }
/* FV */
  .fv {
    aspect-ratio: 4 / 5;
  }
  .fv__image1 {
    transform: translateX(0);
    width: 60vw;
  }
  .fv__image2 {
    transform: translateX(-120vw);
    right: 10px;
    width: 60vw;
    top: clamp(150px, 47vw, 355px);
  }
  .fv__title {
    font-size: clamp(24px, 5.2vw, 32px);
    bottom: 18%;
  }
/*会社紹介*/
  .section--intro {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .intro {
    flex-direction: column;
    align-items: center;
  }
  .intro__body {
    width: 100%;
  }
  .intro__description {
    max-width: 466px;
    width: 100%;
    margin: 0 auto 40px;
    font-size: clamp(12px, 3.1vw, 16px);
    line-height: 2.2;
    text-align: center;
  }
  .intro__action {
    display: flex;
    justify-content: center;
  }
  .btn--primary {
    width: 80%;
    max-width: 200px;
    height: auto;
    padding: 16px 16px;
    font-size: 12px;
    justify-content: center;
    gap: 8px;
  }
  .arrow {
    margin-left: 6px;
    width: 52px;
  }
  .intro__image {
    max-width: 350px;
    width: 50%;
    padding-left: 40px;
  }
  .intro__image img {
    width: 100%;
  }
  .service__item {
    border-radius: 30px;
  }
/*SERVICE*/
  .service__list {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service__item {
    width: 80%;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
  .service__image img {
    width: clamp(133px, 30vw, 230px);
    margin: 15px auto;
  }
  .service__image--dx img {
    width: clamp(74px, 20vw, 150px);
  }
  .service__image--dx1 img {
    width: clamp(103px, 30vw, 200px);
  }
  .btn--service {
    font-size: 12px;
    width: 150px;
    height: 10px;
    margin-bottom: 8px;
  }
  .service__text {
    text-align: center;
  }
/*works*/
  .section--works {
    padding: 125px 0 125px; 
  }
  .works__image {
    width: 80%;
    margin: 0 auto;
  }
  .works__prev {
    left:clamp(30px, 9vw, 100px) !important;
  }
  .works__next {
    right:clamp(30px, 9vw, 100px) !important;
  }
  .works__next::before {
  border-width: 10px 0 10px 10px;
  }
  .works__prev::before {
  border-width: 10px 10px 10px 0;
  }
  .works {
    max-width: 400px;
  }
/*コラム*/
  .column__list {
      gap: 15px;
  }
  .column__category {
    width: clamp(70px, 15.2vw, 140px);
    height: clamp(15px, 3.0vw, 30px);
  }
  .column__text {
  font-size: clamp(12px, 3vw, 18px);
}
/*news*/
  .news-box {
    width: clamp(300px, 84vw, 650px);
    margin: 0 auto;
    border-radius: 40px;
    padding-bottom: 70px;
  }
  .news__action {
    margin-top: 35px;
    text-align: center;
  }
  .news__text {
    padding: 5px 0 5px;
  }
  .news__text::after {
    border-width: 5px 0 5px 5px;
  }
/*会社情報*/
  .section--company {
    padding: 120px 0 120px;
  }
  .company__table {
    max-width: 100%;
    margin: 0 auto;
  }
  .footer__inner {
    padding: 0;
  }
  .footer__list {
    display: block;
  }
  .footer__box {
    display: block;
  }
}
@media screen and (max-width: 490px){
  .works__prev {
    left: 0 !important;
  }
  .works__next {
    right: 0 !important;
  }
  .service__item {
    width: 100%;
  }
}
/* 小さいスマホ */
@media screen and (max-width: 360px) {
  .column__date {
    font-size: 10px;
  }
}