@charset "UTF-8";

@media screen and (max-width:450px) {


body {
    animation: firstfadeIn 2s ease-in-out 0s normal;
}

@keyframes firstfadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.block {
    opacity: 0;
    transition: all .5s ease-in;
}

.fadeIn {
    opacity: 1;
}

/*--------------文字の共通装飾--------------*/
h1{
    padding-top: 5px;
    padding-left: 10px;
    font-size: 1.5em;
    font-family: "Noto Sans";
    text-shadow: 4px 4px 5px rgb(0, 0, 0,1);
}
h2{
    color: #4b4b4b;
    font-size: 2.2em;
    font-family: "Noto Sans";
    text-align: center;
}
h3{
    margin-top: 50px;
    color: #4b4b4b;
    font-weight: bold;
    font-size:1.3em;
    font-family:  "Noto Sans JP";
    text-align: center;
    line-height: 1.5;
}
h4{
    display: inline-block;
    font-weight: 400;
    font-size: 1em;
    font-family:  "Noto Sans JP";
    text-align: left;
    line-height: 1.5;
    margin-top: 30px;
}

p{
    color: #4b4b4b;
    font-size: 1em;
    font-family:  "Noto Sans JP";
}

a {
    color: #4b4b4b;
    font-family:  "Noto Sans JP";
}
:root{
	scroll-padding: 100px;
	scroll-behavior: smooth;
}

/*----------------ヘッダー関係はここから----------------*/
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top:0;
    left:0;
    z-index: 100;
    width: 100%;
    height: 95px;
    background-color: #fff;
}
.headerimg{
    width: 125px;
    padding-left: 20px;
    text-align: center;
}
.menu{
    display: none;
}

/* ハンバーガーメニュー */
.menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 20px;
    right: 10px;
    z-index: 90;
    height: 60px;
    width: 60px;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    position: absolute;
    height: 3px;
    width: 30px;
    background-color: #0e34bb;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
#menu-btn-check {
    display: none;
}

.menu-content {
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transition: all 0.5s;/*アニメーション設定*/
}

.menu-tittle {
    position: absolute;
    top: 24px;
    left: 9px;
    font-size: 2.2em;
}

.menu-content ul {
    padding: 120px 10px 0;
}
.menu-content ul li {
    padding-top: 10px;
    border-bottom: solid 1px #4b4b4b;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    position: relative;
    width: 100%;
    padding: 9px 15px 10px 0;
    box-sizing: border-box;
    color:#4b4b4b;
    font-size: 1.4em;
    text-decoration: none;
}
.menu-content ul li a::before {
    content: "";
    position: absolute;
    right: 11px;
    top: 18px;
    width: 14px;
    height: 14px;
    border-top: solid 2px #0e34bb;
    border-right: solid 2px #0e34bb;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}


/*----------------ファーストビューはここから----------------*/
.fast-view{
    height: 100vh;
    /* width:100%; */
    min-width: 353px;
    background-image: url(../images/header.png);
    background-repeat: no-repeat;
    background-size:cover;                 /* 画像のサイズを指定+*/
    background-position-x:40%;
    background-position-y: bottom;
}
.fast-view-text{
    position: absolute;
    top: 75%;
    left: 5%;
    color: #fff;
}
.fast-view-text::before{
    content:"";
    display:inline-block;
    position:absolute;
    top: 2px;
    width:4px;
    height:70px;
    background-color:#ffffff;
    -webkit-filter:drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.3));
}
.copy-ja{
    font-weight: bold;
    font-size: 2em;

}

/*----------------本文はここから----------------*/
.wrapper{
    width: 353px;
    margin: 0 auto;
}

/*----------------ミッションはここから----------------*/
#mission{
    position: relative;
    max-width: 450px;
    padding-top: 100px;
    padding-bottom: 60px;
    /* background-image: url(https://infinitylife.co.jp/images/mission-back-img.png); */
  /* 画像を常に天地左右の中央に配置 */
    background-position: center center;
  /* 画像をタイル状に繰り返し表示しない */
    background-repeat: no-repeat;
  /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
    background-attachment: fixed;
  /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
    /* background-size: cover;    background-color: rgba(255, 255, 255, 0.4); */
    background-blend-mode: lighten;
    clip-path: inset(0);
}

#mission::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-image: url(../images/mission-back-img.png);
    background-size: cover;
    background-color: rgba(255, 255, 255, 0.4);
    background-blend-mode: lighten;
}


