@charset "UTF-8";
/* CSS Document */

body  {
  margin: 0 0 0 0;
}


/* メイン画像下--------------------------------------------------------- */

.addgrid {
  width: 950px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;   /* ★ 各行を同じ高さにする */
  gap: 0;
}

.addgrid .cell {
  background: #b5daf8;
  border: 1px solid #fff;
  padding: 2% 10%;
  text-align: center;
  font-weight: 900;
  font-size: 17px;   /* ← 調整済み */
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 中身を縦方向中央寄せ */
}

.addgrid .cell.highlight {
  background: #fff3a0; /* 薄い黄色 */
  font-size: 20px;
}

/* 強調部分 */
.addgrid .cell .link {
  color: red;
  font-weight: bold;
}

.addgrid .cell .phone,
.addgrid .cell .mail {
  color: red;
  font-weight: bold;
  display: block;       /* ← 縦並びに */
  margin-top: 2px;      /* ← 行間を自然に */
  line-height: 1.6;     /* ← 他と揃える */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .addgrid {
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;  /* スマホでは高さを自動に戻す */
  }
  .addgrid .cell {
    font-size: 14px;  /* スマホでは少し小さめ */
    text-align: left;
    padding: 3% 15%;  /* 上下5%、左右15% */
  }
}

/* --------------------------------------------------------- */

/* ================================
   メニュー全体
================================ */
#menu {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  width: 950px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ================================
   各セル（li）
================================ */
#menu li {
  border: 1px solid #ffffff;
  background: #004280;        
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

/* ================================
   リンク（a）
================================ */
#menu li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 22px 10px;   /* ← PCの上下余白を22pxに調整 */
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 17px;            
  font-weight: bold;
  transition: color 0.3s ease;
}

/* ================================
   ホバー時の動き（PC & スマホ共通）
================================ */
#menu li:hover {
  background: #001533;        /* ← 黒に近い青 */
}
#menu li:hover a {
  color: yellow;              
}

/* ================================
   ハンバーガー用トグル（今は非表示）
================================ */
#toggle {
  display: none;
}

/* ================================
   レスポンシブ
================================ */

/* タブレット（2列構成） */
@media only screen and (max-width: 768px) {
  #menu {
    grid-template-columns: repeat(2, 1fr);
  }
  #menu li a {
    padding: 18px 10px;   /* ← タブレット用 少し広め */
    font-size: 16px;          
  }
}

/* スマホ（1列構成） */
@media only screen and (max-width: 480px) {
  #menu {
    grid-template-columns: 1fr;
  }
  #menu li a {
    padding: 15px 10px;   /* ← スマホは余白控えめ */
    font-size: 15px;          
  }
}




/* --------------------------------------------------------- */


#container {
  margin: 0% auto;
  width: 950px;
  height: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto; }
@media only screen and (max-width: 950px){
    #container {
      max-width: 100%;
      width: 100%; } }
@media only screen and (max-width: 768px){
    #container {
      max-width: 100%;
      width: 100%; } }
@media only screen and (max-width: 480px){
    #container {
      max-width: 100%;
      width: 100%; } }



a:link {
    color: red;           /* 未訪問リンクは赤 */
    text-decoration: none; /* 下線なし */
}

a:visited {
    color: darkred;       /* 訪問済みは暗い赤 */
    text-decoration: none;
}

a:hover {
    color: orange;        /* マウスオンでオレンジ */
    text-decoration: none;
}

a:active {
    color: darkred;       /* クリック中も暗い赤 */
    text-decoration: none;
}


/* --------------------------------------------------------- */

.maintop img { 
 	width: 100%;
 	height: 100%;
	margin: 0 0 0 0;
}
@media only screen and (max-width: 768px){
    .maintop img  {
      width: 100%; } }
@media only screen and (max-width: 480px){
    .maintop img  {
      width: 100%; } }

/* --------------------------------------------------------- */

