:root {
  --color-teal-50: #f0fdfa;
  --color-teal-100: #ccfbf1;
  --color-teal-200: #99f6e4;
  --color-teal-300: #5eead4;
  --color-teal-400: #2dd4bf;
  --color-teal-500: #14b8a6;
  --color-teal-600: #0d9488;
  --color-teal-700: #0f766e;
  --color-teal-800: #115e59;
  --color-teal-900: #134e4a;
  
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  
  --font-sans: 'Noto Sans JP', sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--color-gray-800);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 0.875rem;
  border: none;
}

.btn-primary {
  background-color: var(--color-teal-600);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-teal-700);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-gray-700);
  border: 1px solid var(--color-gray-300);
}

.btn-outline:hover {
  background-color: var(--color-gray-100);
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--color-gray-200);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-teal-600);
}

.nav-desktop {
  display: none;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-teal-600);
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-buttons .btn {
  display: none;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray-700);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 4rem;
  left: 0;
  width: 100%;
  height: 0;
  background-color: white;
  overflow: hidden;
  transition: height 0.3s ease;
  z-index: 40;
  box-shadow: var(--shadow-md);
}

.mobile-nav.active {
  height: calc(100vh - 4rem);
  overflow-y: auto;
}

.mobile-nav-list {
  padding: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
  background-color: var(--color-gray-100);
}

.mobile-nav-link.highlight {
  background-color: var(--color-teal-600);
  color: white;
}

.mobile-nav-link.highlight:hover {
  background-color: var(--color-teal-700);
}

/* Hero Section */
.hero-small {
  padding: 3rem 0;
  background: linear-gradient(to bottom right, var(--color-teal-50), white);
  text-align: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  max-width: 36rem;
  margin: 0 auto;
  position: relative;
}

.accent {
  color: var(--color-teal-600);
}

/* Services Detail Section */
.services-detail {
  padding: 3rem 0;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.service-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: var(--color-teal-600);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-teal-600);
  margin-bottom: 0.5rem;
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
}

.service-description {
  font-size: 1.125rem;
  color: var(--color-gray-700);
  margin-bottom: 1.5rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.feature-item i {
  color: var(--color-teal-500);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.service-detail-text {
  color: var(--color-gray-700);
}

.service-detail-text p {
  margin-bottom: 1rem;
}

.service-detail-text p:last-child {
  margin-bottom: 0;
}

.service-image {
  width: 100%;
}


.rounded-image {
    width: 800px;
    height: 400px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    height: auto;
    object-fit: cover;
}

/* Media Queries */
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  
  .header-buttons .btn {
    display: flex;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .service-item {
    flex-direction: row;
    align-items: center;
  }
  
  .service-item.reverse {
    flex-direction: row-reverse;
  }
  
  .service-content {
    flex: 1;
  }
  
  .service-image {
    flex: 1;
  }
  
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .service-title {
    font-size: 1.875rem;
  }
}

/* スマホ時は縦並びに切り替え */
@media (max-width: 768px) {
  .service-item {
    flex-direction: column;
  }

  .service-image {
    /* 最初は非表示にする */
    display: none;
  }

  /* スマホ時にservice-descriptionの直後に画像を表示したい */
  .service-description:nth-of-type(1)::after {
    content: '';
    display: block;
    margin-top: 20px;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 200px;
    border-radius: 12px;
  }
  /* 1つ目のブロック */
  .container > .service-item:nth-of-type(1) .service-description::after {
    background-image: url(/static/images/meeelog.png);
  }
  /* 2つ目のブロック */
  .container > .service-item:nth-of-type(2) .service-description::after {
    background-image: url(/static/images/meeechat.png);
  }
  /* 3つ目のブロック */
  .container > .service-item:nth-of-type(3) .service-description::after {
    background-image: url(/static/images/meeeselect.png);
  }
}

/* 共通項目↓ */

.accent {
  color: var(--color-teal-600);
  position: relative;
  display: inline-block;
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
}

.accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--color-teal-200);
  z-index: -1;
  border-radius: var(--radius-sm);
}
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  position: relative;
  z-index: 2;
}

