@charset "UTF-8";

/* グーグルフォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/* ヘッダー全体のスタイル */
header {
    background-color: #171028;
    /* 背景色 */
    color: #ffffff;
    /* テキストカラー */
    padding: 15px;
    /* 内側の余白 */
    display: flex;
    /* Flexboxを使って要素を並べる */
    justify-content: flex-start;
    /* 要素を左右に均等に配置 */
    align-items: center;
    /* 要素を垂直方向に中央揃え */
    width: auto;
    /* 幅を自動調整 */
    position: fixed;
    /* 要素の位置を固定 */
    top: 0;
    /* 上端に配置 */
    left: 0;
    /* 左端に配置 */
    right: 0;
    /* 右端に配置 */   
    z-index: 1000; 
    
}

.headtext {
    font-size: 25px;
    font-weight: bold;
    padding: 0 16px;
    letter-spacing: 5px;
}

/* レスポンシブ */
@media screen and (max-width: 455px) {
    .headtext {
        font-size: 18px;
    }
}


/* リンク */
.link {
    color: #5a3dff;
    text-decoration:underline;
    text-decoration-color: #5a3dff;
  }

/* リンク */
.homelinkbox {
    padding: 25px;
    margin: 10px auto;
    max-width: 800px;
    width: 90%;
    text-align:center;
    min-width: 300px;
}
.homelink {
    color: #5a3dff;
}





/* アイコン系 */
#print-icon {
    height: 300px;
    padding-bottom: 60px;
    
}

#info-icon {
    height: 200px;
    padding-top: 60px;
    padding-bottom: 20px;
    margin-top: 80px;
}

#privacy-icon {
    height: 250px;
    padding-top: 60px;
    padding-bottom: 20px;
    margin-top: 50px;
}

#file-icon {
    height: 200px;
    padding-top: 50px;
    padding-bottom: 20px;
}

#phone-icon {
    height: 200px;
    padding-top: 100px;
    padding-bottom: 20px;
}

#error-icon {
    height: 200px;
    margin-top: 100px;
    padding-bottom: 20px;
}


/* ロゴのスタイル */


.logo img {
    display: block;
    width: 50px;
    height: auto;
}






/* フッター */
footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #b6b3be;
    color: #555;
    padding: 20px;
    font-size: 10px;
}

@media screen and (max-width: 385px) {
    footer {
        text-align: left;
        font-size: 8px;
        padding: 10px;
    }
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 385px) {
    .wrapper {
        display:grid;
    }
}



ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 10px;
}

li {
    margin-right: 20px;
}
/* レスポンシブ */
@media screen and (max-width: 370px) {
    ul {
        text-align: left;
    }
}

a {
    color: #555;
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

.toptext {
    font-size: 10px;
    text-align: center;
}




/* 基本 */
body {
    background-color: #e1dfd9;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
    height: auto;
    padding-bottom:80px;
    color: #0b0c12;
    min-width: 340;
    /* フッターの高さ分を指定 */
}

h1 {
    font-size: 25px;
    font-weight: bold;
    padding: 0 16px;
    letter-spacing: 5px;
    min-width: 300px;
}

h2 {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: normal;
    min-width: 300px;
}

h3 {
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 3px;
}

h4 {
    font-size: 12px;
    font-weight:lighter;
    letter-spacing: 1px;
    margin-top: 10px;
    line-height:normal;
    text-align: justify;
}

h5 {
    font-size: 12px;
    font-weight:bold;
    letter-spacing: 2px;
    line-height:normal;

}
.heading01 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
    min-width: 300px;
    margin: 130px 5% 0px 5%;
}
@media screen and (max-width: 350px) {
    .heading01 {
        margin: 100px 5% 0px 5%;
        font-size: 15px;
    }
}

.heading01::before,
.heading01::after {
    content: '';
    width: 3px;
    height: 40px;
    background-color: #5a3dff;
}

.heading01::before {
    margin-right: 30px;
    transform: rotate(-35deg)
}

.heading01::after {
    margin-left: 30px;
    transform: rotate(35deg)
}

.heading02 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-align: center;
    min-width: 300px;
    margin: 100px 5% 0px 5%;
    position: relative;
    display: inline-block;
    margin-bottom: 1em;

}

.heading02:before {
    content: '';
    position: absolute;
    bottom: -15px;
    display: inline-block;
    width: 60px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #5a3dff;
    border-radius: 2px;
  }

p {
    font-size: 12px;
}

