@charset "UTF-8";
/* CSS Document */
#sub-catch {
    height: 148px;
    display: flex;
    flex-flow: column;
    justify-content: center;
}
.sub-catch {
    height: 30px;
    width: auto;
}
#shayuurin{
    position: relative;
    overflow: hidden;
}
#shayuurin-inner {
    position: absolute;
    z-index: 2;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    left: 50%;
    bottom: 10%;
    transform: translate(-50%,0);
    color: #fff;
    height: auto;
}
#shayuurin-inner h3 {
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 28px;
    margin-bottom: 5%;
    line-height: 1.4;
}
#shayuurin-inner p {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 16px;
    line-height: 2;
}
img.shayuurin {
    width: 100%;
    height: auto;
    position: relative;
    object-fit: cover;
    vertical-align: bottom;
    left: 50%;
    transform: translateX(-50%);
    min-height: 640px;
    font-family: 'object-fit: cover;'; 
}
#contents {
    margin: 100px auto 0;
    background-color: #eee;
    padding: 100px 0;
    background-image: url("../img/dott.gif");
    background-repeat: repeat;
    overflow-x: hidden;
    background-size: contain;
}
.contents-inner {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    max-height: 480px;
    background-color: #fff;
    border-top: 1px solid #9ac01b;
    border-bottom: 1px solid #9ac01b;
    margin: 0 0 100px;
}
.contents-inner:last-child{
    margin: 0;
    max-height: 680px;
}
.text-area.service-text {
    width: calc(50% - 12%);
    padding: 0 2% 0 10%;
    height: 100%;
    text-align: left;
}
/* IE11 */
@media all and (-ms-high-contrast:none){
  *::-ms-backdrop, .text-area.service-text {
    width: 50%;
} 
}
/* IE110 */
@media all and (-ms-high-contrast:none){
  .text-area.service-text {
    width: 50%;
} 
}
.contents-inner:nth-child(even) .text-area.service-text{
    order: 2;
    padding: 0 10% 0 2%;
}
.text-area.service-text h2 {
	color: #9ac01b;
	font-size: 60px;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif; 
    line-height: 1;
}
.text-area.service-text h3 {
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 26px;
    margin: 20px 0;
    letter-spacing: 5px;
    line-height: 1.6;
}
.text-area.service-text p {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 2;
}
.image-area {
    width: 50%;
    background-color: #9ac01b;
    height: 480px;
    position: relative;
}
.contents-inner-image {
    height: 420px;
    width: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;'; 
}
.image-area-text{
    position: absolute;
    width: 420px;
    height: auto;
    bottom: 40px;
    right: 50px;
}
.contents-inner:nth-child(2) .image-area-text{
    width: 400px;
    bottom: 30px;
}
.contents-inner:nth-child(3) .image-area-text{
    width: 200px;
    bottom: 30px;
}
.contents-inner:nth-child(4) .image-area-text{
    width: 390px;
}
.contents-inner:nth-child(5) .image-area-text{
    width: 290px;
}
.contents-inner:last-child .image-area {
    height: 680px;
}
.contents-inner:last-child .contents-inner-image {
    height: 620px;
}
.contents-inner:nth-child(even) .image-area-text{
    right: auto;
    left: 50px;
}
.contents-inner .button{
    margin: 30px 0 20px;
}
.contents-inner .button a {
    opacity: 1;
    transition: all 1s;
    background-color: #4d4d4d;
    width: 320px;
    display: block;
    padding: 10px 20px;
    color: #fff;
    border-radius: 8px;
    position: relative;
}
.contents-inner .button a:hover{
    background-color: #9ac01b;
    transition: all 1s;
}
.contents-inner .button a::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("../img/arrow.png");
    top: 50%;
    right: 20px;
    transform: translateY(-13px);
    position: absolute;
    background-size: contain;
}
.sekkei {
    position: absolute;
    bottom: 110px;
    right: 50px;
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    transform: translateX(0);
    width: 100%;
    z-index: 2;
    text-align: right;
}
@media screen and (max-width:1280px){
.text-area.service-text h2 {
    color: #9ac01b;
    font-size: 50px;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
}
.text-area.service-text h3 {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 24px;
    margin: 20px 0;
    letter-spacing: 2px;
}
.text-area.service-text p {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 14px;
    line-height: 2;
}
.text-area.service-text {
    width: calc(50% - 70px);
    padding: 0 20px 0 50px;
    height: 100%;
    text-align: left;
} 
.contents-inner:nth-child(even) .text-area.service-text {
    width: calc(50% - 70px);
    padding: 0 50px 0 20px;
    height: 100%;
    text-align: left;
}  
}
/* IE11 */
@media all and (-ms-high-contrast:none){
  *::-ms-backdrop, .sub-catch h2 {
    height: auto;
}     
}
/* IE110 */
@media all and (-ms-high-contrast:none){
  .sub-catch h2 {
    height: auto;
} 
}
/* IE11 */
@media all and (-ms-high-contrast:none) and (max-width:1280px){
  *::-ms-backdrop, .text-area.service-text {
    width: 50%;
} 
}
/* IE110 */
@media all and (-ms-high-contrast:none) and (max-width:1280px){
  .text-area.service-text {
    width: 50%;
} 
}
/* IE11 */
@media all and (-ms-high-contrast:none) and (max-width:1280px){
  *::-ms-backdrop, .contents-inner:nth-child(even) .text-area.service-text {
    width: 50%;
} 
}
/* IE110 */
@media all and (-ms-high-contrast:none) and (max-width:1280px){
  .contents-inner:nth-child(even) .text-area.service-text {
    width: 50%;
} 
}
@media screen and (max-width:934px){
.sub-catch {
    height: auto;
    width: 80%;
}
#shayuurin {
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-flow: column;
}
#shayuurin-inner {
    position: relative;
    z-index: 2;
    width: calc(100% - 30px);
    max-width: 920px;
    margin: 30px auto 0;
    left: 0;
    bottom: auto;
    transform: translate(0,0);
    color: #000;
    height: auto;
    padding: 0 15px;
    order: 2;
}
#shayuurin-inner h3 {
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 24px;
    margin-bottom: 30px;
}
img.shayuurin {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    min-height: 100%;
}
.text-area.service-text {
    width: calc(50% - 50px);
    padding: 0 20px 0 30px;
    height: 100%;
    text-align: left;
}
.contents-inner:nth-child(even) .text-area.service-text {
    width: calc(50% - 50px);
    padding: 0 30px 0 20px;
    height: 100%;
    text-align: left;
}
.text-area.service-text h2 {
    color: #9ac01b;
    font-size: 40px;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
}
.text-area.service-text h3 {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 18px;
    margin: 20px 0;
    letter-spacing: 2px;
}
.text-area.service-text p {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 13px;
    line-height: 2;
}
.image-area-text {
    position: absolute;
    width: auto;
    height: 40px;
    bottom: 40px;
    right: 0;
}
.contents-inner:nth-child(2) .image-area-text{
    width: auto;
    height: 45px;
    bottom: 30px;
    right: auto;
    left: 0;
}
.contents-inner:nth-child(3) .image-area-text{
    width: auto;
    height: 45px;
    bottom: 30px;
}
.contents-inner:nth-child(4) .image-area-text{
    width: auto;
    height: 40px;
    right: auto;
    left: 0;
}
.contents-inner:nth-child(5) .image-area-text{
    width: auto;
    height: 40px;
}
.contents-inner .button a {
    width: 280px;
}
.sekkei {
    position: absolute;
    bottom: 85px;
    right: 15px;
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    transform: translateX(0);
    width: 100%;
    z-index: 2;
    text-align: right;
}
}
/* IE11 */
@media all and (-ms-high-contrast:none) and (max-width:934px){
  *::-ms-backdrop, #sub-catch h2{
    min-height: 0%;
} 
}
/* IE110 */
@media all and (-ms-high-contrast:none) and (max-width:934px){
  #sub-catch h2{
    min-height: 0%;
} 
}
/* IE11 */
@media all and (-ms-high-contrast:none) and (max-width:934px){
  *::-ms-backdrop, .sub-catch h2 {
    height: 30px;
}     
}
/* IE110 */
@media all and (-ms-high-contrast:none) and (max-width:934px){
  .sub-catch h2 {
    height: 30px;
} 
}
/* IE11 */
@media all and (-ms-high-contrast:none) and (max-width:934px){
  *::-ms-backdrop, #shayuurin-inner {
   width: 100%;
} 
}
/* IE110 */
@media all and (-ms-high-contrast:none) and (max-width:934px){
  #shayuurin-inner {
    width: 100%;
} 
}
/* IE11 */
@media all and (-ms-high-contrast:none) and (max-width:934px){
  *::-ms-backdrop, .text-area.service-text {
    width: 50%;
} 
}
/* IE110 */
@media all and (-ms-high-contrast:none) and (max-width:934px){
  .text-area.service-text {
    width: 50%;
} 
}
/* IE11 */
@media all and (-ms-high-contrast:none) and (max-width:934px){
  *::-ms-backdrop, .contents-inner:nth-child(even) .text-area.service-text {
    width: 50%;
} 
}
/* IE110 */
@media all and (-ms-high-contrast:none) and (max-width:934px){
  .contents-inner:nth-child(even) .text-area.service-text {
    width: 50%;
} 
}
@media screen and (max-width:767px){
#sub-catch h2{
     position: relative; 
     width: 100%;
}
.sub-catch {
    height: auto;
    width: 70%;
}
#shayuurin-inner h3 {
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 18px;
    margin-bottom: 5%;
}
#shayuurin-inner p {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 12px;
    line-height: 2;
    letter-spacing: 0;
    margin: 0;
}
.contents-inner {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    max-height: 100%;
}
.contents-inner:last-child {
    margin: 0;
    max-height: 100%;
    height: auto;
}
.text-area.service-text {
    order: 2;
    width: calc(100% - 60px);
    padding: 30px;
}
.contents-inner:nth-child(even) .text-area.service-text {
    width: calc(100% - 60px);
    padding: 30px;
}
.text-area.service-text h2 {
    color: #9ac01b;
    font-size: 36px;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
}
.text-area.service-text h3 {
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 21px;
    margin: 20px 0;
    letter-spacing: 0px;
}
.text-area.service-text p {
    text-align: justify;
}
.image-area {
    width: 100%;
    background-color: #9ac01b;
    height: 100%;
    position: relative;
}
.contents-inner-image {
    height: calc(100% - 40px);
    width: 100%;
    object-fit: cover;
    padding-bottom: 40px;
}
.contents-inner:last-child .image-area {
    height: 100%;
}
.contents-inner:last-child .contents-inner-image {
    height: calc(100% - 40px);
    width: 100%;
    object-fit: cover;
    padding-bottom: 40px;
}
.image-area-text {
    position: absolute;
    width: 70%;
    height: auto;
    bottom: 5%;
    right: 0;
}
.contents-inner .button a {
    width: 280px;
}
.sekkei {
    position: absolute;
    bottom: 65px;
    right: 15px;
    color: #fff;
    font-size: 10px;
    font-weight: normal;
    transform: translateX(0);
    width: 100%;
    z-index: 2;
    text-align: right;
}
}
/* IE11 */
@media all and (-ms-high-contrast:none) and (max-width:767px){
  *::-ms-backdrop, #sub-catch h2{
    min-height: 0%;
} 
}
/* IE110 */
@media all and (-ms-high-contrast:none) and (max-width:767px){
  #sub-catch h2{
    min-height: 0%;
} 
}
/* IE11 */
@media all and (-ms-high-contrast:none) and (max-width:767px){
  *::-ms-backdrop, .sub-catch h2 {
    height: 60px;
}     
}
/* IE110 */
@media all and (-ms-high-contrast:none) and (max-width:767px){
  .sub-catch h2 {
    height: 60px;
} 
}
/* IE11 */
@media all and (-ms-high-contrast:none) and (max-width:767px){
  *::-ms-backdrop, .sub-catch {

} 
}
/* IE110 */
@media all and (-ms-high-contrast:none) and (max-width:767px){
  .sub-catch {
} 
}
/* IE11 */
@media all and (-ms-high-contrast:none) and (max-width:767px){
  *::-ms-backdrop, .text-area.service-text {
   width: 100%;
} 
}
/* IE110 */
@media all and (-ms-high-contrast:none) and (max-width:767px){
  .text-area.service-text {
    width: 100%;
} 
}
/* IE11 */
@media all and (-ms-high-contrast:none) and (max-width:767px){
  *::-ms-backdrop, .contents-inner:nth-child(even) .text-area.service-text {
    width: 100%;
} 
}
/* IE110 */
@media all and (-ms-high-contrast:none) and (max-width:767px){
  .contents-inner:nth-child(even) .text-area.service-text {
    width: 100%;
} 
}