@charset "UTF-8";

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  vertical-align: bottom;
}

.inner {
  width: 980px;
  margin: 0 auto;
}
.flex {
  display: flex;
}
body {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
  color: #333;
  background-color: #f8fafa;
}

h2{
  font-size: 40px;
  text-align: center;
  margin-bottom: 40px;
}

/****** footer********/
/* ↓footer共通部分*/

footer {
  background-color: #f8f9fa;
  border-top: 3px solid #1374af;
}
footer .footer {
  background-image: url(../images/footer-pattern.png);
  background-repeat: no-repeat;
  background-position: center;
  margin: auto;
  height: 302px;
  max-width: 1160px;
  width: 100%;
}
footer .footer-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
footer .footer-left {
  width: 411px;
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 30px;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  gap: 110px;
  flex-wrap: wrap;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-top: 50px;
  margin: 0 40px;
}
.footer-l .footer-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.footer-l .footer-links {
  display: flex;
  gap: 10px;
}
.footer-links a {
  color: #333;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s;
  margin-top: 40px;
}
.footer-center {
  min-width: 200px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-links {
  display: flex;
  gap: 25px;
  margin-left: -15px;
}
.nav-item {
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s;
}
.nav-item:hover {
  color: #1374af;
}
.footer-right {
  gap: 40px;
}
.access-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}
.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-info {
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  padding-left: 8px;
  margin: 5px 0;
}
.footer-right-r {
  background-color: #fff;
  height: 165px;
  width: 220px;
  margin-top: 5px;
}
.contact-info p {
  line-height: 180%;
}
.footer-bottom {
  text-align: center;

  padding-top: 40px;
}
footer figure {
  max-width: 218px;
  width: 100%;
  height: auto;
}
.copyright {
  font-size: 12px;
}
.contact-info {
  padding-left: 0.5rem;
}
.address::before {
  content: "";
  display: inline-block;
  background-image: url(../images/point.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 1em;
  height: 1em;
  margin-right: 1px;
}
.phone::before {
  content: "";
  display: inline-block;
  background-image: url(../images/phone.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 1em;
  height: 1em;
  margin-right: 1px;
}
.train-info::before {
  content: "";
  display: inline-block;
  background-image: url(../images/train.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 1em;
  height: 1em;
  margin-right: 1px;
}
.fax {
  text-indent: 1em;
}

/* TOTOPボタン */

.totop {
  display: flex;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #efe57a;
  color: #fff;
  text-decoration: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  line-height: 18px;
  font-size: 18px;
  position: fixed;
  bottom: 30px;
  right: 10%;
  z-index: 99;
}
.totop::before {
  content: url(../images/arrow.png);
}
/*********TOP************/
h1 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 40px;
}

/******************メインビジュアル*********************/
.main-visual {
  display: flex;
  gap: 30px;
  align-items: stretch;
  justify-content: flex-start; 
  margin-bottom: 30px;
}

.top-left {
  width: 210px;
  flex-direction: column;
  gap: 40px;
}

.top-left img {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.top-nav a {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.top-nav a:hover {
  color: #1374af;
}

.top-nav li {
  cursor: pointer;
  margin: 0 0 30px 40px;
}

.top-right {
  flex-grow: 1; /* これは現状維持 */
  position: relative;
  overflow: hidden;
}


.top-right {
  width: 100%;
  max-width: 813px; 
  height: 466px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden; /* はみ出し防止 */
  z-index: 99;
}
.top-right .main-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0 0 0 20px;
  object-fit: cover;
  object-position: center bottom; /* 👈 これがポイント！ */
}


.video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}


.catch-copy {
  font-family: "Noto Serif JP", serif;
  position: absolute;
  top: 40%;
  left: 45%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
}

.catch-copy p {
  margin: 5px 0; /* 行間 */
  font-size: 32px;
}

.catch-copy .bold {
  font-size: 44px;
  font-weight: bold;
  text-align: center;
}

.catch-copy p.tail {
  text-align: right;
}

/******************ナビカード*********************/
.nav {
  padding: 30px 0;
}

.nav-card {
  position: relative;
  transition: transform 0.3s ease;
}

.nav-card:hover {
  transform: translateY(-5px);
}

.nav-card p {
  position: absolute;
  color: #333;
  font-size: 14px;
  top: 18px;
  left: 8px;
  display: block;
  background-color: rgba(255, 255, 255, 0.7);
  line-height: 20px;
  width: 120px;
  border-radius: 0 4px 4px 0;
  text-align: center;
}

.nav-card p.nyaman {
  line-height: 18px;
  padding-bottom: 2px;
}

.nav-card img {
  width: 100%;
}

/*********在宅勤務のお知らせ************/
.remote {
  margin: 0 auto;
  justify-content: center;
  padding: 80px;
}

.remote p {
  line-height: 32px;
}

/********SERVICE*******/


.top-service {
  margin-bottom: 80px;
}

.top .box {
  border: solid 0.5px rgba(51, 51, 51, 0.6);
  box-shadow: 5px 5px rgba(51, 51, 51, 0.6);
  margin-bottom: 80px;
}
.top h2 {
  margin: 20px 0;
}

.box-l img {
  border: solid 0.5px rgba(51, 51, 51, 0.6);
}

.top .box-l {
  margin: 0 20px 60px 60px;
}

.top .box-r {
  margin: 66px 60px 60px 30px;
}

.award {
  text-align: center;
  height: 24px;
  font-size: 18px;
  font-weight: bold;
  color: #1374af;
  margin: 30px;
}

.box-r .award::before {
  content: url(../images/award.png);
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px 0 10px;
}

/**serviceリンクボタン**/
.top p.box-top {
  line-height: 160%;
  margin-bottom: 20px;
  line-height: 180%;
}
.top a {
  text-decoration: none;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
} 
 p.skip {
  display: block;
  color: #fff;
  width: 200px;
  padding: 10px 10px;
  background-color: #1374af;
  box-shadow: 7px 5px 0 1px  #efe57a;
  border-radius: 90px;
  text-align: center;
  margin-left: auto;
  margin-right: auto ;
  justify-content: flex-end;
}
p.skip {
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}
p.skip:hover {
  transform: translateY(4px);
  box-shadow: none;
}
.skio a {
  text-decoration: none;
  color: #fff;
}



/****色の切り替え****/
.color-area {
  background-color: #f5fafd;
  padding-bottom: 80px;
}


/*三角*/

.triangle-container {
  width: 100vw;
  height: auto;
}
.triangle {
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: calc(50vw - 10px) solid transparent;
  border-right: calc(50vw - 10px) solid transparent;
  border-top: 30vh solid #f8fafa;
  filter: drop-shadow(0px 10px 5px rgba(0, 0, 0, 0.3));
}
/************about****************/
.top-about {
  padding-top: 80px;
}

.top-about h2{
  margin-bottom: 40px;
}

.about-box {
  justify-content: center;
}

.link-box {
  position: relative;
  display: block;
  width: 580px;
  text-decoration: none;
  border: 1px solid #333;
}

.link-box .about-image {
  display: block;
  width: 100%;
  height: 300px;
}

/* 画像の上に重ねる */
.link-box .overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  /*文字*/
  margin: 0;
  font-size: 40px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

.link-box:hover .overlay-text {
  text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff,
    0 0 15px rgba(255, 255, 255, 0.5);
}

/********NEWS**********/
.news {
  padding: 80px 0;
}

dl.news-area {
  display: grid;
  grid-template-columns: 192px 1fr;
  letter-spacing: 4px;
}

dl dt,
dl dd {
  border-bottom: 1px solid #333333;
  line-height: 1.5;
}

.news-area .news1 {
  margin-bottom: 40px;
}

.news-area dd.news2 {
  line-height: 1.6;
}

/**header**/

.sp-only {
  display: none !important; /* SP用のヘッダーを非表示 */
}
.pc-only {
  display: block; /* PC用の要素を表示 (flexなど適切な値に) */
}

header {
  display: flex;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 40px;
  gap: 180px;
  justify-content: center;
}

header .logo img {
  height: 100px;
}

header nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 60px;
  align-items: center;
}

header nav ul li a {
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  color: #333;
}
header nav ul li a:hover {
  color: #1374af;
}

header nav ul li a:hover {
  opacity: 0.7;
}
/* ↑header共通部分 */

/********レスポンシブ**********/

@media (max-width: 1080px) {

  /* sp-only は非表示、pc-only は表示維持 */
  .sp-only {
    display: none !important;
  }
  .pc-only {
    display: flex !important;
  }


  img {
    max-width: 100%;
    height: auto;
  }

   .totop {
    right: 10%;
    bottom: 300px;
  }

  /******** main visual ********/
  .main-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 40px;
  }

  .top-left {
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .top-right {
    flex: 1;
    min-width: 60%;
    max-width: 800px;
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
  }

  .video-wrap {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .catch-copy {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .catch-copy .head{
    text-align: left;
  }

  .catch-copy p {
    font-size: 28px;
  }

  .catch-copy .bold {
    font-size: 36px;
  }

  /******** nav-card ********/
  .award {
    margin: 0;
  }
  .top p.box-top{
    height: auto;
  }
  section.bottom{
    margin: 0 5%;
  }

  /******** remote block ********/
  .remote {
    margin: 0;
    padding:  40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .remote-content{
    width: 90%;
  }

  .remote-content h2{
    margin-top: 0;
  }

  /******** service ********/
  .main{
    width: 100%;
  }
  .top .box{
    gap: 20px;
  }

  .top figure{
    height: 360px;
    width: 360px;
  }

  .award {
    margin: 0;
    }
  .top p.box-top{
      height: auto;
    }

  section.bottom{
     margin: 0 5%;
  }
      


  /******** about ********/
  .top-about{
    width: 100%;
  }

  .about-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-box img{
    width: 90%;
    height: 90%;
  }

  .link-box {
    width: 46%;
    min-width: 300px;
  }

  /******** news ********/
  .news-area {
    display: grid;
    grid-template-columns: 150px 1fr;
  }

  /******** footer ********/
  
  footer .footer-right {
    display: none;
  }
  .footer-container {
    display: block;
    padding-top: 40px;
  }

  footer .footer-left {
    display: flex;
    margin: auto;
    justify-content: space-around;
    align-items: center;
  }
  .footer-container {
    padding-top: 40px;
  }
  footer .logo img {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
  }
  footer .nav-item {
    font-size: 16px;
  }
  footer .footer-left {
    width: 100%;
  }
  footer .footer-links p {
    text-align: center;
  }
  footer .footer {
    height: auto;
  }
  .footer-links {
    margin: 0;
  }
}


@media (max-width: 980px) {
  .inner {
    width: auto;
  }
}


/**ここからはサイドナビ登場**/
@media (max-width: 820px) {
 /*pcのみの表示*/
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block !important;
  }

  img{
    max-width: 100%;
    height: auto;
  }

  video-wrap{
    max-width: 800px;
    margin: 0 auto;
  }

  .flex {
    display: block;

  }

/*header*/
  header.inner {
    position: fixed;
    top: 0;
    width: 100vw; 
    height: 80px;
    background-color: #f8fafa; 
    z-index: 1000; 
  }
  header {
    display: block;
    padding: 0;
  }
  header .title {
    width: 100vh;
    height: auto;
  }
  header .logo {
    margin: 20px 50px 50px;
  }
  header .logo figure img {
    width: 120px;
    height: auto;
  }
  
  button {
    display: block;
  }
  .btn-trigger {
    position: absolute;
    top: 30px;
    right: 80px;
    width: 50px;
    height: 36px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    z-index: 9999;
  }
  .btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #1374af;
    border-radius: 5px;
    transition: all 0.5s;
  }
  .btn-trigger span:nth-of-type(1) {
    top: 0;
  }
  .btn-trigger span:nth-of-type(2) {
    top: 50%;
    translate: 0 -50%;
  }
  .btn-trigger span:nth-of-type(3) {
    bottom: 0;
  }
  .btn-trigger.active span:nth-of-type(1) {
    translate: 0 -50%;
    rotate: -45deg;
    top: 50%;
  }
  .btn-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .btn-trigger.active span:nth-of-type(3) {
    translate: 0 -50%;
    rotate: 45deg;
    top: 50%;
  }
  
  nav.flex {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: top 0.5s ease;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  nav.flex ul {
    display: block;
  }
  nav.flex.open {
    right: 0;
  }
  nav.flex ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
    margin-top: 100px;
  }
  nav.flex li {
    margin: 20px 0;
  }
  nav.flex a {
    color: #333;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 5rem;
  }
  nav.flex a:hover {
    color: #00bfff;
  }


/**メインビジュアル**/
 .main-visual {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 80px;
  }

  /* top-leftを非表示 */
  .main-visual .top-left {
    display: none !important;
  }

  /* 動画を幅いっぱい、角丸解除 */
  .main-visual .top-right,
  .main-visual .main-video {
    width: 100%;
    height: auto;
    border-radius: 0;
  }

  video.main-video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
  }

  /* キャッチコピー位置調整 */
  .catch-copy {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }


  /**ナビカード**/
  .nav-card-list{
    display: none !important;
  }

  /***サイド固定***/
  .remote-block{
  position: relative;
  width: 100%;
 
  }

  .remote{
    display: flex;
  }

  .remote.inner {
  display: flex;
  align-items: flex-start;
  width: 90%;
  margin: 0 auto;
}

.remote-content {
  margin-left: 30px;
}
  article nav.side {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60vh; 
  transform: translateY(0);
  background: transparent;

  }

  nav.side ul.list {
    display: block;
  }

  nav.side li.item {
    height: 120px;
    width: 50px;
    font-size: 20px;
    letter-spacing: -2.2px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 20px;
    margin-bottom: 5px;
   
  }

  nav.side li.item a {
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: #333;
    text-decoration: none;
  }

.side span {
    font-size: 18px;
  }

  /* カラーリング（下層と同じ） */
  li.sakimori {
     background-color: #77e5d6; }
  li.nyaman {
     background-color: #81d8db; }
  li.web {
     background-color: #87cfdd; }
  li.tenzi { 
    background-color: #8ec5df; }
  li.gyoumu {
     background-color: #98b7e3; }

  /* ▼ 固定時（JSでclassが付与される） */
  .side.is-fixed {
  position: fixed !important;
  top: 200px !important;
  left: 0 !important;
  width: auto;
  }

  /**service**/
  article.inner{
    margin-left: 30px;
  }
  .top figure {
    height: auto;
    margin: auto;
    display: block;
  }

  
  article nav {
    display: block;
  }
  article .side ul {
    display: block;
  }
  article .box figure {
    margin: auto;
    margin-bottom: 40px;
  }

  
  .top .box {
    margin: 0 10% 10% 10%;
  }

  .top .box-l {
    margin: 0;
    width: 100%;
  }
  article .box h2 {
    text-align: center;
    margin-bottom: 40px;
  }
  article .box .box-r {
    margin: 10%;
    width: 90%;
  }
  .award{
    margin: 10px;
    display: block;

  }

  .side {
    z-index: 999;
  }
  
  aside .box-l {
    width: 80%;
    margin: auto;
  }
  aside section.bottom{
    margin: 0 5%;
    margin-left: 50px;
  }
  .box-r {
    margin: auto;
  }
  





  section.bottom figure {
    margin: auto;
  }

  .triangle {
    border-top: 15vh solid #f8fafa;
  }

  /****/

  .about-box{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap; /* 画面が狭い場合は折り返し */
    padding: 0 10px;
    box-sizing: border-box;
  }



  .link-box {
    width: 60%;
    max-width: 300px;
  }

  .link-box .about-image {
    height: auto;
    width: 100%;
  }

  .about-box p.overlay-text{
    font-size: 20px;
  }
  
  .news{
    margin: 0 40px;
    padding: 80px 20px 140px 20px;
  }

  .news-area{
    letter-spacing: 1;
  }

  
dl.news-area {
  grid-template-columns: 160px 1fr;
}
  
  footer .footer-bottom {
    padding: 0 0 20px 0;
  }

}

@media (max-width: 768px) {
  /*pcのみの表示*/
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block !important;
  }

  img {
    max-width: 100%;
    height: auto;
  }
  .inner {
    max-width: none;
    width: auto;
    padding: 0;
    margin: 0 auto;
  }
  .flex {
    display: block;
  }

  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .totop {
    bottom: 5%; 
    right: 5%;
  }

   h2 {
    margin-bottom: 30px;
    font-size: 32px;
  }

  /* メニューの中身 */
  nav.flex ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
    margin-top: 100px;
  }

  nav.flex li {
    margin: 20px 0;
  }

  nav.flex a {
    color: #333;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 5rem;
  }

  nav.flex a:hover {
    color: #00bfff;
  }


  .top-right .main-video {
    border-radius: 0;
  }
  .main-visual {
    margin-bottom: 40px;
    flex-direction: column;
  }

  /*********メインビジュアル*****************/
  .main-visual {
    display: block; /* flexを解除して縦並び */
    gap: 0;
    padding-top: 80px;
  }

  .top-left {
    display: none; /* PC専用ナビ・ロゴを非表示 */
  }

  
  .top-right .main-video {
    width: 100%;
    display: block; 
  }

.video-wrap video.main-video {
    width: 100%;
    height: 100%; /* スマホ用の高さ */
    position: relative;
    overflow: hidden;
  }


   .video-wrap {
    width: 100%;
    height: 100%; /* ← メインビジュアルの高さ */
    position: relative;
    overflow: hidden;
    background: #000;
  }

  .catch-copy {
    top: 50%;
  }

  
  /***在宅***/
  .remote-content{
    margin-left: 50px;
  }


  .remote p {
    margin-bottom: 80px;
  }

  /***SERVICEカード***/

  .top figure {
    width: 90%;
  }
  .top .box {
    margin: 0 10% 10% 10%;
  }
  .top figure {
    height: auto;
    margin: auto;
    display: block;
  }

  article nav {
    display: block;
  }
  article .side ul {
    display: block;
  }
  article .box figure {
    margin: auto;
  
  }
  .top .box-l {
    margin: 0;
    text-align: center;
  }
  
  article .box .box-r {
    margin: 10%;
  }

  /* totop */
  .btn-trigger.active span:nth-of-type(1) {
    translate: 0 -50%;
    rotate: -45deg;
    top: 50%;
  }

  .btn-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }

  .btn-trigger.active span:nth-of-type(3) {
    translate: 0 -50%;
    rotate: 45deg;
    top: 50%;
  }




  /************about************/
  /* タイトル部分 */
  .top-about {
    display: block; /* flex解除で縦並びに */
    padding-top: 100px; /* スマホ用余白調整 */
    text-align: center;
  }

 

  /* 画像ボックス：横並び維持＋サイズ調整 */
  .about-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap; /* 画面が狭い場合は折り返し */
    padding: 0 10px;
    box-sizing: border-box;
  }

  .link-box {
    width: 45%;
    max-width: 300px;
  }

  .link-box .about-image {
    height: auto;
    width: 100%;
  }

  .top-about .flex {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }

  .about-box p.overlay-text{
    font-size: 20px;
  }

  /* 横スクロール防止 */
  body {
    overflow-x: hidden;
  }

  /**********footer************/
  
  footer .footer-links {
    display: block;
  }
  footer .footer {
    background-size: 840px auto;

    padding: 0;
  }
  .footer-container {
    padding: 20px;
  }
  .footer-nav {
    gap: 10px;
  }
}


@media (max-width: 500px) {
  .inner {
    padding: 0;}


  h2{
    font-size: 24px;
  }

  .video-wrap {
    overflow: hidden; 
    position: relative;
}

.main-visual{
  width: 100%;
  height: auto;
  padding-top: 80px;
}

.catch-copy{
  top: 40%;
  color: #1374af;
}


.catch-copy .head{
  font-size: 16px;
}

.catch-copy .bold{
  font-size: 20px;
}

.catch-copy .tail{
  font-size: 16px;
}

  .remote-content{
    margin-left: 32px;
  }
  
  article.inner {
    margin-left: 0;
    }

  article nav.side {
    z-index: 999;
  }
  nav.side li.item {
    height: 80px;
  }
  .box-r .award::before {
    margin: auto;
    width: 12%;
  }
  .award {
    margin: 0;
    letter-spacing: -0.1em;
    text-align: center;
  }
  .top .box {
    padding-bottom: 80px;
  }
  article .box .box-r {
    margin: 5%;
  }

  .box .box-r{
    justify-content: center;
  }
.box-r .box-top {
  width: fit-content;
  margin: 0 auto; 
  text-align: left; 
}
  .top p.box-top {
    height: auto;
    text-align: center;
  }
  p.skip-n {
    margin-top: 0;
  }
  .triangle {
    width: 0;
    height: 0;
    border-left: 50vw solid transparent;
    border-right: 50vw solid transparent;
    border-top: 10vh solid #f8fafa;
    filter: drop-shadow(0px 10px 5px rgba(0, 0, 0, 0.3));
  }
 aside section.bottom{
   margin-left: 40px;
  }

    dl.news-area {
      grid: none;
    }
    .news-area .news1 {
        margin-bottom: 0;
      }
      .news-area dd{
        border: none;
      }
      .news1{
        margin-bottom: 40px;
      }

  aside .box-l {
    width: 68%;
  }

  .box-l figure{
    width: 250px;
    height: 250px;
  } 

  aside .box {
    margin: 0 5%;
  }
  aside .sp {
    gap: 10px;
  }
  aside figure {
    width: 100%;
  }

  nav ul li a {
    font-size: 13px;
    letter-spacing: -0.02;
  }
  .side span {
    font-size: 10px;
  }
  nav.side li.item {
    width: 40px;
  }
  nav.side li.item {
    height: 80px;
  }

  .main {
    margin: 0;
  }

  
.catch-copy .head{
  font-size: 14px;
}

.catch-copy .bold{
  font-size: 16px;
}

.catch-copy .tail{
  font-size: 14px;
}
}

/*********スマホ**********/
@media (max-width: 390px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block !important;
  }

  .top-right {
    padding-top: 80px; 
  }
  
  /***footer**/
  footer .footer {
    background-position: bottom;
    background-size: 200%;
  }
  footer .footer-links p a {
    font-size: 10px;
  }
  header .logo {
    margin: 20px 20px 50px;
  }
  .btn-trigger {
    right: 20px;
  }

  .remote-content{
    width: 86%;
    margin: 0;
    padding-left: 40px;
  }

  .totop {
    bottom: 4%; 
    right: 4%;
  }

  header .logo {
    margin: 20px 20px 50px;
  }
  .btn-trigger {
    right: 20px;
  }

  article nav.side {
    margin-top: -60px;
  }
  nav.side li.item {
    height: 80px;
  }
  .top figure {
    width: 90%;
  }
  .box-r .award::before {
    margin: auto;
    width: 12%;
  }
  .award {
    margin: 0;
    letter-spacing: -0.1em;
  }
  .top .box {
    
    padding-bottom: 80px;
  }
  article .box .box-r {
    margin: 5%;
  }
  .top p.box-top {
    height: auto;
  }
  p.skip-n {
    margin-top: 0;
  }
  nav.side ul li a {
    font-size: 13px;
    letter-spacing: -0.02;
  }
  .side span {
    font-size: 10px;
  }
  nav.side li.item {
    width: 40px;

  }
  
  /**メインビジュアル**/
  .top-right .main-video {
    border-radius: 0;
  }
  
  .main-visual {
    margin-bottom: 40px;
    flex-direction: column;
  }
  .main-visual-movie {
    /* 画面幅いっぱいに広げる */
    max-width: 100%; 
  }
  
  .top-right .catch-copy {
    font-size: 22px;
    left: 46%;
    top: 30%;
  }
.box-l figure{
    height: 280px;
  } 


}

@media (max-width: 320px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block !important;
  }

  .top-right {
    padding-top: 80px; 
  }

  .totop {
    bottom: 4%; 
    right: 4%;
  }

  footer .footer-left {
    gap: 5px;
  }
  /**メインビジュアル**/
  .top-right .main-video {
    border-radius: 0;
  }
  
  .main-visual {
    margin-bottom: 40px;
    flex-direction: column;
  }
  .main-visual-movie {
    /* 画面幅いっぱいに広げる */
    max-width: 100%; 
  }
  
  .catch-copy {
    /* フォントサイズの調整（モバイル向け） */
    font-size: 4vw; 
  }

  .top-right .catch-copy {
    font-size: 22px;
    left: 60%;
    top: 50%;
  }
  
  /* header固定 */
  .top-right {
    padding-top: 80px; 
  }
  
  header.inner {
    position: fixed; /* ヘッダーを固定する */
    top: 0; /* 画面の上部に固定 */
    width: 100%; /* 画面の幅いっぱいに広げる */
    height: 80px;
    background-color: #fff; /* 背景色を設定 */
    z-index: 1000; /* ヘッダーを他の要素の上に表示 */
  }
  article nav.side {
    position: fixed;

    left: 0;
    width: 100%;
  }

  .title {
    margin-top: 120px; /* ヘッダーの高さ分だけ下げる */
  }
  header {
    display: block;
    padding: 0;
  }
  header .title {
    width: 100vh;
    height: auto;
  }

  header .logo {
    margin: 20px 50px 50px;
  }
  header .logo figure img {
    width: 120px;
    height: auto;
  }
  /* ハンバーガーボタン */
  button {
    display: block;
  }
  .btn-trigger {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 50px;
    height: 36px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    z-index: 9999;
  }

  .btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #1374af;
    border-radius: 5px;
    transition: all 0.5s;
  }

  .btn-trigger span:nth-of-type(1) {
    top: 0;
  }

  .btn-trigger span:nth-of-type(2) {
    top: 50%;
    translate: 0 -50%;
  }

  .btn-trigger span:nth-of-type(3) {
    bottom: 0;
  }

  /*=============================
アニメーション
=============================*/
  .btn-trigger.active span:nth-of-type(1) {
    translate: 0 -50%;
    rotate: -45deg;
    top: 50%;
  }

  .btn-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }

  .btn-trigger.active span:nth-of-type(3) {
    translate: 0 -50%;
    rotate: 45deg;
    top: 50%;
  }

  /* メニュー */
  nav.flex {
    position: fixed;
    top: 0;
    right: -100%; /* 初期位置：画面外に隠す */
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: top 0.5s ease;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }
  nav.flex ul {
    display: block;
  }

  /* 開いた状態 */
  nav.flex.open {
    right: 0;
  }

  /* メニューの中身 */
  nav.flex ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
    margin-top: 100px;
  }

  nav.flex li {
    margin: 20px 0;
  }

  nav.flex a {
    color: #333;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 5rem;
  }

  nav.flex a:hover {
    color: #00bfff;
  }
}

