@charset "utf-8";

/*Font Awesomeの読み込み

---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url("https://fonts.googleapis.com/css2?family=Kosugi+Maru&family=Noto+Sans+JP:wght@100..900&display=swap");

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("inview.css");
@import url("mainimg.css");

/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
  --primary-color: #5dbd87; /*テンプレートのテーマカラー*/
  --primary-inverse-color: #fff; /*上のprimary-colorの対となる色*/

  --secondary-color: #fffadd; /*テンプレートのサブカラー*/
  --secondary-inverse-color: #fff; /*secondary-colorの対となる色*/

  --accent-color: #ea5d28; /*テンプレートのアクセントカラー*/
  --accent-inverse-color: #fff; /*accent-colorの対となる色*/
  --cbk: #444444;

  /*余白の一括管理用。主に左右の余白に使っています。4rem＝4文字分。*/
  --content-space: 4rem;
}

@media screen and (max-width: 768px) {
  :root {
    --content-space: 2.5rem 2rem;
  }
}

/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
  0% {
    left: -200px;
  }
  100% {
    left: 0px;
  }
}

/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*全体の設定
---------------------------------------------------------------------------*/
body * {
  box-sizing: border-box;
}
html,
body {
  font-size: 14px; /*基準となるフォントサイズ。*/
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  html,
  body {
    font-size: 16px; /*基準となるフォントサイズ。*/
  }
} /*追加指定ここまで*/

body {
  margin: 0;
  padding: 0;
  font-family: "Kosugi Maru", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3",
    Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif; /*フォント種類（ゴシック）*/
  -webkit-text-size-adjust: none;
  background: #fff; /*背景色*/
  color: var(--cbk); /*文字色*/
  line-height: 2; /*行間*/
  overflow-x: hidden;
}

/*リセット*/
figure {
  margin: 0;
}
dd {
  margin: 0;
}
nav,
ul,
li,
ol {
  margin: 0 .5rem;
  padding: 0;
}

@media screen and (min-width: 768px) {
  nav {
      width: 55%;
      margin: 0 auto;
  }
}

nav ul {
  list-style: none;
}

/*table全般の設定*/
table {
  border-collapse: collapse;
}

/*画像全般の設定*/
img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/*videoタグ*/
video {
  max-width: 100%;
}

/*iframeタグ*/
iframe {
  width: 100%;
}

/*他*/
input {
  font-size: 1rem;
}

/*section*/
section {
  padding: var(
    --content-space
  ); /*section内の余白。css冒頭のcontent-spaceを読み込み*/
}

.text_c {
  text-align: center;
}
.text_st {
  text-align: start;
}
/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
  color: inherit;
  transition: 0.3s;
}

/*マウスオン時*/
a:hover {
  filter: brightness(1.1);
}

/*inner*/
.inner {
  max-width: 1200px;
  margin: 0 auto;
}

/*フローティングバナー*/
/*---------------------------------------------------------------------------*/
.floating-banner {
  position: fixed;
  top: 170px;
  right: 10px;
  z-index: 1;
  transition: transform 0.3s ease;
}

/* マウスを乗せた時の動き */
.floating-banner:hover {
  transform: scale(1.1);
}

/* スマホ表示の時の調整（798px以下） */
@media screen and (max-width: 768px) {
  .floating-banner {
    width: 90px;
    right: 0.5%;
    top: 105px;
  }
}

/* バナー内の画像を横幅いっぱいに広げる */
.floating-banner img {
  width: 120px;
  height: auto;
  display: block;
}

/*コンテナー
---------------------------------------------------------------------------*/
#container {
  position: relative;
  animation: opa1 1s 1s both; /*1秒待機1秒フェードイン*/
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0 auto;
}

/*header
---------------------------------------------------------------------------*/
/*ヘッダーTOPメッセージ*/
body.index .top-message {
  color: var(--accent-inverse-color);
  position: absolute;
  z-index: 1;
}

/*ヘッダーTOPメッセージ*/
body.other-p .top-message {
  color: var(--accent-color);
}

/*ヘッダーブロック*/
header {
  padding: 1rem var(--content-space); /*ヘッダー内の余白。上下に１文字分、左右についてはcss冒頭のcontent-space*/
  color: #fff; /*文字色*/
  position: absolute;
  width: 100%;
}
header a {
  color: inherit;
}

/*ロゴ*/
#logo a {
  text-decoration: none;
}
#logo img {
  display: block;
  width: 130px;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  /*ヘッダーブロック*/
  header {
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
  }
}
@media screen and (max-width: 768px) {
  .contact-a {
    display: none;
  }
  header {
    padding: 1%;
  }
  #logo img {
    width: 90px;
  }
  .top-message {
    font-size: 85%;
    line-height: 1rem;
  }
}

/*header-box（ヘッダー右側にあるボタン）
---------------------------------------------------------------------------*/
/*ボックス全体*/
#header-box * {
  margin: 0;
  padding: 0;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  #header-box {
    margin-right: 30px; /*ハンバーガーアイコンと重ならないように*/
  }
} /*追加指定ここまで*/

/*ボタンが入ったボックス*/
#header-box .btn {
  list-style: none;
  display: flex;
  gap: 1rem;
}

