@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #2353f0;
    --link-color: #407ef0;
    --linkhover-color: #7f9ef1;
    --back-color: #e2e6f5;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
.inline-link {
  display: inline;
  color: var(--link-color);
  text-decoration: none;
}
a:hover { 
    color: var(--linkhover-color);
}


/*ヘッダー
-------------------------------------*/
.header {
  display: flex;
  align-items: center; /* 上下中央揃え */
  padding: 1rem 0 0 0;
}
  header {/* ヘッダー全体のスタイル */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

.header-box {
  margin-left: auto;
}
.contact-button {
	padding: 1rem;
  color: #fff;
  background-color: #407ef0; 
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 0.5rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: var(--back-color);   
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 769px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 30px;
    right: 20px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url("../img/button.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 70px;
    height: 70px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url("../img/button2.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*アニメーション追加*/
.fade-zoom {
  opacity: 0;
  transform: scale(0.9);
  animation: fadeZoomIn 2.0s ease-out forwards;
}

@keyframes fadeZoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/*メインコンテンツ
-------------------------------------*/
main {
  margin: 5rem 0 0 0; /* デフォルトの余白（スマホ向け） */
}

/* PC表示時 */
@media screen and (min-width: 769px) {
  main {
    margin-top: 200px; /* ヘッダーの高さ分だけ余白を確保 */
  }
}

/* スマホ表示時 */
@media screen and (max-width: 768px) {
  main {
    margin-top: 120px; /* ヘッダーの高さ分だけ余白を確保 */
  }
}

/*セクション共通スタイル*/
section {
	margin: 2.5rem 0;
	padding: 2rem 0;
}
section.anchor-target {/* アンカーリンクの位置調整 */
  scroll-margin-top: 200px;
}
.gray-back {
	background-color: var(--back-color);
}

.notice-section {/* お知らせセクション */
  border-bottom: 1px solid #eee;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
/* ボックス用 */
.arrow-box {
  border: 1px solid #ccc;
  padding: 1rem;
  max-height: 300px;
  overflow-y: auto;
  background-color: #fff;
}

/* 小さめの矢印アイコンなどに */
.arrow-inline {
  font-size: 1.4rem;
  color: #999;
  margin-left: 1rem;
}

/* 強調テキスト用 */
.arrow-bold {
  font-weight: bold;
  color: #999;
}

/* タイトル風の見出し用 */
.arrow-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}
/*リンクボックス---------------------------------------------*/
.linkbox{
  display: flex;
  justify-content: space-between; /* 左右に分ける */
  align-items: center;
  padding: 1.5rem 1.7rem;
  margin: 3rem 0;
  border-bottom: 1px solid #ccc;
  border-right: 4px solid #eee;
  background-color: #e9ecee;
  color: #2353f0;
  text-decoration: none;
  font-size: 2.5rem;
  transition: background-color 0.3s ease;
   min-height: 10rem; /* 高さを一定に */
}

.linkbox:hover {
  background-color: #e6e8ec;
}

/*スクロール付きお知らせ----------------------------*/

.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 300px;       /* ← 高さ制限 */
  overflow-y: auto;        /* ← 縦スクロールを有効に */
  border: 0.2px solid #f5f4f4;  /* ← 枠線（任意） */
  background-color: #fff;  /* ← 背景（任意） */
}

.notice-list li {
  border-bottom: 1px solid #eee;
}

.notice-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 0.5rem 0;
  transition: background-color 0.3s;
}

.notice-list a:hover {
  background-color: #f5f5f5;
}


/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*会社概要-----------------------------*/
.company-summary {
  padding: 4rem 1.5rem;
  margin: 0 auto;
}

/* PC表示時に横幅を広げる */
@media screen and (min-width: 1024px) {
  .company-summary {
    max-width: 1200px;
    padding: 5rem 2rem;
  }
}

/* スマホ表示時は自動で幅調整 */
@media screen and (max-width: 1023px) {
  .company-summary {
    max-width: 100%;
  }
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  margin: 0 auto;
}

/* スマホ表示：交互に縦並び */
@media screen and (max-width: 768px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }
}

.item,
.value {
  padding: 1rem 0;
  border-bottom: 1px solid #eaf1f5;
}

/* 項目の見た目強調 */
.item {
  font-weight: bold;
  background-color: #eaf1f5;
}

/* スマホ表示：上下に区切り線変更 */
@media screen and (max-width: 768px) {
  .item,
  .value {
    border-bottom: none;
    border-top: 1px solid #eaf1f5;
  }

  .item {
    border-top: 1px solid #eaf1f5;
    background-color: #eaf1f5  }
}

/*採用情報-----------------------------*/
.recruit-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid #ccc; /* 薄い下線 */
}

.recruit-label {
  width: 30%;
  font-weight: bold;
  color: #333;
}

.recruit-content {
  width: 70%;
  color: #555;
}
/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid var(--border-color);
}
.sitemap {/* サイトマップ全体のスタイル */
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* スマホ：2列 */
  gap: 0.5rem;
  padding: 2rem;
  font-size: 1.5rem;
}

.sitemap div a {
  text-decoration: none;
  color: #407ef0;
  padding: 0.3rem 0;
  display: block;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s;
}

.sitemap div a:hover {
  background-color: #eee;
}

@media screen and (min-width: 769px) {
  .sitemap {
    grid-template-columns: repeat(4, 1fr); /* PC：4列 */
  }
}
/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 45px;
    right: 15px;
}
#pagetop a {
    display: block;
    background-color: var(--base-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background-color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}