/*
======================================================
    .header-content
======================================================
*/
.header-content {
    position: relative;
    z-index: 13;
    max-width: 1366px;
    margin: 0 auto;
}
/*
======================================================
    .header-content__holder
======================================================
*/
@media screen and (min-width:1025px) {
    .header-content__holder {
        padding: 16px 40px 44px;
    }
}
@media screen and (min-width:600px) and (max-width:1024px) {
    .header-content__holder {
        padding: 16px 40px;
    }
}
@media screen and (max-width:599px) {}
/*
======================================================
    .header-content__container
======================================================
*/
.header-content__container {
    margin: 0 auto;
}
/*
======================================================
    .header-content__layout
======================================================
*/
.header-content__layout {
    display: flex;
    justify-content: space-between;
}
/*
======================================================
    .header-content__left
======================================================
*/
.header-content__left {
    padding-top: 24px;
    flex-basis: 168px;
    max-width: 168px;
}
.header-content__left img {
    max-width: 100%;
    height: auto;
}
/*
======================================================
    .header-content__right
======================================================
*/
.header-content__right {
    display: flex;
    align-items: center;
}
/*
======================================================
    .anker-link__group
======================================================
*/
.anker-link__group {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}
/*
======================================================
    .anker-link__item
======================================================
*/
.anker-link__item {
    list-style: none;
    padding-left: 25px;
    position: relative;
}
.anker-link__item a::before {
    content: '';
    position: absolute;
    top: -13px;
    left: calc(50% - 3px);
    background: url(../img/header/3squre.png);
    background-repeat: no-repeat;
    background-size: 9px 6px;
    width: 9px;
    height: 6px;
    display: block;
    opacity: 0;
    transition: opacity 0.75s ease;
}
.anker-link__item a:hover {
    color: #cc0909;
}
.anker-link__item a:hover:before {
    background: url(../img/header/3squre.png);
    background-repeat: no-repeat;
    background-size: 9px 6px;
    opacity: 1;
}
.anker-link__item a {
    text-decoration: none;
    color: #262626;
    font-size: 14px;
    position: relative;
    transition-duration: 0.3s;
    font-weight: bold;
}
/*
======================================================
    .contact
======================================================
*/
.contact {
    margin-left: 24px;
}
.contact a p {
    margin: 0;
    color: #cc0909;
}
/*
======================================================
    .contact-circle
======================================================
*/
.contact-circle {
    border: 1px solid #F7C1C1;
    border-radius: 50%;
    width: 95px;
    height: 95px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #cc0909;
    stroke: #cc0909;
    fill: none;
    transition-duration: 0.3s;
}
.contact-circle:hover {
    background-color: #cc0909;
    color: #fff;
    stroke: #fff;
}
.contact-circle .contact-item p {
    font-family: "Roboto", sans-serif;
    color: #cc0909;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 0px 0px 0px;
}
.contact-circle:hover .contact-item p {
    color: #fff;
}
/*
======================================================
    .contact-item
======================================================
*/
.contact-item p {
    font-size: 12px;
    color: #cc0909;
    transition-duration: 0.3s;
}
.contact-item svg {
    display: block;
    margin: 0 auto;
}
/*
======================================================
    .mini-header
======================================================
*/
.mini-header {
    background-color: #fff;
    position: fixed;
    top: 0;
    z-index: 12;
    display: none;
    opacity: 0;
    width: 100%;
    transition-duration: 0.3s;
}
/*
======================================================
    .mini-header-content__holder
======================================================
*/
.mini-header-content__holder {
    padding: 16px 40px;
}
.mini-header-content__left {
    padding-top: 10px;
    flex-basis: 128px;
    max-width: 128px;
}
.mini-header-content__left img {
    max-width: 100%;
    height: auto;
}
/*
======================================================
    .mini-header-content__right
======================================================
*/
.mini-header-content__right {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mini-header-content__right .anker-link {
    padding-right: 34px;
}
.mini-header-content__right .contact {
    margin: 0;
    border-left: 1px solid rgba(204, 9, 9, 0.4);
}
.mini-header-content__right .contact a {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #cc0909;
    stroke: #cc0909;
    fill: none;

    padding-left: 34px;
    transition: opacity 0.75s ease;
}
.mini-header-content__right .contact a p {
    font-family: "Roboto", sans-serif;
    color: #cc0909;
    font-size: 13px;
    font-weight: 700;
}
.mini-header-content__right .contact a svg {
    padding-left: 8px;
}
.mini-header-content__right .contact a:hover {
    opacity: 0.4;
}
/*
======================================================
    .SP時ヘッダー
======================================================
*/
/* headerを追従にする */
.sp-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 15;
}
/* headerのデザイン調整 */
.sp-header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}
/* サイトタイトルの見た目調整 */
.sp-header__logo{
    flex-basis: 128px;
    max-width: 128px;
    padding-top: 10px;
}
.sp-header__logo__link {
    font-size: 1.25em;
    font-weight: bold;
    color: inherit;
    text-decoration: none;

}

