@charset "utf-8";

/*
Theme Name: ウェブトライ
Theme URI: https://webtry.net
Description: ウェブトライ
Version: 2.0
Author: Webtry_Hachisuga
Author URI: https://webtry.net
*/

/*全体*/
.pc {
    display: none;
}
h1 {
    padding: 0 0.5rem;
}
h3 {
    padding: 1.5rem;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
             "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
/*ヘッダー*/
.header-top {
    display: flex;
    justify-content: space-between;
}
.logo img {
    height: 50px;
    width: auto;
}
.logo a img:hover {
    transform: scale(1.1);
}
.line {
    display: flex;
    align-items: center;
    height: 50px;
    padding-left: 100px;
    padding-top: 7px;
}
.line a img {
    height: 50px;
    width: auto;
}
.line a img:hover {
    transform: scale(1.1);
}
#breadcrumb {
    font-size: 0.8rem;
}
/*ハンバーガーメニュー*/
.btn-menu {
    width: 50px;
    height: 50px;
    background-color: blue; /* 青地 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 8000;
}
.btn-menu span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
/* ×（バツ）に変形 */
.btn-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  .btn-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .btn-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
/*モバイルメニュー*/
#menu-panel {
    background-color: blue;
    background-size: cover;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 4000;
    padding: 2rem;
    width: max(32vw, 20rem);
    height: 92vh;
    box-shadow: 0 0 2rem black;
    translate: 100vw;
}
.menu-list {
    list-style: none;
    margin-top: 5rem;
}
.menu-list li {
    margin: 1rem 0.5rem;
}
.menu-list li a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bolder;
    line-height: 3rem;
}
.menu-list li a:hover {
    font-size: 1.7rem;
}
/*タイトル*/
.top-title {
    margin-top: 50px;
}
/*トップ制作例*/
.top-example_container {
    overflow: hidden;
    width: 100%;
}
.top-example_wrapper {
    display: flex;
    white-space: nowrap;
}
.top-example_image {
    display: flex;
    padding-top: 70px;
    animation: scroll-left 30s linear infinite;
    gap: 30px;
}
.top-example_image img {
    width: 70vw;
}
.people {
    padding-top: 50px;
}
.people img {
    width: 100%;
}
/*アニメーション*/
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.closing-text {
    margin: 1rem;
}
/*コンテンツメニュー*/
#service-menu {
    margin-top: 100px;
    margin-bottom: 100px;
}
.service {
    padding-top: 80px;
}
.title-bar {
    text-align: center;
    display: block;
    background-color: blue;
}
.title-bar h2 {
    color: white;
    line-height: 2.5rem;
}
.service-icon {
    width: 30vw;
    height: 30vw;
    border-radius: 50%;
    border: solid 3px rgba(0, 0, 255, 0.3);
    display: block;
    margin: 0 auto;
    position: relative;
}
.service-icon:hover {
    background-color: rgba(0, 0, 255, 0.3);
    border: none;
}
.service-icon:hover .icon-svg .st0 {
    fill: white;
}
.icon-svg {
    max-width: 40%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.icon-svg path {
    fill: rgba(0, 0, 255, 0.3);
    transition: fill 0.3s ease;
}
.icon-svg:hover path {
    fill: white;
}
.icon-svg .st0 {
    fill: rgba(0, 0, 255, 0.3);
    transition: fill 0.3s ease;
}
.service-title {
    text-align: center;
}
.service-text {
    margin: 0 1rem;
}
/*ケーススタディ*/
#case-study_container {
    margin-bottom: 100px;
}
.before {
    padding: 2rem 0;
}
.before-image img {
    width: 100px;
    display: block;
    margin: 0 auto;
}
.arrow {
    padding: 1rem 0;
}
.arrow img {
    width: 40px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.after-image img {
    width: 90%;
    display: block;
    margin: 30px auto;
    border: solid 1px;
}
/*料金プラン*/
#price-plan {
    margin-bottom: 80px;
}
.small-title {
    text-align: center;
    padding-bottom: 1rem;
    padding-top: 2rem;
    font-weight: bold;
}
.plan-table {
    margin: 0 1rem;
}
.plan-table table {
    border-collapse: collapse;
    display: flex;
    justify-content: center;
}
.plan-table table tr {
    display: block;
}
.plan-table table tr th {
    display: block;
    border: solid 1px #808080;
    background-color: #dcdcdc;
    text-align: left;
    padding: 10px;
}
.plan-table table tr td {
    border: solid 1px #808080;
    display: block;
    background-color: white;
    text-align: center;
    white-space: nowrap;
    padding: 10px;
}
.plan-text {
    padding: 0 1.5rem;
}
.plan-text ul li {
    padding-bottom: 1rem;
}
/*よくあるご質問*/
#q-and-a {
    margin-bottom: 80px;
}
.q-and-a_container {
    margin: 1.5rem 0.5rem;
    padding: 0.8rem 0.5rem;
    border: solid 2px rgba(0, 0, 255, 0.3);
    border-radius: 15px;
}
.question {
    display: flex;
    padding-bottom: 1rem;
}
.q-image img {
    width: 30px;
}
.q-text {
    padding-left: 0.5rem;
}
.answer {
    display: flex;
}
.a-image img {
    width: 30px;
}
.a-text {
    padding-left: 0.5rem;
}
/*お問い合わせ*/
.contact_container {
    background-color: #C7FFF8;
    padding-bottom: 50px;
    padding-top: 30px;
}
.contact_container h2 {
    text-align: center;
    padding: 3rem 0 1rem 0;
}
.contact-text {
    margin: 0 0.5rem;
    padding: 1rem;
    border: solid 1px;
    border-radius: 15px;
    background-color: white;
}
.contact-text a {
    font-size: 1.5rem;
    display: block;
    text-align: center;
    padding: 1rem;
    font-weight: bold;
    white-space: nowrap;
}
.contact_container h3 {
    font-size: 1.5rem;
    text-align: center;
    padding: 5rem 0 1rem 0;
}
#contact-form {
    display: block;
    margin: 2rem auto;
    width: 100%;
}
.icon a img {
    width: 80px;
    display: block;
    margin: 20px auto;
}
.icon a img:hover {
    transform: scale(1.1);
}
/*コンタクトフォーム*/
.contact label {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    display: block;
}
.contact input[type="text"],
.contact input[type="email"],
.contact input[type="tel"],
.contact textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.contact input[type="text"]:focus,
.contact input[type="email"]:focus,
.contact input[type="tel"]:focus,
.contact textarea:focus {
    background: #FFC0CB;
    border: 2px solid #FF1493;
    outline: none;
}
.contact p {
    font-size: 1.1rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
}
.contact .contact-button {
    width: 100%;
    padding: 10px;
    background-color: #C7FFF8;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin: 0 auto;
    border: 1px solid #ccc;
    color: black;
}

