@charset "utf-8";

/*google fontsの読み込み*/

@import url('https://fonts.googleapis.com/css?family=Poiret+One&display=swap');

/*slide.cssの読み込み*/

@import url(slide.css);

/*全端末（PC・タブレット・スマホ）共通設定
  ------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
  ---------------------------------------------------------------------------*/

body,
html {
  width: 100%;
  height: 100%;
}

body {
  margin: 0px;
  padding: 0px;
  color: #fff;
  /*全体の文字色*/
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック',
    'MS PGothic', sans-serif;
  /*フォント種類*/
  font-size: 12px;
  /*文字サイズ*/
  line-height: 2;
  /*行間*/
  background: #fff;
  /*背景色*/
  -webkit-text-size-adjust: none;
  text-shadow: 1px 1px 2px #000;
  /*テキストの影。右へ、下へ、ぼかし幅、色。*/
}

h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
li,
dl,
dt,
dd,
form,
figure,
form,
input,
textarea {
  margin: 0px;
  padding: 0px;
  font-size: 100%;
  font-weight: normal;
}

ul {
  list-style-type: none;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
  font-size: 100%;
  border-spacing: 0;
}

iframe {
  width: 100%;
}

/*リンク（全般）設定
  ---------------------------------------------------------------------------*/

a {
  color: #fff;
  /*リンクテキストの色*/
  transition: 0.4s;
  /*マウスオン時の移り変わるまでの時間設定。0.4秒。*/
}

a:hover {
  color: #c1bc9e;
  /*マウスオン時の文字色*/
  text-decoration: none;
  /*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*container。サイト全体を囲むブロック
  ---------------------------------------------------------------------------*/

/*containerブロック共通*/

#container {
  position: fixed;
  width: 100%;
  height: 100%;
}

/*company.htmlの背景画像指定*/

.company #container {
  background: url(../images/1.jpg) no-repeat center center;
  /*背景画像（※IE8以下の古いブラウザ用）*/
  background: url(../images/1.jpg) no-repeat center center / cover;
  /*背景画像*/
}

/*works.htmlの背景画像指定*/

.works #container {
  background: url(../images/2.jpg) no-repeat center center;
  /*背景画像（※IE8以下の古いブラウザ用）*/
  background: url(../images/2.jpg) no-repeat center center / cover;
  /*背景画像*/
}

/*link.htmlの背景画像指定*/

.link #container {
  background: url(../images/3.jpg) no-repeat center center;
  /*背景画像（※IE8以下の古いブラウザ用）*/
  background: url(../images/3.jpg) no-repeat center center / cover;
  /*背景画像*/
}

/*contact.htmlにも背景画像を指定したい場合は、以下にスタイルを追加して下さい。*/

.contact #container {
  background: #4f595c;
}

/*contentsブロック
  ---------------------------------------------------------------------------*/

#contents {
  height: 100%;
  width: 100%;
}

/*トップページのcontentsブロック。Whats's Newブロックの表示箇所です。*/

.home #contents {
  height: auto;
  position: absolute;
  width: 100%;
  bottom: 0px;
  /*下からの配置指定*/
  right: 0%;
  /*右からの配置指定*/
}

/*header（大きな端末用：左ブロック）
  ---------------------------------------------------------------------------*/

/*headerブロック*/

header.pc {
  position: fixed;
  /*スクロールしても固定表示させる指定*/
  left: 0px;
  top: 0px;
  z-index: 100;
  width: 100px;
  /*幅*/
  height: 100%;
  /*高さ*/
  border-right: 1px solid #fff;
  /*右側の線の幅、線種、色（古いブラウザ用）*/
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  /*右側の線の幅、線種、色。255,255,255は白の事で0.3は色が30%出た状態の事。*/
  transition: 1s;
  /*hove時に１秒かけて動く*/
}

/*マウスオン時のheaderブロック*/

