@charset "utf-8";


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ballet:opsz@16..72&display=swap');


/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("inview.css");


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

    --bg-color: #fff;
    /*主にテンプレートの背景色*/
    --bg-inverse-color: #877e72;
    /*上のカラーの「対」として使う色*/

    --title-color: #6f675d;
    /*見出しの色*/

    --content-space-l: 10vw;
    /*主に左右の余白の一括管理用。画面幅100% = 100vwです。*/
    --content-space-s: 2rem;
    /*headerやfooter、２カラム以上のレイアウトで主に使います*/

    --base-font: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
    /*フォント指定*/
    --accent-font: "Jost";
    /*アクセント用英語フォント指定*/

}

/*画面幅500px以下の追加指定*/
@media (max-width:500px) {

    :root {
        --content-space-l: 10px;
        /*余白の一括管理用。小さな端末で余白を狭くする。*/
    }

}

/*追加指定ここまで*/


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {
    box-sizing: border-box;
}

html {
    font-size: clamp(12px, 0.293vw + 10.9px, 15px);
    /*画面幅約375px〜1400pxの間で、12px〜15pxに可変*/
    overflow-x: visible;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--base-font);
    /*フォント指定。冒頭のbase-fontを読み込みます。*/
    -webkit-text-size-adjust: none;
    background: var(--bg-color);
    /*背景色。冒頭のbg-colorを読み込みます。*/
    color: var(--bg-inverse-color);
    /*文字色。冒頭のbg-inverse-colorを読み込みます。*/
    line-height: 2;
    /*行間*/
    overflow-x: hidden;
}

/*リセット*/
figure {
    margin: 0;
}

dd {
    margin: 0;
}

nav,
ul,
li,
ol {
    margin: 0;
    padding: 0;
}

nav ul {
    list-style: none;
}

/*table全般の設定*/
table {
    border-collapse: collapse;
}

/*画像全般の設定*/
img {
    border: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/*videoタグ*/
video {
    max-width: 100%;
}

/*iframeタグ*/
iframe {
    width: 100%;
}

/*他*/
input {
    font-size: 1rem;
}


/*section
---------------------------------------------------------------------------*/
section {
    padding: 0 var(--content-space-l);
    /*上下、左右へのsection内の余白。左右については、冒頭の--content-space-lを読み込みます。*/
    margin: var(--content-space-l) 0;
    /*上下、左右へのsectionの外側にとるマージン。上下については、冒頭の--content-space-lを読み込みます。*/
}

/*section間のマージンを消したい場合用。1つ目のsectionにだけclass="mb0"を追加する。*/
section.mb0 {
    margin-bottom: 0;
}

section.mb0 + section {
    margin-top: 0;
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
    color: inherit;
    transition: 0.3s;
    /*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
    filter: brightness(1.1);
    /*少しだけ明るくする*/
    text-decoration: none;
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
    animation: opa1 0.2s 0.2s both;
    /*0.2(2つ目の数字)秒待機後、0.2(1つ目の数字)秒かけてフェードイン*/
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
    text-align: center;
    /*内容をセンタリング*/
    padding: 2rem;
    /*ヘッダー内の余白。2文字分。*/
}

/*ロゴ（※画像の場合）*/
#logo {
    margin: 0;
    flex-shrink: 0;
}

#logo img {
    display: block;
    width: 200px;
    /*ロゴの幅。お好みで。*/
    margin: 0 auto;
}

/*ロゴ（※テキストで使う場合）*/
#logo a {
    text-decoration: none;
}

#logo {
    font-size: 1.1rem;
    /*文字サイズ。110%*/
    font-family: var(--accent-font), var(--base-font);
    /*英語の場合は冒頭のaccent-fontに指定したフォントを読み込む。日本語はbase-fontで指定したフォントを読み込む。*/
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #5a534b;
    /*文字色*/
}


/*メイン画像
---------------------------------------------------------------------------*/
.mainimg {
    max-width: 800px;
    /*最大幅。お好みで。*/
    margin: 0 auto;
    padding-inline: 3rem;
    /*画像の左右に3文字分の余白*/
}

/*画面の高さが500px以下の追加指定*/
@media (max-height:500px) {

    /*そのままだと画像の下がかなり切れてしまうので、メイン画像ブロックの最大幅を小さくする*/
    .mainimg {
        width: 500px;
    }

}

/*追加指定ここまで*/


/*メイン画像左下のテキストブロック*/
.mainimg .text {
    text-align: center;
}


/*contents
---------------------------------------------------------------------------*/
#contents {
    flex: 1;
    min-height: 0;
}

footer {
    text-align: center;
}

/*main
---------------------------------------------------------------------------*/
main {
    container-type: inline-size;
}

/*h2見出し*/
main h2 {
    font-family: var(--accent-font), var(--base-font);
    /*英語の場合は冒頭のaccent-fontに指定したフォントを読み込む。日本語はbase-fontで指定したフォントを読み込む。*/
    text-transform: uppercase;
    /*全て大文字にする。小文字はそのまま小文字がよければこの１行削除。*/
    text-align: center;
    /*テキストをセンタリング*/
    font-weight: 400;
    /*文字の太さ。大きいほど太くなります。*/
    letter-spacing: 0.15em;
    /*文字間隔を少しだけ広くする*/
    color: var(--title-color);
    /*冒頭の--title-colorを読み込みます。*/
}