/*メニュー１個あたり*/
#header-box .btn a {
  display: block;
  text-decoration: none;
  padding: 0.5rem 2rem;
  border-radius: 3px;
}

/*ボタンに使用しているアイコン*/
#header-box .btn i {
  margin-right: 1rem;
  transform: scale(1.4);
}

/*画面幅500px以下の追加指定*/
@media screen and (max-width: 500px) {
  /*ボタンが入ったボックス*/
  #header-box .btn {
    display: inline-block;
  }

  /*ボタン１個あたり*/
  #header-box .btn li {
    margin-bottom: 0.5rem;
  }
}

/*開閉メニュー
---------------------------------------------------------------------------*/
/* ハンバーガーメニュー表示中は header をタップ不可にする */
body.noscroll header {
  pointer-events: none;
}
/* ただし ×ボタンだけは有効に戻す */
body.noscroll #menubar-hdr,
body.noscroll #menubar-hdr * {
  pointer-events: auto;
}
/*メニューブロック共通*/
#menubar {
  animation: animation1 0.2s both;
  position: fixed;
  overflow: auto;
  z-index: 10000;
  right: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  padding: 5rem 1rem 1rem 1rem;
  background: var(--secondary-color);
  color: var(--primary-inverse-color);
  pointer-events: auto;
}

/*メニューの→マーク*/
#menubar a[target="_blank"]::after {
  content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>');
  line-height: 0;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/*メニュー１個あたり*/
#menubar a {
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  margin-bottom: 1rem;
  padding: 1rem 1rem;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  font-size: clamp(18px, 1.5vw + 0.5rem, 20px);
  position: relative;
}

div#menubar a {
    align-items: center;
}

@media screen and (min-width: 768px) {
  #menubar a  {
  padding: 1rem 1rem 1rem 2rem;
  }
 }

#menubar li a:hover {
  opacity: 0.6; 
}

#menubar a::after {
  content: '>';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
}

#menubar ul.ddmenu li a::after {
    display: none;
}

#menubar ul.ddmenu li:nth-child(6) a {
    padding: 0.35rem 0 1.35rem 2rem;
}

  #menubar ul.ddmenu li a::before {
    content: '>';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    margin-right: 1rem;
}

#menubar li {
  color: var(--cbk);
  background: var(--accent-inverse-color);
  border-radius: 1rem;
}

/* 親要素（枠線）の設定 */
#menubar li.ddmenu_parent {
  margin-bottom: 1rem;
  box-sizing: border-box;
  background: transparent;
  color: var(--cbk);
  background: var(--accent-inverse-color);
  border-radius: 1rem;
}
/* 親と子の共通設定：枠線とマージンをリセット */
#menubar li.ddmenu_parent a,
#menubar li.ddmenu_parent ul.ddmenu li a {
  border: none;
  margin-bottom: 0;
  transition: background 0.2s;
}

/*子メニューの文字と余白（統合） */
#menubar ul.ddmenu li a {
  font-size: 1.2rem;
  padding: 0.35rem 0 0.35rem 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* 子メニュー初めから表示*/
.ddmenu {
  display: block !important;

}
a.ddmenu {
    display: flex !important;
}

a.ddmenu::after {
    margin-left: auto;
}

/* サイトマップ内の子メニュー（sm_clist）が含まれるdtとその直後のddを非表示にする */
.sitemap_list dt:has(.sm_clist),
.sitemap_list dt:has(.sm_clist) + dd {
    display: none;
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar-hdr {
  display: flex;
  animation: opa1 0s 0.2s both;
  position: fixed;
  z-index: 10001;
  cursor: pointer;
  right: 0px; /*右からの配置場所*/
  top: 0px; /*上からの配置場所*/
  width: 70px; /*ボタンの幅*/
  height: 70px; /*ボタンの高さ*/
  background: var(--accent-color); /*ボタン色*/
  border-radius: 0px 0px 0px 20px; /*角を丸くする指定。左上、右上、右下、左下の順番。この場合は左下だけ角を丸くする。*/
  transform-origin: right top;
  transform: scale(
    1
  ); /*大きさを調整したい場合はここの「1」を変更します。1.2や0.7など。*/
}

/*バツ印が出ている時のボタン色*/
#menubar-hdr.ham {
  background: var(--accent-color);
}

/*ハンバーガーアイコンの線*/
#menubar-hdr span {
  display: block;
  position: absolute;
  left: 18px;
  width: 35px;
  height: 2px; /*線の高さ*/
  background: #fff; /*線の色*/
  transition: 0.3s;
}

#menubar-hdr span:nth-of-type(1) {
  top: 24px;
}
#menubar-hdr span:nth-of-type(2) {
  top: 34px;
}
#menubar-hdr span:nth-of-type(3) {
  top: 44px;
}

/* ハンバーガーメニュー展開時 */
#menubar-hdr.ham span:nth-of-type(1) {
  transform: translateY(10px) rotate(-45deg);
}
#menubar-hdr.ham span:nth-of-type(2) {
  opacity: 0;
}
#menubar-hdr.ham span:nth-of-type(3) {
  transform: translateY(-10px) rotate(45deg);
}

/*ヘッダーにある１行のお知らせ
---------------------------------------------------------------------------*/
.new-top * {
  margin: 0;
  padding: 0;
}

h3 {
  color: var(--primary-color);
}

