@charset "UTF-8"; /* 文字コードの指定 */

/* 全体のスタイル
------------------------------------------ */

html { font-size: 62.5%; }

*,
*::before,
*::after {
  box-sizing: border-box;
}


body {
  font-family: 'Noto Sans JP', sans-serif; /* フォントの種類 */
  color: #3f3d3d; /* 文字色 */
  line-height: 1.75; /* 行間 */
  margin:0;
}

p{
  margin:0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

li {
  list-style: none;
}

a,
a:hover {
  text-decoration: none;
  color:#fff;
}

h1{
  font-size:clamp(2rem, 1.693rem + 1.31vw, 3.25rem);
  color: #fff;
}

h2{
  font-size:clamp(1.75rem, 1.443rem + 1.31vw, 3rem);
  margin-bottom:10px;
}

h3{
  font-size:clamp(1.5rem, 1.193rem + 1.31vw, 2.75rem);
  color: rgb(15, 55, 127);
}

h4{
  font-size:clamp(1rem, 0.754rem + 1.05vw, 2rem);
  color: rgb(15, 55, 127);
  color:#dc3545;
  margin-bottom:1rem;
}

.title-en{
  font-size:clamp(1rem, 0.754rem + 1.05vw, 2rem);
  color:#dc3545;
  margin:0;
  font-weight: bold;
}


/* 全体のレイアウト
------------------------------------------ */
.container {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
}

/* ヘッダー
------------------------------------------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;          /* 200 → 超高く */
  isolation: isolate;  
  background-color:rgb(15, 55, 127) ;
  color:#fff;
  padding-left: 7%;
  padding-right: 7%;
 
}

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

.header-brand{
  display: flex;
  flex-direction: row;
  align-items: center;
}

