@charset "UTF-8";

/* =============================
 PC用 ※適用範囲：画面幅768px以上
============================== */

/* =============================
 ベース設定
============================== */

html {
	/* スマホ基準16px → PCは18px */
	font-size: var(--ft18);
}

/* フォームやテーブルも継承 */
input, select, textarea, button, table {
	font-size: inherit;
	font-family: inherit;
}

h1 { font-size: var(--ft36); }
h2 { font-size: var(--ft30); }
h3 { font-size: var(--ft24); }
h4 { font-size: var(--ft20); }

main {/*border: 1px solid blue;*/
	padding-top: 70px;
}

.sp-only { display: none; }
.sp-only.box { display: none; }

.pc-only { display: inline; }

/* =============================
 ヘッダー
============================== */
header {/* border: 2px solid blue; */
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	height: 70px;
}

.header-inner {/* border: 1px solid #999; */
	justify-content: space-between;
	align-items: center;
	max-width: 1300px;
	width: 98%;
	margin: 8px auto;
	padding: 0px 0px;
}

.logo img {
	height: 50px;
}

/* =============================
 body背景に薄くロゴ
============================== */
@media screen and (min-width:1300px) {
	body::before {
		content: "";
		position: fixed;
		top: 100px;
		left: 50px;
		transform: rotate(-90deg);
		transform-origin: center left;
		width: 1400px;
		height: 2730px;
		background: url("../img/logo.svg") no-repeat center center;
		background-size: contain;
		pointer-events: none;
		z-index: 1;
		opacity: 0.5;

		/* ロゴ自体に左右方向の透過を適用 */
		-webkit-mask-image: linear-gradient(
			to bottom,
			rgba(0,0,0,1) 0%,	 /* 左端は完全表示 */
			rgba(0,0,0,0) 56%	 /* 右端に向かって透明 */
		);
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-size: cover;
	}
}

@media screen and (min-width:1300px) {
	body::after {
		content: "";
		position: fixed;
		top: 100px;
		right: 50px;
		transform: rotate(90deg);
		transform-origin: center right;
		width: 1400px;
		height: 2250px;
		background: url("../img/logo.svg") no-repeat center center;
		background-size: contain;
		pointer-events: none;
		z-index: 1;
		opacity: 0.5;

		/* ロゴ自体に左右方向の透過を適用（右端から透明へ） */
		-webkit-mask-image: linear-gradient(
			to bottom,
			rgba(0,0,0,1) 0%,	 /* 右端は完全表示 */
			rgba(0,0,0,0) 56%	 /* 左方向に向かって透明 */
		);
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-size: cover;
	}
}

/* =============================
 セクション
============================== */
section .content {/* border: 2px solid red; */
	max-width: 1000px;
	margin: 10px auto 80px;
}

section .content h2 {
	margin: 0px 0px 10px 0px;
	padding-bottom: 24px;
}

section .content h2 .icon {
	width: 46px;
	height: 46px;
	margin: 5px 3px 0px 0px;
}

section .content h2::before {
	top: 10px;
	left: 20px;
	font-size: var(--ft44);
}




section .content p {
	margin-bottom: 24px;
	line-height: 1.8;
}

/* =============================
 ハンバーガー → PC非表示
============================== */
.hamburger {
	display: none;
}

/* =============================
 グローバルナビ
============================== */

/* ナビトップ → PC非表示 */
.nav-top {
	display: none;
}

nav.global-nav {/* border: 1px solid red;*/
	position: fixed;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	max-width: 1300px;
	width: 98%;
	height: 56px;
	box-sizing: border-box;
	background: transparent;
	box-shadow: none;
}

nav.global-nav ul {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* PCでは非表示 */
nav.global-nav ul li:first-child {
	border-top: none;
}

nav.global-nav ul li {
	padding: 4px 0px;
	border: none;
}

nav.global-nav ul li a {
	position: relative;
	font-size: var(--ft20);
	color: rgba(var(--rgb_bk3), 1);
	padding: 4px 10px 4px 10px;
}

nav.global-nav ul li a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 2px;
	background: rgba(var(--rgb_lm), 1);
	transition: 0.4s;
}