/*お知らせの一覧ボタン*/
.topics_all.flex a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 24px 12px 56px;
  color: var(--accent-color); /* 文字色：緑 */
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  text-decoration: none;
  overflow: hidden;
}

/* 丸 → 伸びる背景 */
.topics_all.flex a::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-color); /* 背景：緑*/
  border-radius: 999px;
  z-index: -1;
  transition: width 0.4s ease;
}

/* 矢印 */
.topics_all.flex a::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--accent-color);
  border-right: 2px solid var(--accent-color);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.4s ease;
}

/* hover時 */
.topics_all.flex a:hover::after {
  width: 100%;
}

.topics_all.flex a:hover::before {
  transform: translateY(-50%) rotate(45deg) translateX(4px);
}

/*newicon*/
span.newicon {
  color: var(--accent-inverse-color);
  background: var(--accent-color);
  border-radius: 10px;
}

/*ヘッダーの問合せ・電話ボタン
---------------------------------------------------------------------------*/
.hd_tel {
  display: none;
}

.hd_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

/* ベースカラー設定 */
.simple-button {
  /* 1. 基本デザイン */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* サイズと形状 */
  height: 3.5rem;
  padding: 0 2rem;
  border-radius: 3.5rem;

  /* カラー */
  background-color: var(--accent-color);
  color: #fff;
  border: none;

  font-size: 1.2rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;

  /* 2. ホバーアニメーションの準備 */
  /* 拡大・縮小のアニメーションを0.3秒で実行 */
  transition: transform 0.7s ease, box-shadow 0.7s ease;
}

/* アイコンとテキストの間隔調整 */
.simple-button i {
  margin-right: 0.8rem;
}

/* 3. ホバー時のアクション */
.simple-button:hover {
  /* ボタン全体を1.05倍に少し拡大 */
  transform: scale(1.05);

  /* 立体感を出すために影を付ける（オプション） */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*コンテンツ
/*セクション*/
section.site_policy,
section.service-homecare,
section.privacy_policy,
section.contact,
section.topics {
  margin-bottom: 80px;
}

.contact-a {
    margin-right: 1rem;
}

/*---------------------------------------------------------------------------*/
/*タイトルの並び*/
.title-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/*コンテンツブロック*/
#contents {
  flex: 1;
}

/*コンテンツ内で使用するul,ol要素（リストタグ）*/
#contents ul,
#contents ol {
  margin-left: 2rem;
  margin-right: 2rem;
}

/*p要素（段落タグ）
---------------------------------------------------------------------------*/
p {
  letter-spacing: 0.1em;
}

/*main（メインコンテンツ）
---------------------------------------------------------------------------*/
/*h2見出し*/
main h2 {
  margin: 0;
  padding: 0;
  font-size: 2.4rem; /*文字サイズ。240%。*/
  font-weight: normal; /*h要素のデフォルトの太字を標準に*/
  margin-bottom: 5vw; /*下にスペースを空ける*/
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}

/*見出し内のspan（小さな装飾文字と上部のアクセントライン）*/
span.small {
  display: inline-block;
  border-top: 2px solid var(--primary-color); /*上の線の幅、線種、varは色のことで冒頭のprimary-colorを読み込みます。*/
  font-size: 0.9rem; /*文字サイズ90%*/
  opacity: 0.6; /*透明度。色が60%出た状態。*/
  letter-spacing: 0.1rem; /*文字間隔を少しだけ広く*/
  padding-top: 2rem; /*上に空ける余白。ラインとの間の余白調整です。お好みで。*/
}

/*見出しをセンタリングする場合*/
main h2.c {
  align-items: center;
}

/*2カラムブロック　※900px未満では１カラム（私たちのこだわり・about）
---------------------------------------------------------------------------*/
.kodawari .page_text2 {
  display: flex;
  align-items: center;
}

.list-half * {
  margin: 0;
  padding: 0;
}

/*背景画像*/
.kodawari {
  background: url("../images/index/indexabout.haikei.png") no-repeat left top /
    50vw; /*left(左)、top(上)に配置し、幅は画面幅の50%に。*/
}

.kodawari .img_box2 {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

/*２カラムを囲むブロック*/
.list-half .list {
  display: flex; /*flexボックスを使う指定*/
  flex-direction: column; /*子要素を縦並びにする*/
  margin-bottom: 2rem; /*ボックスの下に2文字分のスペースを空ける*/
}

/*ブロック内のh4見出し*/
.list-half .list h4 {
  font-size: 1.4rem; /*文字サイズを1.4倍*/
  margin-bottom: 1rem; /*下に１文字分のスペースを空ける*/
}

/*ブロック内のh4内のspan（小さな装飾文字）*/
.list-half .list h4 span {
  display: block;
  opacity: 0.1; /*透明度50%*/
  font-weight: normal;
  font-size: 0.5em; /*文字サイズを親要素の50%*/
  letter-spacing: 0.1em; /*文字間隔をほんの少し広く*/
}

/*画像ブロック共通*/
.list-half .image-l img,
.list-half .image-r img {
  border-radius: 50px;
  box-shadow: 10px 10px rgba(0, 0, 0, 0.1);
}
.kodawari img {
  border-radius: 20px;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  /*２カラムを囲むブロック*/
  .list-half .list {
    flex-direction: row;
    justify-content: space-between;
    align-items: center; 
  }

  /*画像ブロック共通*/
  .list-half .image-l,
  .list-half .image-r {
    width: 50%; /*画像の幅*/
  }

  /*画像を右に配置する場合*/
  .list-half .image-r {
    margin-left: 2rem;
  }

  /*画像を左に配置する場合*/
  .list-half .image-l {
    order: -1;
    margin-right: 2rem;
  }

  /*テキストブロック*/
  .list-half .text {
    flex: 1;
  }
}

/*list-grid7（サービス紹介ブロック）
---------------------------------------------------------------------------*/

section.index_service p {
    text-align: start;
}

.list-grid7 .list * {
  margin: 0;
  padding: 0;
}

/*ボックス１個あたり*/
.list-grid7 .list {
  display: grid;
  position: relative;
  border-radius: 5px;
  background: #fafafa;
  color: #444444;
  border: 1px solid #ccc; 
  padding: 2rem;
  margin-bottom: 2rem;
}

/*ボックス内のh4見出し*/
.list-grid7 .list h4 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(
    --primary-color
  );
}