.mission_text{
    width:95%;
    margin: 0 auto;
    padding: 10px 0px 60px;
    /* background-color: rgba(255, 255, 255, 0.5); */
    border-bottom: 1px solid #000;
}
.mission-p{
    display: block;
    width:100%;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
.mission-p p{
    margin-top: 20px;
    font-size: 0.9em;
    text-align: center;
}
.mission-h4{
    margin-top: 30px;
    font-size: 1.2em;
}
.vision_text{
    width:80%;
    margin: 0 auto;
    padding: 50px 22px 50px;
    /* background-color: rgba(255, 255, 255, 0.5); */
    border-bottom: 1px solid #000;
}
.vision_text h3{
    margin-top: 15px;
}
.value_text{
    width:100%;
    margin: 0 auto;
    padding: 60px 0;
    /* background-color: rgba(255, 255, 255, 0.5); */
    border-bottom: 1px solid #000;
}
.value-p{
    display: block;
    width:100%;
    margin-top: 50px;
    margin-right: auto;
    margin-left: auto;
}
.value-p-text{
    display: flex;
}
.value-p-text span{
    font-size: 1.5em;
    font-weight: 500;
    margin-right: 10px;
}
.value-p p{
    font-size: 1em;
    margin-bottom: 30px;
    font-weight: 500;
}
.value-p-text01 p{
    margin-top: 8px;
}
/*----------------サービスはここから----------------*/
#service{
    min-width: 353px;
    padding-top: 35px;
    padding-bottom: 35px;
    background-color: #f7f8fd;
    background-image: url(../images/service-SP.png);
    background-repeat: no-repeat;
    background-position-x:center;
    background-position-y: top;
    background-size: 100%;
    text-align: center;
}
#service h2{
    color: #fff;
}
.service-text{
    margin-top: 80px;
    font-size: 1.6em;
    font-family: "Noto Sans JP";
}

.service-text-pdf {
    font-size: 0.8em;
    margin-top: 10px;
}
.service-text a :hover{
    color: #0068b7;
}

.service-card {
    margin-top: 80px;
}

.service-img {
    width: 100%;
    height: 210px;
}

.service-text-area {
    padding: 15px 10px;
    background-color: #fff;
}

h5 {
    color: #4b4b4b;
    font-size: 1.5rem;
    font-family: "Noto Sans JP";
}

/* ロゴの位置やサイズ調整のために、ロゴのimgの親要素としてdivで固定スペースを設定 */
.logo-box {
    position: relative;
    width: 300px;
    height: 90px;
}

.service-text-area p {
    font-size: 1rem;
    line-height: 28px;
    margin-bottom: 20px;
    font-family: "Noto Sans JP";
}

/* 詳しくはこちらボタン　ここから */
.service-btn {
    text-align: center;
}

.service-btn a {
    position: relative;
    text-align: center;
    display: block;
    color: #fff;
    background: linear-gradient(to right, #00a0e9, #0068b7);
    text-decoration: none;
    font-size: 1rem;
    font-family: "Noto Sans JP";
    padding: 15px 25px 15px 0;
    border-radius: 100vh;
}

.service-btn a::after {
    content: "";
    position: absolute;
    top: 22px;
    right: 27%;
    width: 25px;
    height: 25px;
    background-image: url(../images/service-arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.service-btn a:hover {
    border: 2px solid #0068b7;
    background: #f7f8fd;
    color: #0068b7;
}

.service-btn a:hover::after{
    content: "";
    position: absolute;
    top: 22px;
    right: 27%;;
    width: 25px;
    height: 25px;
    background-image: url(../images/service-arrow-hover.png);
    background-repeat: no-repeat;
    background-size: contain;
}
/* ボタンここまで */

/* 固定設定したlogo-boxに対してそれぞれで細かい位置・サイズ調整 */
.sekatyare-logo {
    position: absolute;
    scale: 0.9;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: -4%;
}

.resma-logo {
    position: absolute;
    scale: 0.8;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: -13%;
}

.hitoma-logo {
    position: absolute;
    scale: 0.9;
    top: -9%;
    bottom: 0;
    margin: auto 0;
    left: -11%;
}

.buildma-logo {
    position: absolute;
    scale: 0.95;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: -8%;
}

.logima-logo {
    position: absolute;
    scale: 0.93;
    top: 0;
    bottom: 0;
    margin: auto 0;
    left: -12%;
}


/*----------------トップメッセージはここから----------------*/
#top-message h2 {
    margin-top: 140px;
}

.top-message-box {
    display: flex;
    flex-direction: column-reverse;
}

.top-img{
    height: 290px;
    margin-top: 54px;
    object-fit: cover;
}

.top-img1 {
    display: none;
}

.top-img3 {
    display: none;
}

.top-message-text h3 {
    margin-top: 50px;
    font-size: 1.4em;
    text-align: left;
}

.top-message-text p {
    margin-top: 25px;
}
.top-name{
    display: flex
}
.top-message-text img{
    width: 55%;
    position: relative;
    top: -30px;
    left: 30px;
}

/*----------------会社情報はここから----------------*/
#company-profile h2 {
    margin-top: 140px;
}

#company-profile img {
    height: 273px;
    margin-top: 54px;
    object-fit: contain;
}