header.pc:hover {
  width: 20%;
  /*幅*/
  overflow: auto;
  /*ウィンドウの高さよりコンテンツが増えた場合に切れないように自動でスクロールバーを出す設定*/
  background-color: #000;
  /*背景色（古いブラウザ用）*/
  background-color: rgba(0, 0, 0, 0.7);
  /*背景色。0,0,0は黒の事で0.7は色が70%出た状態の事。*/
}

/*ロゴ画像ブロック*/

header.pc .logo {
  text-align: center;
  /*内容をセンタリング*/
  border-bottom: 1px solid #fff;
  /*下線の幅、線種、色（古いブラウザ用）*/
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  /*下線の幅、線種、色。255,255,255は白の事で0.3は色が30%出た状態の事。*/
  height: 100px;
  /*高さ*/
}

header.pc .logo img {
  width: 100px;
  /*画像の幅。マウスオン時に同じ大きさを保つ為。*/
}

/*header内のp(段落)タグ*/

header.pc p {
  padding: 10px;
  /*余白*/
}

/*メインメニュー
  ---------------------------------------------------------------------------*/

/*メニュー１個あたりの設定*/

#menubar li {
  font-size: 12px;
  /*文字サイズ*/
  position: relative;
}

#menubar li a {
  display: block;
  text-decoration: none;
  border-bottom: 1px solid #fff;
  /*下線の幅、線種、色（古いブラウザ用）*/
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  /*下線の幅、線種、色。255,255,255は白の事で0.3は色が30%出た状態の事。*/
  width: auto;
  /*幅*/
  height: 100px;
  /*高さ*/
  padding-left: 80px;
  /*左に空ける余白*/
}

/*マウスオン時*/

header:hover #menubar li a:hover {
  background-color: #4f595c;
  /*背景色*/
  color: #fff;
  /*文字色*/
}

/*現在表示中メニュー（current）*/

#menubar li.current a {
  background-color: rgba(0, 0, 0, 0.5);
  /*0,0,0は黒の事で、0.5は色が50%出た状態。*/
}

/*テキスト*/

#menubar li a span {
  display: none;
  /*通常時は非表示*/
}

/*マウスオン時のテキスト*/

header:hover #menubar li a span {
  display: block;
  /*表示させる*/
  padding-top: 40px;
  /*上に空ける余白。上下のバランスをとります。*/
}

/*メニュー用アイコン設定（menu1〜memu4までの共通設定）*/

.menuimg a {
  width: 60px;
  /*幅*/
  height: 60px;
  /*高さ*/
  display: inline-block;
  background-image: url(../images/icon.png);
  /*背景画像の読み込み*/
  background-repeat: no-repeat;
  background-size: 60px 300px;
  /*実際のアイコン画像（icon.png）全体の大きさの幅、高さのそれぞれ「半分」。解像度を高くするため半分の数字にしています。*/
}

/*menu1*/

.menu1 a {
  background-position: 20px 20px;
  /*背景画像の左から20px、上から20pxの部分を読み込む指定*/
}

/*menu2*/

.menu2 a {
  background-position: 20px -40px;
  /*背景画像の左から20px、上から-40px（上のmenu1の20からアイコンの高さ分の60をずらした）の部分を読み込む指定*/
}

/*menu3*/

.menu3 a {
  background-position: 20px -100px;
  /*背景画像の左から20px、上から-100px（上のmenu2の-40からアイコンの高さ分の60をずらした）の部分を読み込む指定*/
}

/*menu4*/

.menu4 a {
  background-position: 20px -160px;
  /*背景画像の左から20px、上から-160px（上のmenu3の-100からアイコンの高さ分の60をずらした）の部分を読み込む指定*/
}

/*menu5*/

.menu5 a {
  background-position: 20px -220px;
  /*背景画像の左から20px、上から-220px（上のmenu1の-160からアイコンの高さ分の60をずらした）の部分を読み込む指定*/
}

/*スマホ用メニューを表示させない*/

#menubar-s {
  display: none;
}

/*３本バーアイコンを表示させない*/

#menubar_hdr {
  display: none;
}

/*facebookやtwitterなどのアイコンブロック
  ---------------------------------------------------------------------------*/

/*アイコンを囲むブロック全体の設定*/

