@charset "utf-8";



/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');

/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("https://www.med.kagawa-u.ac.jp/~gakusei/gakusai/46th/css/slide.css");
@import url("/~gakusei/gakusai/46th/css/inview.css");



/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	--primary-color: #fc995b;			/*テンプレートのメインまたはアクセントとなる色*/
	--primary-inverse-color: #fff;		/*primary-colorの対として使う色*/
	
	--secondary-color: #7dd6fc;			/*テンプレートのサブまたはアクセントとなる色*/
	--secondary-inverse-color: #191970;	/*secondary-colorの対として使う色*/

	--thirdary-color: #47ff7e;
	--thirdary-inverse-color: #191970;

	--forth-color:#762f07;

	--fifth-color:#012c43;

	--global-space: 0%;	/*サイト内の左右へとる余白を一括管理しています。画面幅100%＝100vwです。*/
}

header {
	padding-left: var(--global-space);	/*header内の左側に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます*/
	padding-right: var(--global-space);	/*header内の右側に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます*/
	width:100%;
	margin-bottom: -30%;
	
}
header img{
	width: 100%;
	height: auto;
	margin-top: -35%;
	max-width: 1900px;
	
}
@media screen and (max-width:700px) {
	header {
		margin-bottom:-50%;
	}
	main{
		font-family:'Tangerine', cursive, "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka ;
	}
	footer{
		text-align: center;
	}
}

/*wacciのスライド*/
.waccisan{
	margin-top: 30%;
	background-color: #e289f672;
	padding: 20px;
}
.wacci-img{
	width: 100%;
	height: auto;
	
}
.waccigazou{
	margin-left: 10%;
	margin-right: 3%;
	width: 50%;
}
.waccisetsumei{
	margin-right: 3%;
}
.waccisetsumei-font{
	font-size:50px;
}
.waccisetsumei a{
	font-size: medium;
	color: #6d7b89;
	font-size: 25px;
}
.ticket{
	font-size: 20px;
}
@media screen and (max-width:700px){
	.waccisetsumei-font{
		font-size: 20px;
	}
	.waccisetsumei a{
		font-size:10px;
	}
	.ticket{
		font-size: 10px;
	}
	.waccigazou{
		margin: 0;
	}
	.waccisetsumei{
		width: 60%;
	}
}
/*案内のスライド*/
/*３つ横並び設定*/
.top-btn{
	display: flex;
	flex-wrap:wrap;
	justify-content:center;
	width:100%;
	max-width:1000px;
	margin:0 auto;
}
.top-btn li {
	width: calc(100%/3);/*3つ並べる場合*/
	padding:20px;/*左右に余白を入れる場合*/
	box-sizing:border-box;
}

.top-btn li img {
	max-width:150%; /*はみだしを防ぐ*/
	height: auto; /*縦横比を維持 */
	
}
/*リンクボタンデザイン設定*/

.link-btn {
    text-decoration: none!important;
    justify-content: center; /*左右間で中央*/
    align-items: center;/*上下間で中央*/
    display: flex!important;/*画面に合わせてサイズが変わる*/
 	flex-wrap:wrap!important;/*要素の折り返し設定*/
	height:90%;
	margin-top:5%;
	margin-bottom:5%;
    box-shadow: none;
    transition: .2s;
}


.link-btn:hover {
    box-shadow: none;
    transform: translateY(2px);
    opacity: .8;
}
/*案内背景画像*/

/*企画を探すのスライド*/

.sagasu{
	height:30vw;
	max-height:300px;
	width:100%;
	max-width:1000px;
	margin:0 auto;
}

.sagasu-btn {
	display:inline-block;
	width: 48.5%;
}
.sagasu-btn map{
	padding-top: -80px;
}
.sagasu-btn:hover {
    box-shadow: none;
    transform: translateY(2px);
    opacity: .8;
}
.bg3{
	margin-bottom: 150px;
}
/*医学展を探すのスライド*/
.sute-jiwosagasu {
	margin: 100px auto;
}

.sute-jitaite-btn{
	width:70%;
	margin:0 auto;
}
.sute-jitaite-btn:hover {
    box-shadow: none;
    transform: translateY(2px);
    opacity: .8;
} 
.bg4{
	margin-bottom: 100px;
}
/*テーマのスライド*/

