WithCodeMedia-1-pc
WithCodeMedia-2-pc
WithCodeMedia-3-pc
WithCodeMedia-4-pc
WithCodeMedia-1-sp
WithCodeMedia-2-sp
WithCodeMedia-3-sp
WithCodeMedia-4-sp
site2
│
│─js
│ └─common.js
│
├─css
│ ├─reset.css
│ └─style.css
│
│─img
│ └─画像ファイル etc...
│
│
└─index.html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>WishJapan</title>
<meta name="description"
content="【WishJapan】海外日系スーパーのバイヤーと繋がるアプリ">
<meta name="keywords" content="日系スーパー,バイヤー,アプリ">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:url" content="https://wishjapan.com">
<meta property="og:type" content="website">
<meta property="og:title" content="WishJapan">
<meta property="og:description"
content="【WishJapan】海外日系スーパーのバイヤーと繋がるアプリ">
<meta property="og:site_name" content="WishJapan">
<meta property="og:image" content="https:/wishjapan.com/img/logo.png">
<meta name="robots" content="noindex">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;500;700&family=Raleway:wght@400;500&display=swap"
rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<header class="header" id="header">
<div class="header-wrap">
<div class="header-wrap__logo">
<a href="/"><img src="img/logo.png" alt="ロゴ画像"></a>
</div>
<nav class="header-wrap__nav">
<ul class="header-wrap__nav__list">
<li class="header-wrap__nav__list__item">
<a href="#about">どんなアプリ?</a>
</li>
<li class="header-wrap__nav__list__item">
<a href="#use">利用方法</a>
</li>
<li class="header-wrap__nav__list__item">
<a href="#item">入荷商品</a>
</li>
<li class="header-wrap__nav__list__item __app">
<a href="#app">利用登録</a>
</li>
</ul>
</nav>
</div>
<div class="drawer"></div>
</header>
<section class="top" id="top">
<div class="top-wrap">
<div class="top-wrap__left">
<img src="img/top.png" alt="トップ画像">
</div>
<div class="top-wrap__right">
<div class="top-wrap__right__txt">
<h1>海外日系スーパーの<br>バイヤーとつながる</h1>
</div>
<div class="top-wrap__right__logo">
<img src="img/logo.png" alt="トップ画像">
</div>
<div class="top-wrap__right__sub">
<p>WishJapanとは、<span class="br">海外日系スーパーのバイヤーに<br></span>
「アレ」が欲しい!を依頼できるアプリ</p>
</div>
<div class="top-wrap__right__dw">
<div class="top-wrap__right__dw__one">
<a href="https://play.google.com/store/apps?hl=ja&gl=US/">
<img src="img/google.png" alt="google store">
</a>
</div>
<div class="top-wrap__right__dw__one">
<a href="https://play.apple.com/store/apps?hl=ja&gl=US/">
<img src="img/apple.png" alt="apple store">
</a>
</div>
</div>
</div>
</div>
</section>
<section class="company" id="company">
<div class="scroll-infinity">
<ul class="scroll-infinity__list scroll-infinity__list--left">
<li class="scroll-infinity__item">
<img src="img/logo (1).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (2).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (3).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (4).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (5).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (6).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (7).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (8).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (9).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (10).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (11).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (12).png">
</li>
</ul>
<ul class="scroll-infinity__list scroll-infinity__list--left">
<li class="scroll-infinity__item">
<img src="img/logo (1).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (2).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (3).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (4).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (5).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (6).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (7).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (8).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (9).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (10).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (11).png">
</li>
<li class="scroll-infinity__item">
<img src="img/logo (12).png">
</li>
</ul>
</div>
</section>
<div class="dot">
<section class="about" id="about">
<div class="about-wrap __inner">
<div class="ttl-block">
<span class="s-ttl">ABOUT APP</span>
<h1 class="m-ttl">どんなアプリ?</h1>
</div>
<div class="about-wrap__con">
<div class="about-wrap__con__img">
<img src="img/about.png" alt="画像">
</div>
<div class="about-wrap__con__txt">
<div class="about-wrap__con__txt__main">
<p>WishJapanは、海外日系スーパーのバイヤーと海外在住者を繋ぐアプリ。近所の日系スーパーに「アレ」が欲しい!「コレ」があったら助かる!など海外在住者の声を日系スーパーのバイヤーに直接届けるサービスです。<br><br></p>
</div>
<div class="about-wrap__con__txt__sub">
<p>例えば、めんつゆ、ウスターソース、カレールー、ポン酢、お味噌、おろししょうが、おろしにんにく、梅干し、お米、ヘアケア商品、etc…<br>
ずっと欲しかった商品、WishJapanで依頼してみませんか?</p>
</div>
</div>
</div>
</div>
</section>
<section class="use" id="use">
<div class="use-wrap __inner">
<div class="ttl-block">
<span class="s-ttl">HOW TO USE</span>
<h1 class="m-ttl">ご利用方法</h1>
</div>
<div class="use-wrap__con">
<div class="use-wrap__con__block">
<div class="use-wrap__con__block__no">
<p>STEP<br><span>01</span></p>
</div>
<div class="use-wrap__con__block__img">
<img src="img/use.png" alt="参考画像">
</div>
<div class="use-wrap__con__block__txt">
<p>欲しい商品を提携先の日系スーパーに依頼します。<br>
依頼は、1商品1個の小ロットから大ロットまでOK!<br>
対象の日系スーパーより24時間以内にご返信します。</p>
</div>
</div>
<div class="use-wrap__con__block">
<div class="use-wrap__con__block__no">
<p>STEP<br><span>02</span></p>
</div>
<div class="use-wrap__con__block__img __rev">
<img src="img/buyer.jpg" alt="参考画像">
</div>
<div class="use-wrap__con__block__txt">
<p>商品を入荷しお客様にご連絡します。<br>
入荷目安は、依頼から2週間程度です。</p>
</div>
</div>
</div>
</div>
</section>
<section class="item" id="item">
<div class="item-wrap __inner">
<div class="ttl-block">
<span class="s-ttl">JAPANESE ITEMS</span>
<h1 class="m-ttl">過去の入荷商品</h1>
</div>
<div class="item-wrap__con">
<div class="item-wrap__con__item">
<div class="item-wrap__con__item__block">
<div class="item-wrap__con__item__block__img">
<img src="img/item (1).jpg" alt="商品">
</div>
<div class="item-wrap__con__item__block__txt">
<p>2022.10.01入荷<br>
カゴメ ウスターソース</p>
</div>
</div>
<div class="item-wrap__con__item__block">
<div class="item-wrap__con__item__block__img">
<img src="img/item (5).jpg" alt="商品">
</div>
<div class="item-wrap__con__item__block__txt">
<p>2022.10.01入荷<br>
きぬがさ ゆでうどん</p>
</div>
</div>
<div class="item-wrap__con__item__block">
<div class="item-wrap__con__item__block__img">
<img src="img/item (8).jpg" alt="商品">
</div>
<div class="item-wrap__con__item__block__txt">
<p>2022.09.20入荷<br>
FAUCHON パセリ</p>
</div>
</div>
<div class="item-wrap__con__item__block">
<div class="item-wrap__con__item__block__img">
<img src="img/item (11).jpg" alt="商品">
</div>
<div class="item-wrap__con__item__block__txt">
<p>22022.09.15入荷<br>
ミツカン 穀物酢</p>
</div>
</div>
<div class="item-wrap__con__item__block">
<div class="item-wrap__con__item__block__img">
<img src="img/item (2).jpg" alt="商品">
</div>
<div class="item-wrap__con__item__block__txt">
<p>2022.09.15入荷<br>
ミツカン 味ぽん</p>
</div>
</div>
<div class="item-wrap__con__item__block">
<div class="item-wrap__con__item__block__img">
<img src="img/item (3).jpg" alt="商品">
</div>
<div class="item-wrap__con__item__block__txt">
<p>2022.09.10入荷<br>
S&B テーブルコショー</p>
</div>
</div>
<div class="item-wrap__con__item__block">
<div class="item-wrap__con__item__block__img">
<img src="img/item (6).jpg" alt="商品">
</div>
<div class="item-wrap__con__item__block__txt">
<p>2022.08.30入荷<br>
ヤマキ めんつゆ</p>
</div>
</div>
<div class="item-wrap__con__item__block">
<div class="item-wrap__con__item__block__img">
<img src="img/item (4).jpg" alt="商品">
</div>
<div class="item-wrap__con__item__block__txt">
<p>2022.08.30入荷<br>
マルツネ 揖保乃糸</p>
</div>
</div>
<div class="item-wrap__con__item__block">
<div class="item-wrap__con__item__block__img">
<img src="img/item (10).jpg" alt="商品">
</div>
<div class="item-wrap__con__item__block__txt">
<p>22022.07.05入荷<br>
日清 キャノーラ油</p>
</div>
</div>
<div class="item-wrap__con__item__block">
<div class="item-wrap__con__item__block__img">
<img src="img/item (7).jpg" alt="商品">
</div>
<div class="item-wrap__con__item__block__txt">
<p>2022.07.05入荷<br>
サンラ オリーブオイル</p>
</div>
</div>
<div class="item-wrap__con__item__block">
<div class="item-wrap__con__item__block__img">
<img src="img/item (9).jpg" alt="商品">
</div>
<div class="item-wrap__con__item__block__txt">
<p>2022.07.01入荷<br>
S&B さんしょうの粉</p>
</div>
</div>
<div class="item-wrap__con__item__block">
<div class="item-wrap__con__item__block__img">
<img src="img/item (12).jpg" alt="商品">
</div>
<div class="item-wrap__con__item__block__txt">
<p>2022.06.30入荷<br>
盛田 純米料理酒</p>
</div>
</div>
</div>
<div class="arrow left"><</div>
<div class="arrow right">></div>
</div>
</div>
</section>
<section class="app" id="app">
<div class="app-wrap __inner">
<div class="ttl-block">
<span class="s-ttl">APP DOWNLOAD</span>
<h1 class="m-ttl">ご利用登録</h1>
</div>
<div class="app-wrap__con">
<p>無料のアプリ登録はこちらから</p>
<div class="app-wrap__con__dw">
<div class="app-wrap__con__dw__one">
<a href="https://play.google.com/store/apps?hl=ja&gl=US/">
<img src="img/google.png" alt="google store">
</a>
</div>
<div class="app-wrap__con__dw__one">
<a href="https://play.apple.com/store/apps?hl=ja&gl=US/">
<img src="img/apple.png" alt="apple store">
</a>
</div>
</div>
</div>
</div>
</section>
</div>
<footer class="footer" id="footer">
<div class="footer-wrap">
<img src="img/logo.png" akt="ロゴ画像">
<nav class="footer-wrap__nav">
<ul class="footer-wrap__nav__list">
<li class="footer-wrap__nav__list__item">
<a href="#about">どんなアプリ?</a>
</li>
<li class="footer-wrap__nav__list__item">
<a href="#use">利用方法</a>
</li>
<li class="footer-wrap__nav__list__item">
<a href="#item">入荷商品</a>
</li>
<li class="footer-wrap__nav__list__item">
<a href="#app">利用登録</a>
</li>
</ul>
</nav>
<p>E-mail:wishjapan@geemail.com</p>
<small>©2024 WishJapan ALL RIGHTS RESERVED</small>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
</body>
</html>
@charset "UTF-8";
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
body {
line-height: 1;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
display: block;
}
nav ul {
list-style: none;
}
blockquote,
q {
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: '';
content: none;
}
a {
margin: 0;
padding: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
/* change colours to suit your needs */
ins {
background-color: #ff9;
color: #000;
text-decoration: none;
}
/* change colours to suit your needs */
mark {
background-color: #ff9;
color: #000;
font-style: italic;
font-weight: bold;
}
del {
text-decoration: line-through;
}
abbr[title],
dfn[title] {
border-bottom: 1px dotted;
cursor: help;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* change border colour to suit your needs */
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #cccccc;
margin: 1em 0;
padding: 0;
}
input,
select {
vertical-align: middle;
}
@charset "UTF-8";
html {
font-size: 16px;
}
body {
line-height: 1;
letter-spacing: 1px;
word-break: break-all;
color: #000;
font-weight: 400;
font-family: "M PLUS 1p", sans-serif;
}
a {
text-decoration: none;
}
li {
list-style: none;
}
.header-wrap {
margin: 1%;
display: flex;
justify-content: space-between;
align-items: center;
}
.header-wrap__logo {
width: 15vw;
}
.header-wrap__logo img {
width: 100%;
height: 100%;
z-index: 1;
}
.header-wrap__logo img:hover {
opacity: 0.5;
transition: 0.3s;
}
.header-wrap__nav {
width: 45%;
}
.header-wrap__nav__list {
display: flex;
justify-content: space-around;
align-items: center;
}
.header-wrap__nav__list__item a {
font-weight: 500;
color: #000;
text-align: center;
width: 25%;
font-size: 16px;
}
.header-wrap__nav__list__item a:hover {
opacity: 0.5;
}
.__app {
width: 22.5%;
}
.__app a {
width: 100%;
background-color: #e63746;
padding: 0 2%;
border-radius: 30px;
line-height: 3;
color: #fff;
text-align: center;
position: relative;
z-index: 1;
display: inline-block;
transition: 0.2s;
}
.__app a::before {
content: "";
width: 90%;
height: 10px;
position: absolute;
top: 100%;
left: 5%;
background: radial-gradient(
ellipse at center,
rgba(0, 0, 0, 0.35) 0%,
rgba(0, 0, 0, 0) 80%
);
z-index: -1;
opacity: 0;
transition: 0.3s;
}
.__app a:hover {
transform: translateY(-7px);
opacity: 1;
}
.__app a:hover::before {
transform: translateY(7px);
opacity: 1;
}
.drawer {
visibility: hidden;
}
.top-wrap {
display: flex;
justify-content: center;
align-items: center;
margin: 2% 3%;
}
.top-wrap__left {
width: 45vw;
}
.top-wrap__left img {
width: 100%;
height: 100%;
}
.top-wrap__right {
width: 55%;
text-align: center;
}
.top-wrap__right__txt {
font-size: 2.8vw;
font-weight: 600;
line-height: 2.3;
letter-spacing: 2.5px;
}
.top-wrap__right__logo {
width: 40vw;
margin: 2% auto;
}
.top-wrap__right__logo img {
width: 100%;
height: 100%;
}
.top-wrap__right__sub {
color: rgba(0, 0, 0, 0.85);
font-size: 16px;
font-weight: 500;
letter-spacing: 1.8px;
line-height: 3;
}
.top-wrap__right__dw {
display: flex;
justify-content: space-between;
align-items: center;
margin: 5% auto;
width: 30vw;
}
.top-wrap__right__dw__one {
width: 45%;
}
.top-wrap__right__dw__one a img {
width: 100%;
}
.top-wrap__right__dw__one a img:hover {
opacity: 0.7;
}
@keyframes infinity-scroll-left {
from {
transform: translateX(0);
}
to {
transform: translateX(-100%);
}
}
.scroll-infinity {
display: flex;
overflow: hidden;
margin-bottom: 5%;
}
.scroll-infinity__list {
display: flex;
list-style: none;
padding: 0;
}
.scroll-infinity__list--left {
animation: infinity-scroll-left 80s infinite linear 0.5s both;
}
.scroll-infinity__item {
width: calc(100vw / 6);
}
.scroll-infinity__item img {
width: 90%;
}
.dot {
background-color: #f5f5f5;
background-image: radial-gradient(#e63746 30%, transparent 30%),
radial-gradient(#e63746 30%, transparent 30%);
background-size: 18vw 18vw;
background-position: 0 0, 9vw 9vw;
padding-top: 3%;
padding-bottom: 1vh;
}
.__inner {
width: 75%;
}
.about-wrap,
.use-wrap,
.item-wrap,
.app-wrap {
background-color: #fff;
box-shadow: 4px 10px 10px 4px rgba(0, 0, 0, 0.25);
border-radius: 60px;
padding: 1% 3%;
margin: 4% auto;
}
.ttl-block {
width: 70vw;
text-align: center;
margin: 30px auto;
}
.s-ttl {
display: inline-block;
font-family: "Raleway", sans-serif;
font-weight: 500;
color: #e9e3e3;
font-size: 30px;
letter-spacing: 6px;
}
.m-ttl {
font-size: 20px;
}
.about-wrap__con {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 3%;
}
.about-wrap__con__img {
width: 25%;
margin-right: 3%;
}
.about-wrap__con__img img {
width: 100%;
height: 100%;
}
.about-wrap__con__txt {
width: 53%;
font-weight: 500;
letter-spacing: 0.8px;
word-wrap: break-word;
line-height: 2;
}
.use-wrap__con {
margin-bottom: 3%;
}
.use-wrap__con__block {
display: flex;
width: 75%;
justify-content: flex-start;
align-items: center;
margin: 1% auto;
}
.use-wrap__con__block__no {
width: 7vw;
height: 7vw;
background-color: #e63746;
border-radius: 50%;
margin-right: 2vw;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
.use-wrap__con__block__no p {
font-family: "Raleway", sans-serif;
font-weight: 500;
color: #fff;
display: inline-block;
vertical-align: middle;
}
.use-wrap__con__block__no p span {
font-size: 1.8vw;
}
.use-wrap__con__block__img {
width: 9vw;
margin-right: 2vw;
}
.use-wrap__con__block__img img {
width: 100%;
height: 100%;
}
.use-wrap__con__block__txt {
font-weight: 500;
letter-spacing: 0.8px;
word-wrap: break-word;
line-height: 2;
}
.app-wrap__con {
width: 90%;
text-align: center;
margin: 2% auto;
}
.app-wrap__con__dw {
display: flex;
justify-content: center;
align-items: center;
margin-top: 2%;
}
.app-wrap__con__dw__one {
width: 13vw;
margin: 0 2%;
}
.app-wrap__con__dw__one a img {
width: 100%;
}
.app-wrap__con p {
text-align: center;
font-weight: 500;
letter-spacing: 0.8px;
word-wrap: break-word;
line-height: 2;
}
.app-wrap__con__dw__one img:hover {
opacity: 0.7;
}
.footer-wrap {
text-align: center;
}
.footer-wrap img {
width: 20vw;
margin: 2% auto;
}
.footer-wrap__nav__list {
width: 45vw;
display: flex;
justify-content: space-around;
margin: 1% auto 3%;
}
.footer-wrap__nav__list__item a {
color: #000;
}
.footer-wrap__nav__list__item a:hover {
opacity: 0.7;
}
.footer-wrap p,
.footer-wrap small {
font-size: 14px;
}
.footer-wrap small {
display: inline-block;
margin: 1.5% auto;
}
.item-wrap__con {
width: 100%;
margin: 3% auto;
position: relative;
overflow: hidden;
}
.item-wrap__con__item {
display: flex;
width: fit-content;
transition: transform 0.3s ease;
transform: translateX(0);
}
.item-wrap__con__item__block {
flex-shrink: 0;
width: 12.5vw;
text-align: center;
padding: 0 0.02%;
}
.item-wrap__con__item__block__img img {
width: 80%;
}
.item-wrap__con__item__block__txt {
text-align: center;
font-size: 14px;
font-weight: 500;
letter-spacing: 0.2px;
word-wrap: break-word;
line-height: 2;
}
.arrow {
background-color: #a6a6a6dc;
width: 30px;
height: 30px;
border-radius: 50%;
position: absolute;
top: 40%;
transform: translateY(-50%);
color: #ffffff;
font-size: 15px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.arrow.left {
left: 0;
}
.arrow.right {
right: 0;
}
.Hide {
display: none;
}
.arrow:hover {
opacity: 0.5;
}
@media screen and (max-width: 1024px) {
.about-wrap__con__txt {
width: 70%;
}
.item-wrap__con__item__block {
width: 19.5vw;
}
.use-wrap__con__block {
width: 95%;
}
.use-wrap__con__block__no p span {
font-size: 20px;
}
.item-wrap__con__item__block__img img {
width: 70%;
}
}
@media screen and (max-width: 768px) {
.header-wrap__logo {
width: 20vw;
}
.top-wrap__right__dw {
width: 35vw;
}
.br::before {
content: "\A";
white-space: pre;
}
.top-wrap__right__sub {
line-height: 1.8;
font-size: 14.5px;
}
.item-wrap__con__item__block {
width: 25vw;
}
.about-wrap,
.use-wrap,
.item-wrap,
.app-wrap {
border-radius: 40px;
}
.about-wrap__con {
display: flex;
flex-wrap: wrap;
padding: 1% 0.4%;
}
.about-wrap__con__txt {
width: 100%;
}
.about-wrap__con__txt {
order: 1;
margin-bottom: 3%;
}
.about-wrap__con__img {
order: 2;
width: 35%;
}
.use-wrap__con__block__no p span {
font-size: 20px;
}
.footer-wrap__nav__list {
width: 60vw;
}
.drawer {
visibility: visible;
width: 27.5px;
position: absolute;
top: 15px;
right: 15px;
border-top: solid 4px #aaaaaa;
cursor: pointer;
z-index: 100;
}
.drawer::before,
.drawer::after {
content: "";
display: block;
width: 27.5px;
background: #aaaaaa;
height: 4px;
position: absolute;
top: 0;
right: 0;
transition: all 0.5s;
}
.drawer::before {
top: 6px;
}
.drawer::after {
top: 15px;
}
.header-wrap__nav {
position: fixed;
display: none;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 50;
background: #fff;
}
.header-wrap__nav__list {
display: block;
position: absolute;
top: 50%;
left: 50%;
transform: translateY(-50%) translateX(-50%);
text-align: center;
}
.header-wrap__nav__list__item {
margin: 5% auto;
}
.header-wrap__nav__list__item a {
line-height: 3;
font-size: 18px;
}
.header-wrap__nav__list__item.__app {
width: 150px;
border-radius: 50px;
}
body.nav-open header .drawer {
border-top: 0;
}
body.nav-open header .drawer::before {
top: 9px;
transform: rotate(-45deg);
}
body.nav-open header .drawer::after {
top: 9px;
transform: rotate(45deg);
}
.use-wrap__con__block {
display: block;
text-align: center;
}
.use-wrap__con__block__no {
margin: 0 auto;
width: 70px;
height: 70px;
}
.use-wrap__con__block__img {
margin: 2% auto;
width: 150px;
}
.scroll-infinity__item {
width: calc(100vw / 4);
}
.app-wrap__con__dw__one {
width: 20vw;
}
}
@media screen and (max-width: 480px) {
.top-wrap {
display: flex;
justify-content: center;
flex-wrap: wrap;
flex-direction: column-reverse;
}
.top-wrap__left {
transform: translateY(-180px);
width: 250px;
}
.top-wrap__right {
margin-top: 5%;
width: 100%;
}
.top-wrap__right__txt {
font-size: 16px;
}
.top-wrap__right__dw {
width: 50vw;
transform: translateY(250px);
}
.top-wrap__right__sub {
transform: translateY(240px);
font-size: 14px;
}
.top-wrap__right__txt br {
display: none;
}
.item-wrap__con__item__block {
width: 38vw;
padding: 2% 0%;
}
.about-wrap,
.use-wrap,
.item-wrap,
.app-wrap {
border-radius: 30px;
}
.__inner {
width: 85%;
}
.about-wrap__con__img {
width: 40vw;
}
.about-wrap__con__txt__sub br {
display: none;
}
.use-wrap__con__block__img {
width: 30vw;
}
.footer-wrap__nav__list {
width: 90vw;
font-size: 14px;
}
.s-ttl {
font-size: 22px;
}
.m-ttl {
font-size: 18px;
}
.scroll-infinity__item {
width: calc(100vw / 3);
}
.use-wrap__con__block__txt br {
display: none;
}
.use-wrap__con__block {
text-align: left;
}
.app-wrap__con__dw__one {
width: 22vw;
margin: 4% auto;
}
.footer-wrap__nav__list {
margin: 5% auto;
}
.footer-wrap img {
width: 30vw;
}
}
const container = document.querySelector('.item-wrap__con');
const boxContainer = document.querySelector('.item-wrap__con__item');
const leftArrow = document.querySelector('.arrow.left');
const rightArrow = document.querySelector('.arrow.right');
const scrollAmount = 200; // 3回で最大値まで行く程度の数値
leftArrow.addEventListener('click', () => {
const containerWidth = container.offsetWidth;
const maxScrollAmount = boxContainer.offsetWidth - containerWidth;
const currentScrollAmount = Math.abs(parseInt(boxContainer.style.transform.split('(')[1])) || 0;
const newScrollAmount = Math.max(currentScrollAmount - scrollAmount, 0);
boxContainer.style.transform = `translateX(-${newScrollAmount}px)`;
updateArrowVisibility(newScrollAmount, maxScrollAmount);
});
rightArrow.addEventListener('click', () => {
const containerWidth = container.offsetWidth;
const maxScrollAmount = boxContainer.offsetWidth - containerWidth;
const currentScrollAmount = Math.abs(parseInt(boxContainer.style.transform.split('(')[1])) || 0;
const newScrollAmount = Math.min(currentScrollAmount + scrollAmount, maxScrollAmount);
boxContainer.style.transform = `translateX(-${newScrollAmount}px)`;
updateArrowVisibility(newScrollAmount, maxScrollAmount);
});
function updateArrowVisibility(scrollAmount, maxScrollAmount) {
if (scrollAmount === 0) {
leftArrow.classList.add('Hide');
} else {
leftArrow.classList.remove('Hide');
}
if (scrollAmount === maxScrollAmount) {
rightArrow.classList.add('Hide');
} else {
rightArrow.classList.remove('Hide');
}
}
window.onunload = function() {};
function sizecheck() {
w = window.innerWidth ? window.innerWidth : $(window).width();
h = window.innerHeight ? window.innerHeight : $(window).height();
}
sizecheck();
$(function () {
if (w > 769) {
} else {
$(".drawer").click(function(){
$('body').toggleClass('nav-open');
$('.header-wrap__nav').fadeToggle(200);
});
$("header-wrap__nav__list__item a").click(function(){
$('body').toggleClass('nav-open');
$('.header-wrap__nav').fadeToggle(200);
});
}
});
公式サイト より
今すぐ
無料カウンセリング
を予約!