header .icon {
  text-align: center;
  /*内容をセンタリング*/
  border-bottom: 1px solid #fff;
  /*下線の幅、線種、色（古いブラウザ用）*/
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  /*下線の幅、線種、色。255,255,255は白の事で0.3は色が30%出た状態の事。*/
  padding: 10px 0;
  /*上下、左右への余白*/
}

/*アイコン１個あたりの設定*/

header .icon li {
  display: inline;
  /*横並びにさせる指定*/
}

/*アイコン画像の設定*/

header .icon img {
  width: 20%;
  /*画像の幅*/
}

/*mainブロック
  ---------------------------------------------------------------------------*/

/*アニメーション設定------------------------*/

@keyframes main {
  /*0コマ目*/
  0% {
    opacity: 0;
    top: 20px;
  }
  /*100コマ目*/
  100% {
    opacity: 1;
    top: 0px;
  }
}

/*mainブロック*/

#main {
  overflow: auto;
  padding: 2% 5% 0 15%;
  /*上、右、下、左へのブロック内の余白*/
  height: 98%;
  /*高さ*/
  animation-duration: 0.5s;
  /*アニメーションの実行時間。秒。*/
  animation-fill-mode: both;
  /*アニメーションの待機中は最初のキーフレームを、完了後は最後のキーフレームを維持する*/
  animation-name: main;
  /*上のアニメーション設定で使っているkeyframesの名前。contents。*/
  animation-delay: 0.8s;
  /*アニメーションを遅れて開始させる指定。0.5sは0.5秒の事。*/
  position: relative;
}

/*h2タグ*/

#main h2 {
  clear: both;
  margin-bottom: 20px;
  /*見出しの下に空けるスペース*/
  font-size: 24px;
  /*文字サイズ*/
  letter-spacing: 0.2em;
  /*文字間隔を少し広くとる設定*/
  color: #c1bc9e;
  /*文字色*/
}

/*h2タグの１文字目への指定*/

#main h2::first-letter {
  border-left: 3px solid #c1bc9e;
  /*左の線の幅、線種、色*/
  padding-left: 20px;
  /*線と文字の間の余白*/
}

/*h2タグにclass="title"をつけたタイプ。大見出し。*/

#main h2.title {
  font-family: 'Poiret One';
  /*冒頭のgoogle fontsの指定*/
  font-size: 60px;
  /*文字サイズ*/
  margin-bottom: 40px;
  /*見出しの下に空けるスペース*/
  border-bottom: 1px solid #c1bc9e;
  /*下線の幅、線種、色*/
}

#main h2.title::first-letter {
  border-left: none;
  padding-left: 0;
}

/*h2タグにclass="title"をつけたタイプ内にあるspanタグ*/

#main h2.title span {
  display: block;
  font-size: 15px;
  /*文字サイズ*/
  float: right;
  /*右に回り込み*/
  margin-top: 60px;
  /*上に空ける余白。上下のバランスをここでとります。*/
}

/*h3タグ*/

#main h3 {
  clear: both;
  margin-bottom: 20px;
  /*見出しの下に空けるスペース*/
  font-size: 20px;
  /*文字サイズ*/
}

/*段落(p)タグ*/

#main p {
  padding: 0 20px 20px;
  /*上、左右、下への余白*/
}

/*他。微調整。*/

#main p + p {
  margin-top: -5px;
}

#main h2 + p,
#main h3 + p {
  margin-top: -10px;
}

#main section + section {
  clear: both;
  padding-top: 40px;
}

/*listブロック（works.htmlで使用）
  ---------------------------------------------------------------------------*/

/*各ボックスの指定*/

.list {
  position: relative;
  float: left;
  /*左に回り込み*/
  width: 30%;
  /*幅*/
  margin-left: 2.5%;
  /*左に空けるスペース*/
  margin-bottom: 20px;
  /*下に空けるスペース*/
  background: #000;
  /*背景色*/
}

.list a {
  display: block;
  text-decoration: none;
}

/*マウスオン時*/

