/* 共通 */
html {
    font-size: 20px;
}

body {
    background-color: #fff;
    margin: 0;
    padding: 0;
    color: #3f484b;
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
}

a {
    color: #3f484b;
    text-decoration: none;
    transition: all 0.2s ease 0s;
}




/* フォーム */
form {
    margin-bottom: 20px;
}

input[type="radio"],
input[type="checkbox"] {
    display: none;
}

label span {
    border: 1px solid #fff;
    border-radius: 500px;
    padding: 6px 18px;
    transition: all 0.2s ease 0s;
    background-color: #e9eff0;
    display: inline-block;
    margin: 5px 5px 0;
    cursor: pointer;
    font-size: 18px;
}

label input[type="radio"]:checked+span {
    border: 1px solid #43b6cf;
    background-color: #D2DEE3;
    color: #3f484b;
    font-weight: bold;
}

input[type="text"] {
    width: 86%;
}

input[type="text"],
select {
    border: none;
    border-radius: 500px;
    background-color: #e9eff0;
    font-size: 1rem;
    padding: 7px 2%;
}

input[type="text"]:focus,
select:focus {
    outline: none;
    border: none;
}


.mic_wrap {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: stretch;
}

.mic_wrap input[type="text"] {
    border-radius: 500px 0px 0px 500px;
}

.btn_mic {
    border-radius: 0px 500px 500px 0px;
    background-color: #44d4eb;
    border: none;
    color: #FFF;
    padding: 1%;
    width: 10%;
    cursor: pointer;
}

.btn_mic .material-icons {
    font-size: 1.8rem;
}

.btn_mic:hover {
    opacity: 0.7;
}

button:not(.btn_mic) {
    border: none;
    font-size: 24px;
    border-radius: 10px;
    padding: 19px 0 18px;
    color: #FFF;
    cursor: pointer;
    transition: all 0.2s ease 0s;
    margin: 60px auto 0;
    display: block;
    max-width: 334px;
    width: 100%;
    font-weight: bold;
    font-family: 'Noto Sans JP', sans-serif;
}

button:not(.btn_mic) span {
    position: relative;
    top: 2px;
    margin-left: 8px;
    padding-right: 5px;
    transition: all 0.2s ease 0s;
}

button:not(.btn_mic):hover {
    opacity: 0.7;
}

button:not(.btn_mic):hover span {
    margin-left: 13px;
    padding-right: 0;
}



button[type="submit"] {
    background: #30383a;
}

button[type="submit"] span {}




/* メイン */
.container {
    display: flex;
    width: 100%;
}


/* サイドバー */
.sidebar {
    position: fixed;
    background-color: #f0f0f0;
    height: 100%;
    text-align: center;
    max-width: 122px;
    width: 100%;
}

.menu-img img {
    max-width: 34px;
}

.menu {
    width: 100%;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

p.nav_logo {
    margin: 21px 0 17px;
}

p.nav_logo img {
    max-width: 76px;
}

p.nav_logo {
    margin: 0;
}

p.nav_logo a {
    padding: 18px 0 13px;
    border-bottom: 3px solid #fff;
    display: block;
}

p.nav_logo a img {
    transition: .7s;
}

p.nav_logo a img:hover {
    opacity: .7;
}

ul.menu li a {
    border-bottom: 3px solid #fff;
    padding: 22px 0;
    display: block;
    transition: .7s;
}

ul.menu li a:hover {
    background-color: #d2dee1;
}

p.menu-title {
    font-size: 16px;
    font-weight: bold;
}

p.menu-sub-title {
    line-height: 1;
    color: #43b6cf;
    font-size: 12px;
    font-weight: bold;
}

p {
    margin: 0;
}

.proof {
    position: absolute;
    bottom: 14px;
    font-size: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 90%;
    text-align: left;
}

/* main */
.content {
    flex-grow: 1;
    margin-left: 460px;
    max-width: 1100px;
    margin: 80px auto 0;
}

.logo-gif {
    text-align: center;
}

.logo-gif img {
    max-width: 317px;
}

.content-logo-txt-wrap p span {
    color: #43b6cf;
    font-weight: bold;
}

.content-logo-txt-wrap p {
    font-size: 20px;
    text-align: center;
    padding-top: 26px;
}

section {
    margin-bottom: 40px;
}

section h2 {
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

#result {
    margin-top: 20px;
    text-align: left;
}

img {
    max-width: 100%;
    height: auto;
}


#result-container {
    display: flex;
    margin-top: 20px;
}

#original-column {
    flex: 1;
    padding-right: 10px;
    border-right: 1px solid #ccc;
}

#translated-column {
    flex: 1;
    padding-left: 10px;
}

#original-textm,
#translated-text {
    white-space: pre-wrap;
}




/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

top

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.content ul li:hover {
    background-color: #006878;
}

.content ul li {
    list-style-type: none;
    max-width: 172px;
    width: 100%;
    background-color: #43b6cf;
    border-radius: 20px;
    text-align: center;
    padding: 24px 0;
    transition: .7s;
}

.content ul {
    padding: 0;
    display: flex;
    justify-content: space-between;
    max-width: 754px;
    margin: 65px auto 0;
}

.cont-menu-img img {
    max-width: 60px;
}

.content ul li h2 {
    color: #fff;
    font-size: 20px;
    line-height: 1;
    margin-bottom: 6px;
}

.content ul li h3 {
    color: #fff;
    margin: 0;
    font-size: 14px;
    line-height: 1;
    font-weight: normal;
}



/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

