@charset "utf-8";

/*-------------------------------------
変数定義
--------------------------------------*/
:root {
    /* 文字色 */
    --text-color: #2B292A;
    /* 背景色 */
    --background-color: #FFFEFE;

    --white: #FFFEFE;
    --black: #2B292A;
    --purple: #8d85a3;

}

/*-------------------------------------
共通設定
--------------------------------------*/
* {
    /* 幅高さ */
    margin: 0;
    padding: 0;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 100%;
}

body {
    /* 背景 */
    background-color: var(--background-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
section,
address,
a {
    /* 文字色 */
    color: var(--text-color);
}

p {
    font-size: clamp(14px, 8vw, 16px);
}

a {
    /* 下線を削除 */
    text-decoration: none;
}

li {
    /* 装飾を削除 */
    list-style-type: none;
}

address {
    /* 斜体を削除 */
    font-style: normal;
}

.control-width {
    display: flex;
    /* 縦並び */
    flex-direction: column;
    /* 縦方向中央揃え */
    justify-content: center;

    padding: 0 16px;
}

@media (min-width: 768px) {

    /* タブレット以上 */
    .control-width {
        padding: 0 24px;
    }
}

@media (min-width: 1024px) {

    /* PC以上 */
    .control-width {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 40px;
    }
}

.text-purple {
    color: var(--purple);
    font-weight: bold;
}

/*--見出し----------------------------------*/
.heading-2 {
    text-align: center;
    /* position: relative; */
    padding: 0.25em 1em;
    margin: 0.25em 5em;
    border-top: solid 1.5px var(--purple);
    border-bottom: solid 1.5px var(--purple);
}



/*-------------------------------------
ヘッター
--------------------------------------*/
/* メニューのスタイル */
.menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* 初期状態では画面の外に隠れている */
    width: 300px;
    height: 100%;
    background-color: var(--background-color);
    color: var(--black);
    transition: right 0.3s ease;
    /* スライドインのアニメーション */
    padding: 20px;
    box-sizing: border-box;
    z-index: 10;
}

/* メニューが開いているとき */
.menu.open {
    right: 0;
}

/* ボタンのスタイル */
.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    cursor: pointer;
    z-index: 20;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--black);
    margin: 5px 0;
    transition: 0.4s;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* メニューリストのスタイル */
.menu ul {
    list-style-type: none;
    padding: 0;
    margin-top: 80px;
}

.menu li {
    padding: 20px 0;
    border-bottom: 1px solid #444;
}

.menu li a {
    color: var(--black);
    text-decoration: none;
    display: block;
}

/*-------------------------------------
フッター
--------------------------------------*/
footer {
    height: 60px;
    background-color: var(--purple);
}

footer address {
    color: var(--white);
    display: flex;
    /* 縦方向の中央寄せ */
    justify-content: center;
    /* 横方向の中央寄せ */
    align-items: center;
    padding: 1em;
}

/*-------------------------------------
パンくずリスト
--------------------------------------*/
.breadcrumb {
    height: 60px;
    display: flex;
    gap: 0 22px;
    list-style: none;
    padding: 0;
    font-size: .9em;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:first-child::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 20C20 20.5523 19.5523 21 19 21H5C4.44772 21 4 20.5523 4 20V11L1 11L11.3273 1.6115C11.7087 1.26475 12.2913 1.26475 12.6727 1.6115L23 11L20 11V20ZM11 13V19H13V13H11Z' fill='%238d85a3'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: '';
}

.breadcrumb li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .3em;
    height: .3em;
    margin-left: 10px;
    border-top: 1px solid var(--purple);
    border-right: 1px solid var(--purple);
    content: '';
}

.breadcrumb a {
    color: var(--text-color);
    text-decoration: none;
}

/*-------------------------------------
トップ
--------------------------------------*/
#top .control-width {
    row-gap: 50px;
}


#top .control-width div:last-child {
    margin-bottom: 80px;
}

#firstView {
    margin-top: 90px;
    margin-bottom: 20px;
    text-align: center;
}

#firstView p:nth-of-type(1) {
    font-size: 2em;
}

#firstView p:nth-of-type(2) {
    margin-top: 10px;
}


#about,
#works {
    display: flex;
    /* 縦並び */
    flex-direction: column;
    /* 縦方向の中央  */
    justify-content: center;
    /* 横方向（左右）中央揃え */
    align-items: center;
    width: 100%;

}