nav.global-nav ul li a:hover {
	background: none;
}

nav.global-nav ul li a:hover::after {
	width: 100%;
}

/* =============================
 PC用 Slickスライダー
============================== */
section.main-visual {/* outline: 3px solid red; */
	padding: 0 0 14px 0;
}

/* スライダー全体の最大幅を固定（1300px以上で拡大しない） */
.main-visual .slider {
	position: relative;
	z-index: 900;
	max-width: 1300px;
	width: auto;
	margin: 0 auto 0;
	overflow: visible;
}

/* 各スライド要素の固定幅（中央画像） */
.main-visual .slide {
	width: 800px; /* main.jsの mainWidth と合わせる */
	box-sizing: border-box;
}

/* slick内部の各スライドを中央寄せ */
.main-visual .slick-slide {
	display: flex;
	justify-content: center;
	margin: 0 10px 24px 10px;
	opacity: 1;
	transition: all 0.1s ease;
}

/* 中央スライド（現在表示中） */
.main-visual .slick-current {
	opacity: 1; /* はっきり表示 */
}

/* 中央スライドの画像に影をつける（左右のみ） */
.main-visual .slick-current img {
	box-shadow:
		-8px 0 12px rgba(0, 0, 0, 0.4),
		 8px 0 12px rgba(0, 0, 0, 0.4);
}

/* 他の画像は影なし */
.main-visual .slick-slide img {
	width: 100%;
	height: auto;
	box-shadow: none;
	display: block;
}

.main-visual .caption h2 {
	font-size: clamp(var(--ft28), 1.5vw, var(--ft30));
	}

.main-visual .caption p {
	font-size: clamp(var(--ft16), 1.5vw, var(--ft20));
}

.main-visual .caption h2.sp {
	font-size: clamp(var(--ft28), 1.5vw, var(--ft30));
	letter-spacing: auto;
}

.main-visual .caption p.sp {
	font-size: clamp(var(--ft14), 1.4vw, var(--ft20));
}

/* 画像4分割のキャプション */
.cap4 {
	font-size: clamp(var(--ft13), 1.3vw, var(--ft16));
}

.cap4 p {
	position: absolute;
	margin: 0;
	padding: 2px 4px 5px 4px;
	max-width: 45%; /* 長文対策 */
	line-height: 1.3;
}

/* ドット全体 */
.main-visual .slick-dots {/* border: 1px solid #003300; */
	position: absolute;
	bottom: 0px; /* 画像下に浮かせる */
	width: 100%;
	text-align: center;
	z-index: 3;
}

/* 擬似要素を完全に非表示 */
.main-visual .slick-dots li button:before {
	content: none !important;
}

/* 通常ドット */
.main-visual .slick-dots li button {
	width: 4px;
	height: 4px;
	margin: 0 4px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(var(--rgb_bke), 1);
	transition: all 0.4s ease;
	display: inline-block;
}

/* 選択中ドット */
.main-visual .slick-dots li.slick-active button {
	width: 6px;
	height: 6px;
	border-radius: 0;
	background: rgba(var(--rgb_bk3), 1);
}

/* スライダー矢印配置 */
.custom-prev,
.custom-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	line-height: 30px;
	text-align: center;
	padding: 6px 4px 26px 4px;
	border: none;
	background: none;
	font-size: var(--ft50);
	color: rgba(var(--rgb_w), 0.9);
	cursor: pointer;
	transition: background 0.4s ease, color 0.4s ease;
}

/* ホバー時 */
.custom-prev:hover,
.custom-next:hover {
	background: rgba(255, 255, 255, 0.6);
	color: rgba(var(--rgb_bk3), 0.6);
}

/* 前へ（左矢印） */
.custom-prev {
	left: calc(50% - 410px - 45px); /* 中央画像の左端より45px外側 */
}

/* 次へ（右矢印） */
.custom-next {
	right: calc(50% - 410px - 45px); /* 中央画像の右端より45px外側 */
}