.list a:hover {
  color: #fff;
  /*文字色*/
}

/*リンクを指定した際に右上に出る「→」*/

.list a::after {
  content: '→';
  /*この文字を出力します。変更してもかまいませんが機種依存文字は使わないで下さい。*/
  position: absolute;
  right: 10px;
  /*右からの配置場所指定*/
  top: 10px;
  /*上からの配置場所指定*/
  font-size: 12px;
  /*文字サイズ*/
  line-height: 30px;
  /*行間。下のwidthと揃えて下さい。*/
  width: 30px;
  /*幅。上のline-heightと揃えて下さい。*/
  border-radius: 50%;
  /*角丸の指定。円形になります。*/
  background: #ccc;
  /*背景色*/
  color: #000;
  /*文字色*/
  text-align: center;
}

/*figure画像*/

.list a figure {
  opacity: 0.6;
  /*リンクを指定した際は60%だけ色を出す。*/
}

/*マウスオン時のfigure画像*/

.list a:hover figure {
  opacity: 1;
  /*リンクを指定した際のマウスオン時に色を100%出す。*/
}

/*h4タグ*/

.list h4 {
  position: absolute;
  bottom: 0px;
  /*下からの配置場所指定。*/
  left: 0px;
  /*左からの配置場所指定。*/
  width: 100%;
  background: #000;
  /*背景色（古いブラウザ用）*/
  background: rgba(0, 0, 0, 0.5);
  /*背景色。0,0,0は黒の事で0.5は色が50%出た状態。*/
  text-align: center;
  /*内容をセンタリング*/
  padding: 10px 0;
  /*上下、左右への余白*/
}

/*footerブロック
  ---------------------------------------------------------------------------*/

footer {
  clear: both;
  text-align: right;
  padding: 30px 0;
}

.home footer {
  padding-bottom: 10px;
}

footer a {
  text-decoration: none;
}

/*「更新情報・お知らせ」ブロック
  ---------------------------------------------------------------------------*/

/*見出しを含まないお知らせブロック*/

#new dl {
  height: 100px;
  /*高さ*/
  overflow: hidden;
  /*高さを超えるコンテンツ量部分は非表示に*/
}

/*ブロックのマウスオン時*/

#new dl:hover {
  overflow: auto;
  /*スクロールバーを自動で表示*/
}

/*日付設定*/

#new dt {
  float: left;
  /*左に回り込み*/
  width: 9em;
  /*幅*/
  letter-spacing: 0.1em;
  /*文字間隔を少しだけ広くとる設定*/
}

/*記事設定*/

#new dd {
  padding-left: 9em;
  /*左に空ける余白*/
}

/*テーブル
  ---------------------------------------------------------------------------*/

/*テーブル１行目に入った見出し部分（※caption）*/

.ta1 caption {
  border: 1px solid #fff;
  /*テーブルの枠線の幅、線種、色*/
  border-bottom: none;
  /*下線だけ消す*/
  text-align: left;
  /*文字を左寄せ*/
  font-weight: bold;
  /*太字に*/
  padding: 10px;
  /*ボックス内の余白*/
  background: #000;
  /*背景色*/
}

/*テーブルの見出し（※tamidashi）*/

.ta1 th.tamidashi {
  width: auto;
  text-align: left;
  /*左よせ*/
  background: #000;
  /*背景色*/
}

/*ta1設定*/

.ta1 {
  table-layout: fixed;
  width: 100%;
  margin: 0 auto 20px;
}

.ta1,
.ta1 td,
.ta1 th {
  word-break: break-all;
  border: 1px solid #fff;
  /*テーブルの枠線の幅、線種、色*/
  padding: 10px;
  /*ボックス内の余白*/
}

/*ta1の左側ボックス*/

.ta1 th {
  width: 140px;
  /*幅*/
  text-align: center;
  /*センタリング*/
}

/*フォーム関連
  ---------------------------------------------------------------------------*/

/*ボタン（btn）*/