.main-container{
  padding-top: 80px;
  margin: auto;
  padding-bottom: 40px;
}
.hero-small {
  padding: 5rem 0 5rem;
  background: linear-gradient(135deg, #cdfad3, white, #cdfad3);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-small::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, #b9fcb8 0%, transparent 70%);
  opacity: 0.4;
  z-index: 0;
}

.hero-small::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, white, transparent);
  z-index: 1;
}

.sub-container{
  max-width: 1200px;
  margin: auto;
}

.news-header {
    text-align: center;
    position: relative;
}

.news-header h1 {
    font-size: 2.0rem;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    font-family: "Roboto", "M PLUS Rounded 1c", sans-serif;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.news-large {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 8rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    pointer-events: none;
}

.content-wrapper {
    background: url(../images/noise_pc.png) repeat left top;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    gap: 40px;
    max-width: 1300px;
    margin: auto;
}
/* nav共通化 */
nav#Nav {
		left: 0;
		z-index: 10;
		width: 100%;
		height: 80px;
		overflow: hidden;
		position: absolute;
		background-color: #395246
}

nav#Nav.fixed {
		top: 0;
		left: 0;
		z-index: 10;
		position: fixed;
		overflow: hidden
}

nav#Nav.fixed .navList {
		max-width: 760px
}

nav#Nav.fixed .lineLogo {
		opacity: 1
}

nav#Nav .lineLogo {
		top: 0;
		left: 20px;
		height: 80px;
		z-index: 5;
		position: absolute;
		-webkit-transition: 0.5s ease-in-out;
		-o-transition: 0.5s ease-in-out;
		transition: 0.5s ease-in-out
}

nav#Nav .lineLogo img {
		margin-top: 22px;
		height: calc(100% - 44px)
}

nav#Nav .navList {
		width: 100%;
		margin: 0 auto;
		max-width: 870px;
		text-align: center;
		-webkit-transition: 1s ease-in-out;
		-o-transition: 1s ease-in-out;
		transition: 1s ease-in-out;
    font-weight: 600;
}

nav#Nav .navList a.list {
		width: 12%;
		cursor: pointer;
		display: inline-block;
		-webkit-transition: 1s ease-in-out;
		-o-transition: 1s ease-in-out;
		transition: 1s ease-in-out
}

nav#Nav .navList a.list .btn0 {
		color: white;
		display: block;
		cursor: pointer;
		font-size: 12px;
		letter-spacing: 2px;
		font-family: 'GothamM';
		padding: 34px 0px;
		text-align: center;
    position: relative;
}
/* アンダーバーの基本状態 */
.navList .list .btn0::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 25px;
  width: 0;                /* 初期は幅ゼロ */
  height: 2px;             /* 線の太さ */
  background-color: #cabd9d;
  transition: width 0.3s ease; /* アニメーション */
}

/* ホバー時にバーを伸ばす */
.navList .list:hover .btn0::after {
  width: 100%;             /* 親要素いっぱいに広げる */
}


nav#Nav .navList a.list.active .btn0,
nav#Nav .navList a.list:hover .btn0 {
		color: #c9bc9c
}

nav#Nav .media {
		top: 0;
		right: 25px;
		height: 100%;
		position: absolute
}

nav#Nav .media a {
		width: 40px;
		height: 100%;
		margin: 0 15px;
		cursor: pointer;
		display: inline-block;
		background-position: center;
		-webkit-transition: 0.5s ease-in-out;
		-o-transition: 0.5s ease-in-out;
		transition: 0.5s ease-in-out
}

nav#Nav .media a.fb {
		background-size: auto 18px;
		background-image: url("../images/FacebookIcon.png")
}

nav#Nav .media a.instergram {
		background-size: 18px auto;
		background-image: url("../images/instagramIcon.png");
    background-repeat: no-repeat;
}

nav#Nav .media a.twitter {
		background-size: 18px auto;
		background-image: url("../images/twitter.png")
}

nav#Nav .media a:hover {
		opacity: 0.5
}

