body {
    font-family: 'NotoSans JP', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

header {
    background-color: #fff;
    padding: 30px 0;
    box-shadow: 0px 1px 5px 0px gray;
    position: relative;
}

header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-logo {
    margin-left: 2em;
}

.header-logo img {
    width: 200px;
    margin: 0;
}

@media screen and (max-width: 782px) {
    .header-logo img {
        width: 80%;
    }
}

.menu-content {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu-content ul {
    display: flex;
}

.menu-content li {
    margin: 0 20px;
}

.menu-content a {
    text-decoration: none;
    color: #000;
    font-size: 20px;
    font-weight: bold;
}

.menu-content a:hover {
    opacity: 0.5;
}

@media screen and (max-width: 782px) {
    .menu-btn {
        position: fixed;
        top: 30px;
        right: 10px;
        display: flex;
        height: 100px;
        width: 100px;
        justify-content: center;
        align-items: center;
        z-index: 90;
        border: 1px #000 solid;
        border-radius: 50px;
    }
    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 50px;
        border-radius: 3px;
        background-color: #000;
        position: absolute;
    }
    .menu-btn span:before {
        bottom: 12px;
    }
    .menu-btn span:after {
        top: 12px;
    }
    #menu-btn-check:checked ~ .menu-btn span {
        background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
    }
    #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }
    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }
    #menu-btn-check {
        display: none;
    }
    #menu-btn-check:checked ~ .menu-content {
        left: 0;/*メニューを画面内へ*/
    }
    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 80;
        background-color: gray;
        opacity: 0.9;
        transition: all 0.5s;/*アニメーション設定*/
    }
    .menu-content ul {
        padding: 160px 10px 0;
        flex-direction: column;
    }
    .menu-content ul li {
        border-bottom: solid 1px #ffffff;
        list-style: none;
        text-align: center;
        width: 80%;
        margin: 0 auto;
    }
    .menu-content ul li a {
        display: block;
        width: 100%;
        font-size: 40px;
        box-sizing: border-box;
        color:#ffffff;
        text-decoration: none;
        padding: 100px 15px 100px 0;
        position: relative;
    }
    /* .menu-content ul li a::before {
        content: "";
        width: 7px;
        height: 7px;
        border-top: solid 2px #ffffff;
        border-right: solid 2px #ffffff;
        transform: rotate(45deg);
        position: absolute;
        right: 11px;
        top: 16px;
    } */

    .menu-content {
        align-items: flex-end;
        position: fixed;
    }
    .menu-content li {
        margin: 0 20px;
    }
    .menu-content a {
        font-size: 26px;
    }
}

.kv{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.kv .main-copy {
    position: absolute;
    top: 10%;
    right: 10%;
}

@media screen and (max-width: 782px) {
    .kv .main-copy {
        top: 9% !important;
    }
}

  /* video */
  .video{
    width: 100%;
    height: 100vh;
    background: url(images/top.jpg) no-repeat center/cover;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
  }

  .video video{
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }

  .background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.background-video video {
    min-width: 100%;
    min-height: 100%;
}

#about,
#service,
#news,
#contact,
#recruit {
    padding: 40px 0;
    background-color: #fff;
}
.inner {
    width: 80%;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
}

.circle {
    display: inline-block;
	width: 24px;
	height: 24px;
	background: #fff;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	-o-border-radius: 20px;
	-ms-border-radius: 20px;
	border-radius: 20px;
    box-shadow: 0px 1px 5px 0px gray;
    margin-right: 10px;
}

#about p {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 40px 0;
}

@media screen and (max-width: 782px) {
    #about {
        padding: 60px 0 150px 0;
    }
    #contact {
        padding-bottom: 150px;
    }
    .video-content {
        top: 50% !important;
    }
    .inner {
        width: 90%;
    }
    h2 {
        font-size: 3rem;
    }
    #about p {
        font-size: 3rem;
        margin: 40px 0 60px 0px;
    }
    .circle {
        width: 40px;
        height: 40px;
        margin-right: 30px;
    }
}

.link {
    display: flex;
    justify-content: flex-end;
}

.btn--link,
a.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn--black.btn--cubic {
    border: 1px solid #b3b3b3;
    box-shadow: 0px 1px 5px 0px gray;
}

a.btn--black.btn--cubic:hover {
    opacity: 0.5;
}

a.btn--radius {
    border-radius: 100vh;
}

.fa-position-right {
    position: absolute;
    top: calc(50% - .5em);
    right: 1rem;
}

@media screen and (max-width: 782px) {
    .btn--link{
        font-size: 2rem;
    }
}

.video-wrapper {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 2000px;
  }

  .video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-content {
    position: absolute;
    top: 40%;
    left: 120%;
    transform: translate(-50%, -50%);
  }

  .area{
    overflow: hidden;
  }
  .wrap{
    display: flex;
  }
  .item{
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

#service .block {
    width: 60%;
    height: 50vh;
    border: 1px solid #b3b3b3;
    box-shadow: 0px 1px 5px 0px gray;
    border-radius: 10vh;
    margin: 20px 0;
    background-color: #fff;
}