/*h4内のspan（小さな装飾文字）*/
.list-grid7 .list h4 span {
  display: block;
  font-weight: normal;
  font-size: 0.7em;
}

/*ボックス内のp要素*/
.list-grid7 .list p {
  font-size: 0.85rem;
  line-height: 1.5;
}

/*ボックス内のfigure画像*/
.list-grid7 .list figure {
  margin: 0 auto;
  margin-bottom: 1rem;
}

/*画面幅800px以上の追加指定*/
@media screen and (min-width: 800px) {
  /*ブロック全体を囲むブロック*/
  .list-grid7 {
    display: grid;
    grid-template-columns: repeat(
      3,
      1fr
    );
    gap: 2rem;
  }
}

/*ご利用の流れ
---------------------------------------------------------------------------*/
.flow-box * {
  margin: 0;
  padding: 0;
}

/*背景画像*/
#flow {
  background: url("../images/index/indexflow.haikei.png") no-repeat right top /
    50vw; /*right(右)、top(上)に配置し、幅は画面幅の50%に。*/
}

/*ステップボックス１個あたりの設定*/
.flow-box {
  position: relative;
  margin-bottom: 4rem;
}

/*ボックス内のh3見出し*/
.flow-box .title h3 {
  background: var(
    --primary-color
  ); /*背景色。css冒頭のprimary-colorを読み込みます。*/
  margin-left: calc(-1 * var(--content-space));
  text-align: center; /*テキストをセンタリング*/
  padding: 1rem; /*見出し内の余白。２文字分。*/
  margin-bottom: 2rem; /*見出しの下に空けるスペース。２文字分。*/
}

/*h3内のspan（小さな装飾文字）*/
.flow-box .title h3 span {
  display: block;
  font-size: 0.7em;
}

/*「STEP01」〜「STEP04」のテキスト*/
.flow-box .step-num {
  display: inline-block;
  position: absolute;
  left: 0px;
  width: 100%;
  font-size: 3rem;
  color: var(
    --primary-color
  ); 
  top: -60px;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  .flow-box {
    display: flex;
    align-items: flex-start;
    gap: 5rem;
  }

  /*「STEP01」〜「STEP04」のテキスト*/
  .flow-box .step-num {
    top: -100px;
    font-size: 5rem;
    opacity: 0.1;
    text-align: left;
  }

  /*h3見出しが入ったブロック（大きな端末で左側に配置される背景色つきの見出しを囲むブロック）*/
  .flow-box .title {
    width: 30%; /*幅*/
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }

  /*ボックス内のh3見出し（大きな端末で左側に配置される背景色つきの見出し）*/
  .flow-box .title h3 {
    margin-right: auto;
    border-radius: 0 100px 100px 0; /*角を丸くする指定。左上、右上、右下、左下の順番。*/
  }

  /*大きな端末で右側に配置されるテキストブロックを囲むボックス*/
  .flow-box .text {
    flex: 1;
  }
}

/*事業所案内
---------------------------------------------------------------------------*/

span.shikaku {
  color: var(--primary-color);
}

.officeguide-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: url(../images/index/index-officeguide-haikei.png) center center /
    contain no-repeat;
  margin: 0 auto;
  min-height: 200px;
}

.officeguide1 {
  margin-right: 5%;
}

/*ステップボックス
---------------------------------------------------------------------------*/