/*main内で使用するul,ol要素（リストタグ）*/
main ul,
main ol {
    margin-left: 2rem;
    margin-right: 2rem;
}


/*list1（Worksブロック内の3カラムブロック）
---------------------------------------------------------------------------*/
.list1 * {
    margin: 0;
    padding: 0;
}

/*ボックス全体*/
.list1 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /*3列*/
    font-size: 0.8rem;
    /*文字サイズ80%*/
}

/*ボックス内のテキストブロック*/
.list1 .text {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2vw;
    /*上下は0、左右に2%の余白をあける*/
}

/*square（正方形）画像*/
.list1.square figure {
    width: 100%;
    aspect-ratio: 1 / 1;
    /*幅に対して高さを同じにする*/
}

.list1.square figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*コンテナいっぱいにカバー、余分な部分はカット*/
    object-position: center;
    /*中央部分を表示*/
}


/*list2（SERVICEブロック内の3カラムブロック）
---------------------------------------------------------------------------*/
.list2 * {
    /*
    margin: 0;
    padding: 0;
*/
}

/*ボックス全体*/
.list2 {
    text-align: center;
    /*    display: block;*/
    /*    grid-template-columns: repeat(3, minmax(0, 1fr));*/
    /*3列*/
    gap: 10vw;
    font-size: 0.8rem;
    /*文字サイズ80%*/
}

/*画像ブロック*/
.list2 figure {
    margin-bottom: 1rem;
    /*画像の下に1文字分の余白を空ける*/
}


/*CONTACTブロック内の２つのボタン
---------------------------------------------------------------------------*/
/*２つのボタンを囲むボックス*/
ul.contact {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    /*横並びに*/
    justify-content: center;
    gap: 5vw;
    /*ボタン同士の間に空けるスペース。5%。*/
}

/*ボタン１個あたり*/
ul.contact li {
    flex: 1;
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    /*枠線の幅、線種、色*/
    background: #fff;
    /*背景色*/
    transition: border-color 0.45s ease;
    max-width: 500px;
    /*ボタン１個あたりの最大幅*/
}

ul.contact a {
    position: relative;
    z-index: 1;
    display: block;
    text-decoration: none;
    color: #877e72;
    /*ボタンテキストの色*/
    letter-spacing: 0.2em;
    /*文字間隔を少しだけ広く*/
    text-align: center;
    /*テキストをセンタリング*/
    padding: 2rem 1rem 1rem;
    /*ボタン内の余白。上に2文字分、左右に1文字分、下に1文字分。*/
    transition: color 0.45s ease;
}

/*ボタンの中の「●」共通*/
ul.contact li::before,
ul.contact li::after {
    content: "";
    position: absolute;
    top: 0.9rem;
    /*ボタンの上からの配置場所*/
    left: 50%;
    /*ボタンの左からの配置場所*/
    width: 8px;
    /*幅*/
    height: 8px;
    /*高さ*/
    background: #9a6f68;
    /*「●」の色*/
    border-radius: 50%;
    /*形を丸くする。この１行がなければ、正方形になります。*/
}

/*ボタンの中の「●」マウスオンで拡大する方*/
ul.contact li::before {
    transform: translateX(-50%) scale(1);
    transition: transform 0.55s ease;
    z-index: 0;
}

ul.contact li:hover::before {
    transform: translateX(-50%) scale(100);
}

/*ボタンの中の「●」マウスオンで白色になってそのまま残る方*/
ul.contact li::after {
    transform: translateX(-50%);
    transition: background 0.45s ease;
    z-index: 2;
}

ul.contact li:hover::after {
    background: #fff;
    /*「●」の色を白くする*/
}

/*マウスオン時の枠線の色。「●」の色と揃えています*/
ul.contact li:hover {
    border-color: #9a6f68;
}

/*マウスオン時の文字色*/
ul.contact li:hover a {
    color: #fff;
}


/*SNSアイコン
---------------------------------------------------------------------------*/
.sns {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    /*アイコン同士のマージン的な要素。0.5文字分。*/
    position: absolute;
    right: 10px;
    /*画面の右から10pxの場所に配置*/
    top: 10px;
    /*画面の上から10pxの場所に配置*/
}

.sns i {
    font-size: 1.2rem;
    /*アイコンサイズ。文字の1.2倍。*/
}


/*画像がupするパララックス
---------------------------------------------------------------------------*/
/*ブロック全体*/
.bg-slideup1 {
    position: relative;
    height: 40vw;
    /*高さ。画面幅の40%。pxやアスペクト比でもOK。*/
    overflow: hidden;
}

