* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-feature-settings: "palt";
}

body {
  font-family: "Shippori Mincho", serif;
  line-height: 2.2;
  color: #2c2c2c;
  background: #fefefe;
  font-size: 16px;
  font-feature-settings: "palt";
  letter-spacing: -0.04rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* PC表示用とスマホ表示用のbrタグ */
.br-pc {
  display: inline;
}

.br-sp {
  display: none;
}

header {
  background: rgba(15, 23, 42, 0.98);
  color: #fff;
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  font-weight: 500;
  background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-feature-settings: "palt";
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 4rem;
}

nav a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  font-size: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #fff, #e0e7ff);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover {
  color: #fff;
}

nav a:hover::after {
  width: 100%;
}

main section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 8rem 4rem;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-description {
  font-size: 1.2rem;
  color: #666;
  margin-top: 2rem;
  line-height: 2;
  font-feature-settings: "palt";
}

#hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 4rem;
  max-width: 1200px;
  font-feature-settings: "palt";
  letter-spacing: -0.08rem;
}

#hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  margin-bottom: 3rem;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  text-align: left;
  font-feature-settings: "palt";
  letter-spacing: -0.08rem;
}

#hero .subcopy {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 4rem;
  font-weight: 300;
  line-height: 2;
  color: #fff;
  text-align: center;
  font-feature-settings: "palt";
  letter-spacing: -0.08rem;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  color: #0f172a;
  padding: 1.5rem 4rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.cta-btn:hover::before {
  left: 100%;
}

h1, h2, h3 {
  font-feature-settings: "palt";
}

section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 2rem;
  text-align: center;
  color: #1a1a1a;
  font-weight: 400;
  position: relative;
  padding-bottom: 2rem;
  line-height: 1.6;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #1e3a8a 50%, transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 4rem;
  margin-top: 4rem;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  overflow: hidden;
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6, #60a5fa);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(30, 58, 138, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-image-wrapper {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}

.service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image-wrapper img {
  transform: scale(1.1);
}

.service-card-content {
  padding: 3.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 1.8;
}

.service-card p {
  color: #555;
  margin-bottom: 2.5rem;
  line-height: 2.2;
  font-size: 1.05rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tag {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #1e3a8a;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(30, 58, 138, 0.15);
  transition: all 0.3s;
}

.tag:hover {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(30, 58, 138, 0.2);
}

#about {
  background-image: url('./images/corporate.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 12rem 4rem;
  position: relative;
  max-width: 100%;
  width: 100%;
  margin: 0;
}

#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.75);
  z-index: 0;
}

#about > * {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  max-width: 1000px;
  margin: 3rem auto 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: 10px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.35), 
              0 0 0 1px rgba(255, 255, 255, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.about-grid dt {
  grid-column: 1;
  padding: 2.5rem 0 2.5rem 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
}

.about-grid dd {
  grid-column: 2;
  margin: 0;
  padding: 2.5rem 3rem 2.5rem 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 2;
  font-size: 1.1rem;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
}

.about-grid dt:last-of-type,
.about-grid dd:last-of-type {
  border-bottom: none;
}

.about-grid dt:hover,
.about-grid dt:hover + dd {
  background: rgba(255, 255, 255, 0.08);
}

#about .section-header {
  margin-bottom: 5rem;
}

#about .section-header h2 {
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}

#about .section-header h2::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7) 50%, transparent);
  height: 3px;
  width: 80px;
}

#about .section-description {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  font-feature-settings: "palt";
}

.about-grid dd a {
  color: #e0e7ff;
  text-decoration: none;
  text-underline-offset: 4px;
  opacity: 1;
  font-weight: 500;
  transition: all 0.3s;
  border-bottom: 2px solid rgba(224, 231, 255, 0.5);
  padding-bottom: 2px;
  position: relative;
}

.about-grid dd a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.about-grid dd a:hover {
  color: #fff;
  opacity: 1;
}

.about-grid dd a:hover::after {
  width: 100%;
}

