@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

/*-----------------------
 全体共通 
-----------------------*/
* {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    list-style-type: none;
    box-sizing: border-box;
}
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Noto Sans JP", sans-serif;
    color: #3a3e48;
}
main, .wrapper {
    width: 960px;
    margin: 0 auto;
}
@media screen and (max-width: 960px) {
    main, .wrapper {
        width: 100%;
    }
}
main {
    padding: 30px 20px 50px;
}
.wrapper {
    padding: 0 20px;
}
section {
    margin-bottom: 100px;
}
a {
    color: #455b94;
    text-decoration: none;
}
a:hover {
    opacity: 0.8;
}
img {
    max-width: 100%;
    height: auto;
}

/* 見出し */
#page_title {
    margin-top: 90px;
}
@media screen and (max-width: 767px) {
    #page_title {
        margin-top: 62px;
    }
}
.head_wrapper {
    text-align: center;
    margin: 30px 0 50px;
}
.headline {
    font-family: "Noto Serif JP", serif;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 5px;
}
@media screen and (max-width: 480px) {
    .headline {
        font-size: 30px;
    }
}
.headline::after {
    display: block;
    content: '';
    border: 2px solid #455b94;
    width: 100px;
    margin: 8px auto 10px;
}
.small_head {
    font-weight: 500;
    letter-spacing: 3px;
}
.subhead {
    font-size: 20px;
    letter-spacing: 2px;
    margin: 20px 0;
    background-color: #efefef;
}
@media screen and (max-width: 480px) {
    .subhead {
        font-size: 18px;
    }
}
.half {
    width: 47%;
}
@media screen and (max-width: 767px) {
    .half {
        width: 100%;
    }    
}
.subhead::before {
    display: inline-block;
    content: '';
    border-left: 3px solid #455b94;
    height: 30px;
    margin-right: 10px;
    vertical-align: -8px;
}

/* 詳細を見るボタン */
.more_btn {
    display: block;
    width: 200px;
    padding: 10px 20px;
    margin: 20px auto 0;
    color: #fff;
    text-align: center;
    background-color: #8a96bc;
    transition: 0.4s;
}
.more_btn::after {
    display: inline-block;
    content: '';
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    transition: 0.4s;
    margin-left: 15px;
    vertical-align: 1px;
}
.more_btn:hover {
    opacity: 1;
    background-color: #455b94;
}
.more_btn:hover::after {
    transform: rotate(45deg) translate(3px, -3px);
}

/* パンくずリスト */
#breadcrumb {
    font-size: 14px;
}

/* ページネーション */
.nav-links .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 50px;
}
.nav-links a.page-numbers,
.nav-links .current,
.nav-links a.prev,
.nav-links a.next {
    position: relative;
    display: block;
    content: '';
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #8a96bc;
    color: #fff;
    text-align: center;
    line-height: 40px;
    margin-top: 0;
    transition: 0.4s; 
}
.nav-links a.page-numbers:hover {
    opacity: 1;
    background-color: #455b94;
}
.nav-links .current {
    background-color: #9e9fa0;
}
.nav-links a.prev {
    margin-right: 10px;
}
.nav-links a.next {
    margin-left: 10px;
}
.nav-links .dots {
    margin-top: 0;
}

/* ページ全体のスクロール */
.fade-in {
    opacity: 0;
    transition: all 2s ease;
    transform: translateY(50px);
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/*-----------------------
 ヘッダー
-----------------------*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 5;
}
.scroll-header{
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}
@media screen and (max-width: 767px) {
    header {
        padding: 5px 10px;
    }    
}

/* ヘッダーロゴ */
.header_logo {
    font-size: 0;
}
.header_logo img {
    width: 200px;
    object-fit: cover;
}
@media screen and (max-width: 767px) {
    .header_logo img {
        width: 150px;
    }    
}

/* ヘッダーメニュー */
.header_menu ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 25px;
}
.header_menu ul li a {
    position: relative;
    color: #3a3e48;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: 0.4s;
}
.header_menu ul li a::after {
    display: block;
    content: '';
    height: 2px;
    width: 70%;
    background-color: #455b94;
    position: absolute;
    bottom: -5px;
    left: 15%;
    transform: scale(0, 1);
    transition: 0.4s;
}
.header_menu ul li a:hover {
    color: #455b94;
    opacity: 1;
}
.header_menu ul li a:hover::after {
    transform: scale(1, 1);
}
@media screen and (max-width: 767px) {
    .header_menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 70%;
        height: 100vh;
        background-color: #fff;
        transform: translateX(100%);
        transition: 0.4s;
        opacity: 0;
    }
    .header_menu.active {
        transform: translateX(0);
        opacity: 1;
    }
    .header_menu ul {
        gap: 0;
    }
    .header_menu ul li {
        width: 100%;
        margin: 0 10px;
        border-bottom: 1px solid #ccc;
    }
    .header_menu ul li:first-child {
        border-top: 1px solid #ccc;
    }
    .header_menu ul li a {
        display: block;
        width: 100%;
        padding: 15px 0 15px 30px;
    }
    .header_menu ul li a::after {
        display: none;
    }
    .header_menu ul li a:hover {
        background-color: #455b94;
        color: #fff;
    }
    .header_menu ul li a:hover::after {
        transform: none;
    }
}

