@charset "utf-8";

/* 背景(青系統)：#1E3A67 文字（白）：#ffffff 黒：#000000 水色：#747884 */
/* サイト全体の設定 */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    color: #000;
    scroll-behavior: smooth;
}

body {
    background-color: fff;
    margin: 0;
}

/* 画像のレスポンシブ対応 */
img {
    max-width: 100%;
    height: auto;
}

/* 画像のレスポンシブ対応ここまで */

/* リンクの設定 */
a:link {
    color: #1E3A67;
    text-decoration: none;
}

a:visited {
    color: #1E3A67;
    text-decoration: none;
}

a:hover {
    color: #1E3A67;
    text-decoration: underline;
}

a:active {
    color: #1E3A67;
    text-decoration: underline;
}

/* リンクの設定ここまで */

/* 見出し・本文の設定 */

h1 {
    font-size: 2.6rem;
    text-align: left;
}

h2 {
    font-size: 2.2rem;
    text-align: left;
    margin: 2rem 0;
}

h3 {
    font-size: 1.6rem;
    text-align: left;
}

/* 見出し・本文の設定ここまで */

/* ふわっと表示の制御 */
.view {
    opacity: 0;
    transform: translate(0, 70px);
    transition: all 500ms;
}

.view.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}

/* サイト全体の設定ここまで */

/* ヘッダーの設定 */

header {
    margin: 0;
    padding: 0;
    z-index: 9999;
    /* position: relative; */
    overflow: hidden;
    /* border: 2px solid #ff0000; */
}

.nav {
    display: none;
}

.h_wrapper {
    position: relative;
    display: flex;
    justify-content: left;
    align-items: center;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: left;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    margin-left: 16vw;
    margin-right: 16vw;
}

nav ul li {
    padding: 1rem;
}

nav ul li:nth-child(1) {
    padding-left: 0;
}

/* .nav_c {
    background-color: #ccc;
} */

.sns ul {
    position: absolute;
    top: 8px;
    right: 0;
    list-style-type: none;
    display: flex;
    justify-content: right;
    flex-wrap: nowrap;
    gap: 2rem;
    padding: 0 16vw 0 0;
}

.sns ul li img {
    width: 32px;
    height: 32px;
}

/* ここから下がハンバーガーメニューに関するCSS */

/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    /* 重なり順を一番上にする */
    cursor: pointer;
    margin-left: 16vw;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
    bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
    top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* メニューのデザイン*/
.nav_content {
    width: 100%;
    height: 12%;
    position: fixed;
    top: 0;
    left: 100%;
    /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: rgba(255, 255, 255, .8);
    transition: .5s;
}

/* メニュー黒ポチを消す */
.nav_list {
    /* font-size: 12px; */
    list-style: none;
    gap: 8px;
    margin-left: 72px;
    margin-right: 0;
    align-items: center;
    margin-top: 0;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked~.nav_content {
    left: 0;
    /* メニューを画面に入れる */
}

/* ヘッダー・ナビゲーションリンクの設定 */

nav ul li a:link {
    color: #000;
    text-decoration: none;
}

nav ul li a:visited {
    color: #000;
    text-decoration: none;
}

nav ul li a:hover {
    color: #000;
    text-decoration: none;
}

nav ul li a:active {
    color: #000;
    text-decoration: none;
}

/* ヘッダー・ナビゲーションリンクの設定ここまで */

/* ヘッダーの設定ここまで */

/* キービジュアルの設定 */
.keyvisual {
    z-index: 0;
}

.keyvisual_img {
    opacity: 0;
    margin: 0 16vw;
}

.keyvisual_img img {
    position: relative;
    object-fit: cover;
}

.keyvisual h1 {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    border-bottom: none;
    background: rgba(255, 255, 255, .5);
    padding: 2rem 2rem 2rem 10rem;
}

/* 事例紹介用　トップ画像設定 */
.webtop {
    margin-bottom: 6vh;
}

.bg_blur img {
    object-fit: cover;
    object-position: top;
    filter: blur(3px);
    width: 100vw;
    height: 70vh;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.webtop .intro {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, .7);
    padding: 1em 10vw 1em 10vw;
    overflow: hidden;
}

.webtop .intro h2 {
    padding: 0;
    margin: 0;
}

/* 事例紹介用　トップ画像設定ここまで */

/* タブ切り替え */
/*タブを横並びに*/
.tab-wrapper {
    display: flex;
}

.tab:not(:last-of-type) {
    margin-right: 2px;
}

/*ラジオボタンを全て非表示に*/
input[name="tab-radio"] {
    display: none;
}

.tab-label {
    display: block;
}

.tab-label {
    background-color: #b4bdbf;
    color: #525252;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 20px;
    transition: .3s;
}

.tab-label:hover {
    opacity: .7;
}

/* 選択されたタブの見た目 */
.selected>.tab-label {
    color: #000;
    background-color: #fff;
    transition: .3s;
}

/*タブパネル*/
.tab-panel {
    background-color: #fff;
    /* height: 170px; */
}

.tab-panel>div {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

/*タブパネルの初期状態として選ばれてないものを非表示に*/
.panel-b {
    display: none;
}

/* タブ切り替えここまで */

.keywords ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    list-style-type: none;
    padding: 0;
    gap: 1rem;
}

.keywords ul li {
    background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .1));
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    padding-top: 14px;
    text-align: center;
    animation: move-bottom 0.5s ease-in-out;
}