input[type='submit'].btn,
input[type='button'].btn,
input[type='reset'].btn {
  padding: 5px 20px;
  /*上下、左右へのボックス内の余白*/
  border-radius: 3px;
  /*角丸のサイズ*/
  background: #eee;
  /*背景色*/
  color: #666;
  /*文字色*/
}

/*マウスオン時のボタン（btn）設定*/

input[type='submit'].btn:hover,
input[type='button'].btn:hover,
input[type='reset'].btn:hover {
  background: #fff;
  /*背景色*/
}

/*input,textarea共通*/

input,
textarea {
  outline: none;
  background: transparent;
  border: 1px solid #999;
  /*枠線の幅、線種、色*/
  color: #fff;
  /*文字色*/
}

/*input,textareaのフォーカス時*/

input:focus,
textarea:focus {
  border: 1px solid #fff;
  /*枠線の幅、線種、色*/
}

/*checkブロック。赤い注意書きブロックです。
  ---------------------------------------------------------------------------*/

p.check {
  background: #ff0000;
  color: #fff;
  padding: 10px 25px !important;
  margin-bottom: 20px;
}

p.check a {
  color: #fff;
}

/*PAGE TOP（↑）設定
  ---------------------------------------------------------------------------*/

/*トップページでは非表示に。*/

.home .nav-fix-pos-pagetop a {
  display: none;
}

/*設定*/

.nav-fix-pos-pagetop a {
  display: block;
  text-decoration: none;
  text-align: center;
  z-index: 100;
  position: fixed;
  width: 40px;
  /*ボタンの幅*/
  line-height: 40px;
  /*ボタンの高さ*/
  bottom: 20px;
  /*ウィンドウの下から20pxの場所に配置*/
  right: 3%;
  /*ウィンドウの右から3%の場所に配置*/
  background: #4f595c;
  /*背景色*/
  color: #fff;
  /*文字色*/
  border-radius: 50%;
  /*円形にする指定*/
}

/*マウスオン時の背景色*/

.nav-fix-pos-pagetop a:hover {
  background: #fff;
  /*背景色*/
  color: #4f595c;
  /*文字色*/
}

/*トップページのNEWアイコン
  ---------------------------------------------------------------------------*/

.newicon {
  background: #f00;
  /*背景色*/
  color: #fff;
  /*文字色*/
  font-size: 70%;
  /*文字サイズ*/
  line-height: 1.5;
  padding: 2px 5px;
  border-radius: 2px;
  margin: 0px 5px;
  vertical-align: text-top;
}

/*ul.disc,olタグ
  ---------------------------------------------------------------------------*/

ul.disc {
  list-style: disc;
  padding: 0 20px 20px 45px;
}

ol {
  padding: 0 20px 20px 45px;
}

/*box
  ---------------------------------------------------------------------------*/

.box {
  background: #000;
  /*背景色（古いブラウザ用）*/
  background: rgba(0, 0, 0, 0.7);
  /*背景色。0,0,0は黒の事で0.7は色が70%出た状態の事。*/
  padding: 5%;
  /*ボックス内の余白*/
  margin-bottom: 30px;
  /*ボックスの下に空けるスペース*/
  border: 1px solid #fff;
  /*線の幅、線種、色（古いブラウザ用）*/
  border: 1px solid rgba(255, 255, 255, 0.3);
  /*線の幅、線種、色。255,255,255は白の事で0.3は色が30%出た状態の事。*/
}

/*その他
  ---------------------------------------------------------------------------*/

.look {
  background: #000;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #666;
  color: #fff;
}

.mb15,
.mb1em {
  margin-bottom: 15px !important;
}

.mb30 {
  margin-bottom: 30px !important;
}

.clear {
  clear: both;
}

.color1,
.color1 a {
  color: #c1bc9e !important;
}

.pr {
  font-size: 10px;
}

.wl {
  width: 83%;
}

.ws {
  width: 50%;
}

.c {
  text-align: center;
}

.r {
  text-align: right;
}

.l {
  text-align: left;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.mini1 {
  font-size: 11px;
  display: inline-block;
  line-height: 1.5;
}

.sh {
  display: none;
}

#pagetop {
  display: block;
  margin-top: -2%;
  padding-top: 2%;
}

