/* =================================
------------------------------------
  Riddle - Portfolio
  Version: 1.1
 ------------------------------------ 
 ====================================*/

/*----------------------------------------*/
/* Template default CSS
/*----------------------------------------*/

html {
	font-size: 62.5%;
}

body {
    text-align: center;
	background-color: #FFFFFF;
	font-size: 1.5rem;
	line-height: 1.7;
	color: #1F1F1F;
	font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
	font-feature-settings: "palt";
	letter-spacing: 0.1em;
}

img {
	height: auto;
	max-width: 100%;
	-webkit-backface-visibility: hidden;
}

a {
    color: #136eb6;
}
a:hover {
    color: #8AC4F2;
	text-decoration: underline;
}

/*404*/
.not-found-404{
	height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/*選択カラー指定*/
::selection
{
    background: #27a19e;
    color: #ffffff;
}
/* for Firefox */
::-moz-selection
{
    background: #27a19e;
    color: #ffffff;
}

/*スクロール前の透明化処理*/
.an_scl{ opacity: 0; }

@media only screen and (max-width: 900px) {
* {
	box-sizing: border-box;
}

body {
	font-size: 1.3rem;
	line-height: 1.6;
}
}

/*------------------------
    Header Section
--------------------------*/
#header-container {
	width: 100%;
	height: 115px;
}

.header-line {
	width: 100%;
	height: 10px;
	background: #27a19e;
	margin-bottom: 15px; 
}

.header-section {
	width: 1100px;
	height: 100px;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

.header-section .subttl{
	font-weight: 400;
	line-height: 2;
	margin-bottom: 0px;
}

h1 {
	font-size: 3.8rem;
	font-weight: 800;
	line-height: 1;
	margin-top: 0px;
	color: #27a19e;
	letter-spacing: 0em;

}

@media only screen and (max-width: 900px) {
.header-section {
	width: 94%;
	height: 95px;
}
h1 {
	font-size: 3.3rem;
	font-weight: 800;
	line-height: 1;
	margin-top: 0px;
	color: #27a19e;


}
}
/*------------------------
    photo section
--------------------------*/

#photo-section {
	width: 100%;
}

.main-visual {
	width: 1150px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	background-image: url("../img/bg.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position:top;
	box-sizing: border-box;
	padding: 170px 50px 100px;
	font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
	letter-spacing: 0.2em;
	line-height: 2;
	font-size: 1.8rem;
}
h2 {
	position: relative;
	padding: 8px 0px;
	font-weight: 400;
	font-style: normal;
	font-size: 2.8rem;
}
.txt-right {
	padding-top: 20px;
	text-align: right;
	line-height: 1.6;
}
@media only screen and (max-width: 900px) {
.main-visual {
	width: 100%;
	background-size: contain;
	padding: 70px 20px 30px;
	letter-spacing: 0em;
}
h2 {
	font-size: 2.1rem;
}
}

/*------------------------
    Footer Section
--------------------------*/
#ft-container {
	width: 100%;
	margin-top: 50px;
	padding-top: 40px;
	background-color: #c2eceb;
	display: inline-block;
	box-sizing: border-box;
}
h3 {
	position: relative;
	padding: 0px 0px 30px;
	font-weight: 600;
	font-style: normal;
	font-size: 1.6rem;
}
.bnr-box {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	margin-bottom: 30px;
}
.bnr-box img {
	max-width: 700px;
}
h4 {
	font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
	padding: 0px 0px 0px;
	font-size: 1.8rem;
	font-style: normal;
}
.tel {
	font-family: "ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
	padding: 0px 0px 0px;
	font-size: 3.2rem;
	font-style: normal;
	line-height: 1.2;
}
.teltel {
	font-size: 1.8rem;
}
.copy {
	width: 100%;
	background: #27a19e;
	margin-top: 40px;
	padding: 30px;
	box-sizing: border-box;
	color: #FFFFFF;
}

@media only screen and (max-width: 750px) {
#ft-container {
	width: 100%;
	margin-top: 30px;
	padding: 30px 0px 0px;
}
.bnr-box {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	margin-bottom: 30px;
}
.bnr-box img {
	max-width: 100%;
}
.copy {
	width: 100%;
	background: #27a19e;
	margin-top: 40px;
	padding: 18px;
	box-sizing: border-box;
	color: #FFFFFF;
	font-size: 1.2rem;
}

}



/*------------------------
    PCスマホ画像切り替え
--------------------------*/
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; margin-left: auto; margin-right: auto;}
.sp { display: none !important;  margin-left: auto; margin-right: auto;}
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 900px) {
.pc { display: none !important; margin-left: auto; margin-right: auto; }
.sp { display: block !important; margin-left: auto; margin-right: auto; }
}

/*------------------------
YouTube動画埋込 レスポンシブ対応
--------------------------*/
@media only screen and (max-width: 900px) {
.yt{
  position:relative;
  width:100%;
  padding-top:56.25%;
}
.yt iframe{
  position:absolute;
  top:0;
  right:0;
  width:100%;
  height:100%;
}
}
