@charset "UTF-8";
/* CSS Document */

.since {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    font-size: 18px;
    font-weight: 800;
    display: block;
    padding: 0;
    margin: 0;
    line-height: 1em;
    position: absolute;
    top: 42px;
    right: 3%;
}
#first-image {
	width: 100%;
	height: 30vw;
	box-sizing: border-box;
	margin: 130px 0 100px 0;
	padding: 0;
	position: relative;
	overflow: hidden;
}
.first-image__h1 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 800;
    font-size: 35px;
    line-height: 1.4em;
    position: absolute;
    top: 100px;
    left: 5%;
    z-index: 5;
    padding: 0 0 0 40px;
}
.first-image__h1 small {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 100;
    font-size: 0.55em;
    line-height: 1.2em;
    color: #fff;
    display: block;
    margin: 0 0 10px;
}
.first-image__h1 .icon {
    height: 80px;
    position: absolute;
    bottom: 7px;
    left: 0;
}
.page-title {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: 19.5vw;
    line-height: 1em;
    letter-spacing: 0.1em;
    color: #eeefef;
    position: absolute;
    left: -0.1em;
    top: 0;
}
.gray {
    color: #717071;
}
.red {
    color: #c40018;
}
.fi-line {
    display: block;
    width: 100%;
    height: 55px;
    position: absolute;
    top: 70%;
    left: 0;
}

header {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    position: relative;
}
section {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    display: flex;/* flexコンテナ化 */
}

.contents-name-line {
    position: relative;
    flex-shrink: 0;
    width: 4%;
    box-sizing: border-box;
    padding: 20px 0 0;
    display: flex;
    justify-content: center;  /* 横方向の中央寄せ */
    align-items: flex-start;  /* stickyが動けるように高さは伸ばさない */
    border-top: 3px solid #929293;
    border-right: 3px solid #929293;
    border-bottom: 3px solid #929293;
    background-color: #fff;
}
.contents-name-line__name {
    display: block;
    position: sticky;
    top: 0px;   /* PC：スクロール上端から追尾 */
    padding: 8px 0;
    box-sizing: border-box;
    color: #000;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 12px;
    line-height: 4%;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}
.section-content {
    flex: 1;
    min-width: 0; /* flexアイテムの横幅つぶれ対策 */
}

@media (max-width: 768px) {
    .contents-name-line__name {
        top: 80px; /* スマホ：80pxで追尾 */
    }
}
.contents {
    position: relative;
    display: inline-block;
    border-bottom: 1px solid #929293;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 0;
    margin-bottom: 50px;
}
.contact-contents {
    position: relative;
    display: inline-block;
    border-top: 3px solid #929293;
    border-bottom: 1px solid #929293;
    width: 100%;
    min-height: 60vh;
    box-sizing: border-box;
    padding: 50px 0;
    margin-bottom: 50px;
}
.president-photo {
    width: 30%;
    height: 60vh;
    min-height: 500px;
    display: inline-block;
	background-image: url("../img/company/president.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
    position: absolute;
    top: 0;
    right: 5%;
}
.contents__h1 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(30px,3vw,50px);
    line-height: 1.5em;
    color: #000;
    margin: 0 0 20px;
    padding: 0;
}
.contents__message__h1 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(30px,3vw,50px);
    line-height: 1.5em;
    color: #000;
    margin: 0 0 30px;
    padding: 0 0 7px 5%;
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #929293;
}
.contents__message__h2 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: clamp(30px,3vw,50px);
    line-height: 1em;
    color: #000;
    margin: 0 0 50px;
    padding: 0 0 15px 3%;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #929293;
}
.contact-contents__contents__p {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    color: #000;
    line-height: 1.8em;
    width: 90%;
    margin: 0 auto;
    padding: 0;
    text-align: justify;
    text-align: justify-all;
}
.rinen {
    font-family: "Zen Old Mincho", serif;
    font-weight: 700;
    font-style: normal;
	font-size: 30px;
	line-height: 2em;
    color: #000;
    width: 100%;
    margin: 20px auto 20px;
    padding: 0;
    text-align: center;
    display: inline-block;
}
.rinen-p {
    font-family: "Zen Old Mincho", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 15px;
	line-height: 2em;
    color: #000;
    width: 100%;
    margin: 0 auto 50px;
    padding: 0;
    text-align: center;
    display: block;
}
.a-link {
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-size: 14px;
	line-height: 1.2em;
    text-align: left;
	border: 2px solid #2a4b8c;
	color: #2a4b8c;
	text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
    transition: 0.2s;
    padding: 10px 5em 10px 10px;
    margin: 10px 15px 10px 0;
	background-image: url("../img/a-link-icon.webp");
	background-repeat: no-repeat;
	background-position: 90% 55%;
	background-size: 15px auto;
}
.a-link:hover {
    transition: 0.2s;
    background-color: #fff000;
    background-position: 95% 55%;
}
.contents__h2 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: clamp(35px,3.3vw,50px);
    line-height: 1em;
    color: #000;
    margin: 0 0 20px;
    padding: 0;
    position: relative;
    z-index: 2;
}
.contents__h2 small {
    display: block;
    margin: 10px 0 30px;
    padding: 0 0 0 0.2em;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 0.4em;
    line-height: 1em;
    color: #28334b;
}
.contents-blue__h2 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
    font-size: clamp(35px,3.3vw,50px);
    line-height: 1em;
    color: #fff;
    margin: 0 0 20px;
    padding: 0;
    position: relative;
    z-index: 2;
}
.contents-blue__h2 small {
    display: block;
    margin: 10px 0 30px;
    padding: 0 0 0 0.2em;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 0.4em;
    line-height: 1em;
    color: #fff000;
}
.contents__materia-h3 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 23px;
    line-height: 1em;
    color: #000;
    position: relative;
    margin: 20px 0 10px;
    padding: 0 0 7px 60px;
}
.contents__h3 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 23px;
    line-height: 1em;
    color: #000;
    position: relative;
    margin: 20px 0 10px;
    padding: 0 0 7px 0;
}
.materia-icon {
    width: 40px;
    display: inline-block;
    margin: 0 20px 0 0;
    padding: 0;
    position: absolute;
    bottom: 0;
    left: 0;
}
.contents__p__list {
    list-style: none;
    width: 90%;
    margin: 10px 0 30px;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}