/*画面幅800px以下の設定
  ------------------------------------------------------------------------------------------------------------------------------------------------------*/

@media screen and (max-width: 800px) {
  /*header（小さな端末用：上部ブロック）
  ---------------------------------------------------------------------------*/
  /*ロゴ画像ブロック*/
  header.sh .logo {
    width: 80px;
    /*ロゴ画像の幅*/
  }
  /*メインメニュー
  ---------------------------------------------------------------------------*/
  /*アニメーションのフレーム設定。全100コマアニメーションだと思って下さい。
  透明(opacity: 0;)から色をつける(opacity: 1;)までの指定。*/
  @keyframes menubar {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  /*スマホ用メニューブロック*/
  #menubar-s {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 3;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.8);
    animation-name: menubar;
    animation-duration: 0.5s;
    animation-fill-mode: both;
  }
  /*navブロックのみの追加指定*/
  #menubar-s nav {
    border-bottom: none;
    /*下の線の幅、線種、色*/
    overflow: auto;
  }
  /*メニュー１個あたりの設定*/
  #menubar-s nav li a {
    display: block;
    text-decoration: none;
    width: 100%;
    border-bottom: none;
    /*下の線の幅、線種、色*/
    font-size: 16px;
    /*文字サイズ*/
    height: 100px;
    /*高さ*/
    height: 60px;
    /*高さ*/
  }
  /*最後のnavメニューの下線を消す*/
  #menubar-s nav li:last-child a {
    border-bottom: none;
  }
  /*テキスト*/
  #menubar-s nav li a span {
    display: block;
    padding-top: 15px;
    /*上に空ける余白。上下のバランスをとります。*/
    padding-left: 80px;
    /*左に空ける余白*/
  }
  /*menu1*/
  .menu1 a {
    background-position: 20px 0px;
  }
  /*menu2*/
  .menu2 a {
    background-position: 20px -60px;
  }
  /*menu3*/
  .menu3 a {
    background-position: 20px -120px;
  }
  /*menu4*/
  .menu4 a {
    background-position: 20px -180px;
  }
  /*menu5*/
  .menu5 a {
    background-position: 20px -240px;
  }
  /*PC用メニューを非表示にする*/
  #menubar {
    display: none;
  }
  /*３本バーアイコン設定
  ---------------------------------------------------------------------------*/
  /*３本バーブロック*/
  #menubar_hdr {
    display: block;
    position: fixed;
    z-index: 50;
    top: 10px;
    /*上から10pxの場所に配置*/
    right: 10px;
    /*右から10pxの場所に配置*/
  }
  /*アイコン共通設定*/
  #menubar_hdr.close,
  #menubar_hdr.open {
    width: 50px;
    /*幅*/
    height: 50px;
    /*高さ*/
    border-radius: 50%;
    /*円形にする*/
    border: 1px solid #fff;
    /*枠線の幅、線種、色*/
  }
  /*三本バーアイコン*/
  #menubar_hdr.close {
    background: #000 url(../images/icon_menu.png) no-repeat center top/50px;
    /*背景色、背景画像の読み込み、画像の上半分（３本マーク）を表示。幅は50px。*/
  }
  /*閉じるアイコン*/
  #menubar_hdr.open {
    background: #000 url(../images/icon_menu.png) no-repeat center bottom/50px;
    /*背景色、背景画像の読み込み、画像の下半分（×マーク）を表示。幅は50px。*/
    top: 5px;
    /*配置場所の再指定*/
  }
  /*facebookやtwitterなどのアイコンブロック
  ---------------------------------------------------------------------------*/
  /*アイコンを囲むブロック全体の設定*/
  header .icon {
    clear: left;
    border-bottom: 1px solid #fff;
    /*下の線の幅、線種、色*/
  }
  /*アイコン画像の設定*/
  header .icon img {
    width: 50px;
  }
  /*mainブロック
  ---------------------------------------------------------------------------*/
  /*mainブロック*/
  #main {
    padding-left: 3%;
    padding-right: 3%;
  }
  /*h2タグ*/
  #main h2 {
    font-size: 20px;
    /*文字サイズ*/
    letter-spacing: normal;
    /*文字間隔を標準に戻す*/
  }
  /*h2タグにclass="title"をつけたタイプ。大見出し。*/
  #main h2.title {
    font-size: 30px;
    /*文字サイズ*/
    margin-bottom: 20px;
    /*見出しの下に空けるスペース*/
  }
  /*h2タグにclass="title"をつけたタイプ内にあるspanタグ*/
  #main h2.title span {
    margin-top: 20px;
    /*上に空ける余白。上下のバランスをここでとります。*/
  }
  /*footerブロック
  ---------------------------------------------------------------------------*/
  footer {
    padding-bottom: 100px;
  }
  footer .pr {
    display: block;
  }
  /*「更新情報・お知らせ」ブロック
  ---------------------------------------------------------------------------*/
  /*見出しを含まないお知らせブロック*/
  #new dl {
    overflow: auto;
  }
  /*その他
  ---------------------------------------------------------------------------*/
  .sh {
    display: block;
  }
  .pc {
    display: none;
  }
  .list {
    width: 47%;
  }
}