.profile-img1 {
    display: none;
}

.profile-img3 {
    display: none;
}

.company-profile-text1 {
    margin-top: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #9b9b9b;
}

.company-profile-title {
    margin-bottom: 3px;
    padding-top: 10px;
    font-weight: bold;
    font-size: 1.1em;
}
.company-profile-brtext {
    width: 228.4px;
}
.company-profile-text3{
    margin-top: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #9b9b9b;
}
.company-profile-text2 {
    margin-top: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #9b9b9b;
}
.company-profile-info1 br{
    display: none;
}
.company-profile-service p:nth-child(1) {
    font-weight: bold;
}

.company-profile-service {
    margin-top: 10px;
}
/*----------------沿革はここから----------------*/
#history{
    min-width: 353px;
    position: relative;
    margin-top: 150px;
    padding-bottom: 25px;
    background-color: #f7f8ff;
}
#history h2 {
    padding-top: 60px;
}

.history-box {
    display: grid;
    gap: 3px;
    position: relative;
    margin-top: 80px;
}

dl {
    align-items: center;
    position: relative;
    padding: 15px;
    background-color: #fff;
    font-family:  "Noto Sans JP"
}
dd{
    height: auto;
}

/* 青の点（2016年の欄） */
.squre-top::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 25px;
    z-index: 10;
    width: 6px;
    height: 6px;
    border-radius: 50px;
    background-color: #0068b7;
}

/* 青の点（内容が見出し1文の欄） */
.squre1::before {
    content: "";
    position: absolute;
    top: 26px;
    left: 25px;
    z-index: 10;
    width: 6px;
    height: 6px;
    border-radius: 50px;
    background-color: #0068b7;
}

/* 青の点（内容が見出し1文、説明文1文の欄） */
.squre2::before {
    content: "";
    position: absolute;
    top: 29px;
    left: 25px;
    z-index: 10;
    width: 6px;
    height: 6px;
    border-radius: 50px;
    background-color: #0068b7;
}

/* 青の点（内容が見出し2文、説明文2文の欄） */
.squre4::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 25px;
    z-index: 10;
    width: 6px;
    height: 6px;
    border-radius: 50px;
    background-color: #0068b7;
}

/* 左端の灰色の線（2016年の欄） */
.history-box dl::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 27px;
    width: 2px;
    height: calc(100% + 3px);
    background-color: #a8a8a8;
}

/* 左端の灰色の線（2018年～2023年の欄） */
.history-box dl:nth-child(1)::after {
    content: "";
    position: absolute;
    top: 33px;
    left: 27px;
    width: 2px;
    height: calc(100% + 3px);
    background-color: #a8a8a8;
}

.history-box dl:nth-child(9)::after {
    content: "";
    position: absolute;
    top: -70px;
    width: 2px;
    height: 100px;
    /* height: calc(100% + 0.15rem); */
    background-color: #a8a8a8;
}

.h_year {
    color: #0068b7;
    font-weight: bold;
    font-size: 1.4em;
}

.year{
    color: #0068b7;
    font-weight: bold;
    font-size: 1.1em;
}
dt{
    padding-left: 30px;
}
dd {
    padding-top: 5px;
    padding-left: 30px;
}
.top-img{
    height:10pxs ;
}

.history-maintext {
    font-weight: bold;
    font-size: 1em;
}
/* 2016年2行目の行間 */
#history-maintaxt-Meyou{
    line-height: 1.7;
}

.history-text {
    font-size: 0.8em;
}

/* 2021年の文章間の余白調整 */
.text-space {
    margin-top: 10px;
}