.keywords ul li:hover {
    background-color: rgba(96, 255, 255, .5);
    /* color: #0f0f0f; */
    animation: move-top 0.5s ease-in-out;
    transform: translateX(0) translateY(-10px) scale(1.1);
}

/* .keywords-b {
    margin: 0 auto;
} */

.keywords-b ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    list-style-type: none;
    padding: 0;
    gap: 3rem;
}

.keywords-b ul li {
    background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .1));
    border-radius: 50%;
    font-size: 1.6rem;
    max-width: 160px;
    height: 160px;
    margin: 0 auto;
    padding-top: 36px;
    text-align: center;
    animation: move-bottom 0.5s ease-in-out;
}

.keywords-b ul li:hover {
    background-color: rgba(96, 255, 255, .5);
    /* color: #0f0f0f; */
    animation: move-top 0.5s ease-in-out;
    transform: translateX(0) translateY(-10px) scale(1.1);
}

.keywords h3 {
    padding: 0.5rem;
    text-align: center;
    background-color: #ccc;
    border-radius: 10px;
}

.keywords-b a:link {
    color: #1E3A67;
    text-decoration: none;
}

.keywords-b a:visited {
    color: #1E3A67;
    text-decoration: none;
}

.keywords-b a:hover {
    color: #1E3A67;
    text-decoration: none;
}

.keywords-b a:active {
    color: #1E3A67;
    text-decoration: none;
}

/* キービジュアルの設定ここまで */

/* メイン領域の設定 */
main {
    margin: 0 16vw 0 16vw;
}

section {
    margin-bottom: 120px;
}

.flex_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6%;
    padding: 2rem;
}

.contents_bgw {
    padding: 0.1rem 2rem;
    background-color: #fff;
    border-radius: 20px;
}

.contents_bgg {
    padding: 1rem 2rem;
    background-color: #eee;
    border-radius: 20px;
}

.b-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    padding: 0;
    margin-bottom: 3rem;
}

.harf {
    width: 50%;
}

.b_img,
.b_text {
    padding: 0 1rem;
    margin-top: 1rem;
    width: 50%;
}

.prof_text {
    padding: 0 1rem;
    margin-top: 1rem;
    width: 100%;
}

.prof_img {
    width: 30%;
}

.prof_img img {
    border-radius: 50%;
}

.wrapper-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    place-items: center;
    gap: 6%;
    margin-bottom: 6vh;
}

.wrapper-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    place-items: center;
    gap: 2vw;
    margin: 0 2vw 10vh;
}

.web-wrapper-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    place-items: center;
    background-color: #eee;
    padding: 6%;
    margin-bottom: 6vh;
    border-radius: 10px;
    gap: 6%;
}

.item {
    /* border:1px solid #000; */
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
}

.item:hover {
    animation: scale 0.5s ease-in-out;
    transform: scale(1.05);
    /* box-shadow: 2px 2px 2px 1px rgb(0 0 0 / 20%); */
}

.logo_img {
    text-align: center;
}

.designworks h3 {
    margin: 4rem 2vw 1rem;
}

.triangle {
    background-color: #eee;
    width: 60px;
    height: 48px;
    clip-path: polygon(100% 0%, 50% 100%, 0% 00%);
    margin: 10px auto 10px auto;
}

