@charset "utf-8";

/* 全体 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #333;
  background-color: #f7f7f7;
}



/* ファーストビューエリア */
.first-view {
  position: relative;
  min-height: 320px;
  padding: 40px 20px 60px;
  background-image: url(../img/top/sky.jpeg);
  background-size: cover;
  background-position: center;
  color: #000000;
}

.first-overlay {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 24px 32px 32px;
}

.first-subtitle {
  margin: 0 0 4px;
　font-size: 14px;
　color: inherit;
　text-decoration: none; 
}

.first-title {
  margin: 0;
  font-size: 32px;
  letter-spacing: 0.08em;
}

.first-message {
  margin: 8px 0 24px;
  font-size: 18px;
}

/* ナビゲーション */
.first-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.first-icon-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.first-icon-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.first-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #b3f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* メイン */
.main {
  max-width: 960px;
  margin: 24px auto 40px;
  padding: 0 16px;
}

/* 挨拶文 */
.intro {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.intro h2 {
  margin-top: 0;
  font-size: 20px;
}

.intro p {
  margin-bottom: 0;
  line-height: 1.7;
}

/* 挨拶文(indexのみ) */
.center {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.center h2 {
  margin-top: 0;
  font-size: 20px;
	border-left: 4px solid #b3f2ff;
	padding-left: 8px
}

/* 定型エリア(section) */
.center h3 {
  margin-top: 0;
  font-size: 18px;
  text-align: center
}

.center p {
  margin-bottom: 0;
  line-height: 1.7;
}

.photo ul {
  display: flex;
  list-style-type: none; 
}

.img-50 {
  width: 400px;
  height: 300px;
}

.center ul li img {
  margin-right: 15px;
  width: 400px;
  height: 300px;
  border-radius: 15px; 
  transition: transform 0.3s ease; 
}

.center ul li img:hover {
  transform: scale(1.025); 
  box-shadow: 0 0 10px rgba(0,0,0,.25);
}

/* テーブルエリア */
table {
	width: 90%;
	border-collapse: collapse;
    margin: 20px auto;
    background-color: #f4f5f7;
	text-align: center;
}

/* 貸出PCテキスト */

.rent p {
  margin-left: 30px; 
}

/* カードエリア */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-top: 0;
  font-size: 18px;
  border-left: 4px solid #b3f2ff;
  padding-left: 8px;
}

.card ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.card li {
  margin-bottom: 4px;
  font-size: 14px;
}

a {
	color: inherit;       
    text-decoration: none; 
	text-align: center;
}

/* フッター */
.footer {
  text-align: center;
  padding: 16px 0 24px;
  font-size: 12px;
  color: #777;
}

/* リンク */
.aa:hover {
  color: #5b8cb5;
  text-decoration: none; 
}

/* 上に戻る */
html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}