#bg5{
	margin-bottom: 110px;
}

.icon-img{
	display:inline-block;
	width:100%;
	height: auto;
	align-items: center;
}
.logodayo{
	margin-left: 10%;
	
}
.setsumei{
	display:inline-block;
	margin-top:5%;
	margin-left:3%;
	margin-bottom:10%;
	width:46%;
	height: auto;
	font-size:1.3vw;
	align-items: center;
	color: #000;
	margin-right: 15%;
	font-size: 20px;
}
@media screen and (max-width:700px){
	.icon-img{
		width: 90%;
	}
	.setsumei{
		font-size: 8px;
		width: 100%;
		margin-left: 0;
		margin-right: 15%;
		margin-top: 20%;
	}
	.logodayo{
		width: 100%;
		
	}
}
.katamari{
	margin-top:5vw;
	width:100%;
	max-width:1900px;
	margin:0 auto;
	display: flex;
	align-items: center;
}

.titihaha{
	display:block;
	height:auto;
}

/*backgroundには、上で読み込む背景画像のカラーを抜き出して指定して下さい。*/

.text{
	color:#000;
}



/*その他のスライド*/
.sonohoka{
	height:70vw;
	padding-top: 5vh;
	padding-bottom:20vh;
}
.top-btn img {
  width: 100%;         /* 親要素に対して100%の幅 */
  max-width: 200px;    /* 画面が大きくても最大200pxまで */
  height: auto;        /* アスペクト比を維持 */
  display: block;      /* 余計な隙間をなくす */
  margin: 0 auto;      /* 中央寄せ（必要に応じて） */
}

/*header（ロゴが入ったサイト上部のブロック）
---------------------------------------------------------------------------*/
header {
	padding-left: var(--global-space);	/*header内の左側に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます*/
	padding-right: var(--global-space);	/*header内の右側に空けるスペース。css冒頭で指定しているglobal-spaceを読み込みます*/
	width:100%;
	margin-bottom:-35%;
	
}
@media screen and (max-width:700px) {
	header {
		margin-bottom:-50%;
	}
}

/*フッターのコンテンツ（住所やマップが入っているブロック）
---------------------------------------------------------------------------*/


@media screen and(max-width:700px)
	footer-contents > div {
	padding: 1px; 
	background: var(--fifth-color);		/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding-left: var(--global-space);		/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。*/
	padding-right: var(--global-space);		/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。*/
}
#footer-contents a, footer a {
	color: inherit;
}

	/*画面幅700px以上の追加指定*/
	@media screen and (min-width:700px) {
	
	#footer-contents > div {
		display: flex;
	}

	#footer-contents .left,
	#footer-contents .right {
		flex: 1;
	}

	}/*追加指定ここまで*/


/*footer-contents内のマップ。レスポンシブにする為のものなので、基本は編集不要です。
---------------------------------------------------------------------------*/
.iframe-box {
	width: 100%;
	height: 0;
	padding-top: 56.25%;	/*マップの高さを増やしたい場合は、ここの数値を上げてみて下さい。*/
	position: relative;
	overflow: hidden;
}
.iframe-box iframe,
.iframe-box img {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

/*フッター設定
---------------------------------------------------------------------------*/
small {font-size: 100%;}
footer {
	/*文字サイズ*/
	text-align: center;		/*内容をセンタリング*/
	padding: 1rem;			/*ボックス内の余白*/
	background-color:#6d7b89;	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	margin-left: calc(-1 * var(--global-space));	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。マイナスをつけてネガティブマージンに。*/
	margin-right: calc(-1 * var(--global-space));	/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。マイナスをつけてネガティブマージンに。*/
	width:100%;
	
}
p{
	text-align: center;
	color: #000;
}
.menu-container {
  display: flex;
  justify-content: center; /* or space-around / center */
  gap: 20px; /* セクション間の余白 */
  flex-wrap: wrap; /* 画面が狭くなったら折り返す */
  padding: 20px;
}

.menu-section {
  width: 20%; /* 各カテゴリの幅（必要に応じて調整） */
  min-width: 180px; /* 最小幅を確保して見崩れ防止 */
}

.menu-section h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.menu-section ul {
  list-style: none;
  padding-left: 0;
}

.menu-section li {
  margin-bottom: 6px;
  font-size: 15px;
}

/*全体の設定
---------------------------------------------------------------------------*/
html,body {
	
	font-size: 14px;	/*基準となるフォントサイズ。下の方にある「画面幅800px以上」で基準を大きなサイズに変更しています。*/
}

body {
	font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: #f8f8f8;	/*背景色*/
	color: #8a8878;	/*全体の文字色*/
	line-height: 2;		/*行間*/
}

/*マージンのリセット*/
figure {margin: 0;}
dd {margin: 0;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*section全般の設定*/
section + section {
	padding-top: 30px;	/*sectionの間に空けるスペース*/
}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}


/*opa1（透明から着色状態に）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: #8a8878;	/*文字色*/
}