/* メッセージ部分 */
.message {
    font-size: 15px;
    line-height: 2em;
    padding-bottom: 50px;
    font-weight: bolder;
    min-width: 300px;
    margin: 0px 5%;
}

/* レスポンシブ */


@media screen and (max-width: 400px) {
    .message {
        font-size: 14px;
    }
}

@media screen and (max-width: 374px) {
    .message {
        font-size: 12px;
    }
}

/* フォント選択フォーム */
.setfont {
    font-size: 16px;
    padding: 12px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-weight: bold;
    height: 50px;
    width: 120px;
}

.setfont:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(119, 45, 255) inset;
}


.setfont select option[value="font1"] {
    font-family: 'font1';
}

.setfont select option[value="font2"] {
    font-family: 'font2';
}

.setfont select option[value="font3"] {
    font-family: 'font3';
}




select[name="font-family"] option[value="font1"] {
    font-family: 'font1';
}

select[name="font-family"] option[value="font2"] {
    font-family: 'font2';
}

select[name="font-family"] option[value="font3"] {
    font-family: 'font3';
}


/* 入力フォーム */
.c-form-text {
    text-align: left;
    height: 3.2em;
    width: 70%;
    padding: 0 16px;
    border: none;
    background-color: #ffffff;
    box-shadow: 0px 3px 10px -6px #ccc4e0;
    border-radius: 47px;
    min-width: 300px;

}

.c-form-text:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(119, 45, 255) inset;
}

/* レスポンシブ */
@media screen and (max-width: 480px) {
    .c-form-text {
        width: 85%;
        
    }
}

/* 送信ボタン */
form .formbottom {
    text-align: center;
}

form .btns {
    height: 50px;
    width: 120px;
    border-radius: 30px;
    display: inline-block;
    vertical-align: middle;
    margin: 20px ;
    padding: 10px 25px;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 0.5pt;
    text-decoration: none;
    background-color: #5a3dff;
    cursor: pointer;
    transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    -ms-transition-duration: 0.3s;
}

form .btns:hover {
    color: #5a3dff;
    background-color: #ffffff;
    box-shadow: 0px 3px 10px -6px #bba0ff;
    border-radius: 47px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}



/* jsのリアルタイム表示部分 */

@font-face {
    font-family: 'font1';
    src: url('addfont/genshingothichevy.ttf') format('truetype');
}

@font-face {
    font-family: 'font2';
    src: url('addfont/min.ttf') format('truetype');
}

@font-face {
    font-family: 'font3';
    src: url('addfont/roundedheavy.ttf') format('truetype');
}


.char {
    display: inline-block;
    width: 50px;
    height: 71px;
    background-color: #ffffff;
    border: 1px solid rgb(207, 207, 207);
    text-align: center;
    padding-top: 10px;
    margin: 10px 3px;
    font-size: 40px;
    line-height: 1.41em;
}

/* 四角文字の背景ボックス */
#output {
    border-radius: 20px;
    box-shadow: 0px 3px 10px -6px #ccc4e0;
    margin: 20px auto;
    padding: 25px;
    max-width: 800px;
    width: 90%;
    background-color: #f0ece9;
    text-align:justify;
    min-width: 300px;
  }


.char.font1 {
    font-family: 'font1';
}

.char.font2 {
    font-family: 'font2';
}

.char.font3 {
    font-family: 'font3';
}

#warning {
    display: none;
    margin: 10px 0;
    padding: 10px;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    font-size: 12px;
}



/* プライバシーの四角の枠 */

 .box {
    border-radius: 20px;
    box-shadow: 0px 3px 10px -6px #ccc4e0;
    padding: 25px ;
    max-width: 800px;
    min-width: 300px;
    width: 90%;
    background-color: #ffffff;
    text-align:justify;
    margin: 10px auto;
}
/* レスポンシブ */
@media screen and (max-width: 480px) {
    .box {
        margin: 10px auto;
        
    }
}
 

.hidden-box {
    padding: 25px;
    margin: 10px auto;
    max-width: 800px;
    width: 90%;
    text-align:justify;
    min-width: 300px;
}

/* レスポンシブ */
@media screen and (max-width: 480px) {
    .hidden-box {
        margin: 10px auto;
        
    }
}

.amazon-box {
    margin: 10px auto;
    max-width: 800px;
    width: 90%;
    min-width: 300px;
    justify-items: left;
}

/* レスポンシブ */
@media screen and (max-width: 480px) {
    .amazon {
        margin: 10px auto;
        
    }
}