/* =============================
 アイコン集
============================== */
section#icons {
	
	}

#icons .content {/* border: 1px solid red; */
	max-width: 1300px;
	margin: 0 auto;
	padding: 0;
}

#icons .icon-list {
	display: flex;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 8px;
	padding: 0;
	font-size: var(--ft18);
}

#icons .icon-list li a {
	display: flex;
	flex-direction: row;
	align-items: center;
	border: 2px solid rgba(var(--rgb_w), 1);
	border-radius: 15px;
	padding: 1px 14px 5px 0;
	text-decoration: none;
	transition: background-color 0.4s;
}



#icons .icon-list li div {
	display: flex;
	flex-direction: row;
	align-items: center;
	border: 2px solid rgba(var(--rgb_w), 0.3);
	border-radius: 15px;
	padding: 1px 14px 5px 0;
	text-decoration: none;
}

#icons .icon-list li a img {
	width: 36px;
	height: 36px;
	margin: 7px 8px 3px 8px;
}

#icons .icon-list li a span,
#icons .icon-list li div span {
	line-height: 1.5;
}

#icons .icon-list li div img {
	width: 36px;
	height: 36px;
	margin: 7px 8px 3px 8px;
}

/* 1237px以下 縦並び */
@media (max-width: 1237px) {

	#icons .icon-list {/* border: 1px solid red; */
		justify-content: flex-start;
		gap: 9.6px;
		width: 100%;
		max-width: 1000px;
		margin: 0px auto;
		padding: 8px 0px 8px 0px;
	}
	
	#icons .icon-list li a,
	#icons .icon-list li div {
		flex-direction: column;
		align-items: center;
		margin: 0px;
		padding: 0px;
		width: 116px;
	}
	
	#icons .icon-list li a img,
	#icons .icon-list li div img {/* border: 1px solid red; */
		width: 40px;
		height: 40px;
		margin: 9px 0px 2px 0px;
		padding: 0px;
	}
	
	#icons .icon-list li a span,
	#icons .icon-list li div span {/* border: 1px solid blue; */
		line-height: 1.3;
		margin: 3px 0px 8px 3px;
		padding: 0px 0px 0px 0px;
	}

}

/* =============================
 画像
============================== */
/* 画像 右に回り込み（右寄せ） */
figure.img-right {
	float: right;
	margin: 0 0 0.5em 1em ;
	transition: opacity 0.4s ease;
}

/* 画像 左に回り込み（左寄せ） */
figure.img-left {
	float: left;
	margin: 0 1em 0.5em 0;
	transition: opacity 0.4s ease;
}

/* キャプション */
figure figcaption {
	display: block;
	font-size: 0.85em;
	text-align: center;
	color: #777;
	margin: 8px 0;
}

figure.w-360 {
	width: 360px;
}

/* 画像 縦長ポスターなど */
figure.w-280 {
	width: 280px;
}

/* オンマウスで薄く */
figure.img-right:hover,
figure.img-left:hover {
	opacity: 0.6;
}

figure.img-right.half,
figure.img-left.half {
	width: 280px;
	max-width: none;
	height: auto;
	overflow: visible;
	position: static;
}

/* グラデ解消 */
figure.img-right.half::after,
figure.img-left.half::after {
	content: none;
}

/* =============================
 colorbox
============================== */

#cboxClose {
	padding: 0px 15px 17px 3px;
	font-size: 36px;
	line-height: 36px;
}

/* =============================
 インフォ
============================== */
/* タイトル下ブロック */
#info .boxes {/* border: 1px solid red; */
	width: calc(100% - 20px);
	margin: 0 10px 10px 10px;
}

/* 各記事 タイトル共通装飾 */
#info .info-title {
	border-image: linear-gradient(
		to right,
		rgba(var(--rgb_bkc), 0.3) 0px,
		rgba(var(--rgb_bkc), 0.2) 160px,
		rgba(var(--rgb_bkc), 0.1) 100%
	) 1;
	transition: background 0.4s ease;
}