a:hover {
	color: #999;	/*マウスオン時の文字色*/
}

/*container。サイト全体を囲むブロック。
---------------------------------------------------------------------------*/
#container {
	margin: 0 ;
	max-width: 2000px;	/*最大幅。これ以上幅が広がらないように。*/
	padding: 0;	/*上下、左右へのブロック内の余白*/

}

/*headerブロック（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*トップページの画像ロゴ(png画像)設定*/
.header {
	max-width: 1900px;
	width:100%;
	height: auto;
	margin: 0 auto;
}
.igakutenform{
	margin-top: 20%;
	font-size: 30px;
}
@media(max-width:500px){
	.igakutenform{
		font-size: 20px;
	}
}
/*mainブロック
---------------------------------------------------------------------------*/
main {	
	background-image:url("/~gakusei/gakusai/46th/design/haikei6.jpg");
	background-size:cover;
	background-position: center;
	padding-left: var(--global-space);		/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。*/
	padding-right: var(--global-space);		/*変更不要。css冒頭で指定しているglobal-spaceを読み込みます。*/
	padding-top: 5vh;
	padding-bottom:20vh;
	height: auto;
	width:100%;
}

/*ブロック内のh2タグ*/
main h2 {
	opacity: 0;							/*透明度。0は色が出ていない(0%)状態の事。*/
	text-align: center;					/*文字をセンタリング*/
	font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
	font-weight: normal;				/*hタグはデフォルトで太字なので、これを標準にする*/
	font-size: 4rem;					/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	margin-bottom: 80px;				/*下に空けるスペース*/
	
}

/*ブロック内のh2タグ内のspanタグ（日本語の小さい説明用部分）*/
main h2 span {
	display: block;	
	font-size: 0.7rem;			/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	letter-spacing: 0.2em;		/*文字間隔を少し広くとる指定*/
}

/*spanタグの前に「〜」を出力する指定*/
main h2 span::before {
	content: "〜";
	padding-right: 10px;
}

/*spanタグの後に「〜」を出力する指定*/
main h2 span::after {
	content: "〜";
	padding-left: 10px;
}

/*ブロック内のh3タグ*/
main h3 {
	font-weight: normal;	/*hタグはデフォルトで太字なので、これを標準にする*/
	text-align: center;		/*文字をセンタリング*/
	font-size: 1.6rem;		/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	margin: 50px 0;			/*上下、左右へとる余白*/
}

/*mainブロックのpタグ*/
main p {
	margin: 0 5px 30px;	/*上、左右、下へ空けるスペース*/
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#menubar_hdr {
	display: block;
	position: fixed;z-index: 100;
	top: 20px;		/*上からの配置場所*/
	right: 20px;	/*左からの配置場所*/
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	cursor: pointer;
	background: rgba(0,0,0,0.6) url(/~gakusei/gakusai/46th/images/icon_menu.png) no-repeat center top/50px;	/*背景色、背景画像の読み込み、画像の上半分（３本マーク）を表示。幅は50px。*/
}

/*×印が出ている状態の設定。*/
#menubar_hdr.close {
	background: #2c5defd7 url(/~gakusei/gakusai/46th/images/icon_menu.png) no-repeat center bottom/50px;	/*背景色、背景画像の読み込み、画像の下半分（×マーク）を表示。幅は50px。*/
}