/*画面を横向きにした場合の高さが500px以下の場合の設定。
  ------------------------------------------------------------------------------------------------------------------------------------------------------*/

@media screen and (orientation: landscape) and (max-height: 500px) {
  /*メインメニュー。小さな端末用メニューを２列に。
  ---------------------------------------------------------------------------*/
  /*メニュー１個あたりの設定*/
  #menubar-s nav li a {
    float: left;
    /*左に回り込み*/
    width: 50%;
    /*幅*/
  }
}

/*画面幅480px以下の設定
  ------------------------------------------------------------------------------------------------------------------------------------------------------*/

@media screen and (max-width: 480px) {
  /*mainブロック
  ---------------------------------------------------------------------------*/
  /*h2タグ*/
  #main h2 {
    font-size: 16px;
    /*文字サイズ*/
  }
  /*h2タグにclass="title"をつけたタイプ。大見出し。*/
  #main h2.title {
    font-size: 20px;
    /*文字サイズ*/
  }
  /*h2タグにclass="title"をつけたタイプ内にあるspanタグ*/
  #main h2.title span {
    font-size: 11px;
    margin-top: 10px;
    /*上に空ける余白。上下のバランスをここでとります。*/
  }
  /*h3タグ*/
  #main h3 {
    font-size: 14px;
    /*文字サイズ*/
  }
  /*段落(p)タグ*/
  #main p {
    padding: 0 10px 20px;
    /*上、左右、下への余白*/
  }
  /*他。微調整。*/
  #main section + section {
    padding-top: 20px;
  }
  /*listブロック（works.htmlで使用）
  ---------------------------------------------------------------------------*/
  /*リンクを指定した際に右上に出る「→」*/
  .list a::after {
    right: 2px;
    /*右からの配置場所指定*/
    top: 2px;
    /*上からの配置場所指定*/
    line-height: 20px;
    /*行間。下のwidthと揃えて下さい。*/
    width: 20px;
    /*幅。上のline-heightと揃えて下さい。*/
  }
  /*h4タグ*/
  .list h4 {
    padding: 0;
  }
  /*テーブル（ta1）
  ---------------------------------------------------------------------------*/
  /*テーブル１行目に入った見出し部分（※caption）*/
  .ta1 caption {
    padding: 5px;
    /*ボックス内の余白*/
  }
  /*ta1設定*/
  .ta1,
  .ta1 td,
  .ta1 th {
    padding: 5px;
    /*ボックス内の余白*/
  }
  /*ta1の左側ボックス*/
  .ta1 th {
    width: 100px;
  }
  /*ul.disc,olタグ
  ---------------------------------------------------------------------------*/
  ul.disc {
    list-style: disc;
    padding: 0 10px 20px 30px;
  }
  ol {
    padding: 0 10px 20px 30px;
  }
  /*その他
  ---------------------------------------------------------------------------*/
}