ul.step {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

/*ステップ１個あたり*/
ul.step li {
  border: 2px solid var(--primary-color); /*枠線の幅、線種、varは色の指定で、css冒頭のprimary-colorを読み込みます。*/
  padding: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

/*「▼」のマーク*/
ul.step li::after {
  content: "▼";
  transform: scaleX(2);
  position: absolute;
  left: 50%;
  bottom: -2rem;
  color: var(--primary-color);
  opacity: 0.3; /*透明度。色が30%出た状態。*/
}

/*最後のステップボックスには「▼」を出さない*/
ul.step li:last-child::after {
  content: "";
}

/*---------------------------------------------------------------------------*/
/*採用*/
/* recruit セクション */
.index_recruit.bg-slideup.slideup1 {
  position: relative;
  z-index: 1;
}

/* 白い半透明背景（文字の後ろ） */
.index_recruit.bg-slideup.slideup1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
  z-index: 0;
}

/* 中の文字を前に */
.index_recruit.bg-slideup.slideup1 .pageContentsWra,
.index_recruit.bg-slideup.slideup1 h3,
.index_recruit.bg-slideup.slideup1 p,
.index_recruit.bg-slideup.slideup1 a {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* recruitTOP セクション：左右レイアウト */
/* ==============================
   recruitページ専用
   ============================== */

/* 全体：横並び */
.recruit .pageContentsWra {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  row-gap: 60px;
}

/* 左①：緑の見出し */
.recruit .pageContentsWra h3 {
  width: 100%;
  line-height: 1.8;
  text-align: left;
}

.recruit .pageContentsWra .page_all_text p {
  line-height: 2;
  margin: 0;
}

/* 右：画像 */
.recruit .pageContentsWra .img_all_box {
  width: 30%;
  margin-left: auto;
  text-align: right;
}

.recruit .pageContentsWra .img_all_box img {
  max-width: 100%;
  height: auto;
}

.page_recruit_interview_block .pageContentsWra .img_all_box {
  margin: initial;
}

/* ------------------------------
   スマホ対応
------------------------------ */
@media screen and (max-width: 900px) {
  .recruit .pageContentsWra {
    flex-direction: column;
    gap: 30px;
  }

  .recruit .pageContentsWra h3,
  .recruit .pageContentsWra .page_all_text,
  .recruit .pageContentsWra .img_all_box {
    width: 100%;
    margin: 0;
    /* text-align: center; */
  }

  .recruit .pageContentsWra {
    display: block;
  }
}

/*---------------------------------------------------------------------------*/
/*採用ページ　一緒に働きませんか*/
/* --- 親要素内での全体レイアウト --- */
.page_recruit_block .page_text2 {
  display: flex;
  justify-content: right; /* 画像を右へ */
  align-items: center;
  position: relative;
  max-width: 1100px;
  right: -10%;
}

/* --- 画像部分：右側 --- */
.page_recruit_block .img_box2 {
  width: 85%;
  z-index: 1;
  opacity: 0;
  animation: fadeInImg_recruit 1s ease-out 1s forwards; /* 0.8秒後に画像 */
}

.page_recruit_block .img_box2 img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- テキストボックス：左上に浮かせて、少しだけ画像に重ねる --- */
.page_recruit_block div.text_contencts {
  position: absolute;
  left: -40%;
  top: -15%;
  width: 70%;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  z-index: 2;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  opacity: 0;
  animation: poofText_recruit 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}
/* --- テキスト内の装飾 --- */
.page_recruit_block h3.text_contencts {
  color: var(--primary-color);
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 15px;
  font-weight: bold;
  border: none; 
}

.page_recruit_block .text_contencts p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
}

.recrui_environment .pageContentsWra {
  flex-direction: column;
  gap: inherit;
}

.recrui_environment .pageContentsWra h3 {
  text-align: center;
}

/* --- アニメーション設定（専用名） --- */
@keyframes poofText_recruit {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeInImg_recruit {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- スマホ対応（重なりを解除） --- */
@media screen and (max-width: 900px) {
  .page_recruit_block .page_text2 {
    display: flex;
    flex-direction: column-reverse;
    height: auto;
    padding: 0 15px;
    right: 0;
  }
  .page_recruit_block .img_box2,
  .page_recruit_block div.text_contencts {
    position: static;
    width: 80%;
    margin-bottom: 20px;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }
}

@media screen and (max-width: 400px) {
  .page_recruit_block .img_box2,
  .page_recruit_block div.text_contencts {
    width: 90%;
  }
}


/*募集要項*/
.recruit table.ta1 {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 15px;
  line-height: 1.8;
  background-color: #fff;
}

/* 各セル（見出し・中身）の共通設定 */
.recruit table.ta1 th,
.recruit table.ta1 td {
  padding: 18px 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}

/* 見出し（左側）のスタイル */
.recruit table.ta1 th {
  width: 25%;
  background-color: #f9f9f9;
  font-weight: bold;
  color: #444;
  white-space: nowrap; 
}

/* 内容（右側）のスタイル */
.recruit table.ta1 td {
  width: 75%;
  color: #333;
}

/* --- スマホ表示（画面幅767px以下）の設定 --- */
@media screen and (max-width: 767px) {
  /* テーブルの構造を解除して縦に並べる */
  .recruit table.ta1,
  .recruit table.ta1 tbody,
  .recruit table.ta1 tr,
  .recruit table.ta1 th,
  .recruit table.ta1 td {
    display: block;
    width: 100%;
  }

  .recruit table.ta1 tr {
    border-bottom: 2px solid #eee;
  }

  .recruit table.ta1 th {
    background-color: #f2f2f2;
    padding: 12px 15px;
    border-bottom: none;
    font-size: 14px;
  }

  .recruit table.ta1 td {
    padding: 10px 15px 25px;
    font-size: 15px;
  }
}

/*---------------------------------------------------------------------------*/
/*お問合せ*/
section.index_contact.up.upstyle.bg1 {
  padding: inherit;
  padding-top: 160px;
}

.contact_article .need,
input.btn.btnWT.flex {
  background-color: var(--accent-color);
  color: #fff;
  display: inline-block;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
  padding: 2% 4%;
  border-radius: 4px;
}

input.btn.btnWT.flex {
  font-size: 1.5rem;
}


.contact-tel a:hover{
  opacity: .7;
}

input.btn.btnWT.flex:hover {
  opacity: 0.8;
}

button,
input[type="submit"],
input[type="button"],
input[type="image"] {
  border: none;
  outline: none;
}

@media screen and (max-width: 768px) {
  input.btn.btnWT.flex {
    padding: 4% 25%;
  }
}


/*btn共通設定（ヘッダーと、フッターの上のボックス内にあるボタンの共通設定）
---------------------------------------------------------------------------*/
.btn a {
  display: block;
  text-decoration: none;
  background: var(
    --accent-color
  ); 
  color: var(
    --accent-inverse-color
  ); 
  text-align: center;
  color: var(--primary-color);
}

/*マウスオン時*/
.btn a:hover {
  background: var(--accent-inverse-color);
  color: var(--accent-color);
}

/*ボタンに使用しているアイコン*/
.btn-box .btn i {
  margin-right: 2rem; 
  transform: scale(1.4); 
}

/*ボタンブロック*/
.btn-box .btn {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem; 
  height: 80vh;
  font-size: 1.5rem; 
}

/*ボタン１個あたり*/
.btn-box .btn li {
  width: 80vw;
}
.btn-box .btn a {
  border-radius: 10px; 
  padding: 1rem 2rem; 
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  /*ボタンブロック*/
  .btn-box .btn {
    flex-direction: row;
  }

  /*ボタン１個あたり*/
  .btn-box .btn li {
    width: 40vw;
  }
}

/*波のアニメーション
---------------------------------------------------------------------------*/
/*アニメーション*/
@keyframes move-wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*波を囲む全体のブロック*/
.wave-section {
  position: relative;

  /*下のwaveのheight(波の高さ)から1を差し引いた形です。隙間が出る場合があるのでそれが出ないようにしています。*/
  padding-top: 79px;
  top: -79px;
  margin-bottom: -79px;
}

/*波の色（２つとも揃えておけばOK）*/
.wave-section .text {
  background: var(
    --primary-color
  ); /*背景色。css冒頭のprimary-colorを読み込みます。*/
}
.wave-wrap use {
  fill: var(
    --primary-color
  ); /*塗りつぶしの色。css冒頭のprimary-colorを読み込み。*/
}

/*上下の波（共通）*/
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px; /*波の高さ。ここを変更する場合は上の.wave-sectionの３箇所の数字も合わせて変更。*/
}
.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave .wave-wrap {
  transform-box: fill-box;
  transform-origin: 0 0;
  animation: move-wave 10s linear infinite; /*波のアニメーション速度*/
}

/*上の波*/
.wave-top {
  top: 0;
}

/*下の波*/
.wave-bottom {
  bottom: 0;
  transform: rotate(180deg);
}

/*フッター
---------------------------------------------------------------------------*/
li.addressArea_add {
  list-style: none;
}

.footer-p {
  display: flex;
  justify-content: space-around;
  margin-bottom: 80px;
}

a {
  text-decoration: none;
}

.footerAddress,
.footernav {
  color: var(--accent-inverse-color);
  text-decoration: none;
}

#footer * {
  margin: 0;
  padding: 0;
}
#footer ul {
  list-style: none;
}