/* カレント表示 */
.header_menu ul li a.current {
    color: #455b94;
}
.header_menu ul li a.current::after {
    display: block;
    content: '';
    height: 2px;
    width: 70%;
    background-color: #455b94;
    position: absolute;
    bottom: -5px;
    left: 15%;
    transform: scale(1, 1);
}
@media screen and (max-width: 767px) {
    .header_menu ul li a.current::after {
        display: inline-block;
        content: '';
        width: 0;
        height: 0;
        background: none;
        border: 7px solid transparent;
        border-left: 7px solid #455b94;
        position: absolute;
        left: 3%;
        bottom: 22px;
        opacity: 1;
    }
    .header_menu ul li a.current:hover {
        color: #fff;
    }
}

/* ハンバーガーメニュー */
.hamburger {
    position: fixed;
    top: 5px;
    right: 10px;
    width: 50px;
    height: 50px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 10;
}
@media screen and (min-width: 768px) {
    .hamburger {
        display: none;
    }    
}
.line {
    display: inline-block;
    position: absolute;
    left: 10px;
    width: 30px;
    height: 2px;
    background-color: #3a3e48;
    transition: 0.4s;
}
.line:nth-of-type(1) {
    top: 8px;
}
.line:nth-of-type(2) {
    top: 17px;
}
.line:nth-of-type(3) {
    top: 26px;
}
.line:nth-of-type(3)::after {
    display: block;
    content: 'MENU';
    position: absolute;
    top: 8px;
    left: -2.8px;
    color: #3a3e48;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}
.hamburger.active .line:nth-of-type(1) {
    top: 12px;
    left: 12px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
}
.hamburger.active .line:nth-of-type(2) {
    opacity: 0;    
}
.hamburger.active .line:nth-of-type(3) {
    top: 24px;
    left: 12px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
}
.hamburger.active .line:nth-of-type(3)::after {
    display: block;
    content: 'CLOSE';
    transform: translateY(0) rotate(-45deg);
    top: 10px;
    left: 8px;
}

/*-----------------------
 トップ画像
-----------------------*/
#mainvisual {
    position: relative;
    overflow: hidden;
}
.catchprase_ja, .catchprase_en {
    position: absolute;
    font-family: "Noto Serif JP", serif;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(255, 255, 255, 0.5);
    opacity: 0;
    animation: fadecatch 2s ease 1s forwards;
}
.catchprase_ja {
    top: 65%;
    left: 10%;
    font-size: 40px;
    letter-spacing: 8px;
}
.catchprase_en {
    top: 80%;
    left: 10%;
    font-size: 30px;
    letter-spacing: 5px;
    animation-delay: 2s;
}
@keyframes fadecatch {
    0% {
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-img img {
    position: relative;
    z-index: -1;
    width: 100%;
    height: 900px;
    object-fit: cover;
    filter: brightness(90%);
    animation: fadeimg 3s ease forwards;
}
@media screen and (max-width: 1200px) {
    .fade-img img {
        height: 750px;
    }
    .catchprase_ja {
        top: 62%;
        left: 7%;
    }
    .catchprase_en {
        left: 7%;
    }    
}
@media screen and (max-width: 960px) {
    .fade-img img {
        height: 600px;
    }
    .catchprase_ja {
        top: 60%;
        font-size: 35px;
    }
    .catchprase_en {
        font-size: 25px;
    }
}
@media screen and (max-width: 767px) {
    .fade-img img {
        height: 100%;
    }
    .catchprase_ja {
        top: 58%;
        left: 5%;
        font-size: 27px;
    }
    .catchprase_en {
        left: 5%;
        font-size: 18px;
    }    
}
@media screen and (max-width: 480px) {
    .catchprase_ja {
        top: 60%;
        left: 3%;
        font-size: 20px;
    }
    .catchprase_en {
        left: 3%;
        font-size: 16px;
    }    
}
@keyframes fadeimg {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}
/*-----------------------
 お知らせ
-----------------------*/
/* トップページ */
.info_list {
    margin: 0 auto;
    padding: 20px 10px;
    border-top: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
}
.info_list ul li {
    display: flex;
    gap: 0 50px;
    padding: 15px 20px;
}
.info_list ul li:not(:last-child) {
    border-bottom: 1px dotted #ccc;
}
.info_list ul li time {
    font-weight: 500;
}
@media screen and (max-width: 480px) {
    .info_list ul li {
        flex-direction: column;
        gap: 10px 0;
    }
    .info_list ul li a {
        margin-left: 10px;
    }
}


/* 個別ページ */
.info_img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.info_text {
    padding: 15px 0 50px;
}
.info_contents li {
    padding: 15px 20px;
    border-bottom: 1px dotted #ccc;
    display: flex;
    gap: 0 50px;
}
.info_contents li time {
    font-weight: 500;
}
@media screen and (max-width: 767px) {
    .info_img {
        height: 200px;
    }
}
@media screen and (max-width: 480px) {
    .info_img {
        height: 150px;
    }
    .info_contents li {
        flex-direction: column;
        gap: 10px 0;
    }
    .info_contents li a {
        margin-left: 10px;
    }
}
@media screen and (max-width: 390px) {
    .info_img {
        height: 100px;
    }
}
/*-----------------------
 制作実績
-----------------------*/
/* トップページ */
.works_list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px 10px;
    margin-bottom: 50px;
}
.works_list li {
    width: 32%;
    transition: 0.4s;
    overflow: hidden;
}
.works_list li:hover {
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    transform:  translateY(-5px);
}
.works_item {
    color: #3a3e48;
}
.works_item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1.5 / 1;
    object-fit: fill;
    transition: 0.4s;
}
.works_item:hover img{
    transform: scale(1.1);
}
.works_title time {
    display: block;
    color: #455b94;
}
.works_title {
    position: relative;
    display: block;
    padding: 5px 10px 10px 10px;
    font-size: 18px;
    font-weight: 500;
    background-color: #fff;
    z-index: 2;
}
@media screen and (max-width: 767px) {
    .works_list li, .works_item img {
        width: 100%;
    }  
}