/*メニューの設定
---------------------------------------------------------------------------*/
#menubar ul {list-style: none;}

/*ボックス全体の設定*/
#menubar {
	display: none;				/*デフォルトで非表示にしておく*/
	animation-name: opa1;		/*@keyframesの指定*/
	animation-duration: 1S;		/*アニメーションの実行時間*/
	animation-fill-mode: both;	/*アニメーションの待機中は最初のキーフレームを維持、終了後は最後のキーフレームを維持。*/
	position: fixed;overflow: auto;z-index: 99;	/*fixedはスクロールしても動かない為の指定*/
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding: 50px;		/*ボックス内の余白*/
	text-align: center;	/*テキストをセンタリング*/
	background: rgba(0,0,0,0.8);	/*背景色*/
	font-size: 1.2rem;	/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
}

/*メニュー１個あたりの設定*/
#menubar li {
	margin-bottom: 20px;	/*下に空けるスペース*/
}

#menubar a {
	display: block;text-decoration: none;
	text-align: center;	/*テキストをセンタリング*/
	background: #fff;	/*背景色*/
	color: #000;		/*文字色*/
	border-radius: 5px;	/*角丸の指定*/
	box-shadow: 0px 0px 50px 10px rgba(95, 186, 243, 0.409);	/*ボックスの影。右へ、下へ、ぼかし幅、範囲。255,255,255は白の事で0.4は色が40%出た状態の事。*/
	padding: 5px;	/*余白*/
}

/*メニュー内のspanタグ（小さい日本語部分）*/
#menubar span {
	display: block;
	font-size: 0.7rem;	/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
}

/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
	font-size: 0.6rem;		/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
	text-align: center;		/*内容をセンタリング*/
	padding: 0;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {text-decoration: none;}

/*著作部分*/
footer .pr {display: block;}

/*フッターにあるアイコン類
---------------------------------------------------------------------------*/
/*アイコン類を囲むブロック*/
ul.icon {
	list-style: none;
	margin: 0;padding: 0;
	margin-bottom: 30px;	/*下に空けるスペース*/
	text-align: center;
}

/*アイコン１個あたりの設定*/
ul.icon li {
	display: inline-block;	/*リストタグを横並びにさせる指定*/
	padding: 0 10px;
}

/*アイコン画像の設定*/
ul.icon img {
	width: 30px;	/*アイコン画像の幅*/
}

/*画像のマウスオン時*/
ul.icon img:hover {
	opacity: 0.8;	/*透明度。0.8は色が80%出た状態の事。*/
}

/*トップページの「Photo's（お料理の写真）」の横スライドショーコーナー（slickを使用）
---------------------------------------------------------------------------*/
/*スライドショー全体を囲むボックス*/
.pickup {
	position: relative;
	display: flex;			/*flexボックスを使う指定*/
}

/*１個あたりのボックス*/
.pickup .slick-slide {
	margin: 5px !important;
	width: auto;
}

/*ボックス内の画像*/
.pickup .list img {
	object-fit: cover;	/*トリミングのタイプ*/
	width: 100%;		/*画像の幅*/
	font-family: 'object-fit: cover;';	/*IE対策*/
}

/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
#new {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	padding: 0 5px;		/*上下、左右へのボックス内の余白*/
}

/*日付(dt)、記事(dd)共通設定*/
#new dt,
#new dd {
	border-bottom: 1px solid rgba(255,255,255,0.2);	/*下線の幅、線種、色。255,255,255,は白の事で0.2は色が20%出た状態の事。*/
	padding: 5px 0;					/*上下、左右へのボックス内の余白*/
}

/*日付(dt)設定*/
#new dt {
	width: 8em;	/*幅。8文字(em)分。*/
}

/*記事(dd)設定*/
#new dd {
	width: calc(100% - 8em);	/*「8em」は上の「#new dt」のwidthの値です。*/
}

/*menu.htmlの画像配置のコンパクトメニュー部分
---------------------------------------------------------------------------*/
/*listボックスを囲むボックス*/
.list-container {
	display: flex;		/*flexボックスを使う指定*/
	flex-wrap: wrap;	/*折り返す指定*/
	padding: 0 5px;		/*上下、左右へのボックス内の余白*/
}