/* 制作実績詳細情報の表 */
table {
    border-top: 1px solid #1E3A67;
    border-collapse: collapse;
    width: 100%;
}

table tr {
    border-bottom: 1px solid #1E3A67;
}

table tr td {
    padding: 1rem;
}

table tr td:nth-child(1) {
    width: 25%;
}

table tr td:nth-child(2) {
    width: 75%;
}

/* 制作実績詳細情報の表ここまで */

input[type="text"] {
    width: 20em;
}

input[type="email"] {
    width: 20em;
}

input[type="submit"] {
    margin: 1rem;
    padding: 1rem 2rem;
    color: #fff;
    background-color: #1E3A67;
    border-radius: 10px;
    border: 0;
}

.submit {
    text-align: center;
}

/* メイン領域の設定ここまで */

/* フッターの設定 */
footer {
    margin: 1rem auto 1rem auto;
    padding: 1rem;
    /* border: 2px solid #ff0000; */
}

.gotop {
    text-align: center;
    margin-bottom: 3rem;
}

.gotop p a {
    text-align: center;
    padding: 1rem;
    background-color: #ccc;
    border-radius: 10px;
}

.copyright {
    text-align: center;
}

/* フッターの設定ここまで */

/* 各作品紹介のページ */
.mainimage {
    /* border: 1px solid #000; */
    text-align: center;
}

/* 各作品紹介のページここまで */

/* レスポンシブ対応 */
/* ナビゲーション周り */
@media (max-width:1024px) {
    header {
        background-color: rgba(255, 255, 255, .7);
        top: 0;
        position: sticky;
    }

    .nav {
        display: block;
    }

    .nav_pc {
        display: none;
    }

    .nav_list {
        margin-left: 24vw;
        margin-right: 0;
        gap: 2rem;
    }

    nav ul li {
        padding: 1rem 0;
    }

    .sns ul {
        top: 0px;
    }
}

/* ナビゲーション周り */

@media (max-width:767px) {
    .h_wrapper {
        max-width: 100%;
        position: relative;
        display: flex;
        justify-content: left;
        align-items: center;
    }

    .sns ul {
        padding: 0 4vw 0 0;
    }

    .drawer_open {
        margin-left: 0;
    }

    .nav_list {
        margin-left: 72px;
        gap: 2rem;
    }

    nav ul li {
        padding: 1rem 0;
    }

    .nav_list li:nth-child(4) {
        display: none;
    }    

    .keyvisual_img {
        position: relative;
        margin: 0;
    }

    .keyvisual_img img {
        height: 80vh;
        object-fit: cover;
    }

    .keywords ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .keyvisual h1 {
        position: absolute;
        top: 42%;
        left: 50%;
        width: 100%;
        border-bottom: none;
        background: rgba(255, 255, 255, .5);
        padding: 2rem;
    }

    section {
        margin-bottom: 100px;
    }

    main {
        margin: 0 4%;
    }

    .wrapper-3 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        place-items: center;
        gap: 2%;
        margin-bottom: 20vh;
    }

    .web-wrapper-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        place-items: center;
        background-color: #eee;
        padding: 6%;
        margin-bottom: 6vh;
        border-radius: 10px;
        gap: 6%;
    }

    .flex_wrapper,
    .b-container {
        display: block;
    }

    .b_img,
    .b_text {
        width: auto;
        padding: 0;
        margin: 0 auto;
    }

    .prof_img {
        padding: 0;
        margin: 0 auto;
    }

    .prof_text {
        width: auto;
        padding: 0;
        margin: 0 auto;
    }

    .contents_bgw {
        margin: 1rem 0;
    }

    .harf {
        width: 100%;
    }

    /* 制作実績詳細情報の表 */
    table tr td {
        display: block;
        padding: 1rem;
    }

    table tr td:nth-child(1),
    table tr td:nth-child(2) {
        width: 100%;
    }

    table tr td:nth-child(1) {
        text-align: center;
        font-weight: bold;
        background-color: #f0f0f0;
        border-bottom: 1px solid #1E3A67;
    }

    table tr td:nth-child(2) {
        padding: 0.5rem;
        text-align: center;
        margin-top: 8px;
        margin-bottom: 20px;
    }

    /* 制作実績詳細情報の表ここまで */

    .keywords-b ul {
        display: block;
        list-style-type: none;
    }

    .keywords-b ul li {
        margin: 24px auto;
    }




}