/* 個別ページ */
.works_img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.works_text {
    padding: 15px 0 50px;
}
.works_gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 80px;
}
.works_gallery li {
    width: 19%;
    position: relative;
    font-size: 0;
}
.works_gallery li a img {
    object-fit: cover;
    transition: 0.4s;
    aspect-ratio: 1.3 / 1;
}
.hover_text {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: 0.4s ease-in-out;
}
.works_gallery li:hover .hover_text {
    opacity: 1;
    cursor: pointer;
}
@media screen and (max-width: 1024px) {
    .works_gallery li {
        width: 32%;
    }
}
@media screen and (max-width: 767px) {
    .works_img {
        height: 200px;
    }
    .works_gallery {
        gap: 5px;
    }
    .hover_text {
        font-size: 13px;
    }    
}
@media screen and (max-width: 480px) {
    .works_img {
        height: 150px;
    }
    .works_gallery li {
        width: 48%;
    }
}
@media screen and (max-width: 390px) {
    .works_img {
        height: 100px;
    }
}
/*-----------------------
 会社案内
-----------------------*/
/* トップページ */
.catch_wrapper {
    margin-bottom: 30px;
}
.catch_ja {
    display: block;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 3px;
}
.catch_en {
    display: block;
    font-size: 20px;
    color: #ccc;
}
.about_inner {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 50px 80px;
}
.about_inner p {
    line-height: 2;
    font-size: 18px;
}
.about_link dt {
    font-size: 18px;
    letter-spacing: 2px;
    margin-top: 12px;
    float: left;
}
.about_link dd {
    font-size: 0;
    margin-left: 150px;
}
.about_link a {
    display: block;
    color: #3a3e48;
}
.about_link a + a {
    margin-top: 13px;
}
.link_btn {
    position: relative;
    display: inline-block;
    content: '';
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #8a96bc;
    transition: 0.4s; 
}
.link_btn::before {
    position: absolute;
    top: 25px;
    right: 13px;
    display: inline-block;
    content: '';
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: 0.4s;
    transform: rotate(180deg);
}
.link_btn::after {
    position: absolute;
    top: 19px;
    right: 13px;
    display: inline-block;
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transition: 0.4s;
    transform: rotate(45deg);
}
.about_link a:hover .link_btn {
    background-color: #455b94;
    opacity: 1;
}
.about_link a:hover .link_btn::before {
    transform: rotate(180deg) translateX(-3px);
}
.about_link a:hover .link_btn::after {
    transform: translateX(3px) rotate(45deg);
}
@media screen and (max-width: 767px) {
    .about_inner {
        flex-direction: column;
        align-items: center;
    }
    .about_link dd {
        margin-left: 220px;
    }    
}
@media screen and (max-width: 480px) {
    .catch_ja {
        font-size: 25px;
    }
}

