/* styles.css */
body {
    font-family: 'Yusei Magic', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #5a9f9b;
    color: #f1f1f1;
}
header {
    background-color: #151c36;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* リンクのスタイル */
a {
    color: #e8e350; /* リンクの色を#e8e350に */
    font-weight: bold; /* ボールドに */
    text-decoration: none; /* 下線をなくす */
}
a:hover {
    color: #097797; /* マウスオーバー時の色を少し濃くする */
}

/*ハンバーガー関連*/
.no-scroll { /*スクロール無効*/
    overflow: hidden;
}
.menu-icon { /*メニューの三アイコン部のスタイル*/
    background-color: #151c36;
    width: 30px;
    height: 30px;
    display: block;
    cursor: pointer;
}
.menu-item { /*各アイコンの親要素*/
    position: relative;
    display: inline-block;
    padding: 0px; /* アイコン周りの余白 */
}
.menu-item-img { /* メニューアイコンの画像 */
    display: block;
    max-width: 100%;
    height: auto; /* 画像のアスペクト比を維持 */
    transition: opacity 0.3s ease;
}
/* ハンバーガーメニュー本体のデザイン */
.menu {
    position: fixed;
    top: 0;
    right: -280px;  /* 右からスライドするように位置変更 */
width: 280px;
    height: 100%;
    background-color: #097797;
    color: #097797;
    z-index: 1000;
    transition: right 0.3s ease;  /* スライド方向を右に変更 */
    padding-top: 100px;
}
.menu.open {
    right: 0; /* メニューが開くとき右から0pxの位置に */
}
/* ハンバーガーメニューアイコンとバツアイコンのスタイル */
.menu-icon img,
.close-btn img {
    width: 32px;  /* アイコンのサイズ */
    height: 32px;
    transition: transform 0.2s ease;  /* 拡大時のアニメーション */
}
.menu a {
    display: block;
    color: #097797;
    padding: 10px;
    text-decoration: none;
    text-align: center;
}
.menu a:hover {
    background-color: #1b97b0;
}
.close-btn {/* ×ボタン */
    position: absolute;
    top: 10px;  /* 右上に配置するため、上からの距離を調整 */
    right: 10px; /* 右からの距離を調整 */
    font-size: 30px;
    color: #097797;
    cursor: pointer;
    z-index: 1100; /* メニューより上に表示されるように */
}
.overlay {/* オーバーレイ */
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(95, 158, 160, 0.5);
    z-index: 999;
}
.overlay.active {
    display: block;
}

/* コンテンツ */
.content {/* タイトル部 */
    text-align: center;
    padding-top: 50px;
}
.title-image {/* カエルアイコンの部分 */
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: block;
    border-radius: 50%; /* 丸くする */
    border: 3px solid #f1f1f1; /* 線を追加 */
}
.title-image2 {/* 各コンテンツタイトル画像 */
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: block;
}

/* 上に戻るボタン */
.scroll-to-top-btn {/* 上に戻るボタンのスタイル */
    position: fixed;
    bottom: 20px; /* 画面下からの距離 */
    right: 20px; /* 画面右からの距離 */
    background-color: #097797;
    color: #fff;
    border: none;
	width: 70px; 
	height: 70px;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    display: none; /* 初期状態で非表示 */
    z-index: 1000; /* 他の要素の上に表示 */
    transition: opacity 0.3s ease;
}
.scroll-to-top-btn svg {/* SVGアイコンのスタイル */
    fill: #61c7bf; /* アイコンの色 */
    width: 20px; /* アイコンの大きさ */
    height: 20px; /* アイコンの大きさ */
}
.scroll-to-top-btn:hover {/* 上に戻るボタンにホバーした時のエフェクト */
    background-color: #9fd0d8;
}

/*ホーム画面動くメニューアイコン*/
.image-links {
    display: flex;
    justify-content: center;
    gap: 20px; /* 画像間の余白 */
    margin-top: 20px;
}
.image-links a {
    display: block;
    width: 100px;
    height: 100px;
}
.image-links img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

/* コンテナ */
.container {
    width: 80%;  /* 必要に応じて調整（例えば80%） */
    max-width: 700px; /* 最大幅を設定 */
    margin: 0 auto;  /* 中央揃え */
    padding: 0 20px; /* 左右に余白を追加 */
}
.comment-box {/* ホーム用コメントボックス */
    background-color: #5a9f9b;
    border: 3px solid #f1f1f1;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0; /* 上下の余白 */
    text-align: center;
    color: #f1f1f1;
}
/* ラベル用のコンテナ */
.caption-container {
    position: relative;
    display: inline-block;
    width: 300px; /* 見出しの幅を300pxに指定 */
    margin-top: 5px; /* コメントボックスとの間隔を狭める */
    margin-bottom: 0px; /* 下部の余白を削除してさらに詰める */
}
.caption-text {/* ラベルテキスト */
	position: absolute;
    top: 15%;  /* 画像の中央に配置 */
    left: 20%;  /* 水平中央に配置 */
    transform: translate(-50%, -50%); /* 水平・垂直方向で完全に中央揃え */
    font-weight: bold;
    font-size: 20px; /* フォントサイズは必要に応じて調整 */
    color: #f1f1f1;  /* テキストカラー */
}
.caption-bg {/* ラベル画像の設定 */
	width: 100%; /* 画像をコンテナの幅に合わせる */
    height: 50px; /* 高さを調整して帯画像の高さを指定 */
    display: block; /* ブロック要素として表示 */
	margin-top: 0px;
	margin-bottom: 0px;
}
.comment{/* ラベル下のテキスト */
 margin-top: 0px; /* コメントボックスとの間隔を狭める */
 margin-bottom: 0px; /* 下部の余白を削除してさらに詰める */
}
/* サンプル画像 */
.sample-images {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列レイアウト */
    gap: 10px; /* 画像間の余白 */
    justify-items: center;
    margin-top: 10px;
}
.sample-images img {
    width: 100%; /* 画像の幅を親要素に合わせる */
    height: auto; /* 縦横比を維持 */
    max-width: 400px; /* 最大幅を設定（必要に応じて調整） */
}
/* 外部リンク部 */
.litlink-section {
margin-top: 20px;
	padding: 0px;
  background-color: #5A9F9B;
}
.container2 {/* 外部リンクコンテナ */
 margin-top: 10px;
  display: flex;
  flex-direction: column; /* 縦並び */
  gap: 10px;
  align-items: center; /* 中央揃え */
}
.link-item {
  width: 100%; /* 横幅を調整 */
  max-width: 700px; /* 最大幅を設定 */
  text-align: center;
  background-color: #5A9F9B;
  border: 3px solid #f1f1f1;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
 transition: all 0.2s ease;
  display: flex; /* 横並びにするためにflexを使う */
  align-items: center; /* 画像と文字を縦中央に揃える */
  justify-content: flex-start; /* 左揃え */
  gap: 50px; /* 画像と文字の間隔を追加 */
}
.link-item:hover {
  background-color: #378E9A;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}
.link {
  display: flex;
  text-decoration: none;
  color: inherit;
  align-items: center;
}
.link-image {
width: 60px; /* 画像のサイズ調整 */
height: flex;
  border-radius: 20%;
  transition: transform 0.1s ease;
}
.link-item:hover .link-image {
  transform: scale(1.1); /* 画像をホバー時に少し拡大 */
}
.link-title {
  font-size: 16px;
  color: #f1f1f1;
  font-weight: bold;
  transition: color 0.1s ease;
flex: 2;

}
.link-item:hover .link-title {
  color: #9FD0D8; /* ホバー時にタイトルカラー変更 */
}
/* PRICEのページ */
.comment-box2 {
  margin-top: 5px; /* コメントボックスの間隔 */
	width:350px;
	flex: 6;
}
.comment-box2 p {
  font-size: 16px;
  font-weight: normal;
  color: #f1f1f1; /* コメントテキストの色 */
  margin: 0;
  padding: 5px 0;
  border-radius: 5px;
  text-align: left;
}
.container3 {
    width: 80%;  /* 必要に応じて調整（例えば80%） */
    max-width: 700px; /* 最大幅を設定 */
    margin: 0 auto;  /* 中央揃え */
    padding: 0 0px; /* 左右に余白を追加 */
}
.comment-box3 {
  position: relative;
	background-color: #5a9f9b;
    border: 5px solid #f1f1f1;
    border-radius: 10px;
    padding: 30px;
	padding-top: 80px;
    margin: 80px 0; /* 上下の余白 */
    text-align: center;
    color: #f1f1f1;
}
.logo-img3 {
width: 105%;
	max-width: 700px; /* 最大幅を設定 */
    height: auto;
    position: absolute;
    top: -50px; /* `comment-box3` の上に配置 */
    left: 50%;
    transform: translateX(-50%);
    padding: 0px;
}
.comment-in-box {
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    text-align: center;
}
/* 料金表 */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}
.pricing-table th, .pricing-table td {
    padding: 10px;
    border: 4px solid #151c36;
    text-align: center;
}
.pricing-table thead tr {/* 1行目のヘッダー */
    background-color: #097797;
    color: #f1f1f1;
}
.pricing-table thead tr:nth-child(2) th:first-child {/* 2行目の「基本制作」セル */
    background-color: #3ad1db;
	color: #151c36;
}
.pricing-table thead tr:nth-child(2) th:last-child {/* 2行目の「基本制作」の横のセル */
    background-color: #ffffff;
    color: #151c36;
}
.pricing-table tbody tr td:first-child {/* 追加のセル（左側） */
    background-color: #9fd0d8;
    color: #151c36;
}
.pricing-table tbody tr td:last-child {/* 追加の横のセル（右側） */
    background-color: #ffffff;
    color: #151c36;
}

.container4 {
    width: 100%;  /* 必要に応じて調整（例えば80%） */
    max-width: 700px; /* 最大幅を設定 */
    margin-top: 10px;
    margin-left: 0; /* マイナスの余白をなくす */
    padding-left: 0px; /* 余白を確保 */
    box-sizing: border-box; /* はみ出し防止 */
	text-align: left;
}
.container4 p{
  font-size: 16px;
  font-weight: normal;
  color: #151c36; /* コメントテキストの色 */
  margin: 0;
  padding: 5px 0;
  border-radius: 5px;
  text-align: left;
}



/* 見出し用のコンテナ */
.caption-container2 {
    position: relative;
    display: inline-block;
    width: 260px; /* 見出しの幅を300pxに指定 */
	height: flex;
    margin-top: 5px; /* コメントボックスとの間隔を狭める */
	margin-left: 0px; /* 下部の余白を削除してさらに詰める */
    margin-bottom: 0px; /* 下部の余白を削除してさらに詰める */
}
/* 見出しテキスト */
.caption-text2 {
	position: absolute;
    top: 15%;  /* 画像の中央に配置 */
    left: 25%;  /* 水平中央に配置 */
    transform: translate(-50%, -50%); /* 水平・垂直方向で完全に中央揃え */
    font-weight: bold;
    font-size: 20px; /* フォントサイズは必要に応じて調整 */
    color: #f1f1f1;  /* テキストカラー */
}
/* 見出し画像の設定 */
.caption-bg2 {
	width: 100%; /* 画像をコンテナの幅に合わせる */
    height: 50px; /* 高さを調整して帯画像の高さを指定 */
    display: block; /* ブロック要素として表示 */
	margin-top: 0px;
	margin-bottom: 0px;
}
.comment3{
 margin-top: 0px; /* コメントボックスとの間隔を狭める */
 margin-bottom: 0px; /* 下部の余白を削除してさらに詰める */
}

.containerslider {
    width: 100%;  /* 必要に応じて調整（例えば80%） */
    max-width: 700px; /* 最大幅を設定 */
    margin-top: 10px;
    margin-left: 0; /* マイナスの余白をなくす */
    padding-left: 0px; /* 余白を確保 */
    box-sizing: border-box; /* はみ出し防止 */
	text-align: center;
}

.slider-container {
    position: relative;
    max-width: 700px;
    margin: 20px auto;
    overflow: hidden;
}
.slider {
    display: flex;
    transition: transform 0.3s ease-in-out;
}
.slide {
    width: 50%;
	padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}
.indicators {
    width: 100%;
	text-align: center;
    padding-top: 10px;
}
.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #097797;
	border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}
.active {
    background-color: rgba( 21, 28 , 54 , 0.5);
}
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21,28,54,0.5)!important;;
}
.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    border-radius: 10px;
}
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* フッター部 */
footer {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 30px;
    color: #151c36;
}
.footer-logo {
    width: 80px; /* 画像のサイズ調整 */
    height: auto;
    display: block;
    margin: 0 auto 10px; /* 中央揃え＆下に余白 */
}
.copyright {
    font-size: 14px;
}




/* スマホ用のレスポンシブ対応 */
@media (max-width: 768px) {
    .sample-images {
        grid-template-columns: 1fr; /* 1列レイアウト */
    }

    .sample-images img {
        width: 100%; /* 画面幅いっぱいに表示 */
    }
    .title-image {
        width: 100px;
        height: 100px;
    }
  .container {
    padding: 0 20px; /* スマホ向けに余白調整 */
  }
  .link-item {
    width: 100%; /* スマホサイズでは横幅を100%に */
  }
}