/* 各記事 タイトル背景を斜め分断 */
#info .info-title::before {
	background: linear-gradient(
		60deg,
		rgba(var(--rgb_bkc), 0.3) 0 150px,
		transparent 150px 100%
	);
}

/* 下向き矢印表示 */
#info .boxes article .arrow {
	bottom: -10px;
	width: 18px;
}

/* タイトルマウスオーバー時背景色追加 */
#info .info-title:hover {
	background: rgba(var(--rgb_lm), 0.05);
}

/* タイトル上部 */
#info .boxes .info-title .top {
	gap: 7px;
	margin: 7px 7px 3px 7px;
}

/* タイトル上部 左日時 */
#info .boxes .info-title .top .date {
	padding: 6px 8px 8px 30px;
	font-size: var(--ft15);
}

/* タイトル上部 左日時アイコン */
#info .boxes .info-title .top .date::before {
	left: 4px;
	top: 49%;
	width: 22px;
	height: 22px;
}

/* タイトル上部 右種別1 */
#info .boxes .info-title .top .type1 {
	padding: 6px 8px 8px 8px;
	font-size: var(--ft15);
}

/* タイトル上部 右種別2 */
#info .boxes .info-title .top .type2 {
	padding: 6px 8px 8px 8px;
	font-size: var(--ft15);
}

/* タイトル上部 右 New! */
#info .boxes .info-title .top .newmark {
	padding: 6px 8px 8px 8px;
	font-size: var(--ft15);
}

/* h3タイトル */
#info .info-title h3 {
	margin: 5px 10px 9px 17px;
	font-size: var(--ft24);
	line-height: 1.4;
}

/* テキスト本文 */
#info .boxes article div.info-text {
	margin: 10px 10px 70px 10px;
}

/* リンク 角丸 */
#info .boxes a.round {
	margin: 10px 6px 0px 0px;
	padding: 8px 14px 11px 14px;
}

/* リンク アイコン */
#info .boxes a.icon {
	padding: 2px 17px 5px 14px;
	border-radius: 12px;
}

/* リンク アイコン 画像 */
#info .boxes a.icon img {
	width: 36px;
	height: 36px;
	margin: 4px 6px 2px 0px;
}

/* テーブル共通 */
#info .boxes table {
	width: max-content;
}

#info .boxes table thead th,
#info .boxes table thead td,
#info .boxes table tbody th,
#info .boxes table tbody td {
	padding: 6px 12px;
}

/* 大会概要 横配列*/
#info .info-text .gaiyo {/* border: 1px solid blue; */
	display: grid;
	grid-template-columns: 150px 1fr;
	max-width: calc(960px - 280px - 1em);
	margin: 2em 0 0 0;
}

#info .info-text .gaiyo dt {
	margin: 0 0 18px 0;
	padding: 4px 0px 6px 1em;
	border-bottom: 2px solid rgba(var(--rgb_n), 1);
}

#info .info-text .gaiyo dd {
	margin: 0 0 18px 0;
	padding: 4px 0px 6px 1em;
	border-bottom: 2px solid rgba(var(--rgb_n), 1);
}

/* =============================
 大会概要
============================== */
#outline table {
	border-collapse: collapse;
	width: calc(100% - 20px);
	margin: 0px 10px 30px 10px;
}

#outline table th,
#outline table td {
	display: table-cell;
	padding: 10px 0;
	text-align: left;
	vertical-align: top;
}

#outline table th {
	width: 25%;
	font-weight: 700;
	padding-left: 0.6em;
	position: relative;
}

#outline .history {
	width: calc(100% - 20px);
	margin: 0px 10px 10px 10px;
	padding: 20px 20px 10px 20px;
}

#outline h4 {
	margin: 14px 0 4px 20px;
	font-size: var(--ft20);
	text-align: left;
}

#outline .history .boxes {
	line-height: 1.8;
}

/* =============================
 過去の大会記録　 border: 2px solid blue;
============================== */
#preview .content {/* border: 2px solid blue; */

}

#preview .boxes {/* border: 1px solid blue; */
	width: calc(100% - 20px);
	margin: 0 10px 10px 10px;
}