.contents__p__list li {
    font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	font-size: 16px;
	line-height: 1.5em;
    text-align: left;
    padding: 0;
    margin: 0 0 10px;
}
.contents__p__list li span {
    color: #c40018;
    display: inline-block;
    margin: 0 0.5em 0 0;
}
.materia-hyo {
    width: 90%;
    border-top: 1px solid #000;
    border-collapse: collapse;
    table-layout: fixed;
    box-sizing: border-box;
    text-align: left;
    margin: 0 0 50px;
}
.materia-hyo th {
    width: 27%;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	font-size: 15px;
	line-height: 1.5em;
    vertical-align: text-top;
    padding: 20px 10px;
    border-bottom: 1px solid #000;
}
.materia-hyo td {
    width: 73%;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 15px;
	line-height: 1.5em;
    vertical-align: text-top;
    padding: 20px 10px;
    border-bottom: 1px solid #000;
}
.materia-hyo td strong, .normal-hyo td strong {
    font-weight: 600;
}
.gaiyo-hyo {
    width: 90%;
    border-top: 1px solid #000;
    border-collapse: collapse;
    table-layout: fixed;
    box-sizing: border-box;
    text-align: left;
    margin: 30px auto 50px;
}
.gaiyo-hyo th {
    width: 27%;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	font-size: 15px;
	line-height: 1.5em;
    vertical-align: text-top;
    padding: 20px 10px;
    border-bottom: 1px solid #000;
}
.gaiyo-hyo td {
    width: 73%;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 15px;
	line-height: 1.5em;
    vertical-align: text-top;
    padding: 20px 10px;
    border-bottom: 1px solid #000;
}
.company-history {
    width: 90%;
    list-style: none;
    margin: 0 auto 50px;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}