.contact .contact-button:hover {
    background-color: #65ffed;
    color: black;
    border: solid 2px #2bfae2;
}
.required {
    font-size: 0.8em;
    padding: 3px;
    background: #cc0000;
    color: #ffffff;
    border-radius: 2px;
    margin-right: 10px;
    margin-bottom: 2px;
    display: inline-block;
}
/*更新履歴*/
#update {
    margin: 80px 2rem;
}
#update h2 {
    text-align: center;
    font-size: 1.2rem;
    padding-bottom: 0.5rem;
}
.update-list {
    font-size: 0.9rem;
}
.update-list li {
    padding-top: 0.5rem;
}
/*フッター*/
footer {
    padding-top: 50px;
}
#footer-menu ul {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
#footer-menu ul li {
    font-size: 0.7rem;
    list-style: none;
    margin-bottom: 0.5rem;
}
#footer-menu ul li a {
    text-decoration: none;
    color: black;
}
#footer-menu ul li a:hover {
    color: #0539b3;
}
#footer-menu ul li::before {
    content: "|";
    padding: 0 0.5rem;
    color: #888;
}
#footer-menu ul li:first-child::before {
    content: ""; /* 最初の要素だけバーを非表示 */
}
#copyright {
    text-align: center;
    padding: 2rem 0;
    font-size: small;
}
/*****/
/*サービス紹介*/
/*お悩み*/
.page-title {
    text-align: center;
    margin-top: 50px;
}
.service-page_image {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px auto;
}
.service-page_image img {
    width: 40%;
    height: auto;
    object-fit: cover;
}
.worries {
    margin-top: 30px;
}
.worries-list {
    margin: 2rem;
}
.worries-list ul li {
    padding-bottom: 1rem;
}
/*解決*/
.solution {
    margin-bottom: 50px;
}
.solution h3 {
    font-size: 1.6rem;
    color: #f2635f;
}
.solution-image img {
    width: 200px;
    display: block;
    margin: 0 auto;
}
.solution-list {
    margin: 3rem 1rem 1rem 1rem;
}
.solution-list ul li {
    padding-bottom: 3rem;
    list-style: none;
}
.solution-list ul li p strong {
    font-weight: bold;
    color: #333;
    border-bottom: solid 3px #f2635f;
}
.solution-list ul li p {
    margin-bottom: 0.9rem;
}
.service-image img {
    width: 40%;
    display: block;
    margin: 0 auto;
}
/*サービスページその他*/
#service-title h1 span {
    font-size: 1rem;
}
#website {
    margin-bottom: 100px;
}
#seo {
    margin-bottom: 100px;
}
/******/
/*制作事例ページ*/
#works-title h1 span {
    font-size: 1rem;
}
#works-top {
    margin-bottom: 100px;
}
#works-top h2 {
    margin: 2rem 0;
}
.works-top_text {
    padding: 0 1rem;
}
.works_container {
    padding: 2rem;
    margin-top: 30px;
}
.works {
    margin-bottom: 90px;
}
.works_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.works_text a {
    text-align: center;
    white-space: nowrap;
    padding-top: 10px;
    display: block;
}
.works_text p {
    font-size: 0.9rem;
    padding-top: 1rem;
}
/*******/
/*会社概要*/
#company-title h1 span {
    font-size: 1rem;
}
#company {
    margin-top: 70px;
}
.company-page_image img {
    width: 100px;
    display: block;
    margin: 0 auto;
    padding-top: 30px;
}
.company-table {
    display: flex;
    justify-content: center;
    margin: 50px 1rem;
}
.company-table table {
    border-collapse: collapse;
    line-height: 1.5rem;
    font-size: 0.9rem;
}
.company-table table th {
    background-color: #f0f8ff;
    width: 6rem;
    padding: 0.5rem 0.7rem;
    border: solid 1px #b4d9fa;
}
.company-table table td {
    padding: 0.5rem 0.7rem;
    border: solid 1px #b4d9fa;
}
#instagram {
    margin-bottom: 80px;
}
.instagramfeed {
    width: 80%;
    display: block;
    margin: 0 auto;
}
@media (min-width: 768px) and (max-width: 1023px){
    /*タブレット向けのスタイル*/
    .mb {
        display: none;
    }
    h3 {
        text-align: center;
    }
    /*ヘッダー*/
    #main-menu {
        display: block;
        height: 80px;
        line-height: 80px;
    }
    #main-menu ul {
        display: flex;
        justify-content: space-between;
    }
    #main-menu ul li {
        list-style: none;
        white-space: nowrap;
        overflow: hidden;
    }
    #main-menu ul li a {
        text-decoration: none;
        color: black;
        padding: 1.2rem;
        font-size: 1rem;
    }
    #main-menu ul li a:hover {
        color: blue;
    }
    /*ヘッダー固定*/
    .header-top {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: white; /* 背景色を指定（透過もOK） */
        z-index: 1000; /* 最前面に */
        transition: all 0.3s ease-in-out; /* スムーズな切り替え */
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* スクロール時の影 */
    }
    .header-fixed {
        background-color: rgba(255, 255, 255, 0.95); /* 透明感を出す */
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* 少し濃い影 */
    }
    .line {
        padding: 30px 30px 0 0;
    }
    .logo img {
        height: 80px;
    }
    .top-title {
        margin-top: 180px;
    }
    .top-example_image img {
        width: 30vw;
    }
    .people {
        display: block;
        width: 40%;
        margin: 0 auto;
        padding-top: 80px;
    }
    /*サービスコンテナ*/
    .service_container {
        display: flex;
        justify-content: center;
        gap: 50px;
        margin: 30px 7%;
    }
    .service-title h3 a {
        white-space: nowrap;
    }
    .service-icon {
        width: 150px;
        height: 150px;
    }
    .service {
        width: 30vw;
    }
    /*事例紹介*/
    .after-image img {
        width: 280px;
    }
    .case-study_outer {
        display: flex;
        justify-content: space-between;
        margin: 40px 7%;
    }
    /*コンタクトフォーム*/
    .contact .contact-button {
        width: 50%;
        display: block;
    }
    /****/
    /*サービスページ*/
    .page-title {
        margin-top: 180px;
    }
    .service-page_image {
        width: 30%;
        margin: 100px auto;
    }
    .worries-list {
        display: flex;
        justify-content: center;
    }
    .service-image img {
        width: 200px;
    }
    /****/
    /*制作事例ページ*/
    .works_container {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 50px;
        padding: 3rem;
    }
}
@media (min-width: 1024px) {
    /* PC向けのスタイル */
    /*全体*/
    .mb {
        display: none;
    }
    h1 {
        padding: 0 4rem;
        font-size: 2.3rem;
    }
    p {
        font-size: 1.2rem;
    }
    .title-bar h2 {
        font-size: 1.7rem;
        line-height: 3rem;
    }
    h3 {
        font-size: 2rem;
        text-align: center;
    }
    h2 {
        font-size: 1.7rem;
    }
    /*ヘッダー*/
    #main-menu {
        display: block;
        height: 80px;
        line-height: 80px;
    }
    #main-menu ul {
        display: flex;
        justify-content: space-between;
    }
    #main-menu ul li {
        list-style: none;
        white-space: nowrap;
        overflow: hidden;
    }
    #main-menu ul li a {
        text-decoration: none;
        color: black;
        padding: 2rem;
        font-size: 1.3rem;
    }
    #main-menu ul li a:hover {
        color: blue;
    }
    /*ヘッダー固定*/
    .header-top {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: white; /* 背景色を指定（透過もOK） */
        z-index: 1000; /* 最前面に */
        transition: all 0.3s ease-in-out; /* スムーズな切り替え */
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* スクロール時の影 */
    }
    .header-fixed {
        background-color: rgba(255, 255, 255, 0.95); /* 透明感を出す */
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* 少し濃い影 */
    }
    .line {
        padding: 30px 30px 0 0;
    }
    .logo img {
        height: 80px;
    }
    .top-title {
        margin-top: 180px;
    }
    /*トップ制作例*/
    #top-example {
        margin-top: 50px;
    }
    .top-example_image img {
        width: 30vw;
    }
    .people {
        display: block;
        width: 40%;
        margin: 0 auto;
        padding-top: 80px;
    }
    .closing-text {
        text-align: center;
        padding-top: 2rem;
    }
    .closing-text p {
        font-size: 1.5rem;
    }
    /*サービスコンテナ*/
    .service_container {
        display: flex;
        justify-content: center;
        gap: 50px;
        margin: 30px 17%;
    }
    .service-icon {
        width: 150px;
        height: 150px;
    }
    .service {
        width: 20vw;
    }
    /*事例紹介*/
    .after-image {
        display: flex;
        gap: 50px;
    }
    .after-image img {
        width: 300px;
    }
    .case-study_outer {
        display: flex;
        justify-content: space-between;
        margin: 40px 15%;
    }
    /*料金プラン*/
    .plan_container {
        display: flex;
        justify-content: center;
    }
    .plan-text {
        display: block;
        width: 60%;
        margin: 0 auto;
    }
    .small-title p {
        font-size: 1.4rem;
    }
    .plan-text ul {
        font-size: 1.4rem;
        line-height: 2.5rem;
    }
    .plan_container_box {
        width: 40%;
        margin-top: 50px;
    }
    .plan-text {
        padding: 2rem 0;
    }
    .plan-table table {
        font-size: 1.5rem;
    }
    /*Q&A*/
    .q-and-a_container {
        width: 60%;
        display: block;
        margin: 3rem auto;
    }
    #footer-menu ul li {
        font-size: 0.9rem;
    }
    /*コンタクトフォーム*/
    .contact-text {
        width: 60%;
        display: block;
        margin: 0 auto;
    }
    .contact .contact-button {
        width: 50%;
        display: block;
        font-size: 22px;
    }
    .contact label {
        font-size: 1.4rem;
        margin-top: 25px;
    }
    .contact p {
        font-size: 1.4rem;
    }
    /*更新履歴*/
    #update {
        margin: 140px 25%;
    }
    #update h2 {
        text-align: center;
        font-size: 1.6rem;
        padding-bottom: 1.5rem;
    }
    .update-list {
        font-size: 1.2rem;
    }
    .update-list li {
        padding-top: 0.8rem;
    }

    /****/
    /*サービスページ*/
    .page-title {
        margin-top: 180px;
    }
    .service-page_image {
        width: 30%;
        margin: 100px auto;
    }
    .worries-list {
        display: flex;
        justify-content: center;
    }
    .worries-list ul li {
        font-size: 1.3rem;
    }
    .solution h3 {
        font-size: 2.2rem;
    }
    .solution-list {
        margin: 5rem 20%;
    }
    .service-image img {
        width: 200px;
    }
    .solution-list ul li p strong {
        font-size: 2rem;
    }
    .solution-list ul li {
        font-size: 1.1rem;
        line-height: 2rem;
    }
    /****/
    /*制作事例ページ*/
    .works-top_text p {
        padding: 5rem;
        line-height: 2.5rem;
    }
    .works_container {
        display: grid;
        grid-template-columns: repeat(4,1fr);
        gap: 50px;
        padding: 5rem;
    }
    /*****/
    /*会社概要*/
    .company-page_image img {
        width: 200px;
        padding-top: 60px;
    }
    .company-table {
        margin: 100px 1rem;
    }
    .company-table table {
        font-size: 1.2rem;
    }
    .company-table table th {
        width: 10rem;
        padding: 1rem 1.2rem;
    }
    .company-table table td {
        padding: 1rem 1.2rem;
    }
    .instagramfeed {
        width: 60%;
    }
  }