/*１個あたりのボックス*/
.list {
	width: 49%;				/*ボックスの幅*/
	margin-right: 2%;		/*ボックス同士の左右間の余白。ボックスを２列並べるので、49%×2個=98%。100%との差の2%がここに入ります。*/
	margin-bottom: 15px;	/*ボックス同士の上下間の余白*/
	text-align: center;		/*テキストをセンタリング*/
	font-size: 0.7rem;		/*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
}

/*2の倍数(偶数番目)のボックスへの追加指定*/
.list:nth-of-type(2n) {
	margin-right: 0;	/*右側のスペースをなくす設定*/
}

/*ボックス内のh4タグ。メニュータイトルを入力しているスペースです。*/
.list h4 {
	margin: 10px 0 0;		/*上、左右、下に空けるスペース*/
	font-weight: normal;	/*hタグはデフォルトで太字なので、これを標準にする*/
}

/*ボックス内のpタグ。価格を入力しているスペースです。*/
.list p {
	margin: 0!important;	/*「main p」のマージンをリセットする*/
}



/*スクロールを促すアイコン*/
.scroll {
	position: absolute;left: 50%;bottom: 20px;transform: translateX(-50%);
	width: 30px;	/*画像の幅*/
	opacity: 0.7;	/*透明度。0.7は色が70%出た状態の事。*/
}



/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

.pagetop a {
	display: block;text-decoration: none;text-align: center;
	width: 50px;		/*幅*/
	line-height: 50px;	/*高さ*/
	position: fixed;
	right: 30px;		/*右からの配置場所指定*/
	bottom: 30px;		/*下からの配置場所指定*/
	color: #fff;		/*文字色*/
	background: rgba(0,0,0,0.4);	/*背景色。0,0,0は黒色の指定で0.4は色が40%出た状態。*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
}

/*マウスオン時*/
.pagetop a:hover {
	background: rgba(0,0,0,0.8);	/*背景色。0,0,0は黒色の指定で0.8は色が80%出た状態。*/
}

/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-theme, .color-theme a {color: #f1c734 !important;}
.color-check, .color-check a {color: #f00 !important;}
.c {text-align: center !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.large {font-size: 2rem;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;border: 1px solid #ccc;padding: 5px 20px;background: rgba(0,0,0,0.03);border-radius: 5px;margin: 5px 0;}
.ofx {overflow-x: hidden;}



/*---------------------------------------------------------------------------
ここから下は画面幅800px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:800px) {


/*全体の設定
---------------------------------------------------------------------------*/
html, body {
	font-size: 18px;	/*基準となるフォントサイズの上書き*/
	width: 100%;
}

/*section全般の設定*/
section + section {
	padding-top: 50px;	/*sectionの間に空けるスペース*/
}

/*container。サイト全体を囲むブロック。
---------------------------------------------------------------------------*/
#container {
	padding: 0 ;	/*上下、左右へのブロック内の余白*/
}

/*menu.htmlの画像配置のコンパクトメニュー部分
---------------------------------------------------------------------------*/
/*１個あたりのボックス*/
.list {
	width: 23%;				/*ボックスの幅*/
	margin-right: 2.66%;	/*ボックス同士の左右間の余白。ボックスを4列並べるので、23%×4個=92%。100%との差の8%分をボックス間にある余白3個分で割った数字がここに入ります。※下の「.list:nth-of-type(2n)」の数字と合わせる。*/
	margin-bottom: 25px;	/*ボックス同士の上下間の余白*/
}

/*2の倍数(偶数番目)のボックスへの追加指定*/
.list:nth-of-type(2n) {
	margin-right: 2.66%;	/*上のlistのmargin-rightと数字を合わせる。小さな端末向けで0になっているのを上書きしています。*/
}

/*4の倍数のボックスへの追加指定*/
.list:nth-of-type(4n) {
	margin-right: 0;	/*右側のスペースをなくす設定*/
}



/*その他
---------------------------------------------------------------------------*/
.ws {width: 45%;display: inline-block;}

/*　※注意！　下の閉じカッコ　}　は800px以上の設定に必要なので、うっかり削除しないように。　*/

}