テキスト

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.under-title-wrap {
    display: flex;
    max-width: 411px;
    margin: 0 auto;
    align-items: center;
}

.logo-icon {
    margin-right: 5px;
}

.logo-icon img {
    max-width: 96px;
}

p.under-title {
    font-size: 48px;
    line-height: 1;
    font-weight: bold;
    color: #43b6cf;
}

p.under-sub-title {
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
}

form#prompt-form h2 {
    font-size: 24px;
    margin: 0;
}

.h2-wrap {
    margin: 40px 0 12px;
    display: flex;
    align-items: center;
}

p.setting {
    position: relative;
    background: #43b6cf;
    padding: 4px 8px;
    display: inline-block;
    border-radius: 3px;
    margin-right: 14px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

p.setting:before {
    display: block;
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 10px;
    border-color: transparent transparent transparent #43b6cf;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

画像

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */



/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

webページ

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
/* 基本的なスタイル */
.container {
    display: flex;
}

.select-area,
.preview-area {
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
}

.preview-area h2 {
    margin: 40px 0 20px;
    background-color: #43b6cf;
    font-size: 18px;
    color: #fff;
    border-radius: 3px;
}

.select-area h2,
.preview-area h2 {
    font-size: 24px;
    text-align: center;
    padding: 10px;
    margin: 0;
    padding: 0;
}

.preview-area img {
    margin-bottom: 10px;
}

.preview-area h2 {
    margin: 40px 0 20px;
    font-size: 18px;
}

button#generate-button {
    background-color: #30383a;
}

.preview-area_caution {
    font-size: 14px;
    margin: 0 0 30px;
    font-weight: bold;
    text-align: center;
}

.select-area select {
    display: block;
    margin-bottom: 10px;
    padding: 5px 10px;
    background-color: #e9eff0;
}

span.item-name {
    margin-right: 19px;
}

.select-area_inner {
    display: block;
}

.select-area .select-area_sect,
.select-area .select-area_info {
    width: 100%;
}

.select-area .select-area_sect #section-count {
    display: inline-block;
    font-size: 0.9rem;
}

.item-name {
    font-size: 0.8rem;
    font-weight: bold;
}

label.item-name {
    margin-right: 19px;
}

.select-area_info_item_wrap {
    /* margin-bottom: 7px; */
}

.select-area_info input {
    border: none;
    padding: 0;
    top: 4px;
    position: relative;
}

.select-area_info input[type="text"] {
    padding: 5px 10px;
    width: 36px;
    font-size: 0.9rem;
}


.output-area {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    margin-bottom: 10px;
}

.output-area .html,
.output-area .css {
    width: 48%;
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #f9f9f9;
    height: 240px;
    overflow: auto;
}

.output-area .html pre,
.output-area .css pre {
    white-space: pre-wrap;
    width: 100%;
    overflow: hidden;
}

#copy-html,
#copy-css {
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease 0s;
    color: #000;
}

#copy-html:hover,
#copy-css:hover {
    color: #44d4eb;
}

.output-area_ttl {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.output-area_ttl h3 {
    margin-top: 0;
}


/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

翻訳

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.translation_submit {
    text-align: center;
}

.translation_submit button[type="submit"] {
    display: inline-block;
}

#translation #result-container {
    margin-top: 20px;
}

#translation #result-container h3 {
    text-align: center;
}

#translation #original-text,
#translation #translated-text {
    padding: 20px;
}

.sankaku {
    width: 0;
    height: 0;
    border-style: solid;
    border-color: #43b6cf transparent transparent transparent;
    border-width: 29px 35px 0px 35px;
    margin: 40px auto;
}

.translation_submit button {
    max-width: 170px;
    width: 100%;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

アニメーション

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
/* 生成中アニメーション */
#loading-animation {
    display: none;
    margin-top: 20px;
    text-align: center;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #09f;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}




/* モーダルの初期スタイル */
#modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    overflow-y: auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal_layout_list ul li h3 {
    color: #3f484b;
}

div#modal ul li {
    background-color: #fff;
}

/* モーダルをオーバーレイで覆う */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* モーダルを表示する際のチェックボックス */
input[type="checkbox"] {
    display: none;
}

.layout-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal_btn_wrap {
    text-align: center;
    margin: 40px 0 12px;
}

.modal_btn {
    background-color: #fff;
    padding: 2px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease 0s;
    border: 2px solid #43b6cf;
    color: #43b6cf;
}

.modal_btn:hover {
    opacity: 0.7;
}

/* チェックボックスがオンのときにモーダルを表示 */
input[type="checkbox"]:checked+.modal-overlay {
    opacity: 1;
    visibility: visible;
}

input[type="checkbox"]:checked+.modal-overlay+#modal {
    opacity: 1;
    visibility: visible;
}

/* モーダルの閉じるボタン */
.close-btn {
    display: block;
    text-align: right;
}

.close-btn label {
    cursor: pointer;
    font-size: 20px;
    color: #333;
}

/* モーダル内のデザイン */
.content .modal_layout_list ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 1200px;
}

.modal_layout_list ul {
    list-style-type: none;
    padding: 0;

    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}

.modal_layout_list ul li {
    width: 22%;
    margin-bottom: 2%;
    max-width: initial;
}

.modal_layout_list ul li h3 {
    text-align: center;
    font-size: 0.8rem;
    margin-bottom: 5px;
}



/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝

背景アニメーション

＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.area {
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);
    /* width: 100%; */
    /* height: 100vh; */
}

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: -1;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: #e9f2f4;
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}