.hamburger-button{
  width: 6rem;
  height: 6rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@media(min-width:768px){
  .hamburger-button{
    visibility: hidden;
  }
}

.bi-list{
  font-size:3.6rem; 
}

.header-nav{
  font-size:clamp(1rem, 0.816rem + 0.79vw, 1.75rem); 
}


.header-nav-list{
  display:flex;
  flex-direction: column;
  gap:20px;
}

@media(min-width:768px){
 .header-nav-list{
   flex-direction: row;
   gap:20px;
 }
}


/* ドロップダウンメニュー（PC用） */

@media (min-width: 768px) {
  .dropdown {
    position: relative;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 300px;
    z-index: 300;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    color: #0f377f; /* 本体色に合わせて */
    padding: 10px;
    display: block;
    text-decoration: none;
  }

  .dropdown-menu li a:hover {
    background-color: #f0f0f0;
  }
}


/* ドロップダウンメニュー（スマホ用） */
@media (max-width: 767.9px) {
  .dropdown-menu {
    display: none;
    list-style: none;
    padding-left: 1rem;
    background-color: rgb(15, 55, 127);
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    color: #fff;
    padding: 10px 0;
    display: block;
    text-decoration: none;
  }
}

.dropdown-toggle{
  color:#fff;
}


/* ハンバーガーメニュー
------------------------------------------ */

@media (max-width: 767.9px) {
  .header-nav{
    position: fixed;
    top: 6rem;
    left: 100%; /* 最初は画面外 */
    opacity: 0;
    transition: left 0.7s ease, opacity 0.7s ease;
    pointer-events: none;  /* 非表示時はクリック無効 */
    background-color: rgb(15, 55, 127); /* 必要に応じて */
    width: 100%;
    padding: 2rem;
  }
}

.header-nav.open {
  /* メニューを開いたときのスタイル */
  left: 0;
  opacity: 1;
  transition: left 0.7s ease, opacity 0.7s ease;
  background-color: rgb(15, 55, 127); /* 必要に応じて */
  width: 100%;
  padding: 2rem;
  pointer-events: auto;
}
/* メインタイトル
------------------------------------------ */

.main-caption{
  background-image: url(../img/Picnic-2023-5.jpg);
  background-position: center;
  background-size:cover;
  width: 100%;
  aspect-ratio:5 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-title{
  position: relative;
  z-index: 2;
}

.main-caption p{
  position:relative;
  z-index: 2;  
}

.main-caption::after{
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background-color: rgb(15, 55, 127,0.3) ;
}

.mvv{
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
}

.mvv-caption{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
}

.misson{
  margin-top:2rem;
}

.misson-contents p{
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  line-height: 2.5;
}

.vision{
  margin-top:2rem;
}

.vision-contents p{
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  line-height: 2.5;
}

.value{
  margin-top:2rem;
}

.value-contents p{
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  line-height: 2.5;
}

/* 代表挨拶
------------------------------------------ */
.ceo{
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
}

.ceo-caption{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
}

.ceo-greeting{
  display: flex;
  flex-direction: column;
  gap:20px;

}

@media(min-width:768px){
  .ceo-greeting{
   display: block;
}
}

@media(min-width:768px){
.ceo-greeting img {
  width:30%;
  max-width: 35%;
  height: auto;
  float: left;
  margin: 0 20px 20px 0;
  vertical-align: bottom;
}
}

@media(min-width:768px){
.ceo-greeting::after {
  content: "";
  display: block;
  clear: both;
}
}

.ceo-greeting-text{
  height: 100%; /* 高さを親と合わせる */
  text-align:left;
  line-height: 2.5;
  font-size:clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
}

/* 会社概要
------------------------------------------ */

.info{
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
}

.info-container{
 display: flex;
 justify-content: center;
 align-items: center;
 flex-direction: column;
 width: 100%;
}

.info-caption{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
}

@media(min-width:768px){
  .info-table{
    width:100%;
  }
  }


th, td {
  display: block;
  width: 100%; /* ブレイクポイントで幅が異なる場合は忘れずに！ */
 }

 th{
  font-size:clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  color:#fff;
  background-color: rgb(15, 55, 127) ;
 }

 td{
  font-size:clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  padding-top:20px;
  padding-bottom: 20px;
 }

 @media(min-width: 768px) {
  th,
  td {
      display: table-cell; /* デフォルト値に指定 */
      border-bottom: 1px solid #ccc;
      background: #fff;
  }
}

@media(min-width: 768px) {
  th{
    width:30%;
    color: #3f3d3d;
  }
}

@media(min-width: 768px) {
  td{
    width: 70%;
    color: #3f3d3d;
  }
}

/* グループ
------------------------------------------ */
.group{
  padding-left: 7%;
  padding-right: 7%;
  padding-bottom: 5%;
  padding-top: 5%;
  margin-top:12%;
  background-image: url(../img/panaceanepal.jpg);
  background-position: center;
  background-size: cover;
  width: 100%;
  position: relative;
}

.group-caption{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}

.group::after{
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background-color: rgba(191, 191, 201, 0.6); /* 半透明の黒 */
}

.group-container{
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.group-info{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-items: center;
  align-items: start;
  background-color:rgba(15, 55, 127, 0.7);
}

.group-text{
 font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
 line-height: 2.5;
 color:#fff;
 padding: 5%;
 z-index: 2;
 position: relative;
}

.sns-card{
  padding-top: 5%;
  padding-bottom: 5%;
   position: relative;
}
.sns-card iframe{
  position: relative;
  z-index: 2;}

.panaceanepal{
  text-align: right;
  color:#ff9100;
  font-weight: bold;
}
/* アクセス
------------------------------------------ */
.access{
  padding-left: 7%;
  padding-right: 7%;
  margin-top: 12%;
  margin-bottom:12%;
}

.access-caption{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
}


.access-map {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9の比率 */
}

.access-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* お問い合わせ
------------------------------------------ */

.contact{
  position:relative;
}

.contact::after{
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background-color: rgba(0, 0, 128, 0.6); /* 半透明の黒 */
}



.contact-container{
  background-image: url("../img/background.jpg");
  background-position: center;
  background-size: cover;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 12%;
  padding-bottom: 12%;
}



.contact-caption{
  display: flex;
  flex-direction: column;
  justify-content:center;
  align-items: center;
  margin-bottom: 2rem;
  z-index:3;
  color:#fff;
  position:relative;
}


.contact-methods{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  position: relative; /* ← これが重要 */
  z-index: 3;         /* ← 擬似要素より前に */
  gap:clamp(0.625rem, -0.511rem + 5.68vw, 3.75rem);
  padding-left: 7%;
  padding-right: 7%;
}

.contact-mail{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative; /* ← これが重要 */
  z-index: 3;         /* ← 擬似要素より前に */
  width:35%;
}

.contact-tel{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative; /* ← これが重要 */
  z-index: 3;         /* ← 擬似要素より前に */
  width:35%;
}

.telicon{
  font-size:clamp(4rem, 1.818rem + 10.91vw, 10rem);
  position: relative; /* ← これが重要 */
  z-index: 3;         /* ← 擬似要素より前に */
  color:#fff;
}

.mailicon{
  font-size:clamp(4rem, 1.818rem + 10.91vw, 10rem);
  position: relative; /* ← これが重要 */
  z-index: 3;         /* ← 擬似要素より前に */ 
  color:#fff
}

.contact-mail-text{
  font-size:clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  color:#fff;
  padding-top:5%;
}

.contact-tel-text{
  font-size:clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  color:#fff;
  padding-top: 5%;
 }

 .telnum a{
  color:#ff9100;
  font-size:clamp(1.75rem, 1.443rem + 1.31vw, 3rem) ;
  font-weight: bolder;
 }

.telnum{
  text-align: center;
 
}



/* フッター
------------------------------------------ */


.footer-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap:20px;
  padding-left: 8%;
  padding-right: 8%;
  padding-top: 5%;
  padding-bottom: 5%;
  background-color:rgb(15, 55, 127) ;
  color:#fff;
}


.footer-brand{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap:2%;
}

.footer-brand-logo {
  display: block;
}

.footer-title{
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
  font-weight: bold;
  gap:20px;
}


.footer-info{
  font-size:clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
}



.footer-nav{
  font-size: clamp(1rem, 0.816rem + 0.79vw, 1.75rem);
}



.footer-social{
  display: flex;
  justify-content: flex-start;
}

.footer-social-box{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  font-size: 2.5rem;
  gap:10%;
  width:40%;
}

.bi-facebook,.bi-instagram,.bi-twitter-x{
  color: #fff;
}

.copyright{
  text-align: center;
  background-color: rgba(124, 123, 123, 0.473);
  font-size: clamp(1rem, 0.877rem + 0.52vw, 1.5rem);
}