/* 個別ページ 代表あいさつ */
.greet_inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 70px;
}
.greet_img {
    width: 250px;
    object-fit: cover;
}
.greet_name {
    width: 40%;
    font-size: 23px;
    text-align: center;
}
.greet_text {
    width: 50%;
}
.greet_text p {
    line-height: 2;
}
.text_bold {
    display: block;
    font-size: 45px;
    font-weight: 700;
    letter-spacing: 10px;
    text-align: center;
    margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
    .greet_inner {
        flex-direction: column;
        gap: 30px;
    }
    .greet_img {
        width: 60%;
        margin: 0 auto;
    }
    .greet_text, .greet_name {
        width: 100%;
    }  
}
@media screen and (max-width: 480px) {
    strong {
        font-size: 40px;
    }        
}

/* 個別ページ 会社概要 */
.company_list {
    padding-top: 15px;
    margin-bottom: 70px;
}
.company_list div {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px 0;
    padding-left: 20px;
}
.company_list div:not(:last-child) {
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.company_list div dt {
    width: 25%;
    font-weight: 500;
}
.company_list div dd {
    width: 75%;
}
.company_list div dd iframe {
    width: 100%;
    height: 500px;
    margin-top: 10px;
}
@media screen and (max-width: 767px) {
    .company_list div {
        flex-direction: column;
        gap: 10px;
        padding-left: 0;
    }    
    .company_list div dt {
        width: 100%;
        padding: 0 10px;
    }
    .company_list div dd {
        width: 100%;
        padding: 0 20px;
    }
}
@media screen and (max-width: 480px) {
    .company_list div dd iframe {
        height: 400px;
    }
}

/* 個別ページ 沿革 */
.company_history {
    width: 100%;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 15px 0 0 20px;
    margin-bottom: 70px;
}
.company_history dt {
    position: relative;
    width: 20%;
    font-weight: 500;
    padding: 20px 10px 30px 0;
}
.company_history dt::after {
    position: absolute;
    top: 26px;
    right: -7px;
    display: inline-block;
    content: '';
    width: 12px;
    height: 12px;
    background-color: #455b94;
    vertical-align: middle;
    border-radius: 50%;
    z-index: 1;
}
.company_history dd {
    position: relative;
    width: 80%;
    padding: 20px 0 30px 45px;
    border-left: 2px solid #8a96bc;
}
@media screen and (max-width: 767px) {
    .company_history {
        flex-direction: column;
        padding-left: 10px;
    }    
    .company_history dt {
        width: 100%;
        padding: 10px 0 0 20px;
        border-left: 2px solid #8a96bc;
    }
    .company_history dt::before {
        position: absolute;
        top: 17px;
        left: -7px;
        display: inline-block;
        content: '';
        width: 12px;
        height: 12px;
        background-color: #455b94;
        vertical-align: middle;
        border-radius: 50%;
        z-index: 1;
    }
    .company_history dt::after {
        display: none;
    }
    .company_history dd {
        width: 100%;
        padding: 10px 0 30px 30px;
    }
    .company_history dd:last-child {
        padding-bottom: 10px;
    }
}


/* 個別ページ 役員・社員紹介 */
.member_list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 15px;
    overflow: hidden;
}
.member_item {
    width: 20%;
    text-align: center;
    letter-spacing: 2px;
    opacity: 0;
    transition: all 2s ease;
}
.member_item.show {
    opacity: 1;
}
.member_item:nth-child(1), .member_item:nth-child(5) {
    transform: translateX(100%);
}
.member_item:nth-child(2) {
    transform: translateX(50%);
}
.member_item:nth-child(3) {
    transform: translateX(-50%);
}
.member_item:nth-child(4) {
    transform: translateX(-100%);
}
.member_item:nth-child(1).show, .member_item:nth-child(2).show,
.member_item:nth-child(3).show, .member_item:nth-child(4).show,
.member_item:nth-child(5).show {
    transform: translateX(0);
}
.member_item dl dt {
    margin-bottom: 10px;
}
.member_name {
    font-size: 20px;
    font-weight: 500;
}
.name_small1 {
    color: #f29760;
}
.name_small2 {
    color: #d6e59d;
}
.name_small3 {
    color: #b6ded8;
}
.name_small4 {
    color: #ffcccb;
}
.name_small5 {
    color: #b09bef;
}
.comment {
    display: block;
    font-size: 14px;
    margin-top: 20px;
    padding-bottom: 50px;
    text-align: left;
    letter-spacing: 0;
}
@media screen and (max-width: 767px) {
    .member_list {
        flex-direction: column;
        gap: 50px;
    }
    .member_item {
        width: 100%;
    }    
    .member_item:not(:last-child) {
        border-bottom: 1px dashed #ccc;
    }  
    .member_item img, .member_item dl {
        width: 60%;
        margin: 0 auto;
    }
}
/*-----------------------
 業務内容
-----------------------*/
.business_img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.business_text {
    padding: 15px 0 50px;
}
.business_contents {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.business_list {
    width: 47%;
}
.business_list img {
    width: 100%;
    margin-bottom: 5px;
}
@media screen and (max-width: 767px) {
    .business_contents {
        flex-direction: column;
        gap: 50px;
    }
    .business_img {
        height: 200px;
    }    
    .business_list {
        width: 100%;
    }   
}
@media screen and (max-width: 480px) {
    .business_img {
        height: 150px;
    }    
}
@media screen and (max-width: 390px) {
    .business_img {
        height: 100px;
    }
}

/*-----------------------
 運営サイト
-----------------------*/
.manage_img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.manage_text {
    padding: 15px 0 50px;
}
.manage_contents {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.manage_list {
    width: 47%;
}
.manage_list a img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}
@media screen and (max-width: 767px) {
    .manage_img {
        height: 200px;
    }
    .manage_contents {
        flex-direction: column;
        gap: 50px;
    }
    .manage_list {
        width: 100%;
    }   
    .manage_list a img {
        height: auto;
    }    
}
@media screen and (max-width: 480px) {
    .manage_img {
        height: 150px;
    }
}
@media screen and (max-width: 390px) {
    .manage_img {
        height: 100px;
    }
}

/*-----------------------
 お問い合わせ
-----------------------*/
/* トップページのボタン */
.contact_btn {
    display: block;
    width: 400px;
    padding: 10px;
    margin: 50px auto 0;
    background: linear-gradient(180deg, #8a96bc 0%, #455b94 60%);
    border-radius: 5px;
    color: #fff;
    font-size: 25px;
    text-align: center;
    letter-spacing: 2px;
    transition: 0.4s ease;
}
@media screen and (max-width: 480px) {
    .contact_btn {
        width: 85%;
        font-size: 20px;
    }
}

/* 個別ページ */
.contact_text {
    padding-top: 15px;
}
.contact_table {
    width: 100%;
    margin-top: 20px;
}
.contact_table th, .contact_table td {
    padding: 10px;
}
.contact_table th {
    width: 30%;
    text-align: left;
    font-weight: 500;
    border-radius: 10px;
}
.contact_table input[type="text"],
.contact_table input[type="email"],
.contact_table textarea {
    border: 1px solid #ccc;
    padding: 5px;
}
.contact_table input[type="text"],
.contact_table input[type="email"] {
    width: 50%;
}
.contact_table textarea {
    width: 100%;
    height: 200px;
}
.form_btn input {
    width: 30%;
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    margin: 20px auto;
    padding: 10px;
    background-color: #455b94;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
    border: none;
    cursor: pointer;
}
.form_btn input:hover {
    opacity: 0.8;
}
@media screen and (max-width: 767px) {
    .contact_table tr, .contact_table th, .contact_table td {
        display: block;
    }    
    .contact_table th {
        width: 100%;
        text-align: center;
        border-top: none;
        border-bottom: none;
    }    
    .contact_table input[type="text"],
    .contact_table input[type="email"] {
        width: 100%;
    }
}

/*-----------------------
 投稿記事ページ
-----------------------*/
.article_title {
    font-size: 20px;
    text-align: left;
    padding: 10px;
    border-bottom: 2px solid #8a96bc;
}
.article_date {
    display: block;
    text-align: right;
    margin-bottom: 10px;
}
.article_text {
    line-height: 2;
    margin: 15px 10px 80px;
}
.article_text p {
    margin: 10px 0;
}
.article_img {
    display: block;
    width: 60%;
    margin: 0 auto;
}
@media screen and (max-width: 767px) {
    .article_img {
        width: 100%;
    }    
}
.article_pagenation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 50px;
}
.article_pagenation li a {
    display: inline-block;
    background-color: #8a96bc;
    color: #fff;
    padding: 5px 10px;
    transition: 0.4s;
}
.article_pagenation li a:hover {
    opacity: 1;
    background-color: #455b94;
}
.url {
    display: block;
    text-align: right;
    margin: 20px 0 30px;
}
.date {
    display: block;
}
.taglist {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
}
.tag {
    display: inline-block;
    background-color: #455b94;
    color: #fff;
    font-size: 13px;
    padding: 3px 5px;
    border-radius: 5px;
}
/*-----------------------
 プライバシーポリシー
-----------------------*/
.privacy_inner:not(:last-child) {
    margin-bottom: 50px;
}
.privacy_list dt {
    font-weight: 700;
    margin-bottom: 10px;
}
.privacy_list dd {
    margin: 0 0 20px 2em;
}
.privacy_list dd ul {
    text-indent: -1.5em;
    padding-left: 1.5em;
    margin: 5px 0 0 1em;
}

/*-----------------------
 フッター
-----------------------*/
footer {
    width: 100%;
    background-color: #8a96bc;
    padding: 30px 0 10px;
    margin-top: auto;
    text-align: center;
}
.footer_inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}
.footer_box {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}
.footer_logo img {
    width: 200px;
    object-fit: cover;
}
.footer_adress p {
    text-align: left;
}
.privacy {
    display: inline-block;
    font-size: 14px;
    color: #3a3e48;
    margin-bottom: 10px;
    transition: 0.4s ease;
}
.privacy:hover {
    color: #fff;
}
.copyright {
    font-size: 14px;
}
@media screen and (max-width: 767px) {
    .footer_inner {
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }
    .footer_box {
        width: 100%;
        justify-content: space-between;
    }
}
@media screen and (max-width: 480px) {
    .footer_box {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .footer_logo img {
        width: 180px;
    }
    .footer_adress p {
        text-align: center;
    }
}

/* フッターメニュー */
.footer_menu {
    display: flex;
    align-items: flex-start;
    gap: 0 50px;
    text-align: left;
}
.footer_menu ul li {
    padding: 10px 0;
}
.footer_menu ul li a {
    color: #3a3e48;
    transition: 0.4s ease;
}
.footer_menu ul li a:hover {
    color: #fff;
}
@media screen and (max-width: 767px) {
    .footer_menu, .footer_menu ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0 30px;
    }
    .footer_menu ul li {
        padding: 5px 0;
    }    
}