#history {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  border-top: 2px solid #eee;
}

#history h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  text-align: center;
}

#history dl {
  border-left: 3px solid #0078ff;
  padding-left: 20px;
}

#history dt {
  font-weight: bold;
  color: #0078ff;
  margin-top: 20px;
}

#history dd {
  margin-left: 0;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* スマホメニュー内の中央寄せ修正 */

#menubar-s {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* テキスト中央 */
}

#menubar-s nav {
  width: 100%;
  max-width: 300px;
  /* 中央幅を調整 */
}

#menubar-s nav li a {
  padding-left: 0 !important;
  /* 左余白を削除 */
  text-align: center;
  background-position: center left 30px;
  /* アイコン位置の微調整 */
}

#menubar-s nav li a span {
  padding-left: 0 !important;
  font-size: 19px;
}

/* モバイルメニューのアイコンを非表示にする */

#menubar-s nav li a {
  background: none !important;
  /* 背景アイコン削除 */
  padding-left: 0 !important;
  /* 左余白リセット */
}

#menubar-s nav li a::before {
  display: none !important;
  /* 擬似要素で出していた場合も削除 */
}

/* ====== 会社概要テーブル（ta1） ====== */

.ta1 {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto 40px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 15px;
  color: #fff;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* 共通セル設定 */

.ta1 th,
.ta1 td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

/* 左側（見出し） */

.ta1 th {
  width: 30%;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: left;
  white-space: nowrap;
}

/* 右側（本文） */

.ta1 td {
  color: #eaeaea;
  line-height: 1.8;
}

/* リンクカラー */

.ta1 a {
  color: #82d0ff;
  text-decoration: none;
  transition: 0.3s ease;
}

.ta1 a:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(130, 208, 255, 0.6);
}

/* 最終行の線を消す */

.ta1 tr:last-child th,
.ta1 tr:last-child td {
  border-bottom: none;
}

/* ====== スマホ対応 ====== */

@media screen and (max-width: 700px) {
  .ta1 {
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
  }
  /* 各行を1カードとして扱う */
  .ta1 tr {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
  }
  /* 見出し（上段） */
  .ta1 th {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    padding: 10px 15px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  /* 内容（下段） */
  .ta1 td {
    display: block;
    width: 100%;
    padding: 12px 15px 15px;
    color: #fff;
    line-height: 1.7;
    border: none;
  }
  /* 最後のカードの余白 */
  .ta1 tr:last-child {
    margin-bottom: 0;
  }
  /* 自動で「：」を追加 */
  .ta1 th::after {
    content: '：';
  }
  /* ====== 見た目微調整 ====== */
  .ta1 td,
  .ta1 th {
    word-break: break-word;
  }
  .ta1 td a[href^='tel:'] {
    pointer-events: auto;
    color: #82d0ff;
  }
}

/* ====== フォーム共通スタイル ====== */

input[type='text'],
input[type='email'],
textarea {
  width: 83%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* フォーカス時（選択中のとき） */

input[type='text']:focus,
input[type='email']:focus,
textarea:focus {
  border-color: #b682ff;
  background: rgba(182, 130, 255, 0.1);
  outline: none;
  box-shadow: 0 0 8px rgba(182, 130, 255, 0.5);
}

/* プレースホルダーの色 */

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* テキストエリア専用 */

textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.8;
}

/* ラベルや見出しを整える */

form th {
  color: #b682ff;
  font-weight: 600;
  padding-bottom: 6px;
  display: block;
  font-size: 15px;
  letter-spacing: 0.05em;
}

/* PCとスマホの余白バランス */

form tr {
  display: block;
  margin-bottom: 20px;
}

/* 送信ボタン */

input[type='submit'].btn {
  display: inline-block;
  padding: 12px 40px;
  background: linear-gradient(135deg, #5c00b8, #0077ff);
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 0.05em;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

input[type='submit'].btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(100, 150, 255, 0.8);
  filter: brightness(1.2);
  color: #0077ff;
}