/*動かすための設定。設定本体は、jsの「▼ここだけ調整（全ブロック共通）」の数行で調整できます。*/
.scrollfx-move {
    --fx-extra: 240px;
    /*JSでまとめて上書き*/
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    width: 100%;
    height: calc(100% + var(--fx-extra));
    object-fit: cover;
    will-change: transform;
    transform: translate3d(0, -50%, 0);
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
    font-weight: bold;
    /*太字に*/
    padding: 0.2rem 1rem;
    /*ボックス内の余白。上下に0.2文字分、左右に1文字分。*/
    margin-bottom: 1rem;
    /*下に空けるスペース。１文字分。*/
    background: rgba(0, 0, 0, 0.05);
    /*背景色。0,0,0は黒のことで0.05は色が5%出た状態。*/
    color: var(--title-color);
    /*冒頭の--title-colorを読み込みます。*/
}

/*テーブルブロック設定*/
.ta1 {
    table-layout: fixed;
    border-top: 1px solid #ddd;
    /*テーブルの一番上の線。幅、線種、色。*/
    width: 100%;
}

/*tr（１行分）タグ設定*/
.ta1 tr {
    border-bottom: 1px solid #ddd;
    /*テーブルの下線。幅、線種、色。*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th,
.ta1 td {
    padding: 1rem;
    /*ボックス内の余白。１文字分。*/
    word-break: break-all;
    /*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
    width: 13rem;
    /*幅。13文字分。*/
    text-align: left;
    /*左よせにする*/
    font-weight: normal;
}


/*フッター
---------------------------------------------------------------------------*/
footer {
    text-align: center;
}

/*Copyright部分*/
footer small {
    display: block;
    margin-bottom: 1rem;
    /*下に1文字分のスペース*/
}


/*著作部分（※意図的に見えなくしたりしないで下さい。規約違反になります。）
---------------------------------------------------------------------------*/
.pr a {
    text-decoration: none;
    display: block;
    background: rgba(0, 0, 0, 0.5);
    color: #ccc;
    text-align: right;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.pr a::before {
    font-family: "Font Awesome 6 Free";
    content: "\e2ca";
    font-weight: 900;
    margin-right: 0.5em;
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {
    display: block;
}

/*ボタンの設定*/
.pagetop a {
    display: block;
    text-decoration: none;
    text-align: center;
    z-index: 99;
    animation: opa1 1s 0.4s both;
    position: fixed;
    /*スクロールに追従しない(固定で表示)為の設定*/
    right: 20px;
    /*右からの配置場所指定*/
    bottom: 60px;
    /*下からの配置場所指定*/
    color: #fff;
    /*文字色*/
    font-size: 1.5rem;
    /*文字サイズ*/
    background: rgba(0, 0, 0, 0.2);
    /*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
    width: 60px;
    /*幅*/
    line-height: 60px;
    /*高さ*/
    border-radius: 50%;
    /*円形にする*/
}


/*bg1
---------------------------------------------------------------------------*/
.bg1 {
    padding-top: var(--content-space-l);
    /*ボックス内の上に空ける余白。theme.cssのcontent-space-lを読み込みます。*/
    padding-bottom: var(--content-space-l);
    /*ボックス内の下に空ける余白。theme.cssのcontent-space-lを読み込みます。*/
    background: #efeee7;
}


/*section内で画面両サイドいっぱいまで広げる場合（marginのみでもいいが安定版に）
---------------------------------------------------------------------------*/
.bleed-x {
    --bleed-x: var(--content-space-l);
    /*エイリアスに*/
    width: calc(100% + (var(--bleed-x) * 2));
    /*section内容の幅＋両サイドpadding（対象要素の幅）*/
    margin-left: calc(var(--bleed-x) * -1);
    margin-right: calc(var(--bleed-x) * -1);
    max-width: none;
}


/*その他
---------------------------------------------------------------------------*/
.color-check,
.color-check a {
    color: #a36a62 !important;
}

.l {
    text-align: left !important;
}

.c {
    text-align: center !important;
}

.r {
    text-align: right !important;
}

.ws {
    width: 100%;
    display: block;
}

.wl {
    width: 100%;
    display: block;
}

.padding-x {
    padding: 0 var(--content-space-l);
}

.mt0 {
    margin-top: 0px !important;
}

.mt1rem {
    margin-top: 1rem !important;
}

.mt3rem {
    margin-top: 3rem !important;
}

.mb0 {
    margin-bottom: 0px !important;
}

.mb1rem {
    margin-bottom: 1rem !important;
}

.mb3rem {
    margin-bottom: 3rem !important;
}

.mb30 {
    margin-bottom: 30px !important;
}

.look {
    display: inline-block;
    padding: 0px 10px;
    background: #eee;
    border: 1px solid #ccc;
    color: #888;
    border-radius: 3px;
    margin: 5px 0;
    word-break: break-all;
}

.small {
    font-size: 0.85em;
}

.large {
    font-size: 2em;
    letter-spacing: 0.1em;
}

.pc {
    display: none;
}

.dn {
    display: none !important;
}

.block {
    display: block !important;
}

.is-clip {
    overflow: hidden;
}

/*大きな画面の場合*/
.large-screen .ws {
    width: 50%;
}

.large-screen .sh {
    display: none;
}

.large-screen .pc {
    display: block;
}