#access {
  padding: 10rem 4rem;
}

.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.access-info h3 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 1.8;
}

.access-info p {
  color: #555;
  margin-bottom: 2rem;
  line-height: 2.4;
  white-space: pre-line;
  font-size: 1.1rem;
}

.access-info .address-text {
  margin-bottom: 0;
}

.access-info .map-link-wrapper {
  margin-top: 0;
  margin-bottom: 2rem;
}

.map-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: all 0.4s;
}

.map-container:hover {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  display: inline-block;
  margin-top: 0;
  color: #1e3a8a;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.map-link:hover {
  border-bottom-color: #1e3a8a;
  padding-left: 1rem;
}

#contact {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
  text-align: center;
  padding: 10rem 4rem;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  margin: 0;
}

#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  z-index: 0;
}

#contact > * {
  position: relative;
  z-index: 1;
}

#contact h2 {
  color: #fff;
  font-weight: 400;
}

#contact h2::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6) 50%, transparent);
}

#contact .contact-description {
  font-size: 1.4rem;
  margin-bottom: 4rem;
  opacity: 0.95;
  font-weight: 300;
  line-height: 2.2;
}

#contact p {
  font-size: 1.4rem;
  margin-bottom: 4rem;
  opacity: 0.95;
  font-weight: 300;
  line-height: 2.2;
}

.contact-btn {
  display: inline-block;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  color: #0f172a;
  padding: 1.5rem 4rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.contact-btn:hover::before {
  left: 100%;
}

footer {
  background: #0a0e1a;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 4rem;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

footer p {
  margin: 1rem 0;
  font-size: 1rem;
  line-height: 2;
}

footer a {
  color: #93c5fd;
  text-decoration: none;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

footer a:hover {
  color: #dbeafe;
  border-bottom-color: #dbeafe;
}

@media (max-width: 1024px) {
  main section {
    padding: 6rem 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
  }

  .access-content {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
  }

  .about-grid {
    grid-template-columns: 180px 1fr;
  }

  .about-grid dt {
    padding: 2rem 0 2rem 2rem;
    font-size: 0.8rem;
  }

  .about-grid dd {
    padding: 2rem 2rem 2rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  header {
    padding: 1.5rem 0;
  }

  .header-inner {
    padding: 0 2rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    z-index: 100;
    padding-top: 5rem;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  }

  nav.active {
    right: 0;
  }

  body.menu-open::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }

  nav ul {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    display: flex;
  }

  nav a {
    font-size: 1.1rem;
    padding: 1rem 0;
  }

  main section {
    padding: 5rem 2rem;
  }

  .br-pc {
    display: none;
  }

  .br-sp {
    display: inline;
  }

  .section-description {
    text-align: left;
  }

  #about .section-description {
    text-align: center;
  }

  .section-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  }

  #hero {
    min-height: 80vh;
  }

  .hero-content {
    padding: 3rem 2rem;
  }

  #hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.4;
  }

  #hero .subcopy {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 1.6;
  }

  #hero .cta-btn {
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .access-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .map-container {
    height: 350px;
  }

  .service-card-content {
    padding: 2.5rem;
  }

  .service-image-wrapper {
    height: 250px;
  }

  #about {
    padding: 6rem 2rem;
    background-attachment: scroll;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 8px;
    margin: 2rem auto 0;
  }

  .about-grid dt {
    grid-column: 1;
    padding: 1.5rem 2rem 1rem;
    border-right: none;
    border-bottom: none;
    font-size: 0.75rem;
    align-items: flex-start;
  }

  .about-grid dd {
    grid-column: 1;
    padding: 0 2rem 1.5rem 2rem;
    border-bottom: none;
    font-size: 1rem;
    align-items: flex-start;
  }

  .about-grid dt:last-of-type {
    border-bottom: none;
  }

  #access {
    padding: 6rem 2rem;
  }

  #contact {
    padding: 6rem 2rem;
  }
}