/*ブロック全体*/
#footer {
  background: var(--primary-color);
  color: var(--primary-inverse-color);
  padding: var(--content-space);
}

/*ロゴやSNSアイコンが入ったブロック*/
#footer div.footer1 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footernav .inner.flex > ul.title:nth-child(-n + 3) {
  width: 30%;
  text-align: center;
  box-sizing: border-box;
}

.footernav .inner.flex > ul.title:nth-child(n + 4) {
  width: 30%;
  text-align: center;
  box-sizing: border-box;
  margin-top: 15px;
}

/*メニューブロック*/
#footer div.footer2 {
  flex: 1;
}

/*画面768px以上の追加指定*/
@media screen and (max-width: 768px) {
  /*ロゴやSNSアイコンが入ったブロック*/
  #footer div.footer1 {
    text-align: left;
    width: 40%;
  }
  .footer-p {
    flex-direction: column;
    align-items: center;
  }
}

/*Copyright部分*/
#footer small {
  display: block;
  text-align: right;
  margin-top: 2rem;
}

/*SNSアイコン
---------------------------------------------------------------------------*/
#footer .sns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; 
}

#footer .sns i {
  font-size: 30px; /*アイコンサイズ*/
}

.pr a {
  text-decoration: none;
  display: block;
  background: #444444;
  color: #ccc;
  text-align: right;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}