/* ページアップボタン */
.page_up {
    position: fixed;
    bottom: 30px;
    right: 15px;
    width: 50px;
    height: 50px;
    color: #3a3e48;
    border-color: #3a3e48;
    border: 1px solid #3a3e48;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 3;
    transition: 0.4s ease;
}
.page_up:hover {  
    color: #fff;
    border: 1px solid #455b94;  
    background: none;
    background-color: #455b94;
    opacity: 1;
}
.arrow {
    display: inline-block;
    position: absolute;
    top: 12px;
    left: 14px;   
    width: 20px;
    height: 20px;
    border-top: 2px solid; 
    border-right: 2px solid; 
    transform: rotate(-45deg);
}
.arrow::after {
    display: block;
    content: 'TOP';
    position: absolute;
    top: 10px;
    right: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    transform: rotate(45deg);
}

/* 404ページ */
.text_404 {
    text-align: center;
    margin-bottom: 50px;
}
.link {
    margin-top: 80px;
    text-align: center;
}
.link p {
    font-size: 20px;
    font-weight: 700;
}
.link_list {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 15px;
}
@media screen and (max-width: 480px) {
    .link_list {
        flex-direction: column;
    }
}
.list_btn {
    display: inline-block;
    color: #455b94;
    border: 1px solid #455b94;
    border-radius: 10px;
    padding: 8px 10px;
    transition: 0.4s;
}
.list_btn:hover {
    background-color: #455b94;
    color: #fff;
    opacity: 1;
}