/* footer共通化 */
footer {
		color: #cabc9d;
		font-size: 12px;
		text-align: center;
		background-color: #395246;
    padding-bottom: 10px;
}

footer .smallCage {
	text-align: center;
	margin: 20px 0 10px 0;
	padding-top: 10px;
}
footer .smallCage a {
	color: #cabc9d;
	margin: 0 30px;
}

.my-4{
  margin-bottom: 5rem;
}

.sp-only {
  display: none;
}
@media only screen and (max-width:1025px) {
  .main-container{
    padding-bottom:0;
    padding-top: 60px;
  }
  nav#Nav {
		height: 60px;
	}
  nav#Nav .navList {
      max-width: 700px
  }
  nav#Nav .navList a.list {
      width: auto
  }
  nav#Nav .navList a.list .btn0 {
      padding: 34px 24px
  }
  nav#Nav.fixed .navList {
      max-width: 600px
  }

  nav#Nav {
      top: 0;
      position: fixed;
      -webkit-transition: 1s ease-in-out;
      -o-transition: 1s ease-in-out;
      transition: 1s ease-in-out;
      -webkit-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.2);
      -moz-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.2);
      box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.2)
  }
  nav#Nav .lineLogo {
      opacity: 1;
      top: -8px;
  }
  nav#Nav .media,
  nav#Nav .navList {
      opacity: 0;
      pointer-events: none
  }
  nav#Nav .navList {
      padding-top: 11%
  }
  nav#Nav .navList a.list {
      width: 100%;
      display: block
  }
  nav#Nav .navList a.list .btn0 {
      font-size: 20px;
      padding: 15px 40px
  }
  nav#Nav .media {
      right: 0;
      width: 100%;
      height: 80px;
      position: relative;
      text-align: center;
      -webkit-transition: 0.8s ease-in-out;
      -o-transition: 0.8s ease-in-out;
      transition: 0.8s ease-in-out
  }
  nav#Nav .media a {
      margin: 0 15px
  }
  nav#Nav .menu {
      top: 22px;
      right: 30px;
      width: 30px;
      position: absolute
  }
  nav#Nav .menu .bar {
      height: 2px;
      width: 100%;
      background-color: #c9bc9d;
      -webkit-transition: 0.3s ease-in-out;
      -o-transition: 0.3s ease-in-out;
      transition: 0.3s ease-in-out
  }
  nav#Nav .menu .bar.middle {
      margin: 7px 0
  }
  nav#Nav.fixed .lineLogo {
      opacity: 1
  }
  nav#Nav.openMenu {
    height: 100%;
    z-index: 3;
  }
  nav#Nav.openMenu .media,
  nav#Nav.openMenu .navList {
      opacity: 1;
      display: block;
      pointer-events: auto
  }
  nav#Nav.openMenu .menu .bar {
      height: 2px;
      width: 100%;
      background-color: #c9bc9d
  }
  nav#Nav.openMenu .menu .bar.top {
      width: 34px;
      position: relative;
      -webkit-transform: rotate(31deg);
      -ms-transform: rotate(31deg);
      transform: rotate(31deg);
      -webkit-transform-origin: 0px 1px;
      -ms-transform-origin: 0px 1px;
      transform-origin: 0px 1px
  }
  nav#Nav.openMenu .menu .bar.middle {
      width: 0;
      margin: 7px 0
  }
  nav#Nav.openMenu .menu .bar.bottom {
      position: relative;
      width: 34px;
      -webkit-transform: rotate(-31deg);
      -ms-transform: rotate(-31deg);
      transform: rotate(-31deg);
      -webkit-transform-origin: 0px 1px;
      -ms-transform-origin: 0px 1px;
      transform-origin: 0px 1px
  }
  footer .smallCage{
    width: 100%;
    margin: 0;
    padding: 10px;
    justify-content: space-around; /* 中央寄せや左右バランス調整に応じて変更可 */
  }
  footer .smallCage a {
    margin: 0 12px;
  }
  .hero-description {
    width: 80%;
  }
  .sp-only {
    display: inline;
  }

}

/* 共通項目↑ */