@import url(variables.css);
/* =====================
   共通スタイル (PC用 769px以上)
===================== */
/* こころみ様専用共通スタイル */
body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-text);
}

a {
  text-decoration: none;
}

/* レイアウト */
.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー（2段構成・画像見本通り） */
.cocoromi-header {
  /* position: fixed; */
  top: 0;
  left: 0;
  width: 100%;
  /* background: #fff; */
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
  z-index: 1000;
  /* padding-bottom: 32px; */
  /* border-bottom: 1.5px solid #eaf3e3; */
}

.cocoromi-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px 0 24px;
  /* display: flex; */
  /* align-items: flex-start; */
  /* justify-content: space-between; */
  /* flex-direction: row; */
  /* position: relative; */
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cocoromi-header-logo {
  /* display: flex; */

  flex-direction: column;
  /* align-items: flex-start; */
  gap: 4px;
  /* width: auto; */
  min-width: 180px;
}

.cocoromi-header-logo img {
  margin-bottom: 2px;
}

.cocoromi-header-logo-text {
  font-size: 13px;
  color: var(--black);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin-left: 2px;
}

.cocoromi-header-logo-corp {
  font-size: 22px;
  color: var(--deep-green);
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-left: 2px;
  font-family: 'Noto Serif JP', serif;
}

.cocoromi-header-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  /* position: absolute; */
  top: 0;
  right: 24px;
  /* z-index: 2; */
}

.cocoromi-header-contact {
  background: #fff;
  border: 1px solid var(--deep-green);
  color: var(--deep-green);
  font-weight: 700;
  font-size: 15px;
  border-radius: 24px;
  padding: 7px 50px;
  margin-right: 2px;
  transition: all 0.2s;
}

.cocoromi-header-contact:hover {
  background: #eaf3e3;
  color: var(--deep-green);
}