.pr a::before {
  font-family: "Font Awesome 6 Free";
  content: "\e2ca";
  font-weight: bold;
  margin-right: 0.5em;
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {
  display: block;
}

/*ボタンの設定*/
.pagetop a {
  display: block;
  text-decoration: none;
  text-align: center;
  z-index: 99;
  animation: opa1 1s 0.4s both;
  position: fixed; /*スクロールに追従しない(固定で表示)為の設定*/
  right: 20px;
  bottom: 20px;
  color: #fff;
  font-size: 1.5rem;
  background: rgba(
    0,
    0,
    0,
    0.2
  ); /*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
  width: 60px;
  line-height: 60px;
  border-radius: 50%;
}

/*bg1
---------------------------------------------------------------------------*/
.bg1 {
  background: var(--secondary-color);
  color: var(--cbk);
}

/*背景画像が少しずつ上に移動する
---------------------------------------------------------------------------*/
/*共通設定*/
.bg-slideup {
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}

/*slideup1画像*/
.slideup1 {
  background-image: url("../images/index/index-saiyou-haikei.jpg"); /*背景画像の読み込み*/
  color: var(--cbk);
  border-radius: 10vw 10vw 0 0;
  opacity: 1;
}

/*slideup2画像*/
.slideup2 {
  background-image: 
        linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
        url(../images/index/contact-img.jpg);
  position: relative;
  padding-bottom: 160px;
}

/*slideup2の上部にグラデーションをかけて「よく頂く質問」ブロックとの境界*/
.slideup2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 30vh; /*高さ。画面の高さの20%。お好みで。*/
  background: linear-gradient(
    var(--secondary-color),
    transparent
  ); /*背景グラデーション。css冒頭の--secondary-colorから透明(transparent)になるグラデ。*/
}


/*お知らせブロック
---------------------------------------------------------------------------*/
.ul_news {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.ul_news li {
  display: flex;
  flex-wrap: wrap; /* 幅が狭い時に折り返せるようにする */
  align-items: center; /* 上下の中央を揃える */
  padding: 12px 0;
  border-bottom: 1px solid #eee; /* 行間の区切り線（お好みで） */
}

/* 2. 各パーツのスタイル */
.news_date {
  width: 110px;
  font-family: monospace;
  color: #666;
}

.icon {
  display: inline-block;
  vertical-align: middle;
}

/* カテゴリ（VOICE, NEWS, BLOG） */
.icon.voice,
.icon.news,
.icon.blog {
  width: 60px;
  text-align: center;
  margin-right: 10px;
  line-height: 1.2;
  padding-bottom: 2px;
}

.icon.voice {
  border-bottom: 3px solid #999;
}
.icon.news {
  border-bottom: 3px solid var(--accent-color);
}
.icon.blog {
  border-bottom: 3px solid var(--primary-color);
}

/* NEWバッジ */
.icon.new {
  margin-right: 10px;
}

.newicon {
  background: var(--accent-color);
  color: var(--accent-inverse-color);
  padding: 2px 8px;
  border-radius: 10px;
}

/* 記事タイトル */
.ul_news li span:last-child {
  flex: 1;
  min-width: 200px;
}

/*ポップアップ*/
.news-popup {
  display: none;
  position: absolute;
  transform: translateX(-50%);
  top: 100%;
  left: 50%;
  width: 480px;
  max-width: 90vw;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.news-popup h2 {
  margin: initial;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  color: #999;
}

.close-btn:hover {
  color: var(--cbk);
}

/* 3. スマホ用の調整（画面幅700px未満） */
@media screen and (max-width: 699px) {
  .ul_news li {
    align-items: flex-start;
  }

  .news_date {
    width: 100%;
    margin-bottom: 5px;
    font-size: 0.9em;
  }
}

/* 4. PC用の追加指定（700px以上） */
@media screen and (min-width: 700px) {
  .ul_news li {
    flex-wrap: nowrap;
  }
}

/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
/*fadeInのキーフレーム設定*/
@keyframes fadeIn {
  0% {
    opacity: 0.1;
    transform: scale(0.1) rotate(-30deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.fade-in-text2 {
  color: var(--cbk);
}

/* アニメーションを適用するクラス。
animationの行の「0.2s」が文字の出現のなめらかさで、大きいほどなめらかに出てきます。*/
.char {
  display: inline-block;
  opacity: 0;
  animation: fadeIn 0.2s linear both;
}

/*その他
---------------------------------------------------------------------------*/
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.color-check,
.color-check a {
  color: #ff0000 !important;
}
.l {
  text-align: left !important;
}
.c {
  text-align: center !important;
}
.r {
  text-align: right !important;
}
.ws {
  width: 95%;
  display: block;
}
.wl {
  width: 95%;
  display: block;
}
.mb0 {
  margin-bottom: 0px !important;
}
.mb30 {
  margin-bottom: 30px !important;
}
.mb5rem {
  margin-bottom: 5rem !important;
}
.look {
  display: inline-block;
  padding: 0px 10px;
  background: #eee;
  border: 1px solid #ccc;
  color: #888;
  border-radius: 3px;
  margin: 5px 0;
  word-break: break-all;
}
.small {
  font-size: 0.75em;
}
.large {
  font-size: 2em;
  letter-spacing: 0.1em;
}
.pc {
  display: none;
}
.dn {
  display: none !important;
}
.block {
  display: block !important;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  .ws {
    width: 48%;
    display: inline;
  }
  .sh {
    display: none;
  }
  .pc {
    display: block;
  }
} 

/*---------------------------------------------------------------------------*/
/* シンプルボタン */
.read-more-btn {
  display: inline-block;
  color: var(--primary-color); /* ご指定の緑を使用 */
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

/* 矢印の初期状態 */
.read-more-btn .arrow {
  display: inline-block;
  opacity: 0;
  transform: translateX(-10px); /* 少し左に寄せておく */
  transition: all 0.3s ease;
  margin-left: 4px;
}
/* ホバー時の動き */
.read-more-btn:hover {
  opacity: 0.8;
}
.read-more-btn:hover .arrow {
  opacity: 1;
  transform: translateX(5px);
}
a.read-more-btn {
  display: table;
  margin-left: auto;
}
a.btn_c {
  display: table;
  margin: 0 auto;
  margin-top: 1rem;
}

/*---------------------------------------------------------------------------*/
/* くるくるボタン */
.detail-btn,
.detail-btn-mail,
.detail-btn-f {
  position: relative;
  display: inline-block;
  padding: 20px 64px;
  background: #fff;
  border: 4px solid var(--primary-color);
  border-radius: 999px;
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  z-index: 2;
  isolation: isolate;
  min-width: 250px;
}

/* テキストを前面に */
.detail-btn.btn-text,
.detail-btn-mail .btn-text,
.detail-btn-f .btn-text {
  position: relative;
  z-index: 3;
}

/* LOOK（背面・CSSで呼び出し） */
.detail-btn::after,
.detail-btn-mail::after,
.detail-btn-f::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 40%;
  width: 95px;
  height: 110px;
  background: url("../images/all/look-btn.png") no-repeat center / contain;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  transition: transform 0.6s ease;
}

.detail-btn-mail::after {
  background: url("../images/all/mail-btn.png") no-repeat center / contain;
}

.detail-btn-f::after {
  background: url("../images/all/keitai-btn.png") no-repeat center / contain;
}

/* hoverで1回転 */
.detail-btn:hover::after,
.detail-btn-mail:hover::after,
.detail-btn-f:hover::after {
  transform: translateY(-50%) rotate(360deg);
}

/*contact*/
/* 全体 */
.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  line-height: 0;
}

/* 電話2つ横並び */
.contact-tel {
  gap: 40px;
  width: 650px;
  max-width: 100%;
  display: none;
}

/* ボタン共通サイズ */
.detail-btn-mail,
.detail-btn-f {
  width: 300px;
  max-width: 100%;
}

/* 電話ボタンは均等 */
.contact-tel .detail-btn-f {
  flex: 1;
}

/* テキスト行間 */
.btn-text {
  display: block;
  line-height: 1.2;
  text-align: center;
}

/* スマホ */
@media screen and (max-width: 768px) {

  .detail-btn-mail,
  .detail-btn-f {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  .contact-tel {
    align-items: center;
    row-gap: 1rem;
    display: flex;
    flex-direction: column;
  }

  .contact-buttons {
    row-gap: 0.5rem;
  }
}

/*---------------------------------------------------------------------------*/
/*about理念*/
.other-pagetop {
  margin-top: 160px;
}
.about_rinen {
  background: url("../images/index/index-officeguide-haikei.png") no-repeat
    center / 500px;
  background-position: center 65%;
}

/*about代表挨拶*/
.about_message .pageContentsWra,
.service-ltcinsurance .pageContentsWra {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.6);
  padding: 2rem;
  border-radius: 20px;
}
.about_message figure {
  width: 65%;
  display: block;
  margin: 0 auto;
}

.about_message .page_text2 {
  align-items: center;
}

/*about会社概要*/
.table_wrap {
  max-width: 900px;
  margin: 0 auto;
}

.table_profile {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.table_profile th,
.table_profile td {
  padding: 1rem;
  border: 1px solid #ddd;
  vertical-align: top;
}

.table_profile th {
  width: 30%;
  background: #f5f5f5;
  font-weight: 600;
}

.table_profile td strong {
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .other-pagetop {
    margin-top: 80px;
  }
}

/*---------------------------------------------------------------------------*/
/*serviceサービス内容*/
.service-section {
  max-width: 1100px;
  margin: 20px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  border: 12px solid #b2d8b2;
}
/* タイトル */
.service-title {
  text-align: center;
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-weight: bold;
}
/* 項目が並ぶエリア */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* 各項目（カード） */
.service-item {
  display: flex;
  align-items: center;
  background: var(--accent-inverse-color);
  border-radius: 50px;
  padding: 10px 18px;
  width: 100%; /* スマホでは1列 */
  box-sizing: border-box;
  border: 1px solid #f0f0f0;
}
/* 左側の丸いアクセント */
.marker {
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
}
/* テキスト */
.service-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--cbk);
  line-height: 1.4;
}

@media (min-width: 600px) {
  .service-item {
    width: calc(50% - 5px); /* 2列 */
  }
}

.service-homecare img {
  width: 280px;
}

.service-homecare h3 {
  text-align: center;
}
/*---------------------------------------------------------------------------*/
/*not_found*/
section.not_found.up.inner.upstyle {
  margin-top: 80px;
  margin-bottom: 160px;
}

/* /?mode=login ログインフォーム（formタグ）*/
@media screen and (max-width: 768px) {
form > table > tbody > tr {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  } 
}

@media screen and (max-width: 768px) {
  footer table[width="800px"],
  footer table {
    width: 100%;
    max-width: 100%;
  }
}

input[name="login"] {
  color: #000000;
}