@charset 'utf-8'; /*文字コード指定*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;

    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
/* ----- css reset(各ブラウザで指定されているスタイルを初期化)と全体設定 ----- */


html, body, .container, .content-wrap {
    overflow: hidden; /*ボックスのはみ出た部分の表示指定(hiddenは非表示)*/
    width: 100%; /*幅指定(100%は画面横幅いっぱいに表示)*/
    height: 100%; /*領域の高さ指定*/
}

body {

    color: #ff0000; /*文字色指定*/
    font-size: 100%; /*フォントサイズ指定(emはフォントの高さを１とした相対指定)*/
    font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";


}
.content {
    height: 100vh;
    position: relative;
    z-index: 0;
    margin-top: -25px;
}

.content-wrap{
position: absolute;
z-index: 1000;
}
h1 {
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #FFF;
}

h2{
	font-size: 300%;
	-webkit-text-stroke-width: 1px;
  	-webkit-text-stroke-color: #FFF;
	font-family:  "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
	color:#1f296c;
	margin-top: 10px;
    line-height: 1.0;
}

h3{
	color:#000;
	font-family:  "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
	
	}

.pc{display:block;}
.sp{display:none;}

.centermoji{

    color: #FFF;
	position: absolute;
    margin-left: 44%;
    margin-top: -1.5%;

	z-index:1000;
}
.text{width:49%;}
.goaisatsu{
    color: #FFF;
    font-size: 150%;
	line-height: normal;
	margin-top:1em;
	text-shadow: 1px 2px 3px #808080;
	text-align: center;
}
.text{width:390px;}