.record-list {
	display: grid;
	grid-template-columns: 1fr 1fr; /* 横2列 */
	max-width: 1000px;
	gap: 12px;
}

.record-item {
	display: flex;
	flex-direction: row; /* 画像とテキスト横並び */
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.record-item:hover::after {
	opacity: 1;
}

.record-item img {
	width: 180px;
	height: 120px; /* 2:3比率を維持 */
	flex-shrink: 0;
	object-fit: cover;
}

.record-text {
	flex: 1;
	max-width: 320px;
	display: flex;
	flex-direction: column;
	gap: 1px;
	padding: 0px 0px;
}

.record-list h3{
	width: 92%;
	padding: 5px 0 9px 4px;
	font-size: var(--ft26);
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}

/* =============================
 ご協賛社
============================== */
#sponsor {
	margin: 0 0 90px 0;
}

#sponsor .content {
	max-width: 1200px;
}

#sponsor .wrap {/* border: 1px solid #999; */
	max-width: 1000px;
	margin: 0 auto 30px;
}

.sponsor-grid {
	margin: 0 0 8px 0;
	display: grid;
	gap: 8px;
}

.block {
	border-radius: 8px;
	box-shadow: 2px 2px 4px rgba(var(--rgb_bk0), 0.15)
}

/* ボックス選択時強調 */
a.block:hover::after,
a.block:active::after {
	background: rgba(var(--rgb_lm), 0.07);
}

.sponsor-grid.k10 { grid-template-columns: repeat(3, 1fr); }
.sponsor-grid.k05 { grid-template-columns: repeat(6, 1fr); }
.sponsor-grid.k03 { grid-template-columns: repeat(9, 1fr); }
.sponsor-grid.k01 { grid-template-columns: repeat(9, 1fr); }

#sponsor .boxes {/* border: 1px solid blue; */
	width: calc(100% - 20px);
	margin: 0 10px 10px 10px;
}

#sponsor h4 {
	font-size: var(--ft20);
}

/* 協賛のお願い各ボタン	 border: 1px solid red; */
#sponsor .boxes a.kyosan {
	margin: 0px 6px 4px 0px;
	padding: 4px 16px 3px 13px;
}

#sponsor .boxes a.kyosan img {
	width: 36px;
	height: 36px;
	margin: 2px 6px 3px 0px;
}

/* =============================
 常設スポンサー枠
============================== */
.top-sponsors {
	padding: 4px 0;
}

.top-sponsors .top-sponsor-slider {
	max-width: 1100px;
	margin: 0 auto;
}

.top-sponsors img {
	border-radius: 8px;
	box-shadow: 3px 3px 7px rgba(0,0,0,0.8);
}

.top-sponsors .slick-slide {
	padding: 8px 4px;
}

.top-sponsors a:hover {
	opacity: 0.8;
}

/* =============================
 ページトップボタン
============================== */
#page-top {
	bottom: 90px;
	right: 20px;
	width: 70px;
	height: 70px;
	line-height: 70px;
	font-size: var(--ft30);
}

/* =============================
 フッター
============================== */
/* 主催　PGA東北プロゴルフ会 */
.footer-pga {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0px;
}

.pga-label {
	margin: 0 30px 0 0;
	padding: 4px 10px 6px 10px;
	font-size: var(--ft18);
}

.pga-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}

.pga-row img {
	width: 80px;
}

.pga-row .pga-text {
	font-size: var(--ft32);
}

.pga-row .pga-text span {
	font-size: var(--ft12);
	letter-spacing: 0.3px;
}

/* 運営　宮城オープンゴルフトーナメント事務局 */
.footer-inner {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
}

.footer-logo {
	width: 238px;
	margin: 24px 0px 16px 0px;
}

.footer-info {
	font-size: 18px;
	text-align: left;
	align-items: flex-start;
	margin: 24px 0px 20px 20px;
}

.footer-info p {
	font-size: var(--ft16);
	line-height: 1.4;
	margin: 2px 0;
}

.footer-info p:first-child {
	font-size: var(--ft20);
}

/* copy right */
.footer-copy {
	
	}