@charset "UTF-8";

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1;
    background-color: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =====================
   HEADER（ガラス風）
===================== */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  height: 80px;
}

.tel-otoiawase img {
  height: 80px;
  opacity: 0.8;
  transition: 0.3s;
}

.tel-otoiawase:hover img {
  opacity: 1;
}

/* =====================
   FIRST VIEW
===================== */
.first-view {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  text-align: center;
}

.first-view-text h1 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.first-view-text p {
  font-size: 20px;
  color: #6e6e73;
  margin-bottom: 40px;
}

.swiper {
  max-width: 700px;
  margin: 0 auto;
}

.swiper-slide img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* =====================
   FEATURE
===================== */
.feature {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.feature-text {
  flex: 1;
}

.feature-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.feature-text p {
  line-height: 1.8;
  color: #6e6e73;
}

.feature img {
  width: 250px;
}

/* =====================
   WORKS
===================== */
.works {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}

.works-title {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  gap: 30px;
  justify-content: center;
}

.work-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition: 0.4s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin: 0 auto;
}

.work-card img {
  height: 200px;
  object-fit: cover;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.work-overlay {
  padding: 16px;
  font-size: 14px;
  color: #6e6e73;
  text-align: center;
}

/* =====================
   MODAL
===================== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  background: rgba(0,0,0,0.8);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.modal-content {
  display: block;
  margin: 80px auto;
  max-width: 800px;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

/* =====================
   概要（カード強化）
===================== */
.jigyonaiyo {
  padding: 120px 20px;
}

.jigyonaiyo-text {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.jigyonaiyo-text h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.jigyonaiyo-text h2 {
  margin-top: 20px;
  font-size: 18px;
  color: #6e6e73;
}

.jigyonaiyo-text p {
  line-height: 1.8;
  margin-top: 6px;
}

.otoiawaselink {
  color: blue;
}
/* =====================
   FOOTER
===================== */
.footer {
  text-align: center;
  padding: 80px 20px;
  background: #f5f5f7;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-logo img {
  width: 100px;
  margin: 0 auto 20px;
}

.footer p {
  color: #6e6e73;
  margin: 6px 0;
  font-size: 14px;
}

.copyright {
  margin-top: 20px;
  font-size: 12px;
}


@media (max-width: 767px) {

.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1000;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  height: 50px;
}

.tel-otoiawase img {
  height: 50px;
  opacity: 0.8;
  transition: 0.3s;
}

.tel-otoiawase:hover img {
  opacity: 1;
}

.first-view {
    background-color: rgb(255, 255, 255);
    background-image: none;
    height: calc(100vh);
    align-items: self-start;
    position: relative;
    overflow: hidden;
}

.first-view-text {
    position: relative;
    z-index: 2;
    padding-left: 20px;
}

.first-view-text h1 {
    font-size: 200%;
    line-height: 1.4;
    font-weight: bold;
}

.first-view-text p {
    font-size: 150%;
    margin-top: 5%;
    color: #555;
}


.swiper-wrapper img {
    margin-top: 10%;
    margin-left: 8%;
    margin-bottom: 10%;
    width: 85%;
    border-radius: 5%;
    box-shadow: 0 0 5px #333;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator span {
  display: block;
  width: 25px;
  height: 25px;
  border-bottom: 3px solid #000000;
  border-right: 3px solid #000000;
  transform: rotate(45deg);
  animation: scrollArrow 1.5s infinite;
}

@keyframes scrollArrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(0, 0);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) translate(5px, 5px);
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(10px, 10px);
  }
}

.feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px;
  gap: 40px;
}

.feature img {
  width: 30%;
}

.feature-text {
  width: 60%;
}

.feature-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-text p {
  line-height: 1.8;
  color: #444;
}

.works {
  padding: 80px 20px;
  background: #24211b;
  color: #fff;
  text-align: center;
}

.works-title {
  font-size: 28px;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

/* グリッド */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

/* カード */
.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ホバー演出 */
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* オーバーレイ */
.work-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: rgba(0,0,0,0.6);
  text-align: left;
}

.work-overlay span {
  font-size: 14px;
  letter-spacing: 1px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

.jigyonaiyo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: #f5f5f5; /* 薄グレーで区切り */
}

.jigyonaiyo-text {
  max-width: 600px;
  width: 100%;
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* 見出し */
.jigyonaiyo-text h1 {
  font-size: 28px;
  margin-bottom: 24px;
  border-left: 4px solid #333;
  padding-left: 12px;
}

.jigyonaiyo-text h2 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 10px;
  color: #555;
  border-bottom: 1px solid #ddd;
  padding-bottom: 4px;
}

/* 本文 */
.jigyonaiyo-text p {
  font-size: 15px;
  line-height: 1.8;
  margin: 4px 0;
  color: #333;
}

/* メールだけ少し強調 */
.jigyonaiyo-text p:last-of-type {
  margin-top: 16px;
  font-size: 14px;
  color: #777;
}

.footer {
    color: #ffffff;
    background-color: #24211b;
    padding-top: 30px;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    display: block;
    width: 70px;
    margin-top: 70px;
    margin-bottom: 10px;
}

.footer-tel{
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
}

.mail {
    margin-top: 40px;
    font-size: large;
}

.footer-time{
    font-size: 13px;
    margin-top: 5px;
}

.copyright{
    font-size: 14px;
    font-weight: bold;
    margin-top: 90px;
}

}