#about>img {
    width: 50%;
    max-width: 180px;
    height: auto;
    margin: 0 auto;
}

#about h3 {
    text-align: center;
}

#about p {
    max-width: 450px;
    margin: 5px auto;
}

#about a {
    text-align: center;
}

.instagram-link {
    display: flex;
    justify-content: center;
    align-items: center;

    /* margin-top: 20px; */
    margin-bottom: 20px;
    width: 50px;
    height: 50px;
}

.instagram-link img {
    min-width: 30px;
    min-height: 30px;
}

@media (min-width: 768px) {

    /* タブレット以上 */
    .instagram-link {
        display: flex;
        justify-content: center;
        align-items: center;

        width: 50px;
        height: 50px;
    }

    .instagram-link img {
        min-width: 32px;
        min-height: 32px;
    }
}

@media (min-width: 1024px) {

    /* PC以上 */
    .instagram-link {
        display: flex;
        justify-content: center;
        align-items: center;

        width: 55px;
        height: 55px;
    }

    .instagram-link img {
        min-width: 36px;
        min-height: 36px;
    }

}

#works {
    margin-top: 50px;
}

.banner-container {
    display: flex;
    /* 縦並び */
    flex-direction: column;
    /* 中央寄せ */
    align-items: center;
    /* 各バナーの間隔 */
    gap: 16px;
    /* 横幅制限 */
    max-width: 100vw;
    /* paddingやborder込みで計算 */
    box-sizing: border-box;
    /* 横スクロール防止 */
    overflow: hidden;
}

.banner-container>div{
    /* 内部divの横幅 */
    width: 95vw;
    text-align: center;
}
.banner-container>div:first-child {
    margin-top: 20px;
}
.banner-container>div p{
    line-height: 2.5em;
}

.banner-container>div img {
    /* 親に合わせて縮小 */
    width: 100%;
    height: auto;
}

/* タブレットとPCは2列表示 */
@media (min-width: 600px) {
    .banner-container {
        max-width: 1000px;
        flex-direction: row;
        /* 折り返しで2列に */
        flex-wrap: wrap;
        justify-content: center;
    }

    .banner-container>div {
        /* 2列に並べる幅 */
        width: 45%;
        /* 列間の余白 */
        margin: 1%;
    }
}

#works a {
    max-width: 120px;
    position: relative;
    display: inline-block;
    padding: 0.25em 0.5em;
    margin: 20px auto 0;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    background: var(--purple);
    /*背景色*/
    border-bottom: solid 2px #726381;
    /*少し濃い目の色に*/
    border-radius: 4px;
    /*角の丸み*/
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
}

#works a:active {
    border-bottom: solid 2px var(--purple);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

/*-------------------------------------
作品一覧
--------------------------------------*/
/*--実績タブ----------------------------------*/

.container {
    max-width: 800px;
    margin: 20px auto 60px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* ===== Design 5: Minimal ===== */
.tab-container ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.tab-container ul li {
    flex: 1;
    padding: 16px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: #999;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.tab-container ul li.selected {
    color: #333;
    font-weight: 500;
}

.tab-container ul li.selected::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--purple);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.tab-container ul li:not(.selected):hover {
    color: #666;
    background: #fafafa;
}

.tab-container .tab-content {
    display: none;
    padding: 32px 24px;
    min-height: 150px;
    color: #666;
    line-height: 1.6;
}

.tab-container .tab-content.selected {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*------------------------------------*/


/* @media (max-width: 650px) {

}



@media (max-width: 1070px) {
}

@media (max-width: 650px) {
}

@media (max-width: 767px) {
    
} */

/*-------------------------------------
よくあるご質問
--------------------------------------*/
.qa-7 {
    max-width: 500px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 4px rgb(0 0 0 / 2%), 0 2px 3px -2px rgba(0 0 0 / 5%);
    background-color: var(--background-color);
}

.qa-7 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #2b292a;
    font-weight: 600;
    cursor: pointer;
}

.qa-7 summary::before,
.qa-7 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-7 summary::before {
    color: #75bbff;
    content: "Q";
}

.qa-7 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #2b292ab3;
    border-right: 3px solid #2b292ab3;
    content: '';
    transition: transform .5s;
}

.qa-7[open] summary::after {
    transform: rotate(225deg);
}

.qa-7 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-7[open] p {
    transform: none;
    opacity: 1;
}

/* 回答 */
.qa-7 p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}