.company-history li {
    box-sizing: border-box;
    position: relative;
    padding: 0 5% 30px 50px;
    margin: 30px 0 0;
    align-items: flex-start;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 1.8em;
}
.company-history li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    background: #c40018;
    border-radius: 50%;
}
.company-history li::after {
    content: "";
    position: absolute;
    left: 7px;                         
    top: 10px;
    width: 1px;
    height: calc(100% + 30px);
    background: #c40018;
}
.company-history .year {
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
	font-size: 30px;
	line-height: 1em;
    display: inline-block;
    margin-bottom: 15px;
}
/* p の余白リセット */
.company-history p {
    margin: 0;
    line-height: 1.6;
}
.map {
    width: 92%;
    display: block;
    margin: 0 auto 50px;
}
.privacy {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
.privacy-list {
    width: 90%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.privacy-list li {
	width: 100%;
	box-sizing: border-box;
    margin: 0 0 30px;
	padding: 0 10px 0 0;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 300;
	font-size: 13px;
	line-height: 1.8em;
}
.privacy-list li .list-name {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 600;
	font-size: 16px;
	line-height: 1.6em;
    display: block;
    margin: 0 0 10px;
    padding: 0;
}


@media only screen and (max-width: 899px) {
.since {
    display: none;
}
#first-image {
	width: 100%;
	height: 50vw;
    margin: 30px 0 70px 0;
	padding: 0;
	position: relative;
	overflow: hidden;
}
.first-image__h1 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 800;
    font-size: 25px;
    line-height: 1.4em;
    padding: 0 0 0 30px;
    position: absolute;
    top: 40%;
    left: 3%;
    z-index: 5;
}
.first-image__h1 small {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 100;
    font-size: 0.55em;
    line-height: 1.2em;
    color: #fff;
    display: block;
    margin: 0 0 10px;
}
.first-image__h1 .icon {
    height: 70px;
    position: absolute;
    bottom: 7px;
    left: 0;
}
.page-title {
    font-size: 19.5vw;
    line-height: 1em;
    letter-spacing: 0.1em;
    position: absolute;
    left: -0.1em;
    top: 16vw;
}
.fi-line {
    height: 45px;
    position: absolute;
    top: 37vw;
    left: 0;
}
.contents-name-line {
    width: 2%;
    background-color: #929293;
    padding: 20px 0 0;
    border: 0;
}
.contents-name-line__name {
    display: none;
}
.contents-name-blue-line {
    width: 2%;
    background-color: #28334b;
    padding: 20px 0 0;
    border: 0;
}
.contents-name-line__blue-name {
    display: none;
}
.contents__message__h2 {
    font-size: clamp(25px,5vw,50px);
    line-height: 1em;
    margin: 0 0 50px;
    padding: 0 0 15px 3%;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #929293;
}
.contents {
    padding: 50px 0%;
    margin-bottom: 10px;
}
.message-contents {
    position: relative;
    display: inline-block;
    border-top: 3px solid #929293;
    border-bottom: 1px solid #929293;
    width: 100%;
    min-height: inherit;
    box-sizing: border-box;
    padding: 50px 0;
    margin-bottom: 50px;
}
.president-photo {
    width: 100%;
    height: 300px;
    min-height: inherit;
    display: block;
	background-image: url("../img/company/president.jpg");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: cover;
    position:relative;
    top: inherit;
    right: inherit;
    margin-bottom: 30px;
}
.service-list {
    width: 95%;
    margin: 50px 0 0;
    padding: 0;
}
.service-list li {
	font-size: 18px;
	line-height: 1.5em;
    text-align: left;
    padding: 0;
    margin: 0 0 30px;
}
.contents__p {
    font-size: 14px;
    width: 95%;;
}
.materia-hyo {
    width: 95%;
    border-top: 1px solid #000;
    border-collapse: collapse;
    table-layout: fixed;
    box-sizing: border-box;
    text-align: left;
    margin: 0 0 50px;
}
.materia-hyo th {
    width: 100%;
	font-size: 15px;
    padding: 10px;
    float: left;
    background-color: rgba(93,93,93,1.00);
    color: #fff;
}
.materia-hyo td {
    width: 100%;
	font-size: 15px;
    padding: 10px 10px 20px;
    float: left;
}
.gaiyo-hyo {
    width: 95%;
    border-top: 1px solid #000;
    border-collapse: collapse;
    table-layout: fixed;
    box-sizing: border-box;
    text-align: left;
    margin: 0 0 50px;
}
.gaiyo-hyo th {
    width: 100%;
	font-size: 15px;
    padding: 10px;
    float: left;
    background-color: rgba(93,93,93,1.00);
    color: #fff;
}
.gaiyo-hyo td {
    width: 100%;
	font-size: 15px;
    padding: 10px 10px 20px;
    float: left;
}
    
.rinen {
	font-size: 23px;
	line-height: 2em;
    margin: 20px auto 20px;
}
.rinen-p {
	font-size: 14px;
	line-height: 2em;
    margin: 0 auto 50px;
}
    
.company-history {
    width: 95%;
    margin: 0 auto 50px;
    padding: 0;
}
.company-history li {
    font-size: 14px;
    line-height: 1.8em;
    padding: 0 5% 30px 35px;
    
}
.company-history li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
}
.company-history li::after {
    content: "";
    height: calc(100% + 30px);
}
.company-history .year {
    font-size: 22px;
	font-style: normal;
    line-height: 1.2em;
}
    

}