#service .block .main-copy {
    text-align: center;
    font-size: 1.6rem;
    padding: 60px 0;
    color: #999999;
    font-weight: bold;
    border-bottom: 1px solid #b3b3b3;
    position: relative;
}

#service .block p {
    text-align: center;
    color: #999999;
    font-size: 1rem;
    padding-top: 20px;
}

#service .block .main-copy a.btn--link {
    font-size: 0.8rem;
    color: #999999;
    padding: 0.4rem 1rem;
    width: 38%;
    position: absolute;
    top: 73%;
    right: 6%;
}

@media screen and (max-width: 782px) {
    .pd-60 {
        padding-bottom: 70px;
    }
    #service .block {
        width: 80%;
        height: 80vh;
    }
    #service .block .main-copy {
        font-size: 2.2rem;
    }
    #service .block p {
        font-size: 22px;
        padding: 50px 10px 0px 10px;
    }
    #service .block .main-copy a.btn--link {
        font-size: 20px;
        width: 50%;
    }

}

#news a {
    text-decoration: none;
    color: #333;
}

#news ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 30px;
}

.news-list {
    margin: 0 5%;
}

.news-list-item {
    padding: 40px 0;
    border-bottom: 1px solid #E6E6E6;
    font-size: 1.2rem;
}

.news-list-item:first-child {
    border-top: 1px solid #E6E6E6;
}
.news-list-item a {
    position: relative;
    display: flex;
    padding-right: 30px;
}

.news-list-date {
    display: flex;
    margin-right: 30px;
    align-items: center;
}

.news-item {
    border-radius: 14px;
    width: 10em;
    text-align: center;
    margin-left: 30px;
    border: 1px solid #b3b3b3;
    box-shadow: 0px 1px 5px 0px gray;
}

@media screen and (max-width: 782px) {
    .news-list-item {
        font-size: 2.2rem;
    }
    .news-item {
        width: 8em;
    }
}

footer {
    background-color: #fff;
    padding: 30px 0;
    box-shadow: 0px 1px 5px 0px gray;
    padding-left: 2em;
}

.footer-logo img {
    width: 16%;
    margin-left: 0;
}

footer .menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
}

footer .menu li {
    margin: 20px 30px 20px 0px;
}

footer .menu a {
    text-decoration: none;
    color: #000;
    font-size: 24px;
    font-weight: bold;
}

footer .menu a:hover {
    opacity: 0.5;
}

footer p {
    font-weight: bold;
    font-size: 24px;
    margin: 0;
}

@media screen and (max-width: 782px) {
    .footer-logo img {
        width: 40%;
        margin: 0 auto;
        padding: 30px 0;
    }
    footer .menu {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
    }
    footer .menu li {
        margin: 14px 0;
    }
    footer .menu a {
        font-size: 32px;
    }
    footer p {
        font-size: 60px;
        padding: 20px 0;
    }
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
}

.card {
    width: 30%;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.03);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 1rem;
    color: #666;
}

@media screen and (max-width: 782px) {
    .card {
        width: 100%;
    }
}

/* === 色定義（カラーバリエーション）=== */
.bg-cyan {
  background-color: #00BCD4;
}
.text-cyan {
  color: #00BCD4;
}
.border-cyan {
  border-color: #00BCD4;
}

.bg-red {
  background-color: #F44336;
}
.bg-red-dark {
  background-color: #D32F2F;
}
.text-red {
  color: #F44336;
}

.bg-yellow-light {
  background-color: #FFF9C4;
}

/* === ボタンスタイル === */
.btn-main {
  display: inline-block;
  background-color: #F44336;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-main:hover {
  background-color: #D32F2F;
}

.btn-sub {
  display: inline-block;
  border: 2px solid #00BCD4;
  color: #00BCD4;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-sub:hover {
  background-color: #00BCD4;
  color: white;
}

/* === タイトル・テキスト === */
.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* === レイアウト用 === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

.text-white {
  color: white;
}

.text-gray-800 {
  color: #2d3748;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* === その他デザイン要素 === */
.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.transition {
  transition: all 0.3s ease;
}

.grid {
  display: grid;
}

.gap-4 {
  gap: 1rem;
}

.list-disc {
  list-style-type: disc;
}

.pl-6 {
  padding-left: 1.5rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

/* レスポンシブ補足（必要に応じて） */
@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 全画面の動画セクション */
.fv-video-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  height: 100vh;
  width: 100%;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* スマホとPCで表示を切り替える */
.video-mobile {
  display: none;
}
@media screen and (max-width: 768px) {
  .video-desktop {
    display: none;
  }
  .video-mobile {
    display: block;
  }
}

/* テキストオーバーレイ */
.video-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  top: 50%;
  transform: translateY(-50%);
}
.video-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.video-overlay p {
  font-size: 1.2rem;
}
.video-overlay .btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid white;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}
.video-overlay .btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* 下のコンテンツ */
.main-content {
  padding: 4rem 2rem;
  background: white;
  color: #333;
}

.fade-in-delayed {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 3s ease, transform 3s ease;
  transition-delay: 5s;
}

body.loaded .fade-in-delayed {
  opacity: 1;
  transform: translateY(0);
}