.addless_box {
  margin: 0px 0 0 0;
  padding: 5%;
  font-size: 140%;
  line-height: 1.6em;
  letter-spacing: 0.05em;
  color: #fff;
  text-align: center;
  background-color: #0068B2; }
  .addless_box p {
    margin: 0 0 0 0;
    text-align: center; }
  @media all and (max-width: 640px) {
    .addless_box {
      font-size: 90%;
      padding: 10%; } }
  @media all and (max-width: 320px) {
    .addless_box {
      font-size: 90%; } }


/* --------------------------------------------------------- */

.about_box {
  display: inline-block;
  margin: 0 0 1px 0;
  padding: 0;
  font-size: 17px;      /* PC時 */
  line-height: 1.6em;
  letter-spacing: 0.05em;
  color: #fff;
  text-align: left;     /* ← 中央揃え → 左揃え */
  background-color: #0068B2;
}

.about_box p {
  margin: 0;
  padding: 5%;
  text-align: left;     /* ← 中央揃え → 左揃え */
}

@media all and (max-width: 640px) {
  .about_box {
    font-size: 14px;   /* スマホ時 */
    padding: 3% 10%;
    text-align: left;  /* 念のため指定 */
  }
}

/* --------------------------------------------------------- */

.information_box {
  margin: 0px 0px 0px 0px;
  padding: 0%;
  font-size: 140%;
  line-height: 1.6em;
  letter-spacing: 0.05em;
  color: #fff;
  text-align: center;
  background-color: #022949; }
  .information_box p {
    margin: 0% 0% 0% 0%;
    padding: 5%;
    text-align: center; }
  @media all and (max-width: 640px) {
    .information_box {
      font-size: 90%;
      padding: 10%; } }
  @media all and (max-width: 320px) {
    .information_box {
      font-size: 90%; } }


/* --------------------------------------------------------- */

	
.ado img { 
	margin: 0 0 0 0;
	width: 100%;
	height: 80px;
	object-fit: cover;
	text-align: center; 
	margin-left: auto;
	margin-right: auto; }
@media only screen and (max-width: 768px){
    .midashi {
      width: 100%; } }
@media only screen and (max-width: 480px){
    .midashi {
      width: 100%; } }

/* --------------------------------------------------------- */

	
.midashi_b img { 
	margin: 5px 0 0 0;
	width: 100%;
	height: 70px;
	object-fit: cover;
	text-align: center; 
	margin-left: auto;
	margin-right: auto; }


/* --------------------------------------------------------- */

	
/* ================================
   見出し画像
================================ */
.midashi img { 
  margin: 0;
  width: 100%;
  height: 70px;
  object-fit: cover;
  text-align: center; 
  margin-left: auto;
  margin-right: auto;
  display: block;
  margin-bottom: 0px;   /* ← 画像と下のテキストの間を少しだけ空ける */
}

@media only screen and (max-width: 768px){
  .midashi {
    width: 100%;
  }
}
@media only screen and (max-width: 480px){
  .midashi {
    width: 100%;
  }
}




/* ================================
   mainF 全体
================================ */
.mainF {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 本文テキスト */
.mainF p {
  margin: 0;
  padding: 5%;                     /* ← about_box と同じく内側余白 */
  color: #000;
  font-size: 17px;                 /* PC時 */
  line-height: 1.6em;
  letter-spacing: 0.05em;
  font-family: Quicksand, sans-serif;
  text-align: justify;             /* 箱組み風に両端揃え */
  text-justify: inter-ideograph;
}

/* table と td はそのまま */
.mainF table {
  font-size: 15px;
  font-family: Quicksand, sans-serif;
}
.mainF td {
  text-align: center;
  padding: 0;
}

/* スマホ用レスポンシブ */
@media all and (max-width: 640px) {
  .mainF p {
    font-size: 14px;               /* スマホ時 */
    padding: 3% 10%;               /* about_box と似た余白感に */
    text-align: justify;
  }
}

/* --------------------------------------------------------- */


.menu01 { 
	margin: -3px 0 0 0;
	background:#ffffff url(/mescius/img/mainA02.jpg) ;
	background-repeat: no-repeat;
	background-position: right;
	width: 100%;
	height: 500px;
	object-fit: cover;
	text-align: right; 
	margin-left : auto; }


.menu02 { 
	margin: -3px 0 0 0;
	background:#ffffff url(/mescius/img/mainB02.jpg) ;
	background-repeat: no-repeat;
	background-position: right;
	width: 100%;
	height: 500px;
	object-fit: cover;
	text-align: right; 
	margin-left : auto; }

.menu03 { 
	margin: -3px 0 0 0;
	background:#ffffff url(/mescius/img/mainC02.jpg) ;
	background-repeat: no-repeat;
	background-position: right;
	width: 100%;
	height: 500px;
	object-fit: cover;
	text-align: right; 
	margin-left : auto; }

.menu04 { 
	margin: -3px 0 0 0;
	background:#ffffff url(/mescius/img/mainD02.jpg) ;
	background-repeat: no-repeat;
	background-position: right;
	width: 100%;
	height: 500px;
	object-fit: cover;
	text-align: right; 
	margin-left : auto; }


/* --------------------------------------------------------- */


.menu_txt {
  max-width: 320px;       
  margin: 30px 0 30px 40px;   /* PC時は左寄せ（左に40px） */
  padding: 20px 15px;        
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
}

.menu_txt h2 { 
  margin: 0 0 20px 0;     
  font-weight: bold;
  font-size: 140%;
  line-height: 1.6em;
  letter-spacing: 0.05em;
  text-align: left;
}

.menu_txt p {
  font-size: 110%;
  line-height: 1.8em;
  letter-spacing: 0.05em;
  text-align: justify;
  text-justify: inter-ideograph;
  margin: 0;
}

/* スマホ時は中央寄せ */
@media all and (max-width: 640px) {
  .menu_txt {
    margin: 20px auto;   /* 中央寄せに変更 */
  }
}



/* --------------------------------------------------------- */


.midashi02_box {
  margin: -3px auto 40px auto;   /* 下に余白を広めに */
  padding: 12px 0;
  width: 85%;
  display: flex;                 /* 横並び用 */
  justify-content: center;
  align-items: center;
  gap: 10px;                     /* タイトルと注釈の間隔 */
  font-size: 20px;               /* タイトルは20px */
  font-weight: bold;             /* タイトルは太字 */
  color: #fff;
  background-color: #98bfe0;
  border-radius: 12px;
  text-align: center;
}

.midashi02_box .title {
  font-weight: bold;
}

.midashi02_box .note {
  font-size: 14px;               /* 注釈は小さめ */
  font-weight: normal;           /* 注釈は普通 */
}

/* スマホ時は縦並び */
@media all and (max-width: 640px) {
  .midashi02_box {
    width: 90%;
    border-radius: 8px;
    flex-direction: column;      /* 縦並びに変更 */
    gap: 5px;                    /* 行間少し狭め */
  }
}


/* --------------------------------------------------------- */


.gaibu {
  display: flex;               
  justify-content: center;     
  align-items: flex-end;       
  gap: 20px;                   
  flex-wrap: wrap;             
  width: 100%;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 70px;   /* ★ 下に40pxの余白を追加 */
}

.gaibu-item img {
  width: 200px;                
  height: auto;
  display: block;
  margin: 0 auto;
}

.gaibu-item p {
  margin: 10px 0;
  font-size: 14px;
  font-weight: bold;
}

/* スマホでは縦並び */
@media (max-width: 640px) {
  .gaibu {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;   /* スマホでは少し狭めでもOK */
  }
}



/* --------------------------------------------------------- */

/* ================================
   価格表（共通スタイル）
================================ */
.kakaku {
  max-width: 650px;              /* PCで横幅広めに */
  margin: 30px auto 50px auto;   /* 上30px / 下50px の余白を追加 */
  font-family: Quicksand, sans-serif;
  font-size: 16px;
  border-collapse: collapse;
}

/* 各行（横並び） */
.kakaku-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 5px;             /* ★ 上下余白を少し広げる */
  border-bottom: 1px solid #5080aa;
  transition: background-color 0.3s;
}

.kakaku-row:hover {
  background-color: #e5e5e5;     /* マウスオン時の背景色 */
}

/* 左側（アイコン＋テキスト） */
.kakaku-item {
  display: flex;
  align-items: center;
  gap: 10px;                     /* 画像とテキストの間隔 */
  flex: 1;                       /* 項目部分を伸ばす */
}

.kakaku-item img {
  width: 24px;
  height: auto;
  flex-shrink: 0;
}

/* テキスト（メイン＋サブを縦積み） */
.kakaku-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5px 0;                /* ★ テキスト全体に上下の余白 */
  text-align: left;
}

.kakaku-main {
  font-size: 17px;
  font-weight: bold;
  color: #5780a0;
  line-height: 1.4;
}

.kakaku-sub {
  font-size: 14px;
  color: #5780a0;                /* メインと同じ色に統一 */
  line-height: 1.4;
}

/* 右側（価格） */
.kakaku-price {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  min-width: 120px;              /* カラム幅を揃える */
  text-align: right;
  padding: 5px 0;                /* テキスト上下に余白 */
}

/* ================================
   レスポンシブ
================================ */
@media all and (max-width: 640px) {
  .kakaku {
    width: 90%;
    margin: 20px auto 40px auto; /* スマホ用の余白調整 */
  }

  .kakaku-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .kakaku-price {
    text-align: left;           
    margin-top: 5px;
    min-width: auto;

    /* ★ アイコンの幅＋gap分だけずらしてテキストに揃える */
    margin-left: 34px;  /* 24px(アイコン幅) + 10px(gap) */
  }
}


/* --------------------------------------------------------- */

.img-center {
  text-align: center;   /* 画像を中央寄せ */
  margin: 20px 0;       /* 上下に余白（必要なら調整） */
}

/* --------------------------------------------------------- */

.mainE {
  display: flex;
  flex-direction: column; /* スマホでは縦並び */
  align-items: center;
  gap: 20px;
  width: 90%;
  margin: 0 auto;
  font-family: Quicksand, sans-serif;
}

.mainE-step {
  text-align: center;
}

.mainE-step img {
  display: block;
  margin: 0 auto 10px auto; /* スマホ時は中央寄せ */
}

.mainE-text {
  text-align: center;
}

.mainE-title {
  color: #9966e1;
  font-weight: bold;
  font-size: 17px;
}

.mainE-sub {
  font-size: 14px;
  color: #333;
}

/* 矢印（スマホ時：下向き） */
.mainE-arrow {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid #9865e4; /* 下向き矢印 */
}

/* PCレイアウト */
@media (min-width: 768px) {
  .mainE {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }

  .mainE-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mainE-step img {
    margin-bottom: 10px;
  }

  /* PC用の矢印（右向き） */
  .mainE-arrow {
    border-left: 20px solid #9865e4; /* 右向き矢印 */
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: none;
    width: 0;
    height: 0;
  }
}

/* --------------------------------------------------------- */

/* ================================
   mainF 全体
================================ */
.mainF {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 本文テキスト */
.mainF p {
  margin: 0;
  padding: 5%;                     /* ← about_box と同じく内側余白 */
  color: #000;
  font-size: 17px;                 /* PC時 */
  line-height: 1.6em;
  letter-spacing: 0.05em;
  font-family: Quicksand, sans-serif;
  text-align: justify;             /* 箱組み風に両端揃え */
  text-justify: inter-ideograph;
}

/* table と td はそのまま */
.mainF table {
  font-size: 15px;
  font-family: Quicksand, sans-serif;
}
.mainF td {
  text-align: center;
  padding: 0;
}

/* スマホ用レスポンシブ */
@media all and (max-width: 640px) {
  .mainF p {
    font-size: 17px;               /* スマホ時 */
    padding: 3% 10%;               /* about_box と似た余白感に */
    text-align: justify;
  }
}



    /* --------------------------------------------------------- */

.footer_li {
  margin-top: 100px;
}

@media all and (max-width: 640px) {
  .footer_li {
    width: 90%;
  }
}

@media all and (max-width: 320px) {
  .footer_li {
    width: 90%;
  }
}

.footer_li ul {
  text-align: center;
}

.footer_li ul li {
  display: inline;
}

/* リンク色設定 */
.footer_li a:link {
  color: #4089ae;   /* 未訪問：水色 */
  text-decoration: none;
}

.footer_li a:visited {
  color: #003366;   /* 訪問後：濃い青 */
  text-decoration: none;
}

.footer_li a:hover {
  color: #003366;   /* オンマウス：濃い青 */
  text-decoration: none;
}

.footer_li a:active {
  color: #003366;   /* クリック中：濃い青 */
  text-decoration: none;
}


.footer_logo {
  margin: 20px 0;
  font-size: x-small;
  text-align: center;
  color: #666666;
}

.footer_logo img {
  vertical-align: middle;
  width: 50px;   /* ★ ここでサイズ指定 */
  height: auto;   /* アスペクト比を保つ */
}