.sp-header__logo__link img {
    max-width: 100%;
    height: auto;
}

/* ハンバーガーボタンのデザイン調整 */
.sp-header__trigger {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    z-index: 9999; /* メニューを開いている時もクリックできるよう設定 */
}
/* ハンバーガーボタン内の線、デザイン調整 */
.sp-header__trigger > span {
    display: block;
    position: absolute;
    height: 3px;
    background-color: #cc0909;
    transform: translateX(-50%);
    transition-duration: 0.5s;
}
/* ハンバーガーボタン内の線、位置調整 */
.sp-header__trigger > span:first-child {
    width: 30px;
    top: 10px;
    left: 50%;
}
.sp-header__trigger > span:nth-child(2) {
    width: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.sp-header__trigger > span:last-child {
    width: 20px;
    bottom: 10px;
    left: 38%;
}
/* ハンバーガーボタンがクリックされた後、中の線デザイン */
.sp-header__trigger.active > span {
    background-color: #cc0909;
}
.sp-header__trigger.active > span:first-child {
    transform: translate(-50%, 9px) rotate(-45deg);
    transition: transform 0.3s ease;
}
.sp-header__trigger.active > span:nth-child(2) {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sp-header__trigger.active > span:last-child {
    transform: translate(-50%, -8px) rotate(45deg);
    transition: transform 0.3s ease;
    width: 30px;
    left: 50%;
}
/* メニューのデザイン */
.global-nav {
    position: fixed; /* 追従ヘッダーなどでも表示できるよう設定しておく */
    top: 0;
    left: 100%;
    width: 80%;
    height: 100vh;
    background-color: rgba(255,255,255,0.95);
    padding: 80px 20px 20px 30px;
    transition: all 0.3s ease;
    overflow: scroll;
    box-sizing: border-box;
}
@media screen and (min-width:600px) and (max-width:1024px) {
    .global-nav {
        width: 60%;
    }
}
.global-nav.active {
    left: 20%;
}
@media screen and (min-width:600px) and (max-width:1024px) {
    .global-nav.active {
        left: 40%;
    }
}
.global-nav__menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding-left: 0;
}
.global-nav__item {
    position: relative;
    margin-bottom: 2.5rem;
}
/*.global-nav__item:not(:last-child) {
    margin-bottom: 1.5rem;
}*/
.global-nav__item::after {
    content: '';
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px #333;
    border-right: solid 2px #333;
    position: absolute;
    top: 50%;
    right: 5%;
    margin-top: -4px;
    transform: rotate(45deg);
}
.global-nav__link {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    stroke: #cc0909;
    fill: none;
}
.global-nav__link.contact__link{
    font-family: "Roboto", sans-serif;
    color: #cc0909;
    font-size: 15px;
    font-weight: 700;    
}
/* ハンバーガーメニュー展開時、背景を固定 */
body.active {
    height: 100%;
    overflow: hidden;
}
.sp-header-content-layout {
    padding-top: 16px;
}
.sp-header-content-layout__holder {
    display: flex;
    align-items: center;
}
.sp-header-content-layout__block {
    padding-right: 16px;
    width: 40px;
    height: 40px;
}
.sp-header-content-layout__block a img {
    width: 100%;
    object-fit: cover;
}