/*---------------アクセスはここから----------------*/
#access h2 {
    margin-top: 60px;
    margin-bottom: 55px;
}

.access-company-name {
    font-weight: bold;
    font-size: 1.3em;
}

.access-box {
    padding-top: 5px;
}

.adress {
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid #9b9b9b;
}

.adress-p {
    margin-bottom: 17px;
    font-weight: bold;
    font-size: 1.1em;
}

.adress2 {
    border-bottom: 1px solid #9b9b9b;
}

.access-box img {
    width: 100%;
    height: 222px;
    margin-top: 42px;
    background-color: #0068b7;
    object-fit: contain;
    display: none;
}

.access-img1 {
    display: none;
}

.google-map {
    width: 353px;
    height: 301px;
    margin-top: 42px;
}
/*----------------お問い合わせはここから----------------*/
#contact h2 {
    margin-top: 60px;
    margin-bottom: 55px;
}

form{
    width: 293px;
    margin: 0 auto;
    font-family:  "Noto Sans JP"
}
.form_items{
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
.form_items input{
    color: #4b4b4b;
    height: 40px;
    margin-top: 10px;
    border-radius: 5px;
    border: none;
    border: 2px solid #c1c1c1;
}

.required{
    color: #4b4b4b;
    font-weight: bold;
    font-size: 1em;
}

/* フォーム入力欄内の例文 */
::placeholder{
    color: #939393;
}
/* フォームの項目 ラベル[必須] */
.form_items .form_label.required {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* フォームの項目 ラベル[必須] */
.form_items .form_label.required::after {
    content: "必須";
    width: 40px;
    height: 20px;
    padding-top: 2px;
    border-radius: 4px;
    background: #cf3838;
    color: #ffffff;
    font-weight: normal;
    font-size: 12px;
    text-align: center;
}

/* ご相談内容欄 */
#contact_business_type{
    width: 293px;
    height: 38px;
    margin-top: 10px;
    border-radius: 5px;
    border: none;
    border: 2px solid #c1c1c1;
    color: #4b4b4b;
}
/* お問い合わせ内容 */
#contact_text{
    width: 293px;
    margin-top: 10px;
    border: 2px solid #c1c1c1;
    border-radius: 5px;
}
textarea {
    resize: vertical;/*お問い合わせ内容記入欄の大きさを自動調節可能に*/
}
.Privacy-policy {
    display: flex;
    justify-content: center;
    width: 293px;
    font-size: 1em;

}
.Privacy-policy a{
    color: #0e34bb;
}

.Privacy-policy a :visited{
    color:purple;
}

/* プライバシーポリシー同意チェックボタンここから */
.Privacy-policy input{
    display: none;
}
.Privacy-policy .dummy{
    display: inline-flex; 
    width: 20px; 
    height: 20px; 
    margin-top: 3px;
    margin-right: 5px;
    border: 1px solid #c1c1c1; 
    border-radius: 15%; 
    vertical-align: text-top;

}
.Privacy-policy input:checked+.dummy:after{
    content: ''; 
    width: 13px; 
    height: 6px; 
    margin-top: 5px;
    margin-left: 3px;
    border-left: 2px solid #0068b7; 
    border-bottom: 2px solid #0068b7; 
    transform: rotate(-45deg);
}
/* プライバシーポリシー同意チェックボタンここまで */

/* 送信ボタン */
.confilm{
    display: block;
    align-items: center;
    width: 190px;
    height: 50px;
    margin: 0 auto;
    margin-top: 30px;
    border: 3px solid #4b4b4b;
    border-radius: 5px;
    background-color: #4b4b4b;
    color: #fff;
    font-weight:500;
    font-size: 1.1em;
    font-family:  "Noto Sans JP";
    transition: all 0.3s ease;
}
.confilm:hover{
    border: 3px solid #4b4b4b;
    background-color: #fff;
    color: #4b4b4b;
}

/*----------------フッターはここから----------------*/
footer{
    margin-top: 150px;
    background-color: #8f8f8f;
}

footer img {
    margin-top: 26px;
    margin-bottom: 50px;
}

.footer-box{
    display: flex;
    flex-direction: column;
    gap: 23px;
    margin-bottom: 55px;
}

.footer-box a {
    color: #fff;
    text-decoration: none;
}

/* コピーライト */
.footer-end {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #4b4b4b;
}

.footer-end p{
    color: #fff;
    font-size: 0.8em;
    text-align: center;    
}
}
