﻿/*******************************************************/
/*                                                     */
/* トップページコンテンツの編集      　                */
/*                                                     */
/*******************************************************/
/********************************/
/*　パソコン画面サイズ          */
/********************************/
/*******************************************************/
/*                                                     */
/* パソコンフォーマット  		               */
/*                                                     */
/*******************************************************/

@media screen and (min-width: 768px)
{ 
	.contract-header
	{
		margin: 0 auto; 
		text-align: center;
		max-width: 1100px;
	}
	.main-contents
	{
		margin: 0 auto; 
		text-align: center;
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto 1fr;
		max-width: 1100px;
		background: linear-gradient(to bottom, #f4f7fa 0%, #ffffff 100%);
	}

	.main-contents::after
	{
		content: "";
		display: block;
		max-width: 100%;
		height: 1px;
		background: #dde5ee;
		margin-top: 60px;
	}

/********************************************************/
/*
/* 契約までの流れの定義（パソコン版）
/*
/********************************************************/	
	.main-contents1
	{
		grid-column: 1;
		grid-row: 1;
		margin: 0 auto; 
		padding: 40px 40px 10px 40px;
		text-align: center;
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto 1fr;
	}
	.main-contents1-1
	{
		grid-column: 1;
		grid-row: 1;
		margin-bottom: 10px;
		text-align: center;
	}
	.main-contents1-1 h2
	{
		font-size: 24px;
		font-weight: bold;
		white-space: nowrap;
		display: inline-block;
		color: #124b73;
		border-bottom: solid 3px #0d52b1;
	}

	.main-contents1-2
	{
		grid-column: 1;
		grid-row: 2;
		margin-bottom: 60px;
		text-align: center;
	}
	.flow-intro-inner
	{
 		margin: 0 auto;
		background: #ffffff;
		padding: 36px 40px;
		border-radius: 14px;
		box-shadow: 0 10px 30px rgba(0,0,0,.06);
		border-left: 6px solid #0d52b1;
		border-right: 6px solid #0d52b1;
		color: #234766;
	}

	.flow-intro-inner p
	{
		font-size: 18px;
		line-height: 1.9;
		margin-bottom: 18px;
	}

	.flow-intro-inner p:last-child
	{
		margin-bottom: 0;
	}

	.flow-intro-inner .em
	{
		color: #0d52b1;
		font-weight: 600;
	}

	.flow-intro-inner .strong
	{
		background: #f4f7fa;
		padding: 14px 18px;
		border-radius: 8px;
		font-weight: 600;
	}

	.flow-intro-inner .closing
	{
		text-align: center;
		font-weight: 600;
		margin-top: 24px;
	}

/********************************************************/
/*
/* メールフォームの定義（パソコン版）
/*
/********************************************************/	
	.main-contents2
	{
		grid-column: 1;
		grid-row: 2;
		margin: 0 auto; 
		text-align: center;
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto 1fr;
		border-top: 2px solid #124b73;
	}
	.main-contents2-1
	{
		grid-column: 1;
		grid-row: 1;
		margin: 40px 0 20px;
		text-align: center;
	}
	.main-contents2-1 h2
	{
		font-size: 24px;
		font-weight: bold;
		white-space: nowrap;
		display: inline-block;
		color: #124b73;
		border-bottom: solid 3px #0d52b1;
	}

	.main-contents2-2
	{
		grid-column: 1;
		grid-row: 2;
		margin: 10px 0;
		text-align: left;
		color: #124b73;
		padding: 0 20px;
	}

	.main-contents2-2 iframe
	{
		width: 1000px;
		height: 1400px;
	}
}

/********************************/
/*　スマホ画面サイズ            */
/********************************/

/*******************************************************/
/*                                                     */
/* スマフォ・タブレットフォーマット	               */
/*                                                     */
/*******************************************************/

@media screen and (max-width: 768px)
{ 
	.contract-header
	{
		max-width: 100%;
		margin: 0 auto;
	}
	.contract-header img
	{
		width: 100%;
		height: auto;
	}
	.main-contents
	{
		max-width: 100%;
		margin: 0 auto; 
		text-align: center;
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto 1fr;
		background: linear-gradient(to bottom, #f4f7fa 0%, #ffffff 100%);
	}

	.main-contents::after
	{
		content: "";
		display: block;
		max-width: 100%;
		height: 1px;
		background: #dde5ee;
		margin-top: 60px;
	}
/********************************************************/
/*
/* 契約までの流れの定義（フマホ版）
/*
/********************************************************/	
	.main-contents1
	{
		grid-column: 1;
		grid-row: 1;
		margin: 0 auto; 
		padding: 10px 20px 10px 20px;
		text-align: center;
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto 1fr;
		border-bottom: 2px solid #124b73;
	}
	.main-contents1-1
	{
		grid-column: 1;
		grid-row: 1;
		margin-bottom: 10px;
		text-align: center;
	}
	.main-contents1-1 h2
	{
		font-size: 18px;
		font-weight: bold;
		white-space: normal;
		display: inline-block;
		color: #124b73;
		border-bottom: solid 3px #0d52b1;
	}

	.main-contents1-2
	{
		grid-column: 1;
		grid-row: 2;
		margin-bottom: 60px;
		text-align: left;
	}
	.flow-intro-inner
	{
 		margin: 0 auto;
		background: #ffffff;
		padding: 25px 20px;
		border-radius: 14px;
		box-shadow: 0 10px 30px rgba(0,0,0,.06);
		border-left: 6px solid #0d52b1;
		border-right: 6px solid #0d52b1;
		color: #234766;
	}

	.flow-intro-inner p
	{
		font-size: 14px;
		line-height: 1.9;
		margin-bottom: 18px;
	}

	.flow-intro-inner p:last-child
	{
		margin-bottom: 0;
	}

	.flow-intro-inner .em
	{
		color: #0d52b1;
		font-weight: 600;
	}

	.flow-intro-inner .strong
	{
		background: #f4f7fa;
		padding: 15px;
		border-radius: 8px;
		font-weight: 600;
	}

	.flow-intro-inner .closing
	{
		text-align: left;
		font-weight: 600;
		margin-top: 24px;
	}

	.main-contents2
	{
		grid-column: 1;
		grid-row: 2;
		margin: 0 auto; 
		text-align: center;
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto 1fr;
	}

	.main-contents2-1
	{
		grid-column: 1;
		grid-row: 1;
		text-align: center;
	}

	.main-contents2-1 h2
	{
		font-size: 18px;
		font-weight: bold;
		white-space: nowrap;
		display: inline-block; 
		color: #124b73;
		border-bottom: solid 3px #0d52b1;
	}

	.main-contents2-2
	{
		grid-column: 1;
		grid-row: 2;
		margin: 10px 0;
		text-align: left;
		color: #124b73;
		padding: 0;
	}

	.main-contents2-2 iframe
	{
		width: 100%;
		height: 1300px;
	}
}