.cocoromi-header-recruit {
  background: var(--deep-green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 24px;
  /* padding: 7px 32px; */
  padding: 7px 50px;
  border: none;
  transition: all 0.2s;
}

.cocoromi-header-recruit:hover {
  background: #61B499;
}

.cocoromi-header-nav {
  width: 100%;
  /* position: absolute; */
  left: 0;
  bottom: -32px;
  display: flex;
  justify-content: flex-end;
  z-index: 1;
}

.cocoromi-header-nav-list {
  display: flex;
  justify-content: center;
  gap: 25px;
  /* list-style: none; */
  /* padding: 0; */
  /* margin: 0; */
}

.cocoromi-header-nav-list a {
  color: var(--deep-green);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  transition: color 0.2s;
}

.cocoromi-header-nav-list a:hover {
  color: #61B499;
}

/* フッター */
.l-footer {
  background: var(--cocoromi-text);
  color: var(--cocoromi-bg);
  padding: 60px 0 20px;
}

.footer-inner {
  max-width: var(--cocoromi-container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  width: 180px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-info {
  margin: 0 40px;
}

.footer-address,
.footer-tel {
  margin: 0;
  line-height: 1.6;
}

.footer-nav {
  flex: 1;
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

.footer-nav-list a {
  color: var(--cocoromi-bg);
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s;
}

.footer-nav-list a:hover {
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
}

.copyright {
  font-size: 12px;
  margin: 0;
}

/* メインコンテンツの調整 */


/* フッター SPECIAL CONTENTS デザイン */
.footer-special {
background: linear-gradient(120deg, #f7fbf8 60%, #eaf3e3 100%);
padding: 80px 0 0 0;
position: relative;
overflow: hidden;
}
.footer-special-inner {
max-width: 1100px;
margin: 0 auto;
padding: 0 24px 60px 24px;
position: relative;
z-index: 2;
}
.footer-special-title {
text-align: center;
font-size: 3rem;
color: var(--deep-green);
letter-spacing: 0.18em;
font-family: 'Noto Serif JP', serif;
font-weight: 500;
margin-bottom: 36px;
}
.footer-special-contents {
display: flex;
justify-content: center;
gap: 50px;
margin-bottom: 36px;
}
.footer-special-item {
width: 220px;
display: flex;
flex-direction: column;
align-items: center;
}
.footer-special-img {
width: 100%;
height:auto;
margin-bottom: 12px;
}
.footer-special-desc {
line-height: 1.7;
}
.footer-special-divider {
border: none;
border-top: 2px solid #b7d2c3;
margin: 48px 0 32px 0;
}
.footer-special-subtitle {
text-align: center;
color: var(--deep-green);
font-weight: bold;
margin-bottom: 32px;
letter-spacing: 0.08em;
}
.footer-special-services {
display: flex;
justify-content: center;
gap: 50px;
margin-bottom: 40px;
}
.footer-service-item {
width: 220px;
display: flex;
flex-direction: column;
align-items: center;
}
.footer-service-img {
width: 100%;
height:auto;
object-fit: contain;
margin-bottom: 10px;
}
.footer-service-desc {
line-height: 1.7;
}
.footer-special-circle {
position: absolute;
top: 40px;
right: 40px;
width: 60px;
height: 60px;
background: #b7e3b7;
border-radius: 50%;
opacity: 0.7;
z-index: 1;
display: none;
}

.footer-main {
background: #eaf3e3;
padding: 40px 0 0 0;
}

.footer-main-inner {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
padding: 20px 32px;
}

.footer-main-col1 {
width: 25%;
}

.footer-main-right {
width: 75%;
display: flex;
justify-content: space-between;
}

.footer-main-col2,
.footer-main-col3 {
padding: 0 20px;
width: 50%;
}

.footer-logo-block {
display: flex;
align-items: center;
max-width: 200px;
margin-bottom: 25px;
}

.footer-main-logo {
width: 100%;
height: auto;
}

.footer-nav-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
margin-bottom: 25px;
}

.footer-nav-button {
display: flex;
align-items: center;
text-decoration: none;
transition: all 0.3s ease;
}

.footer-nav-button:hover {
opacity: 0.8;
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.icon-circle img {
  width: 20px;
  height: 20px;
}

.icon-text {
font-weight: bold;
letter-spacing: 0.08em;
color: var(--black);
}

.footer-contact-button {
margin: 0 0 20px 0;
}

.contact-btn {
display: block;
width: 100%;
background-color: #fff;
color: var(--black);
text-align: center;
padding: 12px;
border-radius: 30px;
text-decoration: none;
border: 1px solid var(--deep-green);
font-weight: bold;
transition: all 0.3s ease;
}

.contact-btn:hover {
background-color: var(--deep-green);
color: #fff;
}

.footer-main-sns {
display: flex;
gap: 15px;
margin-bottom: 20px;
}

.footer-main-sns img {
width: 24px;
height: 24px;
}

.footer-main-group-title {
font-weight: bold;
font-size: 16px;
margin-bottom: 15px;
border-bottom: 1px solid #42BF81;
padding-bottom: 5px;
}

.footer-main-group-list {
list-style: none;
color: var(--black);
line-height: 2.5;
font-size: 14px;
}

.footer-main-group-list li{
letter-spacing: 0.08em;
}

.footer-main-bottom {
border-top: 1px solid var(--deep-green);
margin-top: 20px;
padding: 15px 32px;
display: flex;
justify-content: center;
align-items: center;
color: var(--deep-green);
}

.footer-policy-link {
color: var(--deep-green);
text-decoration: none;
font-size: 14px;
}

.footer-copyright {
font-size: 14px;
}

h2 {
  font-size: clamp(3rem, 5vw, 5rem);
}
h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}
p, span, li, a, div, td, th {
  font-size: 1.6rem;
}

/* ハンバーガーメニュー */
.hamburger-menu {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger-menu span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--deep-green);
  border-radius: 3px;
  opacity: 1;
  left: 0;
}

.hamburger-menu span:nth-child(1) {
  top: 6px;
}

.hamburger-menu span:nth-child(2) {
  top: 18px;
}

.mobile-menu-buttons {
  display: none;
}

/* =====================
   タブレット用スタイル (768px以下)
===================== */
@media (max-width: 768px) {
  .cocoromi-header-nav-list {
    gap: 20px;
  }
  
  .cocoromi-header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 8px 0 8px;
  }
  
  .cocoromi-header-buttons {
    position: static;
    margin-top: 8px;
    right: unset;
    top: unset;
  }
  
  .cocoromi-header-nav {
    position: static;
    margin-top: 18px;
    width: 100%;
  }
  
  .cocoromi-header-nav-list {
    gap: 18px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-info {
    margin: 0;
  }

  .footer-nav-list {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-special-contents, 
  .footer-special-services {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .footer-special-inner {
    padding: 0 4px 40px 4px;
  }

  .footer-main-inner {
    flex-direction: column;
    padding: 20px 15px;
  }

  .footer-main-col1, 
  .footer-main-right {
    width: 100%;
  }

  .footer-main-right {
    flex-direction: column;
    margin-top: 30px;
  }

  .footer-main-col2,
  .footer-main-col3 {
    margin-bottom: 30px;
    padding: 0;
  }

  .footer-main-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    text-align: center;
  }

  .hamburger-menu {
    display: block;
    position: absolute;
    right: 20px;
    top: 18px;
  }
  
  .cocoromi-header-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    padding: 80px 20px 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow-y: auto;
  }
  
  .cocoromi-header-nav-list {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 40px;
  }
  
  .cocoromi-header-nav-list li {
    width: 100%;
  }
  
  .cocoromi-header-nav-list a {
    display: block;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #eaf3e3;
  }
  
  .cocoromi-header-buttons {
    display: none;
  }
  
  .mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
  }
  
  .mobile-menu-buttons .cocoromi-header-contact,
  .mobile-menu-buttons .cocoromi-header-recruit {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }
}

/* =====================
   スマホ用スタイル (480px以下)
===================== */
@media (max-width: 480px) {
  /* ヘッダー */
  .cocoromi-header-buttons {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  
  .cocoromi-header-contact,
  .cocoromi-header-recruit {
    width: 100%;
    text-align: center;
    padding: 7px 20px;
  }
  
  .cocoromi-header-nav-list {
    gap: 0px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  
  .cocoromi-header-nav-list a {
    font-size: 16px;
    padding: 20px 4px;
  }
  
  /* フッター */
  .footer-special-item,
  .footer-service-item {
    width: 90%;
  }
  
  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main-sns {
    justify-content: center;
    gap: 20px;
}

.footer-main-right {
  display: none;
}
  
  h2 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  
  h3 {
    font-size: clamp(1.8rem, 6vw, 2rem);
  }
}