.white{color:#FFF;line-height: normal;}

ol, ul {
    list-style: none; /*リストマーカーの種類指定(noneはなし)*/
}

.container {
    width: 100%; /*幅指定(100%は画面横幅いっぱいに表示)*/
    margin: auto; /*ボックス外側の余白*/

}

.content-wrap {
    /*はみ出た部分の表示指定(scrollははみ出た部分をスクロールで表示)*/
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
	opacity: 1;
   margin-top:-20px; 
    padding: 0px; 
}

*, *:after, *:before { /*アスタリスク「*」はすべての要素にスタイルを適用、「:before」は要素の先頭に「:after」は後方に擬似要素を作成。*/
    /*ボックスサイズの算出方法指定(border-boxはパディングとボーダーを幅と高さに含める)*/
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

button {
    cursor: pointer; /*マウスカーソルの形状指定(pointerはリンクカーソル)*/
}

button:focus {
    outline: none; /*アウトラインのスタイル・太さ・色指定(noneはなし)*/
}

HTML CSSResult Skip Results Iframe
EDIT ON
.sample_btn {
  display: inline-block;
  width: 250px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  outline: none;
  color: #fff;
  background-color: #1B85FB;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.sample_btn:hover {
  transform: scale(1.1,1.1);
}
.bottom{margin-bottom:150px;}
.ml {margin-left:2rem;}	/*画像の左側に空けるスペース*/


/*header*/

header {
    margin: 0px auto 20px; /*ボックス外側の余白*/
    text-align: center; /*行の水平方向の揃え方(centerは中央揃え)*/
}

header h1 {
    font-size: 10em; /*フォントサイズ指定(emはフォントの高さを１とした相対指定)*/
    font-family: 'Berkshire Swash', cursive;
    font-family: 'Ceviche One', cursive; /*フォントの種類指定(左から優先順位)*/
}

.toppage {
    margin-top: 100px; /*ボックス外側上の余白*/
}

/*メインの内容*/

article {
    width: 800px; /*幅指定(100%は画面横幅いっぱいに表示)*/
    margin: 100px auto; /*ボックス外側の余白*/
}

article h2 {
    margin-bottom: 30px; /*ボックス外側下の余白*/
    font-weight: normal; /*フォントの太さ指定(normalは標準)*/
    font-size: 3em; /*フォントサイズ指定(emはフォントの高さを１とした相対指定)*/
    font-family: 'Berkshire Swash', cursive;
    font-family: 'Ceviche One', cursive; /*フォントの種類指定(左から優先順位)*/
    text-align: center; /*行の水平方向の揃え方(centerは中央揃え)*/
}

article li {
    font-size: 2em; /*フォントサイズ指定(emはフォントの高さを１とした相対指定)*/
    line-height: 50px; /*行の高さ指定(数値のみの場合はfont-sizeの倍数)*/
}

article a {
    color: #333; /*文字色指定*/
}

article a:hover {
    /*透明度設定*/
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8; /*ここまで透明度設定*/
    text-decoration: none; /*テキストの装飾指定(下線、上線など)(noneはなし)*/
}

/*ギャラリー設定*/

.links {
	text-align: center; /*行の水平方向の揃え方(centerは中央揃え)*/
}

.links img{
	vertical-align: middle; /*垂直方向の揃え方(middleは中央揃え)*/
}

/*ボタン
---------------------------------------------------------------------------*/


a.btn_04 {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 300px;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	border: 2px solid #1f296c;
	background: #1f296c;
	color: #fff;
	border-radius: 100vh;
	transition: 0.5s;
	line-height: normal;
}
a.btn_04:hover {
	color: #27acd9;
	background: #fff;
}

.height{height:200px;}
/*波のアニメーション
---------------------------------------------------------------------------*/
/*アニメーション*/
@keyframes move-wave {
0% { transform: translateX(0); }
100%   { transform: translateX(-50%); }
}

/*波を囲む全体のブロック*/
.wave-section {
	position: relative;
	
	/*以下の３行の数字については、下のwaveのheight(波の高さ)から1を差し引いた形です。隙間が出る場合があるのでそれが出ないようにしています。*/
	padding-top: 79px;
	top: -79px;
	margin-bottom: -79px;
	z-index: 0;
}

/*波の色（２つとも揃えておけばOK）*/
.wave-section .text {
	background: #1f296c;	/*背景色。css冒頭のprimary-colorを読み込みます。*/
}
.wave-wrap use {
	fill: #1f296c;			/*塗りつぶしの色。css冒頭のprimary-colorを読み込みます。*/
}

/*上下の波（共通）*/
.wave {
	position: absolute;
	left: 0;
	width: 100%;
	height: 50px;	/*波の高さ。ここを変更する場合は上の.wave-sectionの３箇所の数字も合わせて変更して下さい。*/
	margin-top: 10px;
}
.wave svg {
	display: block;
	width: 100%;
	height: 150%;
}

.wave .wave-wrap {
	transform-box: fill-box;
	transform-origin: 0 0;
	animation: move-wave 10s linear infinite;	/*ここの10sを変更すれば波のアニメーション速度が変わります*/
}

/*上の波*/
.wave-top {
	top: 0;
}

/*下の波*/
.wave-bottom {
	bottom: 0;
	transform: rotate(180deg);
}


/*main（メインコンテンツ）
---------------------------------------------------------------------------*/
/*h2見出し*/
main h2 {
	margin: 0;padding: 0;
	font-size: 2.4rem;		/*文字サイズ。240%。*/
	font-weight: normal;	/*h要素のデフォルトの太字を標準に*/
	margin-bottom: 5vw;		/*下にスペースを空ける*/
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
}

/*見出し内のspan（小さな装飾文字と上部のアクセントライン）*/
main h2 span.small {
	display: inline-block;
	border-top: 2px solid var(--primary-color);	/*上の線の幅、線種、varは色のことで冒頭のprimary-colorを読み込みます。*/
	font-size: 0.9rem;		/*文字サイズ90%*/
	opacity: 0.6;			/*透明度。色が60%出た状態。*/
	letter-spacing: 0.1rem;	/*文字間隔を少しだけ広く*/
	padding-top: 2rem;		/*上に空ける余白。ラインとの間の余白調整です。お好みで。*/
}

/*見出しをセンタリングする場合*/
main h2.c {
	align-items: center;
}



/*2カラムブロック　※900px未満では１カラム（私たちのこだわりブロック）
---------------------------------------------------------------------------*/


/*背景画像*/
#kodawari {
	background: url("../images/bg-kodawari.png") no-repeat left top / 50vw;	/*left(左)、top(上)に配置し、幅は画面幅の50%に。*/
}
.kodawari2{

	opacity: 1.0;
	display:block;
	background-color: #bce2e8;
	padding-top:30px;
	padding-bottom:30px;
}

/*２カラムを囲むブロック*/
.list-half .list {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	margin-bottom: 2rem;	/*ボックスの下に2文字分のスペースを空ける*/

}


.list2 {
	display: flex;			/*flexボックスを使う指定*/
	flex-direction: column;	/*子要素を縦並びにする*/
	margin-bottom: 2rem;	/*ボックスの下に2文字分のスペースを空ける*/

}

.image-r img {opacity: 1.0;}
/*ブロック内のh3見出し*/
.list-half .list h3{
	font-size: 1.4rem;	/*文字サイズを1.4倍*/
	margin-bottom: 1rem;	/*下に１文字分のスペースを空ける*/
	margin-top: 2em;
}

/*ブロック内のh3内のspan（小さな装飾文字）*/
.list-half .list h3 span {
	display: block;
	font-weight: normal;
	font-size: 0.5em;	/*文字サイズを親要素の50%*/
	letter-spacing: 0.1em;	/*文字間隔をほんの少し広く*/
}

/*画像ブロック共通*/
.list-half .image-l img, .list-half .image-r img {

	box-shadow: 10px 10px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	/*２カラムを囲むブロック*/
	.list-half .list {
		flex-direction: row;			/*子要素を横並びにする*/
		opacity: 1.0;
		justify-content: space-between;	/*並びかたの種類の指定*/

	}

	/*画像ブロック共通*/

	.list-half .image-l, .list-half .image-r {
margin-right: 2em;
margin-left: 2em;	
	}

	/*画像を右に配置する場合*/
	.list-half .image-r {

	}

	/*画像を左に配置する場合*/
	.list-half .image-l {
		order: -1;


	}

	/*テキストブロック*/
	.list-half .text {
		flex: 1;
	}

	}/*追加指定ここまで*/



/*テーブル*/
p {
  font-size: 15px;
  font-weight: bold;
  text-align: left;
  margin: 60px auto 40px;
 color:#000;
  line-height: 2.0;
	
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-left: 1%;
}

.tbl-r02 th {
  background: #e9727e;
  border: solid 1px #ccc;
  color: #fff;
  padding: 10px;
}
.tbl-r02 td {
　border: solid 1px #ccc;
  padding: 10px;
  background: #fff;
  color:#000;	
}
@media screen and (max-width: 768px) {
	
h2{
	margin-top: 150px;
	margin-top: 10px;
    line-height: normal;
}	
.p2 {
    margin-left: 10px;
}
.content-wrap {
    width: 100%; /*幅指定(100%は画面横幅いっぱいに表示)*/
    padding: 0 30px; /*ボックス内側の余白*/
    position: relative; /*ボックスの配置方法(relativeは相対位置配置)*/
}

header {
    margin: 70px auto 20px; /*ボックス外側の余白*/
}

header h1 {
    font-size: 5em; /*フォントサイズ指定(emはフォントの高さを１とした相対指定)*/
}

.toppage {
    margin-top: 200px; /*ボックス外側上の余白*/
}

/*メインの内容*/

article {
    margin-top: 100px; /*ボックス外側上の余白*/
    width: 100%; /*幅指定(100%は画面横幅いっぱいに表示)*/
}

article h2 {
    margin-bottom: 30px; /*ボックス外側下の余白*/
    font-weight: normal; /*フォントの太さ指定(normalは標準)*/
    font-size: 1.2em; /*フォントサイズ指定(emはフォントの高さを１とした相対指定)*/
    text-align: center; /*行の水平方向の揃え方(centerは中央揃え)*/
}

article li {
    font-size: 1.2em; /*フォントサイズ指定(emはフォントの高さを１とした相対指定)*/
    line-height: 30px; /*行の高さ指定(数値のみの場合はfont-sizeの倍数)*/
}

#nav {
    display: none; /*要素の表示指定（noneはなし）*/
}
	
.toppage {
        margin-top: 70px;
}

.image-r img{
	width:100%;
	height:auto;
	opacity: 1.0;
}
	
.image-l img{
	width:100%;
	height:auto;
	opacity: 1.0;
}
	
.centermoji{
    margin-left: 35%;
    margin-top: -4%;

}
	
.white {
    width: 360px;
}
.list-half .list h3{
	margin-top:1em;
}
h3{
	margin-left: 10px;
}
p {
        margin-left: 10px;
    }
.centermoji {

        margin-top: -4%;
	    margin-left: 35%;
}
.text {
    width: 97%;
}
.kodawari2 {
    opacity: 1.0;
    display: block;
    background-color: #bce2e8;
    padding-top: 30px;
    padding-bottom: 30px;
}

} 
@media screen and (max-width: 640px) {
  .last td:last-child {
    border-bottom: solid 1px #ccc;
	background: #fff;  
    width: 100%;
	line-height: normal;  
  }
  .tbl-r02 {
    width: 100%;
  }
  .tbl-r02 th,
  .tbl-r02 td {
　　border-bottom: none;
    display: block;
    width: 100%;
  }
.kodawari2 {
	padding:10px;
	
}
.p2 {
    margin-left: 0px;
}
.centermoji {
        color: #FFF;
        margin-top: -10%;
}

.pc{display:none;}
.sp{display:block;}	


h2 {
    line-height: 1.2;
	font-size: 260%;
}
.goaisatsu {
    font-size: 100%;

	
}
.centermoji {
        color: #FFF;
        margin-top: -8%;
	    margin-left: 20%;
}
.tbl-r02 {
        width: 100%;
}
header h1 {
    font-size: 3em; /*フォントサイズ指定(emはフォントの高さを１とした相対指定)*/
}
p {
    margin: 10px auto 40px;

}	
}
/*レスポンシブ設定*/


